vgcoreauto.tli 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531
  1. // Created by Microsoft (R) C/C++ Compiler Version 14.40.33808.0 (cc163f71).
  2. //
  3. // R:\lycpg64\obj\Release\vgcoreauto.tli
  4. //
  5. // Wrapper implementations for type library vgcoreauto.tlb
  6. // compiler-generated file - DO NOT EDIT!
  7. //
  8. // interface ICorelImportFilter wrapper method implementations
  9. //
  10. #pragma implementation_key(1)
  11. inline HRESULT VGCore::ICorelImportFilter::Reset ( ) {
  12. HRESULT _hr = raw_Reset();
  13. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14. return _hr;
  15. }
  16. #pragma implementation_key(2)
  17. inline HRESULT VGCore::ICorelImportFilter::Finish ( ) {
  18. HRESULT _hr = raw_Finish();
  19. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20. return _hr;
  21. }
  22. #pragma implementation_key(3)
  23. inline VARIANT_BOOL VGCore::ICorelImportFilter::GetHasDialog ( ) {
  24. VARIANT_BOOL _result = 0;
  25. HRESULT _hr = get_HasDialog(&_result);
  26. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27. return _result;
  28. }
  29. #pragma implementation_key(4)
  30. inline VARIANT_BOOL VGCore::ICorelImportFilter::ShowDialog ( long hWnd ) {
  31. VARIANT_BOOL _result = 0;
  32. HRESULT _hr = raw_ShowDialog(hWnd, &_result);
  33. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34. return _result;
  35. }
  36. //
  37. // interface ICorelExportFilter wrapper method implementations
  38. //
  39. #pragma implementation_key(5)
  40. inline HRESULT VGCore::ICorelExportFilter::Reset ( ) {
  41. HRESULT _hr = raw_Reset();
  42. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  43. return _hr;
  44. }
  45. #pragma implementation_key(6)
  46. inline HRESULT VGCore::ICorelExportFilter::Finish ( ) {
  47. HRESULT _hr = raw_Finish();
  48. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  49. return _hr;
  50. }
  51. #pragma implementation_key(7)
  52. inline VARIANT_BOOL VGCore::ICorelExportFilter::GetHasDialog ( ) {
  53. VARIANT_BOOL _result = 0;
  54. HRESULT _hr = get_HasDialog(&_result);
  55. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  56. return _result;
  57. }
  58. #pragma implementation_key(8)
  59. inline VARIANT_BOOL VGCore::ICorelExportFilter::ShowDialog ( long hWnd ) {
  60. VARIANT_BOOL _result = 0;
  61. HRESULT _hr = raw_ShowDialog(hWnd, &_result);
  62. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  63. return _result;
  64. }
  65. //
  66. // interface ICUIControlData wrapper method implementations
  67. //
  68. #pragma implementation_key(9)
  69. inline _variant_t VGCore::ICUIControlData::GetValue ( _bstr_t PropertyName ) {
  70. VARIANT _result;
  71. VariantInit(&_result);
  72. HRESULT _hr = raw_GetValue(PropertyName, &_result);
  73. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  74. return _variant_t(_result, false);
  75. }
  76. //
  77. // interface ICUIAutomation wrapper method implementations
  78. //
  79. #pragma implementation_key(10)
  80. inline long VGCore::ICUIAutomation::GetNumItemsOnBar ( _bstr_t GuidBar ) {
  81. long _result = 0;
  82. HRESULT _hr = raw_GetNumItemsOnBar(GuidBar, &_result);
  83. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  84. return _result;
  85. }
  86. #pragma implementation_key(11)
  87. inline _bstr_t VGCore::ICUIAutomation::GetItem ( _bstr_t GuidBar, long Index, VARIANT_BOOL * HasSubBar ) {
  88. BSTR _result = 0;
  89. HRESULT _hr = raw_GetItem(GuidBar, Index, HasSubBar, &_result);
  90. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  91. return _bstr_t(_result, false);
  92. }
  93. #pragma implementation_key(12)
  94. inline long VGCore::ICUIAutomation::GetItemInstanceHwnd ( _bstr_t GuidParent, _bstr_t GuidItem ) {
  95. long _result = 0;
  96. HRESULT _hr = raw_GetItemInstanceHwnd(GuidParent, GuidItem, &_result);
  97. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  98. return _result;
  99. }
  100. #pragma implementation_key(13)
  101. inline VARIANT_BOOL VGCore::ICUIAutomation::GetSubBar ( _bstr_t GuidBar, BSTR * GuidSubBar ) {
  102. VARIANT_BOOL _result = 0;
  103. HRESULT _hr = raw_GetSubBar(GuidBar, GuidSubBar, &_result);
  104. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  105. return _result;
  106. }
  107. #pragma implementation_key(14)
  108. inline VARIANT_BOOL VGCore::ICUIAutomation::ShowBar ( _bstr_t GuidBar, VARIANT_BOOL Show ) {
  109. VARIANT_BOOL _result = 0;
  110. HRESULT _hr = raw_ShowBar(GuidBar, Show, &_result);
  111. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  112. return _result;
  113. }
  114. #pragma implementation_key(15)
  115. inline _bstr_t VGCore::ICUIAutomation::GetCaptionText ( _bstr_t GuidItem ) {
  116. BSTR _result = 0;
  117. HRESULT _hr = raw_GetCaptionText(GuidItem, &_result);
  118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  119. return _bstr_t(_result, false);
  120. }
  121. #pragma implementation_key(16)
  122. inline HRESULT VGCore::ICUIAutomation::Invoke ( _bstr_t GuidItem ) {
  123. HRESULT _hr = raw_Invoke(GuidItem);
  124. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  125. return _hr;
  126. }
  127. #pragma implementation_key(17)
  128. inline VARIANT_BOOL VGCore::ICUIAutomation::IsEnabled ( _bstr_t GuidItem ) {
  129. VARIANT_BOOL _result = 0;
  130. HRESULT _hr = raw_IsEnabled(GuidItem, &_result);
  131. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  132. return _result;
  133. }
  134. #pragma implementation_key(18)
  135. inline VARIANT_BOOL VGCore::ICUIAutomation::GetItemScreenRect ( _bstr_t GuidParent, _bstr_t GuidItem, long * TopLeftX, long * TopLeftY, long * Width, long * Height ) {
  136. VARIANT_BOOL _result = 0;
  137. HRESULT _hr = raw_GetItemScreenRect(GuidParent, GuidItem, TopLeftX, TopLeftY, Width, Height, &_result);
  138. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  139. return _result;
  140. }
  141. #pragma implementation_key(19)
  142. inline HRESULT VGCore::ICUIAutomation::InvokeItem ( _bstr_t GuidItem ) {
  143. HRESULT _hr = raw_InvokeItem(GuidItem);
  144. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  145. return _hr;
  146. }
  147. #pragma implementation_key(20)
  148. inline HRESULT VGCore::ICUIAutomation::InvokeDialogItem ( _bstr_t GuidDialog, _bstr_t GuidItem ) {
  149. HRESULT _hr = raw_InvokeDialogItem(GuidDialog, GuidItem);
  150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  151. return _hr;
  152. }
  153. #pragma implementation_key(21)
  154. inline VGCore::ICUIControlDataPtr VGCore::ICUIAutomation::GetControlData ( _bstr_t Guid ) {
  155. struct ICUIControlData * _result = 0;
  156. HRESULT _hr = raw_GetControlData(Guid, &_result);
  157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  158. return ICUIControlDataPtr(_result, false);
  159. }
  160. #pragma implementation_key(22)
  161. inline VGCore::ICUIControlDataPtr VGCore::ICUIAutomation::GetControlDataEx ( _bstr_t GuidParent, _bstr_t Guid ) {
  162. struct ICUIControlData * _result = 0;
  163. HRESULT _hr = raw_GetControlDataEx(GuidParent, Guid, &_result);
  164. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  165. return ICUIControlDataPtr(_result, false);
  166. }
  167. #pragma implementation_key(23)
  168. inline VARIANT_BOOL VGCore::ICUIAutomation::GetActiveMenuItemScreenRect ( int itemIndex, long * TopLeftX, long * TopLeftY, long * Width, long * Height ) {
  169. VARIANT_BOOL _result = 0;
  170. HRESULT _hr = raw_GetActiveMenuItemScreenRect(itemIndex, TopLeftX, TopLeftY, Width, Height, &_result);
  171. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  172. return _result;
  173. }
  174. #pragma implementation_key(24)
  175. inline _bstr_t VGCore::ICUIAutomation::GetActiveMenuItemGuid ( int itemIndex ) {
  176. BSTR _result = 0;
  177. HRESULT _hr = raw_GetActiveMenuItemGuid(itemIndex, &_result);
  178. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  179. return _bstr_t(_result, false);
  180. }
  181. //
  182. // interface ICUIControl wrapper method implementations
  183. //
  184. #pragma implementation_key(25)
  185. inline _bstr_t VGCore::ICUIControl::GetCaption ( ) {
  186. BSTR _result = 0;
  187. HRESULT _hr = get_Caption(&_result);
  188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  189. return _bstr_t(_result, false);
  190. }
  191. #pragma implementation_key(26)
  192. inline void VGCore::ICUIControl::PutCaption ( _bstr_t pVal ) {
  193. HRESULT _hr = put_Caption(pVal);
  194. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  195. }
  196. #pragma implementation_key(27)
  197. inline _bstr_t VGCore::ICUIControl::GetDescriptionText ( ) {
  198. BSTR _result = 0;
  199. HRESULT _hr = get_DescriptionText(&_result);
  200. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  201. return _bstr_t(_result, false);
  202. }
  203. #pragma implementation_key(28)
  204. inline void VGCore::ICUIControl::PutDescriptionText ( _bstr_t pVal ) {
  205. HRESULT _hr = put_DescriptionText(pVal);
  206. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  207. }
  208. #pragma implementation_key(29)
  209. inline long VGCore::ICUIControl::GetHeight ( ) {
  210. long _result = 0;
  211. HRESULT _hr = get_Height(&_result);
  212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  213. return _result;
  214. }
  215. #pragma implementation_key(30)
  216. inline void VGCore::ICUIControl::PutHeight ( long pVal ) {
  217. HRESULT _hr = put_Height(pVal);
  218. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  219. }
  220. #pragma implementation_key(31)
  221. inline long VGCore::ICUIControl::GetWidth ( ) {
  222. long _result = 0;
  223. HRESULT _hr = get_Width(&_result);
  224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  225. return _result;
  226. }
  227. #pragma implementation_key(32)
  228. inline void VGCore::ICUIControl::PutWidth ( long pVal ) {
  229. HRESULT _hr = put_Width(pVal);
  230. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  231. }
  232. #pragma implementation_key(33)
  233. inline _bstr_t VGCore::ICUIControl::GetID ( ) {
  234. BSTR _result = 0;
  235. HRESULT _hr = get_ID(&_result);
  236. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  237. return _bstr_t(_result, false);
  238. }
  239. #pragma implementation_key(34)
  240. inline _variant_t VGCore::ICUIControl::GetParameter ( ) {
  241. VARIANT _result;
  242. VariantInit(&_result);
  243. HRESULT _hr = get_Parameter(&_result);
  244. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  245. return _variant_t(_result, false);
  246. }
  247. #pragma implementation_key(35)
  248. inline void VGCore::ICUIControl::PutParameter ( const _variant_t & pVal ) {
  249. HRESULT _hr = put_Parameter(pVal);
  250. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  251. }
  252. #pragma implementation_key(36)
  253. inline _bstr_t VGCore::ICUIControl::GetTag ( ) {
  254. BSTR _result = 0;
  255. HRESULT _hr = get_Tag(&_result);
  256. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  257. return _bstr_t(_result, false);
  258. }
  259. #pragma implementation_key(37)
  260. inline void VGCore::ICUIControl::PutTag ( _bstr_t pVal ) {
  261. HRESULT _hr = put_Tag(pVal);
  262. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  263. }
  264. #pragma implementation_key(38)
  265. inline _bstr_t VGCore::ICUIControl::GetToolTipText ( ) {
  266. BSTR _result = 0;
  267. HRESULT _hr = get_ToolTipText(&_result);
  268. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  269. return _bstr_t(_result, false);
  270. }
  271. #pragma implementation_key(39)
  272. inline void VGCore::ICUIControl::PutToolTipText ( _bstr_t pVal ) {
  273. HRESULT _hr = put_ToolTipText(pVal);
  274. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  275. }
  276. #pragma implementation_key(40)
  277. inline VARIANT_BOOL VGCore::ICUIControl::GetVisible ( ) {
  278. VARIANT_BOOL _result = 0;
  279. HRESULT _hr = get_Visible(&_result);
  280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  281. return _result;
  282. }
  283. #pragma implementation_key(41)
  284. inline void VGCore::ICUIControl::PutVisible ( VARIANT_BOOL pVal ) {
  285. HRESULT _hr = put_Visible(pVal);
  286. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  287. }
  288. #pragma implementation_key(42)
  289. inline HRESULT VGCore::ICUIControl::SetIcon ( long RowIndex, long ColumnIndex ) {
  290. HRESULT _hr = raw_SetIcon(RowIndex, ColumnIndex);
  291. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  292. return _hr;
  293. }
  294. #pragma implementation_key(43)
  295. inline HRESULT VGCore::ICUIControl::SetCustomIcon ( _bstr_t ImageFile ) {
  296. HRESULT _hr = raw_SetCustomIcon(ImageFile);
  297. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  298. return _hr;
  299. }
  300. #pragma implementation_key(44)
  301. inline HRESULT VGCore::ICUIControl::SetIcon2 ( _bstr_t Icon ) {
  302. HRESULT _hr = raw_SetIcon2(Icon);
  303. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  304. return _hr;
  305. }
  306. //
  307. // interface ICUIControls wrapper method implementations
  308. //
  309. #pragma implementation_key(45)
  310. inline long VGCore::ICUIControls::GetCount ( ) {
  311. long _result = 0;
  312. HRESULT _hr = get_Count(&_result);
  313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  314. return _result;
  315. }
  316. #pragma implementation_key(46)
  317. inline VGCore::ICUIControlPtr VGCore::ICUIControls::GetItem ( long Index ) {
  318. struct ICUIControl * _result = 0;
  319. HRESULT _hr = get_Item(Index, &_result);
  320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  321. return ICUIControlPtr(_result, false);
  322. }
  323. #pragma implementation_key(47)
  324. inline IUnknownPtr VGCore::ICUIControls::Get_NewEnum ( ) {
  325. IUnknown * _result = 0;
  326. HRESULT _hr = get__NewEnum(&_result);
  327. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  328. return IUnknownPtr(_result, false);
  329. }
  330. #pragma implementation_key(48)
  331. inline VGCore::ICUIControlPtr VGCore::ICUIControls::Add ( _bstr_t ControlID, long Index, VARIANT_BOOL Temporary ) {
  332. struct ICUIControl * _result = 0;
  333. HRESULT _hr = raw_Add(ControlID, Index, Temporary, &_result);
  334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  335. return ICUIControlPtr(_result, false);
  336. }
  337. #pragma implementation_key(49)
  338. inline VGCore::ICUIControlPtr VGCore::ICUIControls::AddCustomButton ( _bstr_t CategoryID, _bstr_t Command, long Index, VARIANT_BOOL Temporary ) {
  339. struct ICUIControl * _result = 0;
  340. HRESULT _hr = raw_AddCustomButton(CategoryID, Command, Index, Temporary, &_result);
  341. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  342. return ICUIControlPtr(_result, false);
  343. }
  344. #pragma implementation_key(50)
  345. inline VGCore::ICUIControlPtr VGCore::ICUIControls::AddCustomControl ( _bstr_t ClassName, _bstr_t AssemblyPath, long Index, VARIANT_BOOL Temporary ) {
  346. struct ICUIControl * _result = 0;
  347. HRESULT _hr = raw_AddCustomControl(ClassName, AssemblyPath, Index, Temporary, &_result);
  348. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  349. return ICUIControlPtr(_result, false);
  350. }
  351. #pragma implementation_key(51)
  352. inline VGCore::ICUIControlPtr VGCore::ICUIControls::AddToggleButton ( _bstr_t Guid, long Index, VARIANT_BOOL Temporary ) {
  353. struct ICUIControl * _result = 0;
  354. HRESULT _hr = raw_AddToggleButton(Guid, Index, Temporary, &_result);
  355. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  356. return ICUIControlPtr(_result, false);
  357. }
  358. #pragma implementation_key(52)
  359. inline HRESULT VGCore::ICUIControls::Remove ( long Index ) {
  360. HRESULT _hr = raw_Remove(Index);
  361. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  362. return _hr;
  363. }
  364. //
  365. // interface ICUICommandBarMode wrapper method implementations
  366. //
  367. #pragma implementation_key(53)
  368. inline _bstr_t VGCore::ICUICommandBarMode::GetName ( ) {
  369. BSTR _result = 0;
  370. HRESULT _hr = get_Name(&_result);
  371. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  372. return _bstr_t(_result, false);
  373. }
  374. #pragma implementation_key(54)
  375. inline _bstr_t VGCore::ICUICommandBarMode::GetNameLocal ( ) {
  376. BSTR _result = 0;
  377. HRESULT _hr = get_NameLocal(&_result);
  378. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  379. return _bstr_t(_result, false);
  380. }
  381. #pragma implementation_key(55)
  382. inline VGCore::ICUIControlsPtr VGCore::ICUICommandBarMode::GetControls ( ) {
  383. struct ICUIControls * _result = 0;
  384. HRESULT _hr = get_Controls(&_result);
  385. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  386. return ICUIControlsPtr(_result, false);
  387. }
  388. //
  389. // interface ICUICommandBarModes wrapper method implementations
  390. //
  391. #pragma implementation_key(56)
  392. inline VGCore::ICUICommandBarModePtr VGCore::ICUICommandBarModes::GetItem ( const _variant_t & IndexOrName ) {
  393. struct ICUICommandBarMode * _result = 0;
  394. HRESULT _hr = get_Item(IndexOrName, &_result);
  395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  396. return ICUICommandBarModePtr(_result, false);
  397. }
  398. #pragma implementation_key(57)
  399. inline long VGCore::ICUICommandBarModes::GetCount ( ) {
  400. long _result = 0;
  401. HRESULT _hr = get_Count(&_result);
  402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  403. return _result;
  404. }
  405. #pragma implementation_key(58)
  406. inline IUnknownPtr VGCore::ICUICommandBarModes::Get_NewEnum ( ) {
  407. IUnknown * _result = 0;
  408. HRESULT _hr = get__NewEnum(&_result);
  409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  410. return IUnknownPtr(_result, false);
  411. }
  412. //
  413. // interface ICUICommandBar wrapper method implementations
  414. //
  415. #pragma implementation_key(59)
  416. inline enum VGCore::cuiBarType VGCore::ICUICommandBar::GetType ( ) {
  417. enum cuiBarType _result;
  418. HRESULT _hr = get_Type(&_result);
  419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  420. return _result;
  421. }
  422. #pragma implementation_key(60)
  423. inline VARIANT_BOOL VGCore::ICUICommandBar::GetVisible ( ) {
  424. VARIANT_BOOL _result = 0;
  425. HRESULT _hr = get_Visible(&_result);
  426. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  427. return _result;
  428. }
  429. #pragma implementation_key(61)
  430. inline void VGCore::ICUICommandBar::PutVisible ( VARIANT_BOOL pVal ) {
  431. HRESULT _hr = put_Visible(pVal);
  432. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  433. }
  434. #pragma implementation_key(62)
  435. inline VGCore::ICUIControlsPtr VGCore::ICUICommandBar::GetControls ( ) {
  436. struct ICUIControls * _result = 0;
  437. HRESULT _hr = get_Controls(&_result);
  438. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  439. return ICUIControlsPtr(_result, false);
  440. }
  441. #pragma implementation_key(63)
  442. inline VGCore::ICUICommandBarModesPtr VGCore::ICUICommandBar::GetModes ( ) {
  443. struct ICUICommandBarModes * _result = 0;
  444. HRESULT _hr = get_Modes(&_result);
  445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  446. return ICUICommandBarModesPtr(_result, false);
  447. }
  448. #pragma implementation_key(64)
  449. inline VARIANT_BOOL VGCore::ICUICommandBar::GetBuiltIn ( ) {
  450. VARIANT_BOOL _result = 0;
  451. HRESULT _hr = get_BuiltIn(&_result);
  452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  453. return _result;
  454. }
  455. #pragma implementation_key(65)
  456. inline VARIANT_BOOL VGCore::ICUICommandBar::GetEnabled ( ) {
  457. VARIANT_BOOL _result = 0;
  458. HRESULT _hr = get_Enabled(&_result);
  459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  460. return _result;
  461. }
  462. #pragma implementation_key(66)
  463. inline void VGCore::ICUICommandBar::PutEnabled ( VARIANT_BOOL pVal ) {
  464. HRESULT _hr = put_Enabled(pVal);
  465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  466. }
  467. #pragma implementation_key(67)
  468. inline long VGCore::ICUICommandBar::GetLeft ( ) {
  469. long _result = 0;
  470. HRESULT _hr = get_Left(&_result);
  471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  472. return _result;
  473. }
  474. #pragma implementation_key(68)
  475. inline void VGCore::ICUICommandBar::PutLeft ( long pVal ) {
  476. HRESULT _hr = put_Left(pVal);
  477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  478. }
  479. #pragma implementation_key(69)
  480. inline long VGCore::ICUICommandBar::GetTop ( ) {
  481. long _result = 0;
  482. HRESULT _hr = get_Top(&_result);
  483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  484. return _result;
  485. }
  486. #pragma implementation_key(70)
  487. inline void VGCore::ICUICommandBar::PutTop ( long pVal ) {
  488. HRESULT _hr = put_Top(pVal);
  489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  490. }
  491. #pragma implementation_key(71)
  492. inline long VGCore::ICUICommandBar::GetHeight ( ) {
  493. long _result = 0;
  494. HRESULT _hr = get_Height(&_result);
  495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  496. return _result;
  497. }
  498. #pragma implementation_key(72)
  499. inline long VGCore::ICUICommandBar::GetWidth ( ) {
  500. long _result = 0;
  501. HRESULT _hr = get_Width(&_result);
  502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  503. return _result;
  504. }
  505. #pragma implementation_key(73)
  506. inline long VGCore::ICUICommandBar::GetIndex ( ) {
  507. long _result = 0;
  508. HRESULT _hr = get_Index(&_result);
  509. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  510. return _result;
  511. }
  512. #pragma implementation_key(74)
  513. inline _bstr_t VGCore::ICUICommandBar::GetName ( ) {
  514. BSTR _result = 0;
  515. HRESULT _hr = get_Name(&_result);
  516. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  517. return _bstr_t(_result, false);
  518. }
  519. #pragma implementation_key(75)
  520. inline void VGCore::ICUICommandBar::PutName ( _bstr_t pVal ) {
  521. HRESULT _hr = put_Name(pVal);
  522. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  523. }
  524. #pragma implementation_key(76)
  525. inline _bstr_t VGCore::ICUICommandBar::GetNameLocal ( ) {
  526. BSTR _result = 0;
  527. HRESULT _hr = get_NameLocal(&_result);
  528. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  529. return _bstr_t(_result, false);
  530. }
  531. #pragma implementation_key(77)
  532. inline void VGCore::ICUICommandBar::PutNameLocal ( _bstr_t pVal ) {
  533. HRESULT _hr = put_NameLocal(pVal);
  534. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  535. }
  536. #pragma implementation_key(78)
  537. inline enum VGCore::cuiBarPosition VGCore::ICUICommandBar::GetPosition ( ) {
  538. enum cuiBarPosition _result;
  539. HRESULT _hr = get_Position(&_result);
  540. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  541. return _result;
  542. }
  543. #pragma implementation_key(79)
  544. inline void VGCore::ICUICommandBar::PutPosition ( enum cuiBarPosition pVal ) {
  545. HRESULT _hr = put_Position(pVal);
  546. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  547. }
  548. #pragma implementation_key(80)
  549. inline enum VGCore::cuiBarProtection VGCore::ICUICommandBar::GetProtection ( ) {
  550. enum cuiBarProtection _result;
  551. HRESULT _hr = get_Protection(&_result);
  552. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  553. return _result;
  554. }
  555. #pragma implementation_key(81)
  556. inline void VGCore::ICUICommandBar::PutProtection ( enum cuiBarProtection pVal ) {
  557. HRESULT _hr = put_Protection(pVal);
  558. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  559. }
  560. #pragma implementation_key(82)
  561. inline HRESULT VGCore::ICUICommandBar::Delete ( ) {
  562. HRESULT _hr = raw_Delete();
  563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  564. return _hr;
  565. }
  566. #pragma implementation_key(83)
  567. inline HRESULT VGCore::ICUICommandBar::Reset ( ) {
  568. HRESULT _hr = raw_Reset();
  569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  570. return _hr;
  571. }
  572. #pragma implementation_key(84)
  573. inline HRESULT VGCore::ICUICommandBar::ShowPopup ( const _variant_t & x, const _variant_t & y ) {
  574. HRESULT _hr = raw_ShowPopup(x, y);
  575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  576. return _hr;
  577. }
  578. #pragma implementation_key(85)
  579. inline HRESULT VGCore::ICUICommandBar::SetWidth ( long Width ) {
  580. HRESULT _hr = raw_SetWidth(Width);
  581. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  582. return _hr;
  583. }
  584. //
  585. // interface ICUICommandBars wrapper method implementations
  586. //
  587. #pragma implementation_key(86)
  588. inline VGCore::ICUICommandBarPtr VGCore::ICUICommandBars::GetItem ( const _variant_t & IndexOrName ) {
  589. struct ICUICommandBar * _result = 0;
  590. HRESULT _hr = get_Item(IndexOrName, &_result);
  591. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  592. return ICUICommandBarPtr(_result, false);
  593. }
  594. #pragma implementation_key(87)
  595. inline long VGCore::ICUICommandBars::GetCount ( ) {
  596. long _result = 0;
  597. HRESULT _hr = get_Count(&_result);
  598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  599. return _result;
  600. }
  601. #pragma implementation_key(88)
  602. inline IUnknownPtr VGCore::ICUICommandBars::Get_NewEnum ( ) {
  603. IUnknown * _result = 0;
  604. HRESULT _hr = get__NewEnum(&_result);
  605. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  606. return IUnknownPtr(_result, false);
  607. }
  608. #pragma implementation_key(89)
  609. inline VGCore::ICUICommandBarPtr VGCore::ICUICommandBars::Add ( _bstr_t Name, enum cuiBarPosition Position, VARIANT_BOOL Temporary ) {
  610. struct ICUICommandBar * _result = 0;
  611. HRESULT _hr = raw_Add(Name, Position, Temporary, &_result);
  612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  613. return ICUICommandBarPtr(_result, false);
  614. }
  615. //
  616. // interface ICUIScreenRect wrapper method implementations
  617. //
  618. #pragma implementation_key(90)
  619. inline long VGCore::ICUIScreenRect::GetLeft ( ) {
  620. long _result = 0;
  621. HRESULT _hr = get_Left(&_result);
  622. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  623. return _result;
  624. }
  625. #pragma implementation_key(91)
  626. inline void VGCore::ICUIScreenRect::PutLeft ( long pVal ) {
  627. HRESULT _hr = put_Left(pVal);
  628. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  629. }
  630. #pragma implementation_key(92)
  631. inline long VGCore::ICUIScreenRect::GetRight ( ) {
  632. long _result = 0;
  633. HRESULT _hr = get_Right(&_result);
  634. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  635. return _result;
  636. }
  637. #pragma implementation_key(93)
  638. inline void VGCore::ICUIScreenRect::PutRight ( long pVal ) {
  639. HRESULT _hr = put_Right(pVal);
  640. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  641. }
  642. #pragma implementation_key(94)
  643. inline long VGCore::ICUIScreenRect::GetTop ( ) {
  644. long _result = 0;
  645. HRESULT _hr = get_Top(&_result);
  646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  647. return _result;
  648. }
  649. #pragma implementation_key(95)
  650. inline void VGCore::ICUIScreenRect::PutTop ( long pVal ) {
  651. HRESULT _hr = put_Top(pVal);
  652. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  653. }
  654. #pragma implementation_key(96)
  655. inline long VGCore::ICUIScreenRect::GetBottom ( ) {
  656. long _result = 0;
  657. HRESULT _hr = get_Bottom(&_result);
  658. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  659. return _result;
  660. }
  661. #pragma implementation_key(97)
  662. inline void VGCore::ICUIScreenRect::PutBottom ( long pVal ) {
  663. HRESULT _hr = put_Bottom(pVal);
  664. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  665. }
  666. #pragma implementation_key(98)
  667. inline long VGCore::ICUIScreenRect::GetWidth ( ) {
  668. long _result = 0;
  669. HRESULT _hr = get_Width(&_result);
  670. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  671. return _result;
  672. }
  673. #pragma implementation_key(99)
  674. inline void VGCore::ICUIScreenRect::PutWidth ( long pVal ) {
  675. HRESULT _hr = put_Width(pVal);
  676. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  677. }
  678. #pragma implementation_key(100)
  679. inline long VGCore::ICUIScreenRect::GetHeight ( ) {
  680. long _result = 0;
  681. HRESULT _hr = get_Height(&_result);
  682. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  683. return _result;
  684. }
  685. #pragma implementation_key(101)
  686. inline void VGCore::ICUIScreenRect::PutHeight ( long pVal ) {
  687. HRESULT _hr = put_Height(pVal);
  688. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  689. }
  690. #pragma implementation_key(102)
  691. inline long VGCore::ICUIScreenRect::GetCenterX ( ) {
  692. long _result = 0;
  693. HRESULT _hr = get_CenterX(&_result);
  694. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  695. return _result;
  696. }
  697. #pragma implementation_key(103)
  698. inline void VGCore::ICUIScreenRect::PutCenterX ( long pVal ) {
  699. HRESULT _hr = put_CenterX(pVal);
  700. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  701. }
  702. #pragma implementation_key(104)
  703. inline long VGCore::ICUIScreenRect::GetCenterY ( ) {
  704. long _result = 0;
  705. HRESULT _hr = get_CenterY(&_result);
  706. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  707. return _result;
  708. }
  709. #pragma implementation_key(105)
  710. inline void VGCore::ICUIScreenRect::PutCenterY ( long pVal ) {
  711. HRESULT _hr = put_CenterY(pVal);
  712. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  713. }
  714. #pragma implementation_key(106)
  715. inline HRESULT VGCore::ICUIScreenRect::SetPosition ( long Left, long Top, long Width, long Height ) {
  716. HRESULT _hr = raw_SetPosition(Left, Top, Width, Height);
  717. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  718. return _hr;
  719. }
  720. #pragma implementation_key(107)
  721. inline HRESULT VGCore::ICUIScreenRect::Resize ( long Width, long Height ) {
  722. HRESULT _hr = raw_Resize(Width, Height);
  723. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  724. return _hr;
  725. }
  726. #pragma implementation_key(108)
  727. inline HRESULT VGCore::ICUIScreenRect::Move ( long Left, long Top ) {
  728. HRESULT _hr = raw_Move(Left, Top);
  729. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  730. return _hr;
  731. }
  732. #pragma implementation_key(109)
  733. inline VARIANT_BOOL VGCore::ICUIScreenRect::GetReadOnly ( ) {
  734. VARIANT_BOOL _result = 0;
  735. HRESULT _hr = get_ReadOnly(&_result);
  736. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  737. return _result;
  738. }
  739. #pragma implementation_key(110)
  740. inline VGCore::ICUIScreenRectPtr VGCore::ICUIScreenRect::GetCopy ( ) {
  741. struct ICUIScreenRect * _result = 0;
  742. HRESULT _hr = raw_GetCopy(&_result);
  743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  744. return ICUIScreenRectPtr(_result, false);
  745. }
  746. #pragma implementation_key(111)
  747. inline HRESULT VGCore::ICUIScreenRect::CopyAssign ( struct ICUIScreenRect * Source ) {
  748. HRESULT _hr = raw_CopyAssign(Source);
  749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  750. return _hr;
  751. }
  752. #pragma implementation_key(112)
  753. inline HRESULT VGCore::ICUIScreenRect::Offset ( long OffsetX, long OffsetY ) {
  754. HRESULT _hr = raw_Offset(OffsetX, OffsetY);
  755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  756. return _hr;
  757. }
  758. #pragma implementation_key(113)
  759. inline HRESULT VGCore::ICUIScreenRect::Inflate ( long Left, long Top, long Right, long Bottom ) {
  760. HRESULT _hr = raw_Inflate(Left, Top, Right, Bottom);
  761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  762. return _hr;
  763. }
  764. #pragma implementation_key(114)
  765. inline VARIANT_BOOL VGCore::ICUIScreenRect::IsPointInside ( long x, long y ) {
  766. VARIANT_BOOL _result = 0;
  767. HRESULT _hr = raw_IsPointInside(x, y, &_result);
  768. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  769. return _result;
  770. }
  771. #pragma implementation_key(115)
  772. inline VGCore::ICUIScreenRectPtr VGCore::ICUIScreenRect::Union ( struct ICUIScreenRect * Source ) {
  773. struct ICUIScreenRect * _result = 0;
  774. HRESULT _hr = raw_Union(Source, &_result);
  775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  776. return ICUIScreenRectPtr(_result, false);
  777. }
  778. #pragma implementation_key(116)
  779. inline VGCore::ICUIScreenRectPtr VGCore::ICUIScreenRect::Intersect ( struct ICUIScreenRect * Source ) {
  780. struct ICUIScreenRect * _result = 0;
  781. HRESULT _hr = raw_Intersect(Source, &_result);
  782. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  783. return ICUIScreenRectPtr(_result, false);
  784. }
  785. #pragma implementation_key(117)
  786. inline VARIANT_BOOL VGCore::ICUIScreenRect::IsEmpty ( ) {
  787. VARIANT_BOOL _result = 0;
  788. HRESULT _hr = raw_IsEmpty(&_result);
  789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  790. return _result;
  791. }
  792. //
  793. // interface ICUIBitmapImage wrapper method implementations
  794. //
  795. #pragma implementation_key(118)
  796. inline VARIANT_BOOL VGCore::ICUIBitmapImage::GetValid ( ) {
  797. VARIANT_BOOL _result = 0;
  798. HRESULT _hr = get_Valid(&_result);
  799. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  800. return _result;
  801. }
  802. #pragma implementation_key(119)
  803. inline long VGCore::ICUIBitmapImage::GetWidth ( ) {
  804. long _result = 0;
  805. HRESULT _hr = get_Width(&_result);
  806. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  807. return _result;
  808. }
  809. #pragma implementation_key(120)
  810. inline long VGCore::ICUIBitmapImage::GetHeight ( ) {
  811. long _result = 0;
  812. HRESULT _hr = get_Height(&_result);
  813. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  814. return _result;
  815. }
  816. //
  817. // interface ICUIImageList wrapper method implementations
  818. //
  819. #pragma implementation_key(121)
  820. inline long VGCore::ICUIImageList::GetImageCount ( ) {
  821. long _result = 0;
  822. HRESULT _hr = get_ImageCount(&_result);
  823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  824. return _result;
  825. }
  826. #pragma implementation_key(122)
  827. inline VARIANT_BOOL VGCore::ICUIImageList::ImageExists ( _bstr_t Key ) {
  828. VARIANT_BOOL _result = 0;
  829. HRESULT _hr = raw_ImageExists(Key, &_result);
  830. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  831. return _result;
  832. }
  833. #pragma implementation_key(123)
  834. inline HRESULT VGCore::ICUIImageList::RemoveAll ( ) {
  835. HRESULT _hr = raw_RemoveAll();
  836. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  837. return _hr;
  838. }
  839. #pragma implementation_key(124)
  840. inline VARIANT_BOOL VGCore::ICUIImageList::AddImage ( _bstr_t Key, const _variant_t & ImageData, long MaxSize ) {
  841. VARIANT_BOOL _result = 0;
  842. HRESULT _hr = raw_AddImage(Key, ImageData, MaxSize, &_result);
  843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  844. return _result;
  845. }
  846. #pragma implementation_key(125)
  847. inline SAFEARRAY * VGCore::ICUIImageList::GetImageKeys ( ) {
  848. SAFEARRAY * _result = 0;
  849. HRESULT _hr = get_ImageKeys(&_result);
  850. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  851. return _result;
  852. }
  853. #pragma implementation_key(126)
  854. inline VARIANT_BOOL VGCore::ICUIImageList::RemoveImage ( _bstr_t Key ) {
  855. VARIANT_BOOL _result = 0;
  856. HRESULT _hr = raw_RemoveImage(Key, &_result);
  857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  858. return _result;
  859. }
  860. #pragma implementation_key(127)
  861. inline HRESULT VGCore::ICUIImageList::AddBitmap ( _bstr_t Key, struct ICUIBitmapImage * Bitmap ) {
  862. HRESULT _hr = raw_AddBitmap(Key, Bitmap);
  863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  864. return _hr;
  865. }
  866. //
  867. // interface ICUIStatusText wrapper method implementations
  868. //
  869. #pragma implementation_key(128)
  870. inline HRESULT VGCore::ICUIStatusText::SetCaptionText ( _bstr_t Text ) {
  871. HRESULT _hr = raw_SetCaptionText(Text);
  872. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  873. return _hr;
  874. }
  875. #pragma implementation_key(129)
  876. inline HRESULT VGCore::ICUIStatusText::SetBitmap ( struct ICUIBitmapImage * Bitmap ) {
  877. HRESULT _hr = raw_SetBitmap(Bitmap);
  878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  879. return _hr;
  880. }
  881. //
  882. // interface ICUIWarning wrapper method implementations
  883. //
  884. #pragma implementation_key(130)
  885. inline VARIANT_BOOL VGCore::ICUIWarning::GetEnabled ( ) {
  886. VARIANT_BOOL _result = 0;
  887. HRESULT _hr = get_Enabled(&_result);
  888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  889. return _result;
  890. }
  891. #pragma implementation_key(131)
  892. inline void VGCore::ICUIWarning::PutEnabled ( VARIANT_BOOL pVal ) {
  893. HRESULT _hr = put_Enabled(pVal);
  894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  895. }
  896. #pragma implementation_key(132)
  897. inline _bstr_t VGCore::ICUIWarning::GetID ( ) {
  898. BSTR _result = 0;
  899. HRESULT _hr = get_ID(&_result);
  900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  901. return _bstr_t(_result, false);
  902. }
  903. #pragma implementation_key(133)
  904. inline _bstr_t VGCore::ICUIWarning::GetDescription ( ) {
  905. BSTR _result = 0;
  906. HRESULT _hr = get_Description(&_result);
  907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  908. return _bstr_t(_result, false);
  909. }
  910. #pragma implementation_key(134)
  911. inline _bstr_t VGCore::ICUIWarning::GetText ( ) {
  912. BSTR _result = 0;
  913. HRESULT _hr = get_Text(&_result);
  914. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  915. return _bstr_t(_result, false);
  916. }
  917. #pragma implementation_key(135)
  918. inline _bstr_t VGCore::ICUIWarning::GetTitle ( ) {
  919. BSTR _result = 0;
  920. HRESULT _hr = get_Title(&_result);
  921. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  922. return _bstr_t(_result, false);
  923. }
  924. #pragma implementation_key(136)
  925. inline long VGCore::ICUIWarning::DoWarningDialog ( long unFlags, _bstr_t Text ) {
  926. long _result = 0;
  927. HRESULT _hr = raw_DoWarningDialog(unFlags, Text, &_result);
  928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  929. return _result;
  930. }
  931. //
  932. // interface ICUITask wrapper method implementations
  933. //
  934. #pragma implementation_key(137)
  935. inline HRESULT VGCore::ICUITask::RunTask ( ) {
  936. HRESULT _hr = raw_RunTask();
  937. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  938. return _hr;
  939. }
  940. //
  941. // interface ICUIBackgroundTask wrapper method implementations
  942. //
  943. #pragma implementation_key(138)
  944. inline HRESULT VGCore::ICUIBackgroundTask::FinalizeTask ( ) {
  945. HRESULT _hr = raw_FinalizeTask();
  946. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  947. return _hr;
  948. }
  949. #pragma implementation_key(139)
  950. inline HRESULT VGCore::ICUIBackgroundTask::FreeTask ( ) {
  951. HRESULT _hr = raw_FreeTask();
  952. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  953. return _hr;
  954. }
  955. #pragma implementation_key(140)
  956. inline HRESULT VGCore::ICUIBackgroundTask::QuitTask ( ) {
  957. HRESULT _hr = raw_QuitTask();
  958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  959. return _hr;
  960. }
  961. #pragma implementation_key(141)
  962. inline _bstr_t VGCore::ICUIBackgroundTask::GetName ( ) {
  963. BSTR _result = 0;
  964. HRESULT _hr = get_Name(&_result);
  965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  966. return _bstr_t(_result, false);
  967. }
  968. //
  969. // interface ICUIRunningTask wrapper method implementations
  970. //
  971. #pragma implementation_key(142)
  972. inline HRESULT VGCore::ICUIRunningTask::TryAbort ( ) {
  973. HRESULT _hr = raw_TryAbort();
  974. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  975. return _hr;
  976. }
  977. //
  978. // interface ICUIRunningBackgroundTask wrapper method implementations
  979. //
  980. #pragma implementation_key(143)
  981. inline HRESULT VGCore::ICUIRunningBackgroundTask::WaitUntilDone ( ) {
  982. HRESULT _hr = raw_WaitUntilDone();
  983. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  984. return _hr;
  985. }
  986. #pragma implementation_key(144)
  987. inline HRESULT VGCore::ICUIRunningBackgroundTask::Reprioritize ( enum cuiTaskPriority __MIDL__ICUIRunningBackgroundTask0000 ) {
  988. HRESULT _hr = raw_Reprioritize(__MIDL__ICUIRunningBackgroundTask0000);
  989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  990. return _hr;
  991. }
  992. #pragma implementation_key(145)
  993. inline VARIANT_BOOL VGCore::ICUIRunningBackgroundTask::FinalizeIfDone ( ) {
  994. VARIANT_BOOL _result = 0;
  995. HRESULT _hr = raw_FinalizeIfDone(&_result);
  996. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  997. return _result;
  998. }
  999. //
  1000. // interface ICUITaskManager wrapper method implementations
  1001. //
  1002. #pragma implementation_key(146)
  1003. inline HRESULT VGCore::ICUITaskManager::RunOnUIThread ( struct ICUITask * pTask ) {
  1004. HRESULT _hr = raw_RunOnUIThread(pTask);
  1005. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1006. return _hr;
  1007. }
  1008. #pragma implementation_key(147)
  1009. inline VGCore::ICUIRunningBackgroundTaskPtr VGCore::ICUITaskManager::RunInBackground ( enum cuiTaskPriority priority, struct ICUIBackgroundTask * pTask ) {
  1010. struct ICUIRunningBackgroundTask * _result = 0;
  1011. HRESULT _hr = raw_RunInBackground(priority, pTask, &_result);
  1012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1013. return ICUIRunningBackgroundTaskPtr(_result, false);
  1014. }
  1015. //
  1016. // interface IPrnVBAPrintLayout wrapper method implementations
  1017. //
  1018. #pragma implementation_key(148)
  1019. inline VARIANT_BOOL VGCore::IPrnVBAPrintLayout::GetUseBleedLimit ( ) {
  1020. VARIANT_BOOL _result = 0;
  1021. HRESULT _hr = get_UseBleedLimit(&_result);
  1022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1023. return _result;
  1024. }
  1025. #pragma implementation_key(149)
  1026. inline void VGCore::IPrnVBAPrintLayout::PutUseBleedLimit ( VARIANT_BOOL pVal ) {
  1027. HRESULT _hr = put_UseBleedLimit(pVal);
  1028. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1029. }
  1030. #pragma implementation_key(150)
  1031. inline double VGCore::IPrnVBAPrintLayout::GetBleedLimit ( ) {
  1032. double _result = 0;
  1033. HRESULT _hr = get_BleedLimit(&_result);
  1034. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1035. return _result;
  1036. }
  1037. #pragma implementation_key(151)
  1038. inline void VGCore::IPrnVBAPrintLayout::PutBleedLimit ( double pVal ) {
  1039. HRESULT _hr = put_BleedLimit(pVal);
  1040. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1041. }
  1042. #pragma implementation_key(152)
  1043. inline VARIANT_BOOL VGCore::IPrnVBAPrintLayout::GetPrintTiledPages ( ) {
  1044. VARIANT_BOOL _result = 0;
  1045. HRESULT _hr = get_PrintTiledPages(&_result);
  1046. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1047. return _result;
  1048. }
  1049. #pragma implementation_key(153)
  1050. inline void VGCore::IPrnVBAPrintLayout::PutPrintTiledPages ( VARIANT_BOOL pVal ) {
  1051. HRESULT _hr = put_PrintTiledPages(pVal);
  1052. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1053. }
  1054. #pragma implementation_key(154)
  1055. inline VARIANT_BOOL VGCore::IPrnVBAPrintLayout::GetPrintTilingMarks ( ) {
  1056. VARIANT_BOOL _result = 0;
  1057. HRESULT _hr = get_PrintTilingMarks(&_result);
  1058. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1059. return _result;
  1060. }
  1061. #pragma implementation_key(155)
  1062. inline void VGCore::IPrnVBAPrintLayout::PutPrintTilingMarks ( VARIANT_BOOL pVal ) {
  1063. HRESULT _hr = put_PrintTilingMarks(pVal);
  1064. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1065. }
  1066. #pragma implementation_key(156)
  1067. inline double VGCore::IPrnVBAPrintLayout::GetTileOverlap ( ) {
  1068. double _result = 0;
  1069. HRESULT _hr = get_TileOverlap(&_result);
  1070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1071. return _result;
  1072. }
  1073. #pragma implementation_key(157)
  1074. inline void VGCore::IPrnVBAPrintLayout::PutTileOverlap ( double pVal ) {
  1075. HRESULT _hr = put_TileOverlap(pVal);
  1076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1077. }
  1078. #pragma implementation_key(158)
  1079. inline enum VGCore::PrnPlaceType VGCore::IPrnVBAPrintLayout::GetPlacement ( ) {
  1080. enum PrnPlaceType _result;
  1081. HRESULT _hr = get_Placement(&_result);
  1082. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1083. return _result;
  1084. }
  1085. #pragma implementation_key(159)
  1086. inline void VGCore::IPrnVBAPrintLayout::PutPlacement ( enum PrnPlaceType pVal ) {
  1087. HRESULT _hr = put_Placement(pVal);
  1088. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1089. }
  1090. //
  1091. // interface IPrnVBAPrinter wrapper method implementations
  1092. //
  1093. #pragma implementation_key(160)
  1094. inline _bstr_t VGCore::IPrnVBAPrinter::GetName ( ) {
  1095. BSTR _result = 0;
  1096. HRESULT _hr = get_Name(&_result);
  1097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1098. return _bstr_t(_result, false);
  1099. }
  1100. #pragma implementation_key(161)
  1101. inline _bstr_t VGCore::IPrnVBAPrinter::GetType ( ) {
  1102. BSTR _result = 0;
  1103. HRESULT _hr = get_Type(&_result);
  1104. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1105. return _bstr_t(_result, false);
  1106. }
  1107. #pragma implementation_key(162)
  1108. inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetDefault ( ) {
  1109. VARIANT_BOOL _result = 0;
  1110. HRESULT _hr = get_Default(&_result);
  1111. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1112. return _result;
  1113. }
  1114. #pragma implementation_key(163)
  1115. inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetReady ( ) {
  1116. VARIANT_BOOL _result = 0;
  1117. HRESULT _hr = get_Ready(&_result);
  1118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1119. return _result;
  1120. }
  1121. #pragma implementation_key(164)
  1122. inline _bstr_t VGCore::IPrnVBAPrinter::GetPort ( ) {
  1123. BSTR _result = 0;
  1124. HRESULT _hr = get_Port(&_result);
  1125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1126. return _bstr_t(_result, false);
  1127. }
  1128. #pragma implementation_key(165)
  1129. inline _bstr_t VGCore::IPrnVBAPrinter::GetDescription ( ) {
  1130. BSTR _result = 0;
  1131. HRESULT _hr = get_Description(&_result);
  1132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1133. return _bstr_t(_result, false);
  1134. }
  1135. #pragma implementation_key(166)
  1136. inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetPostScriptEnabled ( ) {
  1137. VARIANT_BOOL _result = 0;
  1138. HRESULT _hr = get_PostScriptEnabled(&_result);
  1139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1140. return _result;
  1141. }
  1142. #pragma implementation_key(167)
  1143. inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetColorEnabled ( ) {
  1144. VARIANT_BOOL _result = 0;
  1145. HRESULT _hr = get_ColorEnabled(&_result);
  1146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1147. return _result;
  1148. }
  1149. #pragma implementation_key(168)
  1150. inline HRESULT VGCore::IPrnVBAPrinter::ShowDialog ( ) {
  1151. HRESULT _hr = raw_ShowDialog();
  1152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1153. return _hr;
  1154. }
  1155. #pragma implementation_key(169)
  1156. inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetPageSizeMatchingSupported ( ) {
  1157. VARIANT_BOOL _result = 0;
  1158. HRESULT _hr = get_PageSizeMatchingSupported(&_result);
  1159. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1160. return _result;
  1161. }
  1162. #pragma implementation_key(170)
  1163. inline void VGCore::IPrnVBAPrinter::PutPageSizeMatchingSupported ( VARIANT_BOOL pVal ) {
  1164. HRESULT _hr = put_PageSizeMatchingSupported(pVal);
  1165. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1166. }
  1167. //
  1168. // interface IPrnVBAPrinters wrapper method implementations
  1169. //
  1170. #pragma implementation_key(171)
  1171. inline VGCore::IPrnVBAPrinterPtr VGCore::IPrnVBAPrinters::GetItem ( long nIndex ) {
  1172. struct IPrnVBAPrinter * _result = 0;
  1173. HRESULT _hr = get_Item(nIndex, &_result);
  1174. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1175. return IPrnVBAPrinterPtr(_result, false);
  1176. }
  1177. #pragma implementation_key(172)
  1178. inline long VGCore::IPrnVBAPrinters::GetCount ( ) {
  1179. long _result = 0;
  1180. HRESULT _hr = get_Count(&_result);
  1181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1182. return _result;
  1183. }
  1184. #pragma implementation_key(173)
  1185. inline VGCore::IPrnVBAPrinterPtr VGCore::IPrnVBAPrinters::GetDefault ( ) {
  1186. struct IPrnVBAPrinter * _result = 0;
  1187. HRESULT _hr = get_Default(&_result);
  1188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1189. return IPrnVBAPrinterPtr(_result, false);
  1190. }
  1191. //
  1192. // interface IPrnVBASeparationPlate wrapper method implementations
  1193. //
  1194. #pragma implementation_key(174)
  1195. inline VARIANT_BOOL VGCore::IPrnVBASeparationPlate::GetEnabled ( ) {
  1196. VARIANT_BOOL _result = 0;
  1197. HRESULT _hr = get_Enabled(&_result);
  1198. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1199. return _result;
  1200. }
  1201. #pragma implementation_key(175)
  1202. inline void VGCore::IPrnVBASeparationPlate::PutEnabled ( VARIANT_BOOL pVal ) {
  1203. HRESULT _hr = put_Enabled(pVal);
  1204. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1205. }
  1206. #pragma implementation_key(176)
  1207. inline enum VGCore::PrnPlateType VGCore::IPrnVBASeparationPlate::GetType ( ) {
  1208. enum PrnPlateType _result;
  1209. HRESULT _hr = get_Type(&_result);
  1210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1211. return _result;
  1212. }
  1213. #pragma implementation_key(177)
  1214. inline _bstr_t VGCore::IPrnVBASeparationPlate::GetColor ( ) {
  1215. BSTR _result = 0;
  1216. HRESULT _hr = get_Color(&_result);
  1217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1218. return _bstr_t(_result, false);
  1219. }
  1220. #pragma implementation_key(178)
  1221. inline double VGCore::IPrnVBASeparationPlate::GetFrequency ( ) {
  1222. double _result = 0;
  1223. HRESULT _hr = get_Frequency(&_result);
  1224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1225. return _result;
  1226. }
  1227. #pragma implementation_key(179)
  1228. inline void VGCore::IPrnVBASeparationPlate::PutFrequency ( double pVal ) {
  1229. HRESULT _hr = put_Frequency(pVal);
  1230. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1231. }
  1232. #pragma implementation_key(180)
  1233. inline double VGCore::IPrnVBASeparationPlate::GetAngle ( ) {
  1234. double _result = 0;
  1235. HRESULT _hr = get_Angle(&_result);
  1236. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1237. return _result;
  1238. }
  1239. #pragma implementation_key(181)
  1240. inline void VGCore::IPrnVBASeparationPlate::PutAngle ( double pVal ) {
  1241. HRESULT _hr = put_Angle(pVal);
  1242. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1243. }
  1244. #pragma implementation_key(182)
  1245. inline VARIANT_BOOL VGCore::IPrnVBASeparationPlate::GetOverprintText ( ) {
  1246. VARIANT_BOOL _result = 0;
  1247. HRESULT _hr = get_OverprintText(&_result);
  1248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1249. return _result;
  1250. }
  1251. #pragma implementation_key(183)
  1252. inline void VGCore::IPrnVBASeparationPlate::PutOverprintText ( VARIANT_BOOL pVal ) {
  1253. HRESULT _hr = put_OverprintText(pVal);
  1254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1255. }
  1256. #pragma implementation_key(184)
  1257. inline VARIANT_BOOL VGCore::IPrnVBASeparationPlate::GetOverprintGraphic ( ) {
  1258. VARIANT_BOOL _result = 0;
  1259. HRESULT _hr = get_OverprintGraphic(&_result);
  1260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1261. return _result;
  1262. }
  1263. #pragma implementation_key(185)
  1264. inline void VGCore::IPrnVBASeparationPlate::PutOverprintGraphic ( VARIANT_BOOL pVal ) {
  1265. HRESULT _hr = put_OverprintGraphic(pVal);
  1266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1267. }
  1268. //
  1269. // interface IPrnVBASeparationPlates wrapper method implementations
  1270. //
  1271. #pragma implementation_key(186)
  1272. inline VGCore::IPrnVBASeparationPlatePtr VGCore::IPrnVBASeparationPlates::GetItem ( long Index ) {
  1273. struct IPrnVBASeparationPlate * _result = 0;
  1274. HRESULT _hr = get_Item(Index, &_result);
  1275. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1276. return IPrnVBASeparationPlatePtr(_result, false);
  1277. }
  1278. #pragma implementation_key(187)
  1279. inline long VGCore::IPrnVBASeparationPlates::GetCount ( ) {
  1280. long _result = 0;
  1281. HRESULT _hr = get_Count(&_result);
  1282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1283. return _result;
  1284. }
  1285. //
  1286. // interface IPrnVBAPrintSeparations wrapper method implementations
  1287. //
  1288. #pragma implementation_key(188)
  1289. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetEnabled ( ) {
  1290. VARIANT_BOOL _result = 0;
  1291. HRESULT _hr = get_Enabled(&_result);
  1292. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1293. return _result;
  1294. }
  1295. #pragma implementation_key(189)
  1296. inline void VGCore::IPrnVBAPrintSeparations::PutEnabled ( VARIANT_BOOL pVal ) {
  1297. HRESULT _hr = put_Enabled(pVal);
  1298. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1299. }
  1300. #pragma implementation_key(190)
  1301. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetInColor ( ) {
  1302. VARIANT_BOOL _result = 0;
  1303. HRESULT _hr = get_InColor(&_result);
  1304. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1305. return _result;
  1306. }
  1307. #pragma implementation_key(191)
  1308. inline void VGCore::IPrnVBAPrintSeparations::PutInColor ( VARIANT_BOOL pVal ) {
  1309. HRESULT _hr = put_InColor(pVal);
  1310. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1311. }
  1312. #pragma implementation_key(192)
  1313. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetHexachrome ( ) {
  1314. VARIANT_BOOL _result = 0;
  1315. HRESULT _hr = get_Hexachrome(&_result);
  1316. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1317. return _result;
  1318. }
  1319. #pragma implementation_key(193)
  1320. inline void VGCore::IPrnVBAPrintSeparations::PutHexachrome ( VARIANT_BOOL pVal ) {
  1321. HRESULT _hr = put_Hexachrome(pVal);
  1322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1323. }
  1324. #pragma implementation_key(194)
  1325. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetSpotToCMYK ( ) {
  1326. VARIANT_BOOL _result = 0;
  1327. HRESULT _hr = get_SpotToCMYK(&_result);
  1328. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1329. return _result;
  1330. }
  1331. #pragma implementation_key(195)
  1332. inline void VGCore::IPrnVBAPrintSeparations::PutSpotToCMYK ( VARIANT_BOOL pVal ) {
  1333. HRESULT _hr = put_SpotToCMYK(pVal);
  1334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1335. }
  1336. #pragma implementation_key(196)
  1337. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetEmptyPlates ( ) {
  1338. VARIANT_BOOL _result = 0;
  1339. HRESULT _hr = get_EmptyPlates(&_result);
  1340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1341. return _result;
  1342. }
  1343. #pragma implementation_key(197)
  1344. inline void VGCore::IPrnVBAPrintSeparations::PutEmptyPlates ( VARIANT_BOOL pVal ) {
  1345. HRESULT _hr = put_EmptyPlates(pVal);
  1346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1347. }
  1348. #pragma implementation_key(198)
  1349. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetPreserveOverprints ( ) {
  1350. VARIANT_BOOL _result = 0;
  1351. HRESULT _hr = get_PreserveOverprints(&_result);
  1352. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1353. return _result;
  1354. }
  1355. #pragma implementation_key(199)
  1356. inline void VGCore::IPrnVBAPrintSeparations::PutPreserveOverprints ( VARIANT_BOOL pVal ) {
  1357. HRESULT _hr = put_PreserveOverprints(pVal);
  1358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1359. }
  1360. #pragma implementation_key(200)
  1361. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAlwaysOverprintBlack ( ) {
  1362. VARIANT_BOOL _result = 0;
  1363. HRESULT _hr = get_AlwaysOverprintBlack(&_result);
  1364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1365. return _result;
  1366. }
  1367. #pragma implementation_key(201)
  1368. inline void VGCore::IPrnVBAPrintSeparations::PutAlwaysOverprintBlack ( VARIANT_BOOL pVal ) {
  1369. HRESULT _hr = put_AlwaysOverprintBlack(pVal);
  1370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1371. }
  1372. #pragma implementation_key(202)
  1373. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAutoSpreading ( ) {
  1374. VARIANT_BOOL _result = 0;
  1375. HRESULT _hr = get_AutoSpreading(&_result);
  1376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1377. return _result;
  1378. }
  1379. #pragma implementation_key(203)
  1380. inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreading ( VARIANT_BOOL pVal ) {
  1381. HRESULT _hr = put_AutoSpreading(pVal);
  1382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1383. }
  1384. #pragma implementation_key(204)
  1385. inline double VGCore::IPrnVBAPrintSeparations::GetAutoSpreadAmount ( ) {
  1386. double _result = 0;
  1387. HRESULT _hr = get_AutoSpreadAmount(&_result);
  1388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1389. return _result;
  1390. }
  1391. #pragma implementation_key(205)
  1392. inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreadAmount ( double pVal ) {
  1393. HRESULT _hr = put_AutoSpreadAmount(pVal);
  1394. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1395. }
  1396. #pragma implementation_key(206)
  1397. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAutoSpreadFixed ( ) {
  1398. VARIANT_BOOL _result = 0;
  1399. HRESULT _hr = get_AutoSpreadFixed(&_result);
  1400. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1401. return _result;
  1402. }
  1403. #pragma implementation_key(207)
  1404. inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreadFixed ( VARIANT_BOOL pVal ) {
  1405. HRESULT _hr = put_AutoSpreadFixed(pVal);
  1406. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1407. }
  1408. #pragma implementation_key(208)
  1409. inline double VGCore::IPrnVBAPrintSeparations::GetAutoSpreadTextAbove ( ) {
  1410. double _result = 0;
  1411. HRESULT _hr = get_AutoSpreadTextAbove(&_result);
  1412. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1413. return _result;
  1414. }
  1415. #pragma implementation_key(209)
  1416. inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreadTextAbove ( double pVal ) {
  1417. HRESULT _hr = put_AutoSpreadTextAbove(pVal);
  1418. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1419. }
  1420. #pragma implementation_key(210)
  1421. inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAdvancedSettings ( ) {
  1422. VARIANT_BOOL _result = 0;
  1423. HRESULT _hr = get_AdvancedSettings(&_result);
  1424. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1425. return _result;
  1426. }
  1427. #pragma implementation_key(211)
  1428. inline void VGCore::IPrnVBAPrintSeparations::PutAdvancedSettings ( VARIANT_BOOL pVal ) {
  1429. HRESULT _hr = put_AdvancedSettings(pVal);
  1430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1431. }
  1432. #pragma implementation_key(212)
  1433. inline VGCore::IPrnVBASeparationPlatesPtr VGCore::IPrnVBAPrintSeparations::GetPlates ( ) {
  1434. struct IPrnVBASeparationPlates * _result = 0;
  1435. HRESULT _hr = get_Plates(&_result);
  1436. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1437. return IPrnVBASeparationPlatesPtr(_result, false);
  1438. }
  1439. #pragma implementation_key(213)
  1440. inline long VGCore::IPrnVBAPrintSeparations::GetResolution ( ) {
  1441. long _result = 0;
  1442. HRESULT _hr = get_Resolution(&_result);
  1443. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1444. return _result;
  1445. }
  1446. #pragma implementation_key(214)
  1447. inline void VGCore::IPrnVBAPrintSeparations::PutResolution ( long pVal ) {
  1448. HRESULT _hr = put_Resolution(pVal);
  1449. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1450. }
  1451. #pragma implementation_key(215)
  1452. inline _bstr_t VGCore::IPrnVBAPrintSeparations::GetBasicScreen ( ) {
  1453. BSTR _result = 0;
  1454. HRESULT _hr = get_BasicScreen(&_result);
  1455. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1456. return _bstr_t(_result, false);
  1457. }
  1458. #pragma implementation_key(216)
  1459. inline void VGCore::IPrnVBAPrintSeparations::PutBasicScreen ( _bstr_t pVal ) {
  1460. HRESULT _hr = put_BasicScreen(pVal);
  1461. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1462. }
  1463. #pragma implementation_key(217)
  1464. inline _bstr_t VGCore::IPrnVBAPrintSeparations::GetHalftoneType ( ) {
  1465. BSTR _result = 0;
  1466. HRESULT _hr = get_HalftoneType(&_result);
  1467. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1468. return _bstr_t(_result, false);
  1469. }
  1470. #pragma implementation_key(218)
  1471. inline void VGCore::IPrnVBAPrintSeparations::PutHalftoneType ( _bstr_t pVal ) {
  1472. HRESULT _hr = put_HalftoneType(pVal);
  1473. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1474. }
  1475. #pragma implementation_key(219)
  1476. inline _bstr_t VGCore::IPrnVBAPrintSeparations::GetScreenTechnology ( ) {
  1477. BSTR _result = 0;
  1478. HRESULT _hr = get_ScreenTechnology(&_result);
  1479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1480. return _bstr_t(_result, false);
  1481. }
  1482. #pragma implementation_key(220)
  1483. inline void VGCore::IPrnVBAPrintSeparations::PutScreenTechnology ( _bstr_t pVal ) {
  1484. HRESULT _hr = put_ScreenTechnology(pVal);
  1485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1486. }
  1487. //
  1488. // interface IPrnVBAPrintPrepress wrapper method implementations
  1489. //
  1490. #pragma implementation_key(221)
  1491. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetInvert ( ) {
  1492. VARIANT_BOOL _result = 0;
  1493. HRESULT _hr = get_Invert(&_result);
  1494. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1495. return _result;
  1496. }
  1497. #pragma implementation_key(222)
  1498. inline void VGCore::IPrnVBAPrintPrepress::PutInvert ( VARIANT_BOOL pVal ) {
  1499. HRESULT _hr = put_Invert(pVal);
  1500. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1501. }
  1502. #pragma implementation_key(223)
  1503. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetMirror ( ) {
  1504. VARIANT_BOOL _result = 0;
  1505. HRESULT _hr = get_Mirror(&_result);
  1506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1507. return _result;
  1508. }
  1509. #pragma implementation_key(224)
  1510. inline void VGCore::IPrnVBAPrintPrepress::PutMirror ( VARIANT_BOOL pVal ) {
  1511. HRESULT _hr = put_Mirror(pVal);
  1512. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1513. }
  1514. #pragma implementation_key(225)
  1515. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetFileInfo ( ) {
  1516. VARIANT_BOOL _result = 0;
  1517. HRESULT _hr = get_FileInfo(&_result);
  1518. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1519. return _result;
  1520. }
  1521. #pragma implementation_key(226)
  1522. inline void VGCore::IPrnVBAPrintPrepress::PutFileInfo ( VARIANT_BOOL pVal ) {
  1523. HRESULT _hr = put_FileInfo(pVal);
  1524. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1525. }
  1526. #pragma implementation_key(227)
  1527. inline _bstr_t VGCore::IPrnVBAPrintPrepress::GetJobName ( ) {
  1528. BSTR _result = 0;
  1529. HRESULT _hr = get_JobName(&_result);
  1530. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1531. return _bstr_t(_result, false);
  1532. }
  1533. #pragma implementation_key(228)
  1534. inline void VGCore::IPrnVBAPrintPrepress::PutJobName ( _bstr_t pVal ) {
  1535. HRESULT _hr = put_JobName(pVal);
  1536. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1537. }
  1538. #pragma implementation_key(229)
  1539. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetPageNumbers ( ) {
  1540. VARIANT_BOOL _result = 0;
  1541. HRESULT _hr = get_PageNumbers(&_result);
  1542. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1543. return _result;
  1544. }
  1545. #pragma implementation_key(230)
  1546. inline void VGCore::IPrnVBAPrintPrepress::PutPageNumbers ( VARIANT_BOOL pVal ) {
  1547. HRESULT _hr = put_PageNumbers(pVal);
  1548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1549. }
  1550. #pragma implementation_key(231)
  1551. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetInfoWithinPage ( ) {
  1552. VARIANT_BOOL _result = 0;
  1553. HRESULT _hr = get_InfoWithinPage(&_result);
  1554. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1555. return _result;
  1556. }
  1557. #pragma implementation_key(232)
  1558. inline void VGCore::IPrnVBAPrintPrepress::PutInfoWithinPage ( VARIANT_BOOL pVal ) {
  1559. HRESULT _hr = put_InfoWithinPage(pVal);
  1560. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1561. }
  1562. #pragma implementation_key(233)
  1563. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetCropMarks ( ) {
  1564. VARIANT_BOOL _result = 0;
  1565. HRESULT _hr = get_CropMarks(&_result);
  1566. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1567. return _result;
  1568. }
  1569. #pragma implementation_key(234)
  1570. inline void VGCore::IPrnVBAPrintPrepress::PutCropMarks ( VARIANT_BOOL pVal ) {
  1571. HRESULT _hr = put_CropMarks(pVal);
  1572. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1573. }
  1574. #pragma implementation_key(235)
  1575. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetExteriorCropMarks ( ) {
  1576. VARIANT_BOOL _result = 0;
  1577. HRESULT _hr = get_ExteriorCropMarks(&_result);
  1578. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1579. return _result;
  1580. }
  1581. #pragma implementation_key(236)
  1582. inline void VGCore::IPrnVBAPrintPrepress::PutExteriorCropMarks ( VARIANT_BOOL pVal ) {
  1583. HRESULT _hr = put_ExteriorCropMarks(pVal);
  1584. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1585. }
  1586. #pragma implementation_key(237)
  1587. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetRegistrationMarks ( ) {
  1588. VARIANT_BOOL _result = 0;
  1589. HRESULT _hr = get_RegistrationMarks(&_result);
  1590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1591. return _result;
  1592. }
  1593. #pragma implementation_key(238)
  1594. inline void VGCore::IPrnVBAPrintPrepress::PutRegistrationMarks ( VARIANT_BOOL pVal ) {
  1595. HRESULT _hr = put_RegistrationMarks(pVal);
  1596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1597. }
  1598. #pragma implementation_key(239)
  1599. inline enum VGCore::PrnRegistrationStyle VGCore::IPrnVBAPrintPrepress::GetRegistrationStyle ( ) {
  1600. enum PrnRegistrationStyle _result;
  1601. HRESULT _hr = get_RegistrationStyle(&_result);
  1602. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1603. return _result;
  1604. }
  1605. #pragma implementation_key(240)
  1606. inline void VGCore::IPrnVBAPrintPrepress::PutRegistrationStyle ( enum PrnRegistrationStyle pVal ) {
  1607. HRESULT _hr = put_RegistrationStyle(pVal);
  1608. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1609. }
  1610. #pragma implementation_key(241)
  1611. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetColorCalibrationBar ( ) {
  1612. VARIANT_BOOL _result = 0;
  1613. HRESULT _hr = get_ColorCalibrationBar(&_result);
  1614. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1615. return _result;
  1616. }
  1617. #pragma implementation_key(242)
  1618. inline void VGCore::IPrnVBAPrintPrepress::PutColorCalibrationBar ( VARIANT_BOOL pVal ) {
  1619. HRESULT _hr = put_ColorCalibrationBar(pVal);
  1620. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1621. }
  1622. #pragma implementation_key(243)
  1623. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetDensitometerScale ( ) {
  1624. VARIANT_BOOL _result = 0;
  1625. HRESULT _hr = get_DensitometerScale(&_result);
  1626. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1627. return _result;
  1628. }
  1629. #pragma implementation_key(244)
  1630. inline void VGCore::IPrnVBAPrintPrepress::PutDensitometerScale ( VARIANT_BOOL pVal ) {
  1631. HRESULT _hr = put_DensitometerScale(pVal);
  1632. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1633. }
  1634. #pragma implementation_key(245)
  1635. inline long VGCore::IPrnVBAPrintPrepress::GetDensities ( long Index ) {
  1636. long _result = 0;
  1637. HRESULT _hr = get_Densities(Index, &_result);
  1638. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1639. return _result;
  1640. }
  1641. #pragma implementation_key(246)
  1642. inline void VGCore::IPrnVBAPrintPrepress::PutDensities ( long Index, long pVal ) {
  1643. HRESULT _hr = put_Densities(Index, pVal);
  1644. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1645. }
  1646. #pragma implementation_key(247)
  1647. inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetMarksToObjects ( ) {
  1648. VARIANT_BOOL _result = 0;
  1649. HRESULT _hr = get_MarksToObjects(&_result);
  1650. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1651. return _result;
  1652. }
  1653. #pragma implementation_key(248)
  1654. inline void VGCore::IPrnVBAPrintPrepress::PutMarksToObjects ( VARIANT_BOOL pVal ) {
  1655. HRESULT _hr = put_MarksToObjects(pVal);
  1656. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1657. }
  1658. //
  1659. // interface IPrnVBAPrintPostScript wrapper method implementations
  1660. //
  1661. #pragma implementation_key(249)
  1662. inline enum VGCore::PrnPostScriptLevel VGCore::IPrnVBAPrintPostScript::GetLevel ( ) {
  1663. enum PrnPostScriptLevel _result;
  1664. HRESULT _hr = get_Level(&_result);
  1665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1666. return _result;
  1667. }
  1668. #pragma implementation_key(250)
  1669. inline void VGCore::IPrnVBAPrintPostScript::PutLevel ( enum PrnPostScriptLevel pVal ) {
  1670. HRESULT _hr = put_Level(pVal);
  1671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1672. }
  1673. #pragma implementation_key(251)
  1674. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetConformToDSC ( ) {
  1675. VARIANT_BOOL _result = 0;
  1676. HRESULT _hr = get_ConformToDSC(&_result);
  1677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1678. return _result;
  1679. }
  1680. #pragma implementation_key(252)
  1681. inline void VGCore::IPrnVBAPrintPostScript::PutConformToDSC ( VARIANT_BOOL pVal ) {
  1682. HRESULT _hr = put_ConformToDSC(pVal);
  1683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1684. }
  1685. #pragma implementation_key(253)
  1686. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetJPEGCompression ( ) {
  1687. VARIANT_BOOL _result = 0;
  1688. HRESULT _hr = get_JPEGCompression(&_result);
  1689. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1690. return _result;
  1691. }
  1692. #pragma implementation_key(254)
  1693. inline void VGCore::IPrnVBAPrintPostScript::PutJPEGCompression ( VARIANT_BOOL pVal ) {
  1694. HRESULT _hr = put_JPEGCompression(pVal);
  1695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1696. }
  1697. #pragma implementation_key(255)
  1698. inline long VGCore::IPrnVBAPrintPostScript::GetJPEGQuality ( ) {
  1699. long _result = 0;
  1700. HRESULT _hr = get_JPEGQuality(&_result);
  1701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1702. return _result;
  1703. }
  1704. #pragma implementation_key(256)
  1705. inline void VGCore::IPrnVBAPrintPostScript::PutJPEGQuality ( long pVal ) {
  1706. HRESULT _hr = put_JPEGQuality(pVal);
  1707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1708. }
  1709. #pragma implementation_key(257)
  1710. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetMaintainOPILinks ( ) {
  1711. VARIANT_BOOL _result = 0;
  1712. HRESULT _hr = get_MaintainOPILinks(&_result);
  1713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1714. return _result;
  1715. }
  1716. #pragma implementation_key(258)
  1717. inline void VGCore::IPrnVBAPrintPostScript::PutMaintainOPILinks ( VARIANT_BOOL pVal ) {
  1718. HRESULT _hr = put_MaintainOPILinks(pVal);
  1719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1720. }
  1721. #pragma implementation_key(259)
  1722. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetResolveDCSLinks ( ) {
  1723. VARIANT_BOOL _result = 0;
  1724. HRESULT _hr = get_ResolveDCSLinks(&_result);
  1725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1726. return _result;
  1727. }
  1728. #pragma implementation_key(260)
  1729. inline void VGCore::IPrnVBAPrintPostScript::PutResolveDCSLinks ( VARIANT_BOOL pVal ) {
  1730. HRESULT _hr = put_ResolveDCSLinks(pVal);
  1731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1732. }
  1733. #pragma implementation_key(261)
  1734. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetDownloadType1 ( ) {
  1735. VARIANT_BOOL _result = 0;
  1736. HRESULT _hr = get_DownloadType1(&_result);
  1737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1738. return _result;
  1739. }
  1740. #pragma implementation_key(262)
  1741. inline void VGCore::IPrnVBAPrintPostScript::PutDownloadType1 ( VARIANT_BOOL pVal ) {
  1742. HRESULT _hr = put_DownloadType1(pVal);
  1743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1744. }
  1745. #pragma implementation_key(263)
  1746. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetTrueTypeToType1 ( ) {
  1747. VARIANT_BOOL _result = 0;
  1748. HRESULT _hr = get_TrueTypeToType1(&_result);
  1749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1750. return _result;
  1751. }
  1752. #pragma implementation_key(264)
  1753. inline void VGCore::IPrnVBAPrintPostScript::PutTrueTypeToType1 ( VARIANT_BOOL pVal ) {
  1754. HRESULT _hr = put_TrueTypeToType1(pVal);
  1755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1756. }
  1757. #pragma implementation_key(265)
  1758. inline enum VGCore::PrnPDFStartup VGCore::IPrnVBAPrintPostScript::GetPDFStartup ( ) {
  1759. enum PrnPDFStartup _result;
  1760. HRESULT _hr = get_PDFStartup(&_result);
  1761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1762. return _result;
  1763. }
  1764. #pragma implementation_key(266)
  1765. inline void VGCore::IPrnVBAPrintPostScript::PutPDFStartup ( enum PrnPDFStartup pVal ) {
  1766. HRESULT _hr = put_PDFStartup(pVal);
  1767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1768. }
  1769. #pragma implementation_key(267)
  1770. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetPDFHyperlinks ( ) {
  1771. VARIANT_BOOL _result = 0;
  1772. HRESULT _hr = get_PDFHyperlinks(&_result);
  1773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1774. return _result;
  1775. }
  1776. #pragma implementation_key(268)
  1777. inline void VGCore::IPrnVBAPrintPostScript::PutPDFHyperlinks ( VARIANT_BOOL pVal ) {
  1778. HRESULT _hr = put_PDFHyperlinks(pVal);
  1779. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1780. }
  1781. #pragma implementation_key(269)
  1782. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetpdfBookmarks ( ) {
  1783. VARIANT_BOOL _result = 0;
  1784. HRESULT _hr = get_pdfBookmarks(&_result);
  1785. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1786. return _result;
  1787. }
  1788. #pragma implementation_key(270)
  1789. inline void VGCore::IPrnVBAPrintPostScript::PutpdfBookmarks ( VARIANT_BOOL pVal ) {
  1790. HRESULT _hr = put_pdfBookmarks(pVal);
  1791. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1792. }
  1793. #pragma implementation_key(271)
  1794. inline long VGCore::IPrnVBAPrintPostScript::GetMaxPointsPerCurve ( ) {
  1795. long _result = 0;
  1796. HRESULT _hr = get_MaxPointsPerCurve(&_result);
  1797. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1798. return _result;
  1799. }
  1800. #pragma implementation_key(272)
  1801. inline void VGCore::IPrnVBAPrintPostScript::PutMaxPointsPerCurve ( long pVal ) {
  1802. HRESULT _hr = put_MaxPointsPerCurve(pVal);
  1803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1804. }
  1805. #pragma implementation_key(273)
  1806. inline long VGCore::IPrnVBAPrintPostScript::GetFlatness ( ) {
  1807. long _result = 0;
  1808. HRESULT _hr = get_Flatness(&_result);
  1809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1810. return _result;
  1811. }
  1812. #pragma implementation_key(274)
  1813. inline void VGCore::IPrnVBAPrintPostScript::PutFlatness ( long pVal ) {
  1814. HRESULT _hr = put_Flatness(pVal);
  1815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1816. }
  1817. #pragma implementation_key(275)
  1818. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetAutoIncreaseFlatness ( ) {
  1819. VARIANT_BOOL _result = 0;
  1820. HRESULT _hr = get_AutoIncreaseFlatness(&_result);
  1821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1822. return _result;
  1823. }
  1824. #pragma implementation_key(276)
  1825. inline void VGCore::IPrnVBAPrintPostScript::PutAutoIncreaseFlatness ( VARIANT_BOOL pVal ) {
  1826. HRESULT _hr = put_AutoIncreaseFlatness(pVal);
  1827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1828. }
  1829. #pragma implementation_key(277)
  1830. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetAutoIncreaseFountainSteps ( ) {
  1831. VARIANT_BOOL _result = 0;
  1832. HRESULT _hr = get_AutoIncreaseFountainSteps(&_result);
  1833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1834. return _result;
  1835. }
  1836. #pragma implementation_key(278)
  1837. inline void VGCore::IPrnVBAPrintPostScript::PutAutoIncreaseFountainSteps ( VARIANT_BOOL pVal ) {
  1838. HRESULT _hr = put_AutoIncreaseFountainSteps(pVal);
  1839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1840. }
  1841. #pragma implementation_key(279)
  1842. inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetOptimizeFountainFills ( ) {
  1843. VARIANT_BOOL _result = 0;
  1844. HRESULT _hr = get_OptimizeFountainFills(&_result);
  1845. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1846. return _result;
  1847. }
  1848. #pragma implementation_key(280)
  1849. inline void VGCore::IPrnVBAPrintPostScript::PutOptimizeFountainFills ( VARIANT_BOOL pVal ) {
  1850. HRESULT _hr = put_OptimizeFountainFills(pVal);
  1851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1852. }
  1853. #pragma implementation_key(281)
  1854. inline long VGCore::IPrnVBAPrintPostScript::GetScreenFrequency ( ) {
  1855. long _result = 0;
  1856. HRESULT _hr = get_ScreenFrequency(&_result);
  1857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1858. return _result;
  1859. }
  1860. #pragma implementation_key(282)
  1861. inline void VGCore::IPrnVBAPrintPostScript::PutScreenFrequency ( long pVal ) {
  1862. HRESULT _hr = put_ScreenFrequency(pVal);
  1863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1864. }
  1865. //
  1866. // interface IPrnVBATrapLayer wrapper method implementations
  1867. //
  1868. #pragma implementation_key(283)
  1869. inline enum VGCore::PrnPlateType VGCore::IPrnVBATrapLayer::GetType ( ) {
  1870. enum PrnPlateType _result;
  1871. HRESULT _hr = get_Type(&_result);
  1872. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1873. return _result;
  1874. }
  1875. #pragma implementation_key(284)
  1876. inline _bstr_t VGCore::IPrnVBATrapLayer::GetColor ( ) {
  1877. BSTR _result = 0;
  1878. HRESULT _hr = get_Color(&_result);
  1879. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1880. return _bstr_t(_result, false);
  1881. }
  1882. #pragma implementation_key(285)
  1883. inline double VGCore::IPrnVBATrapLayer::GetDensity ( ) {
  1884. double _result = 0;
  1885. HRESULT _hr = get_Density(&_result);
  1886. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1887. return _result;
  1888. }
  1889. #pragma implementation_key(286)
  1890. inline void VGCore::IPrnVBATrapLayer::PutDensity ( double pVal ) {
  1891. HRESULT _hr = put_Density(pVal);
  1892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1893. }
  1894. #pragma implementation_key(287)
  1895. inline enum VGCore::PrnTrapType VGCore::IPrnVBATrapLayer::GetTrapType ( ) {
  1896. enum PrnTrapType _result;
  1897. HRESULT _hr = get_TrapType(&_result);
  1898. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1899. return _result;
  1900. }
  1901. #pragma implementation_key(288)
  1902. inline void VGCore::IPrnVBATrapLayer::PutTrapType ( enum PrnTrapType pVal ) {
  1903. HRESULT _hr = put_TrapType(pVal);
  1904. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1905. }
  1906. #pragma implementation_key(289)
  1907. inline long VGCore::IPrnVBATrapLayer::GetOrder ( ) {
  1908. long _result = 0;
  1909. HRESULT _hr = get_Order(&_result);
  1910. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1911. return _result;
  1912. }
  1913. #pragma implementation_key(290)
  1914. inline void VGCore::IPrnVBATrapLayer::PutOrder ( long pVal ) {
  1915. HRESULT _hr = put_Order(pVal);
  1916. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1917. }
  1918. //
  1919. // interface IPrnVBATrapLayers wrapper method implementations
  1920. //
  1921. #pragma implementation_key(291)
  1922. inline long VGCore::IPrnVBATrapLayers::GetCount ( ) {
  1923. long _result = 0;
  1924. HRESULT _hr = get_Count(&_result);
  1925. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1926. return _result;
  1927. }
  1928. #pragma implementation_key(292)
  1929. inline VGCore::IPrnVBATrapLayerPtr VGCore::IPrnVBATrapLayers::GetItem ( long Index ) {
  1930. struct IPrnVBATrapLayer * _result = 0;
  1931. HRESULT _hr = get_Item(Index, &_result);
  1932. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1933. return IPrnVBATrapLayerPtr(_result, false);
  1934. }
  1935. //
  1936. // interface IPrnVBAPrintTrapping wrapper method implementations
  1937. //
  1938. #pragma implementation_key(293)
  1939. inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetEnabled ( ) {
  1940. VARIANT_BOOL _result = 0;
  1941. HRESULT _hr = get_Enabled(&_result);
  1942. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1943. return _result;
  1944. }
  1945. #pragma implementation_key(294)
  1946. inline void VGCore::IPrnVBAPrintTrapping::PutEnabled ( VARIANT_BOOL pVal ) {
  1947. HRESULT _hr = put_Enabled(pVal);
  1948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1949. }
  1950. #pragma implementation_key(295)
  1951. inline VGCore::IPrnVBATrapLayersPtr VGCore::IPrnVBAPrintTrapping::GetLayers ( ) {
  1952. struct IPrnVBATrapLayers * _result = 0;
  1953. HRESULT _hr = get_Layers(&_result);
  1954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1955. return IPrnVBATrapLayersPtr(_result, false);
  1956. }
  1957. #pragma implementation_key(296)
  1958. inline double VGCore::IPrnVBAPrintTrapping::GetWidth ( ) {
  1959. double _result = 0;
  1960. HRESULT _hr = get_Width(&_result);
  1961. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1962. return _result;
  1963. }
  1964. #pragma implementation_key(297)
  1965. inline void VGCore::IPrnVBAPrintTrapping::PutWidth ( double pVal ) {
  1966. HRESULT _hr = put_Width(pVal);
  1967. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1968. }
  1969. #pragma implementation_key(298)
  1970. inline double VGCore::IPrnVBAPrintTrapping::GetBlackWidth ( ) {
  1971. double _result = 0;
  1972. HRESULT _hr = get_BlackWidth(&_result);
  1973. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1974. return _result;
  1975. }
  1976. #pragma implementation_key(299)
  1977. inline void VGCore::IPrnVBAPrintTrapping::PutBlackWidth ( double pVal ) {
  1978. HRESULT _hr = put_BlackWidth(pVal);
  1979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1980. }
  1981. #pragma implementation_key(300)
  1982. inline long VGCore::IPrnVBAPrintTrapping::GetColorScaling ( ) {
  1983. long _result = 0;
  1984. HRESULT _hr = get_ColorScaling(&_result);
  1985. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1986. return _result;
  1987. }
  1988. #pragma implementation_key(301)
  1989. inline void VGCore::IPrnVBAPrintTrapping::PutColorScaling ( long pVal ) {
  1990. HRESULT _hr = put_ColorScaling(pVal);
  1991. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1992. }
  1993. #pragma implementation_key(302)
  1994. inline long VGCore::IPrnVBAPrintTrapping::GetStepLimit ( ) {
  1995. long _result = 0;
  1996. HRESULT _hr = get_StepLimit(&_result);
  1997. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  1998. return _result;
  1999. }
  2000. #pragma implementation_key(303)
  2001. inline void VGCore::IPrnVBAPrintTrapping::PutStepLimit ( long pVal ) {
  2002. HRESULT _hr = put_StepLimit(pVal);
  2003. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2004. }
  2005. #pragma implementation_key(304)
  2006. inline long VGCore::IPrnVBAPrintTrapping::GetBlackColorLimit ( ) {
  2007. long _result = 0;
  2008. HRESULT _hr = get_BlackColorLimit(&_result);
  2009. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2010. return _result;
  2011. }
  2012. #pragma implementation_key(305)
  2013. inline void VGCore::IPrnVBAPrintTrapping::PutBlackColorLimit ( long pVal ) {
  2014. HRESULT _hr = put_BlackColorLimit(pVal);
  2015. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2016. }
  2017. #pragma implementation_key(306)
  2018. inline double VGCore::IPrnVBAPrintTrapping::GetBlackDensityLimit ( ) {
  2019. double _result = 0;
  2020. HRESULT _hr = get_BlackDensityLimit(&_result);
  2021. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2022. return _result;
  2023. }
  2024. #pragma implementation_key(307)
  2025. inline void VGCore::IPrnVBAPrintTrapping::PutBlackDensityLimit ( double pVal ) {
  2026. HRESULT _hr = put_BlackDensityLimit(pVal);
  2027. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2028. }
  2029. #pragma implementation_key(308)
  2030. inline long VGCore::IPrnVBAPrintTrapping::GetSlidingTrapLimit ( ) {
  2031. long _result = 0;
  2032. HRESULT _hr = get_SlidingTrapLimit(&_result);
  2033. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2034. return _result;
  2035. }
  2036. #pragma implementation_key(309)
  2037. inline void VGCore::IPrnVBAPrintTrapping::PutSlidingTrapLimit ( long pVal ) {
  2038. HRESULT _hr = put_SlidingTrapLimit(pVal);
  2039. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2040. }
  2041. #pragma implementation_key(310)
  2042. inline enum VGCore::PrnImageTrap VGCore::IPrnVBAPrintTrapping::GetImageTrap ( ) {
  2043. enum PrnImageTrap _result;
  2044. HRESULT _hr = get_ImageTrap(&_result);
  2045. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2046. return _result;
  2047. }
  2048. #pragma implementation_key(311)
  2049. inline void VGCore::IPrnVBAPrintTrapping::PutImageTrap ( enum PrnImageTrap pVal ) {
  2050. HRESULT _hr = put_ImageTrap(pVal);
  2051. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2052. }
  2053. #pragma implementation_key(312)
  2054. inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetObjectsToImage ( ) {
  2055. VARIANT_BOOL _result = 0;
  2056. HRESULT _hr = get_ObjectsToImage(&_result);
  2057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2058. return _result;
  2059. }
  2060. #pragma implementation_key(313)
  2061. inline void VGCore::IPrnVBAPrintTrapping::PutObjectsToImage ( VARIANT_BOOL pVal ) {
  2062. HRESULT _hr = put_ObjectsToImage(pVal);
  2063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2064. }
  2065. #pragma implementation_key(314)
  2066. inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetInternalImageTrapping ( ) {
  2067. VARIANT_BOOL _result = 0;
  2068. HRESULT _hr = get_InternalImageTrapping(&_result);
  2069. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2070. return _result;
  2071. }
  2072. #pragma implementation_key(315)
  2073. inline void VGCore::IPrnVBAPrintTrapping::PutInternalImageTrapping ( VARIANT_BOOL pVal ) {
  2074. HRESULT _hr = put_InternalImageTrapping(pVal);
  2075. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2076. }
  2077. #pragma implementation_key(316)
  2078. inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetTrapMonoBitmaps ( ) {
  2079. VARIANT_BOOL _result = 0;
  2080. HRESULT _hr = get_TrapMonoBitmaps(&_result);
  2081. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2082. return _result;
  2083. }
  2084. #pragma implementation_key(317)
  2085. inline void VGCore::IPrnVBAPrintTrapping::PutTrapMonoBitmaps ( VARIANT_BOOL pVal ) {
  2086. HRESULT _hr = put_TrapMonoBitmaps(pVal);
  2087. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2088. }
  2089. //
  2090. // interface IPrnVBAPrintOptions wrapper method implementations
  2091. //
  2092. #pragma implementation_key(318)
  2093. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetUseColorProfile ( ) {
  2094. VARIANT_BOOL _result = 0;
  2095. HRESULT _hr = get_UseColorProfile(&_result);
  2096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2097. return _result;
  2098. }
  2099. #pragma implementation_key(319)
  2100. inline void VGCore::IPrnVBAPrintOptions::PutUseColorProfile ( VARIANT_BOOL pVal ) {
  2101. HRESULT _hr = put_UseColorProfile(pVal);
  2102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2103. }
  2104. #pragma implementation_key(320)
  2105. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintVectors ( ) {
  2106. VARIANT_BOOL _result = 0;
  2107. HRESULT _hr = get_PrintVectors(&_result);
  2108. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2109. return _result;
  2110. }
  2111. #pragma implementation_key(321)
  2112. inline void VGCore::IPrnVBAPrintOptions::PutPrintVectors ( VARIANT_BOOL pVal ) {
  2113. HRESULT _hr = put_PrintVectors(pVal);
  2114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2115. }
  2116. #pragma implementation_key(322)
  2117. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintBitmaps ( ) {
  2118. VARIANT_BOOL _result = 0;
  2119. HRESULT _hr = get_PrintBitmaps(&_result);
  2120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2121. return _result;
  2122. }
  2123. #pragma implementation_key(323)
  2124. inline void VGCore::IPrnVBAPrintOptions::PutPrintBitmaps ( VARIANT_BOOL pVal ) {
  2125. HRESULT _hr = put_PrintBitmaps(pVal);
  2126. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2127. }
  2128. #pragma implementation_key(324)
  2129. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintText ( ) {
  2130. VARIANT_BOOL _result = 0;
  2131. HRESULT _hr = get_PrintText(&_result);
  2132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2133. return _result;
  2134. }
  2135. #pragma implementation_key(325)
  2136. inline void VGCore::IPrnVBAPrintOptions::PutPrintText ( VARIANT_BOOL pVal ) {
  2137. HRESULT _hr = put_PrintText(pVal);
  2138. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2139. }
  2140. #pragma implementation_key(326)
  2141. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetTextInBlack ( ) {
  2142. VARIANT_BOOL _result = 0;
  2143. HRESULT _hr = get_TextInBlack(&_result);
  2144. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2145. return _result;
  2146. }
  2147. #pragma implementation_key(327)
  2148. inline void VGCore::IPrnVBAPrintOptions::PutTextInBlack ( VARIANT_BOOL pVal ) {
  2149. HRESULT _hr = put_TextInBlack(pVal);
  2150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2151. }
  2152. #pragma implementation_key(328)
  2153. inline enum VGCore::PrnColorMode VGCore::IPrnVBAPrintOptions::GetColorMode ( ) {
  2154. enum PrnColorMode _result;
  2155. HRESULT _hr = get_ColorMode(&_result);
  2156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2157. return _result;
  2158. }
  2159. #pragma implementation_key(329)
  2160. inline void VGCore::IPrnVBAPrintOptions::PutColorMode ( enum PrnColorMode pVal ) {
  2161. HRESULT _hr = put_ColorMode(pVal);
  2162. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2163. }
  2164. #pragma implementation_key(330)
  2165. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetMarksToPage ( ) {
  2166. VARIANT_BOOL _result = 0;
  2167. HRESULT _hr = get_MarksToPage(&_result);
  2168. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2169. return _result;
  2170. }
  2171. #pragma implementation_key(331)
  2172. inline void VGCore::IPrnVBAPrintOptions::PutMarksToPage ( VARIANT_BOOL pVal ) {
  2173. HRESULT _hr = put_MarksToPage(pVal);
  2174. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2175. }
  2176. #pragma implementation_key(332)
  2177. inline enum VGCore::PrnBitmapColorMode VGCore::IPrnVBAPrintOptions::GetBitmapColorMode ( ) {
  2178. enum PrnBitmapColorMode _result;
  2179. HRESULT _hr = get_BitmapColorMode(&_result);
  2180. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2181. return _result;
  2182. }
  2183. #pragma implementation_key(333)
  2184. inline void VGCore::IPrnVBAPrintOptions::PutBitmapColorMode ( enum PrnBitmapColorMode pVal ) {
  2185. HRESULT _hr = put_BitmapColorMode(pVal);
  2186. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2187. }
  2188. #pragma implementation_key(334)
  2189. inline long VGCore::IPrnVBAPrintOptions::GetFountainSteps ( ) {
  2190. long _result = 0;
  2191. HRESULT _hr = get_FountainSteps(&_result);
  2192. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2193. return _result;
  2194. }
  2195. #pragma implementation_key(335)
  2196. inline void VGCore::IPrnVBAPrintOptions::PutFountainSteps ( long pVal ) {
  2197. HRESULT _hr = put_FountainSteps(pVal);
  2198. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2199. }
  2200. #pragma implementation_key(336)
  2201. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetRasterizePage ( ) {
  2202. VARIANT_BOOL _result = 0;
  2203. HRESULT _hr = get_RasterizePage(&_result);
  2204. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2205. return _result;
  2206. }
  2207. #pragma implementation_key(337)
  2208. inline void VGCore::IPrnVBAPrintOptions::PutRasterizePage ( VARIANT_BOOL pVal ) {
  2209. HRESULT _hr = put_RasterizePage(pVal);
  2210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2211. }
  2212. #pragma implementation_key(338)
  2213. inline long VGCore::IPrnVBAPrintOptions::GetRasterizeResolution ( ) {
  2214. long _result = 0;
  2215. HRESULT _hr = get_RasterizeResolution(&_result);
  2216. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2217. return _result;
  2218. }
  2219. #pragma implementation_key(339)
  2220. inline void VGCore::IPrnVBAPrintOptions::PutRasterizeResolution ( long pVal ) {
  2221. HRESULT _hr = put_RasterizeResolution(pVal);
  2222. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2223. }
  2224. #pragma implementation_key(340)
  2225. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDownsampleColor ( ) {
  2226. VARIANT_BOOL _result = 0;
  2227. HRESULT _hr = get_DownsampleColor(&_result);
  2228. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2229. return _result;
  2230. }
  2231. #pragma implementation_key(341)
  2232. inline void VGCore::IPrnVBAPrintOptions::PutDownsampleColor ( VARIANT_BOOL pVal ) {
  2233. HRESULT _hr = put_DownsampleColor(pVal);
  2234. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2235. }
  2236. #pragma implementation_key(342)
  2237. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDownsampleGray ( ) {
  2238. VARIANT_BOOL _result = 0;
  2239. HRESULT _hr = get_DownsampleGray(&_result);
  2240. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2241. return _result;
  2242. }
  2243. #pragma implementation_key(343)
  2244. inline void VGCore::IPrnVBAPrintOptions::PutDownsampleGray ( VARIANT_BOOL pVal ) {
  2245. HRESULT _hr = put_DownsampleGray(pVal);
  2246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2247. }
  2248. #pragma implementation_key(344)
  2249. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDownsampleMono ( ) {
  2250. VARIANT_BOOL _result = 0;
  2251. HRESULT _hr = get_DownsampleMono(&_result);
  2252. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2253. return _result;
  2254. }
  2255. #pragma implementation_key(345)
  2256. inline void VGCore::IPrnVBAPrintOptions::PutDownsampleMono ( VARIANT_BOOL pVal ) {
  2257. HRESULT _hr = put_DownsampleMono(pVal);
  2258. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2259. }
  2260. #pragma implementation_key(346)
  2261. inline long VGCore::IPrnVBAPrintOptions::GetColorResolution ( ) {
  2262. long _result = 0;
  2263. HRESULT _hr = get_ColorResolution(&_result);
  2264. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2265. return _result;
  2266. }
  2267. #pragma implementation_key(347)
  2268. inline void VGCore::IPrnVBAPrintOptions::PutColorResolution ( long pVal ) {
  2269. HRESULT _hr = put_ColorResolution(pVal);
  2270. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2271. }
  2272. #pragma implementation_key(348)
  2273. inline long VGCore::IPrnVBAPrintOptions::GetGrayResolution ( ) {
  2274. long _result = 0;
  2275. HRESULT _hr = get_GrayResolution(&_result);
  2276. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2277. return _result;
  2278. }
  2279. #pragma implementation_key(349)
  2280. inline void VGCore::IPrnVBAPrintOptions::PutGrayResolution ( long pVal ) {
  2281. HRESULT _hr = put_GrayResolution(pVal);
  2282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2283. }
  2284. #pragma implementation_key(350)
  2285. inline long VGCore::IPrnVBAPrintOptions::GetMonoResolution ( ) {
  2286. long _result = 0;
  2287. HRESULT _hr = get_MonoResolution(&_result);
  2288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2289. return _result;
  2290. }
  2291. #pragma implementation_key(351)
  2292. inline void VGCore::IPrnVBAPrintOptions::PutMonoResolution ( long pVal ) {
  2293. HRESULT _hr = put_MonoResolution(pVal);
  2294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2295. }
  2296. #pragma implementation_key(352)
  2297. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetJobInformation ( ) {
  2298. VARIANT_BOOL _result = 0;
  2299. HRESULT _hr = get_JobInformation(&_result);
  2300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2301. return _result;
  2302. }
  2303. #pragma implementation_key(353)
  2304. inline void VGCore::IPrnVBAPrintOptions::PutJobInformation ( VARIANT_BOOL pVal ) {
  2305. HRESULT _hr = put_JobInformation(pVal);
  2306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2307. }
  2308. #pragma implementation_key(354)
  2309. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetAppInfo ( ) {
  2310. VARIANT_BOOL _result = 0;
  2311. HRESULT _hr = get_AppInfo(&_result);
  2312. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2313. return _result;
  2314. }
  2315. #pragma implementation_key(355)
  2316. inline void VGCore::IPrnVBAPrintOptions::PutAppInfo ( VARIANT_BOOL pVal ) {
  2317. HRESULT _hr = put_AppInfo(pVal);
  2318. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2319. }
  2320. #pragma implementation_key(356)
  2321. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDriverInfo ( ) {
  2322. VARIANT_BOOL _result = 0;
  2323. HRESULT _hr = get_DriverInfo(&_result);
  2324. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2325. return _result;
  2326. }
  2327. #pragma implementation_key(357)
  2328. inline void VGCore::IPrnVBAPrintOptions::PutDriverInfo ( VARIANT_BOOL pVal ) {
  2329. HRESULT _hr = put_DriverInfo(pVal);
  2330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2331. }
  2332. #pragma implementation_key(358)
  2333. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintJobInfo ( ) {
  2334. VARIANT_BOOL _result = 0;
  2335. HRESULT _hr = get_PrintJobInfo(&_result);
  2336. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2337. return _result;
  2338. }
  2339. #pragma implementation_key(359)
  2340. inline void VGCore::IPrnVBAPrintOptions::PutPrintJobInfo ( VARIANT_BOOL pVal ) {
  2341. HRESULT _hr = put_PrintJobInfo(pVal);
  2342. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2343. }
  2344. #pragma implementation_key(360)
  2345. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetSepsInfo ( ) {
  2346. VARIANT_BOOL _result = 0;
  2347. HRESULT _hr = get_SepsInfo(&_result);
  2348. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2349. return _result;
  2350. }
  2351. #pragma implementation_key(361)
  2352. inline void VGCore::IPrnVBAPrintOptions::PutSepsInfo ( VARIANT_BOOL pVal ) {
  2353. HRESULT _hr = put_SepsInfo(pVal);
  2354. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2355. }
  2356. #pragma implementation_key(362)
  2357. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetFontInfo ( ) {
  2358. VARIANT_BOOL _result = 0;
  2359. HRESULT _hr = get_FontInfo(&_result);
  2360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2361. return _result;
  2362. }
  2363. #pragma implementation_key(363)
  2364. inline void VGCore::IPrnVBAPrintOptions::PutFontInfo ( VARIANT_BOOL pVal ) {
  2365. HRESULT _hr = put_FontInfo(pVal);
  2366. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2367. }
  2368. #pragma implementation_key(364)
  2369. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetLinkInfo ( ) {
  2370. VARIANT_BOOL _result = 0;
  2371. HRESULT _hr = get_LinkInfo(&_result);
  2372. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2373. return _result;
  2374. }
  2375. #pragma implementation_key(365)
  2376. inline void VGCore::IPrnVBAPrintOptions::PutLinkInfo ( VARIANT_BOOL pVal ) {
  2377. HRESULT _hr = put_LinkInfo(pVal);
  2378. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2379. }
  2380. #pragma implementation_key(366)
  2381. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetInRIPTrapInfo ( ) {
  2382. VARIANT_BOOL _result = 0;
  2383. HRESULT _hr = get_InRIPTrapInfo(&_result);
  2384. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2385. return _result;
  2386. }
  2387. #pragma implementation_key(367)
  2388. inline void VGCore::IPrnVBAPrintOptions::PutInRIPTrapInfo ( VARIANT_BOOL pVal ) {
  2389. HRESULT _hr = put_InRIPTrapInfo(pVal);
  2390. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2391. }
  2392. #pragma implementation_key(368)
  2393. inline enum VGCore::PrnObjectsColorMode VGCore::IPrnVBAPrintOptions::GetObjectsColorMode ( ) {
  2394. enum PrnObjectsColorMode _result;
  2395. HRESULT _hr = get_ObjectsColorMode(&_result);
  2396. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2397. return _result;
  2398. }
  2399. #pragma implementation_key(369)
  2400. inline void VGCore::IPrnVBAPrintOptions::PutObjectsColorMode ( enum PrnObjectsColorMode pVal ) {
  2401. HRESULT _hr = put_ObjectsColorMode(pVal);
  2402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2403. }
  2404. #pragma implementation_key(370)
  2405. inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPreservePureBlack ( ) {
  2406. VARIANT_BOOL _result = 0;
  2407. HRESULT _hr = get_PreservePureBlack(&_result);
  2408. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2409. return _result;
  2410. }
  2411. #pragma implementation_key(371)
  2412. inline void VGCore::IPrnVBAPrintOptions::PutPreservePureBlack ( VARIANT_BOOL pVal ) {
  2413. HRESULT _hr = put_PreservePureBlack(pVal);
  2414. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2415. }
  2416. //
  2417. // interface IPrnVBAPrintSettings wrapper method implementations
  2418. //
  2419. #pragma implementation_key(372)
  2420. inline VGCore::IPrnVBAPrinterPtr VGCore::IPrnVBAPrintSettings::GetPrinter ( ) {
  2421. struct IPrnVBAPrinter * _result = 0;
  2422. HRESULT _hr = get_Printer(&_result);
  2423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2424. return IPrnVBAPrinterPtr(_result, false);
  2425. }
  2426. #pragma implementation_key(373)
  2427. inline void VGCore::IPrnVBAPrintSettings::PutRefPrinter ( struct IPrnVBAPrinter * pVal ) {
  2428. HRESULT _hr = putref_Printer(pVal);
  2429. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2430. }
  2431. #pragma implementation_key(374)
  2432. inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetUsePPD ( ) {
  2433. VARIANT_BOOL _result = 0;
  2434. HRESULT _hr = get_UsePPD(&_result);
  2435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2436. return _result;
  2437. }
  2438. #pragma implementation_key(375)
  2439. inline void VGCore::IPrnVBAPrintSettings::PutUsePPD ( VARIANT_BOOL pVal ) {
  2440. HRESULT _hr = put_UsePPD(pVal);
  2441. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2442. }
  2443. #pragma implementation_key(376)
  2444. inline _bstr_t VGCore::IPrnVBAPrintSettings::GetPPDFile ( ) {
  2445. BSTR _result = 0;
  2446. HRESULT _hr = get_PPDFile(&_result);
  2447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2448. return _bstr_t(_result, false);
  2449. }
  2450. #pragma implementation_key(377)
  2451. inline void VGCore::IPrnVBAPrintSettings::PutPPDFile ( _bstr_t pVal ) {
  2452. HRESULT _hr = put_PPDFile(pVal);
  2453. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2454. }
  2455. #pragma implementation_key(378)
  2456. inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetPrintToFile ( ) {
  2457. VARIANT_BOOL _result = 0;
  2458. HRESULT _hr = get_PrintToFile(&_result);
  2459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2460. return _result;
  2461. }
  2462. #pragma implementation_key(379)
  2463. inline void VGCore::IPrnVBAPrintSettings::PutPrintToFile ( VARIANT_BOOL pVal ) {
  2464. HRESULT _hr = put_PrintToFile(pVal);
  2465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2466. }
  2467. #pragma implementation_key(380)
  2468. inline _bstr_t VGCore::IPrnVBAPrintSettings::GetFileName ( ) {
  2469. BSTR _result = 0;
  2470. HRESULT _hr = get_FileName(&_result);
  2471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2472. return _bstr_t(_result, false);
  2473. }
  2474. #pragma implementation_key(381)
  2475. inline void VGCore::IPrnVBAPrintSettings::PutFileName ( _bstr_t pVal ) {
  2476. HRESULT _hr = put_FileName(pVal);
  2477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2478. }
  2479. #pragma implementation_key(382)
  2480. inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetForMac ( ) {
  2481. VARIANT_BOOL _result = 0;
  2482. HRESULT _hr = get_ForMac(&_result);
  2483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2484. return _result;
  2485. }
  2486. #pragma implementation_key(383)
  2487. inline void VGCore::IPrnVBAPrintSettings::PutForMac ( VARIANT_BOOL pVal ) {
  2488. HRESULT _hr = put_ForMac(pVal);
  2489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2490. }
  2491. #pragma implementation_key(384)
  2492. inline enum VGCore::PrnFileMode VGCore::IPrnVBAPrintSettings::GetFileMode ( ) {
  2493. enum PrnFileMode _result;
  2494. HRESULT _hr = get_FileMode(&_result);
  2495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2496. return _result;
  2497. }
  2498. #pragma implementation_key(385)
  2499. inline void VGCore::IPrnVBAPrintSettings::PutFileMode ( enum PrnFileMode pVal ) {
  2500. HRESULT _hr = put_FileMode(pVal);
  2501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2502. }
  2503. #pragma implementation_key(386)
  2504. inline enum VGCore::PrnPrintRange VGCore::IPrnVBAPrintSettings::GetPrintRange ( ) {
  2505. enum PrnPrintRange _result;
  2506. HRESULT _hr = get_PrintRange(&_result);
  2507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2508. return _result;
  2509. }
  2510. #pragma implementation_key(387)
  2511. inline void VGCore::IPrnVBAPrintSettings::PutPrintRange ( enum PrnPrintRange pVal ) {
  2512. HRESULT _hr = put_PrintRange(pVal);
  2513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2514. }
  2515. #pragma implementation_key(388)
  2516. inline _bstr_t VGCore::IPrnVBAPrintSettings::GetPageRange ( ) {
  2517. BSTR _result = 0;
  2518. HRESULT _hr = get_PageRange(&_result);
  2519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2520. return _bstr_t(_result, false);
  2521. }
  2522. #pragma implementation_key(389)
  2523. inline void VGCore::IPrnVBAPrintSettings::PutPageRange ( _bstr_t pVal ) {
  2524. HRESULT _hr = put_PageRange(pVal);
  2525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2526. }
  2527. #pragma implementation_key(390)
  2528. inline long VGCore::IPrnVBAPrintSettings::GetCopies ( ) {
  2529. long _result = 0;
  2530. HRESULT _hr = get_Copies(&_result);
  2531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2532. return _result;
  2533. }
  2534. #pragma implementation_key(391)
  2535. inline void VGCore::IPrnVBAPrintSettings::PutCopies ( long pVal ) {
  2536. HRESULT _hr = put_Copies(pVal);
  2537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2538. }
  2539. #pragma implementation_key(392)
  2540. inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetCollate ( ) {
  2541. VARIANT_BOOL _result = 0;
  2542. HRESULT _hr = get_Collate(&_result);
  2543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2544. return _result;
  2545. }
  2546. #pragma implementation_key(393)
  2547. inline void VGCore::IPrnVBAPrintSettings::PutCollate ( VARIANT_BOOL pVal ) {
  2548. HRESULT _hr = put_Collate(pVal);
  2549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2550. }
  2551. #pragma implementation_key(394)
  2552. inline VGCore::IPrnVBAPrintSeparationsPtr VGCore::IPrnVBAPrintSettings::GetSeparations ( ) {
  2553. struct IPrnVBAPrintSeparations * _result = 0;
  2554. HRESULT _hr = get_Separations(&_result);
  2555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2556. return IPrnVBAPrintSeparationsPtr(_result, false);
  2557. }
  2558. #pragma implementation_key(395)
  2559. inline VGCore::IPrnVBAPrintPrepressPtr VGCore::IPrnVBAPrintSettings::GetPrepress ( ) {
  2560. struct IPrnVBAPrintPrepress * _result = 0;
  2561. HRESULT _hr = get_Prepress(&_result);
  2562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2563. return IPrnVBAPrintPrepressPtr(_result, false);
  2564. }
  2565. #pragma implementation_key(396)
  2566. inline VGCore::IPrnVBAPrintPostScriptPtr VGCore::IPrnVBAPrintSettings::GetPostScript ( ) {
  2567. struct IPrnVBAPrintPostScript * _result = 0;
  2568. HRESULT _hr = get_PostScript(&_result);
  2569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2570. return IPrnVBAPrintPostScriptPtr(_result, false);
  2571. }
  2572. #pragma implementation_key(397)
  2573. inline VGCore::IPrnVBAPrintTrappingPtr VGCore::IPrnVBAPrintSettings::GetTrapping ( ) {
  2574. struct IPrnVBAPrintTrapping * _result = 0;
  2575. HRESULT _hr = get_Trapping(&_result);
  2576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2577. return IPrnVBAPrintTrappingPtr(_result, false);
  2578. }
  2579. #pragma implementation_key(398)
  2580. inline VGCore::IPrnVBAPrintOptionsPtr VGCore::IPrnVBAPrintSettings::GetOptions ( ) {
  2581. struct IPrnVBAPrintOptions * _result = 0;
  2582. HRESULT _hr = get_Options(&_result);
  2583. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2584. return IPrnVBAPrintOptionsPtr(_result, false);
  2585. }
  2586. #pragma implementation_key(399)
  2587. inline HRESULT VGCore::IPrnVBAPrintSettings::Reset ( ) {
  2588. HRESULT _hr = raw_Reset();
  2589. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2590. return _hr;
  2591. }
  2592. #pragma implementation_key(400)
  2593. inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::Load ( _bstr_t FileName ) {
  2594. VARIANT_BOOL _result = 0;
  2595. HRESULT _hr = raw_Load(FileName, &_result);
  2596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2597. return _result;
  2598. }
  2599. #pragma implementation_key(401)
  2600. inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::Save ( _bstr_t FileName ) {
  2601. VARIANT_BOOL _result = 0;
  2602. HRESULT _hr = raw_Save(FileName, &_result);
  2603. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2604. return _result;
  2605. }
  2606. #pragma implementation_key(402)
  2607. inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::ShowDialog ( ) {
  2608. VARIANT_BOOL _result = 0;
  2609. HRESULT _hr = raw_ShowDialog(&_result);
  2610. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2611. return _result;
  2612. }
  2613. #pragma implementation_key(403)
  2614. inline HRESULT VGCore::IPrnVBAPrintSettings::SelectPrinter ( _bstr_t Name ) {
  2615. HRESULT _hr = raw_SelectPrinter(Name);
  2616. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2617. return _hr;
  2618. }
  2619. #pragma implementation_key(404)
  2620. inline enum VGCore::PrnPageSet VGCore::IPrnVBAPrintSettings::GetPageSet ( ) {
  2621. enum PrnPageSet _result;
  2622. HRESULT _hr = get_PageSet(&_result);
  2623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2624. return _result;
  2625. }
  2626. #pragma implementation_key(405)
  2627. inline void VGCore::IPrnVBAPrintSettings::PutPageSet ( enum PrnPageSet pVal ) {
  2628. HRESULT _hr = put_PageSet(pVal);
  2629. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2630. }
  2631. #pragma implementation_key(406)
  2632. inline enum VGCore::PrnPaperOrientation VGCore::IPrnVBAPrintSettings::GetPaperOrientation ( ) {
  2633. enum PrnPaperOrientation _result;
  2634. HRESULT _hr = get_PaperOrientation(&_result);
  2635. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2636. return _result;
  2637. }
  2638. #pragma implementation_key(407)
  2639. inline void VGCore::IPrnVBAPrintSettings::PutPaperOrientation ( enum PrnPaperOrientation pVal ) {
  2640. HRESULT _hr = put_PaperOrientation(pVal);
  2641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2642. }
  2643. #pragma implementation_key(408)
  2644. inline enum VGCore::PrnPaperSize VGCore::IPrnVBAPrintSettings::GetPaperSize ( ) {
  2645. enum PrnPaperSize _result;
  2646. HRESULT _hr = get_PaperSize(&_result);
  2647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2648. return _result;
  2649. }
  2650. #pragma implementation_key(409)
  2651. inline void VGCore::IPrnVBAPrintSettings::PutPaperSize ( enum PrnPaperSize pVal ) {
  2652. HRESULT _hr = put_PaperSize(pVal);
  2653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2654. }
  2655. #pragma implementation_key(410)
  2656. inline HRESULT VGCore::IPrnVBAPrintSettings::SetPaperSize ( enum PrnPaperSize PaperSize, enum PrnPaperOrientation Orientation ) {
  2657. HRESULT _hr = raw_SetPaperSize(PaperSize, Orientation);
  2658. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2659. return _hr;
  2660. }
  2661. #pragma implementation_key(411)
  2662. inline double VGCore::IPrnVBAPrintSettings::GetPaperWidth ( ) {
  2663. double _result = 0;
  2664. HRESULT _hr = get_PaperWidth(&_result);
  2665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2666. return _result;
  2667. }
  2668. #pragma implementation_key(412)
  2669. inline double VGCore::IPrnVBAPrintSettings::GetPaperHeight ( ) {
  2670. double _result = 0;
  2671. HRESULT _hr = get_PaperHeight(&_result);
  2672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2673. return _result;
  2674. }
  2675. #pragma implementation_key(413)
  2676. inline HRESULT VGCore::IPrnVBAPrintSettings::SetCustomPaperSize ( double Width, double Height, enum PrnPaperOrientation Orientation ) {
  2677. HRESULT _hr = raw_SetCustomPaperSize(Width, Height, Orientation);
  2678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2679. return _hr;
  2680. }
  2681. #pragma implementation_key(414)
  2682. inline VGCore::IPrnVBAPrintLayoutPtr VGCore::IPrnVBAPrintSettings::GetLayout ( ) {
  2683. struct IPrnVBAPrintLayout * _result = 0;
  2684. HRESULT _hr = get_Layout(&_result);
  2685. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2686. return IPrnVBAPrintLayoutPtr(_result, false);
  2687. }
  2688. #pragma implementation_key(415)
  2689. inline HRESULT VGCore::IPrnVBAPrintSettings::PrintOut ( ) {
  2690. HRESULT _hr = raw_PrintOut();
  2691. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2692. return _hr;
  2693. }
  2694. #pragma implementation_key(416)
  2695. inline HRESULT VGCore::IPrnVBAPrintSettings::PrintColorProof ( IDispatch * ProofSettings ) {
  2696. HRESULT _hr = raw_PrintColorProof(ProofSettings);
  2697. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2698. return _hr;
  2699. }
  2700. #pragma implementation_key(417)
  2701. inline enum VGCore::PrnPageMatchingMode VGCore::IPrnVBAPrintSettings::GetPageMatchingMode ( ) {
  2702. enum PrnPageMatchingMode _result;
  2703. HRESULT _hr = get_PageMatchingMode(&_result);
  2704. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2705. return _result;
  2706. }
  2707. #pragma implementation_key(418)
  2708. inline void VGCore::IPrnVBAPrintSettings::PutPageMatchingMode ( enum PrnPageMatchingMode pVal ) {
  2709. HRESULT _hr = put_PageMatchingMode(pVal);
  2710. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2711. }
  2712. //
  2713. // interface IPrnVBAPrintDocument wrapper method implementations
  2714. //
  2715. #pragma implementation_key(419)
  2716. inline HRESULT VGCore::IPrnVBAPrintDocument::_GetPrintDocument ( INT_PTR * pDoc ) {
  2717. HRESULT _hr = raw__GetPrintDocument(pDoc);
  2718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2719. return _hr;
  2720. }
  2721. //
  2722. // interface IPrnVBAPrintDocuments wrapper method implementations
  2723. //
  2724. #pragma implementation_key(420)
  2725. inline VGCore::IPrnVBAPrintDocumentPtr VGCore::IPrnVBAPrintDocuments::GetItem ( long Index ) {
  2726. struct IPrnVBAPrintDocument * _result = 0;
  2727. HRESULT _hr = get_Item(Index, &_result);
  2728. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2729. return IPrnVBAPrintDocumentPtr(_result, false);
  2730. }
  2731. #pragma implementation_key(421)
  2732. inline long VGCore::IPrnVBAPrintDocuments::GetCount ( ) {
  2733. long _result = 0;
  2734. HRESULT _hr = get_Count(&_result);
  2735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2736. return _result;
  2737. }
  2738. //
  2739. // interface IPrnVBAPrintPage wrapper method implementations
  2740. //
  2741. #pragma implementation_key(422)
  2742. inline HRESULT VGCore::IPrnVBAPrintPage::_GetPrintDocument ( INT_PTR * pDoc ) {
  2743. HRESULT _hr = raw__GetPrintDocument(pDoc);
  2744. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2745. return _hr;
  2746. }
  2747. #pragma implementation_key(423)
  2748. inline HRESULT VGCore::IPrnVBAPrintPage::_GetPrintPage ( long * pPage ) {
  2749. HRESULT _hr = raw__GetPrintPage(pPage);
  2750. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2751. return _hr;
  2752. }
  2753. //
  2754. // interface IPrnVBAPrintPages wrapper method implementations
  2755. //
  2756. #pragma implementation_key(424)
  2757. inline VGCore::IPrnVBAPrintPagePtr VGCore::IPrnVBAPrintPages::GetItem ( long Index ) {
  2758. struct IPrnVBAPrintPage * _result = 0;
  2759. HRESULT _hr = get_Item(Index, &_result);
  2760. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2761. return IPrnVBAPrintPagePtr(_result, false);
  2762. }
  2763. #pragma implementation_key(425)
  2764. inline long VGCore::IPrnVBAPrintPages::GetCount ( ) {
  2765. long _result = 0;
  2766. HRESULT _hr = get_Count(&_result);
  2767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2768. return _result;
  2769. }
  2770. //
  2771. // interface IPrnVBAPrintJob wrapper method implementations
  2772. //
  2773. #pragma implementation_key(426)
  2774. inline VGCore::IPrnVBAPrintSettingsPtr VGCore::IPrnVBAPrintJob::GetSettings ( ) {
  2775. struct IPrnVBAPrintSettings * _result = 0;
  2776. HRESULT _hr = get_Settings(&_result);
  2777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2778. return IPrnVBAPrintSettingsPtr(_result, false);
  2779. }
  2780. #pragma implementation_key(427)
  2781. inline VGCore::IPrnVBAPrintDocumentsPtr VGCore::IPrnVBAPrintJob::GetDocuments ( ) {
  2782. struct IPrnVBAPrintDocuments * _result = 0;
  2783. HRESULT _hr = get_Documents(&_result);
  2784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2785. return IPrnVBAPrintDocumentsPtr(_result, false);
  2786. }
  2787. #pragma implementation_key(428)
  2788. inline VGCore::IPrnVBAPrintPagesPtr VGCore::IPrnVBAPrintJob::GetPages ( ) {
  2789. struct IPrnVBAPrintPages * _result = 0;
  2790. HRESULT _hr = get_Pages(&_result);
  2791. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2792. return IPrnVBAPrintPagesPtr(_result, false);
  2793. }
  2794. #pragma implementation_key(429)
  2795. inline HRESULT VGCore::IPrnVBAPrintJob::Clear ( ) {
  2796. HRESULT _hr = raw_Clear();
  2797. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2798. return _hr;
  2799. }
  2800. #pragma implementation_key(430)
  2801. inline HRESULT VGCore::IPrnVBAPrintJob::PrintOut ( ) {
  2802. HRESULT _hr = raw_PrintOut();
  2803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2804. return _hr;
  2805. }
  2806. #pragma implementation_key(431)
  2807. inline HRESULT VGCore::IPrnVBAPrintJob::AddDocument ( struct IPrnVBAPrintDocument * Document, _bstr_t PageRange ) {
  2808. HRESULT _hr = raw_AddDocument(Document, PageRange);
  2809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2810. return _hr;
  2811. }
  2812. #pragma implementation_key(432)
  2813. inline HRESULT VGCore::IPrnVBAPrintJob::AddPage ( struct IPrnVBAPrintPage * Page ) {
  2814. HRESULT _hr = raw_AddPage(Page);
  2815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2816. return _hr;
  2817. }
  2818. //
  2819. // interface IPDFVBASettings wrapper method implementations
  2820. //
  2821. #pragma implementation_key(433)
  2822. inline HRESULT VGCore::IPDFVBASettings::Reset ( ) {
  2823. HRESULT _hr = raw_Reset();
  2824. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2825. return _hr;
  2826. }
  2827. #pragma implementation_key(434)
  2828. inline VARIANT_BOOL VGCore::IPDFVBASettings::Load ( _bstr_t SettingName ) {
  2829. VARIANT_BOOL _result = 0;
  2830. HRESULT _hr = raw_Load(SettingName, &_result);
  2831. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2832. return _result;
  2833. }
  2834. #pragma implementation_key(435)
  2835. inline VARIANT_BOOL VGCore::IPDFVBASettings::Save ( _bstr_t SettingName ) {
  2836. VARIANT_BOOL _result = 0;
  2837. HRESULT _hr = raw_Save(SettingName, &_result);
  2838. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2839. return _result;
  2840. }
  2841. #pragma implementation_key(436)
  2842. inline VARIANT_BOOL VGCore::IPDFVBASettings::ShowDialog ( ) {
  2843. VARIANT_BOOL _result = 0;
  2844. HRESULT _hr = raw_ShowDialog(&_result);
  2845. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2846. return _result;
  2847. }
  2848. #pragma implementation_key(437)
  2849. inline HRESULT VGCore::IPDFVBASettings::PublishToPDF ( _bstr_t FileName ) {
  2850. HRESULT _hr = raw_PublishToPDF(FileName);
  2851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2852. return _hr;
  2853. }
  2854. #pragma implementation_key(438)
  2855. inline void VGCore::IPDFVBASettings::PutPublishRange ( enum pdfExportRange pExportRange ) {
  2856. HRESULT _hr = put_PublishRange(pExportRange);
  2857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2858. }
  2859. #pragma implementation_key(439)
  2860. inline enum VGCore::pdfExportRange VGCore::IPDFVBASettings::GetPublishRange ( ) {
  2861. enum pdfExportRange _result;
  2862. HRESULT _hr = get_PublishRange(&_result);
  2863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2864. return _result;
  2865. }
  2866. #pragma implementation_key(440)
  2867. inline void VGCore::IPDFVBASettings::PutPageRange ( _bstr_t pszExportPagesRange ) {
  2868. HRESULT _hr = put_PageRange(pszExportPagesRange);
  2869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2870. }
  2871. #pragma implementation_key(441)
  2872. inline _bstr_t VGCore::IPDFVBASettings::GetPageRange ( ) {
  2873. BSTR _result = 0;
  2874. HRESULT _hr = get_PageRange(&_result);
  2875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2876. return _bstr_t(_result, false);
  2877. }
  2878. #pragma implementation_key(442)
  2879. inline void VGCore::IPDFVBASettings::PutAuthor ( _bstr_t pszAuthor ) {
  2880. HRESULT _hr = put_Author(pszAuthor);
  2881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2882. }
  2883. #pragma implementation_key(443)
  2884. inline _bstr_t VGCore::IPDFVBASettings::GetAuthor ( ) {
  2885. BSTR _result = 0;
  2886. HRESULT _hr = get_Author(&_result);
  2887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2888. return _bstr_t(_result, false);
  2889. }
  2890. #pragma implementation_key(444)
  2891. inline void VGCore::IPDFVBASettings::PutSubject ( _bstr_t pszSubject ) {
  2892. HRESULT _hr = put_Subject(pszSubject);
  2893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2894. }
  2895. #pragma implementation_key(445)
  2896. inline _bstr_t VGCore::IPDFVBASettings::GetSubject ( ) {
  2897. BSTR _result = 0;
  2898. HRESULT _hr = get_Subject(&_result);
  2899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2900. return _bstr_t(_result, false);
  2901. }
  2902. #pragma implementation_key(446)
  2903. inline void VGCore::IPDFVBASettings::PutKeywords ( _bstr_t pszKeywords ) {
  2904. HRESULT _hr = put_Keywords(pszKeywords);
  2905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2906. }
  2907. #pragma implementation_key(447)
  2908. inline _bstr_t VGCore::IPDFVBASettings::GetKeywords ( ) {
  2909. BSTR _result = 0;
  2910. HRESULT _hr = get_Keywords(&_result);
  2911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2912. return _bstr_t(_result, false);
  2913. }
  2914. #pragma implementation_key(448)
  2915. inline void VGCore::IPDFVBASettings::PutBitmapCompression ( enum pdfBitmapCompressionType pBitmapCompressionType ) {
  2916. HRESULT _hr = put_BitmapCompression(pBitmapCompressionType);
  2917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2918. }
  2919. #pragma implementation_key(449)
  2920. inline enum VGCore::pdfBitmapCompressionType VGCore::IPDFVBASettings::GetBitmapCompression ( ) {
  2921. enum pdfBitmapCompressionType _result;
  2922. HRESULT _hr = get_BitmapCompression(&_result);
  2923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2924. return _result;
  2925. }
  2926. #pragma implementation_key(450)
  2927. inline void VGCore::IPDFVBASettings::PutJPEGQualityFactor ( int pnQuality ) {
  2928. HRESULT _hr = put_JPEGQualityFactor(pnQuality);
  2929. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2930. }
  2931. #pragma implementation_key(451)
  2932. inline int VGCore::IPDFVBASettings::GetJPEGQualityFactor ( ) {
  2933. int _result = 0;
  2934. HRESULT _hr = get_JPEGQualityFactor(&_result);
  2935. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2936. return _result;
  2937. }
  2938. #pragma implementation_key(452)
  2939. inline void VGCore::IPDFVBASettings::PutTextAsCurves ( VARIANT_BOOL pbTextAsCurves ) {
  2940. HRESULT _hr = put_TextAsCurves(pbTextAsCurves);
  2941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2942. }
  2943. #pragma implementation_key(453)
  2944. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetTextAsCurves ( ) {
  2945. VARIANT_BOOL _result = 0;
  2946. HRESULT _hr = get_TextAsCurves(&_result);
  2947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2948. return _result;
  2949. }
  2950. #pragma implementation_key(454)
  2951. inline void VGCore::IPDFVBASettings::PutEmbedFonts ( VARIANT_BOOL pbEmbedFonts ) {
  2952. HRESULT _hr = put_EmbedFonts(pbEmbedFonts);
  2953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2954. }
  2955. #pragma implementation_key(455)
  2956. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetEmbedFonts ( ) {
  2957. VARIANT_BOOL _result = 0;
  2958. HRESULT _hr = get_EmbedFonts(&_result);
  2959. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2960. return _result;
  2961. }
  2962. #pragma implementation_key(456)
  2963. inline void VGCore::IPDFVBASettings::PutEmbedBaseFonts ( VARIANT_BOOL pbEmbedBaseFonts ) {
  2964. HRESULT _hr = put_EmbedBaseFonts(pbEmbedBaseFonts);
  2965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2966. }
  2967. #pragma implementation_key(457)
  2968. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetEmbedBaseFonts ( ) {
  2969. VARIANT_BOOL _result = 0;
  2970. HRESULT _hr = get_EmbedBaseFonts(&_result);
  2971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2972. return _result;
  2973. }
  2974. #pragma implementation_key(458)
  2975. inline void VGCore::IPDFVBASettings::PutTrueTypeToType1 ( VARIANT_BOOL pbTrueTypeToType1 ) {
  2976. HRESULT _hr = put_TrueTypeToType1(pbTrueTypeToType1);
  2977. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2978. }
  2979. #pragma implementation_key(459)
  2980. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetTrueTypeToType1 ( ) {
  2981. VARIANT_BOOL _result = 0;
  2982. HRESULT _hr = get_TrueTypeToType1(&_result);
  2983. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2984. return _result;
  2985. }
  2986. #pragma implementation_key(460)
  2987. inline void VGCore::IPDFVBASettings::PutSubsetFonts ( VARIANT_BOOL pbSubsetType1Fonts ) {
  2988. HRESULT _hr = put_SubsetFonts(pbSubsetType1Fonts);
  2989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2990. }
  2991. #pragma implementation_key(461)
  2992. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetSubsetFonts ( ) {
  2993. VARIANT_BOOL _result = 0;
  2994. HRESULT _hr = get_SubsetFonts(&_result);
  2995. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  2996. return _result;
  2997. }
  2998. #pragma implementation_key(462)
  2999. inline void VGCore::IPDFVBASettings::PutSubsetPct ( long pnLevel ) {
  3000. HRESULT _hr = put_SubsetPct(pnLevel);
  3001. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3002. }
  3003. #pragma implementation_key(463)
  3004. inline long VGCore::IPDFVBASettings::GetSubsetPct ( ) {
  3005. long _result = 0;
  3006. HRESULT _hr = get_SubsetPct(&_result);
  3007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3008. return _result;
  3009. }
  3010. #pragma implementation_key(464)
  3011. inline void VGCore::IPDFVBASettings::PutCompressText ( VARIANT_BOOL pbCompressText ) {
  3012. HRESULT _hr = put_CompressText(pbCompressText);
  3013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3014. }
  3015. #pragma implementation_key(465)
  3016. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetCompressText ( ) {
  3017. VARIANT_BOOL _result = 0;
  3018. HRESULT _hr = get_CompressText(&_result);
  3019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3020. return _result;
  3021. }
  3022. #pragma implementation_key(466)
  3023. inline void VGCore::IPDFVBASettings::PutEncoding ( enum pdfEncodingType pEncoding ) {
  3024. HRESULT _hr = put_Encoding(pEncoding);
  3025. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3026. }
  3027. #pragma implementation_key(467)
  3028. inline enum VGCore::pdfEncodingType VGCore::IPDFVBASettings::GetEncoding ( ) {
  3029. enum pdfEncodingType _result;
  3030. HRESULT _hr = get_Encoding(&_result);
  3031. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3032. return _result;
  3033. }
  3034. #pragma implementation_key(468)
  3035. inline void VGCore::IPDFVBASettings::PutDownsampleColor ( VARIANT_BOOL pbDownsample ) {
  3036. HRESULT _hr = put_DownsampleColor(pbDownsample);
  3037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3038. }
  3039. #pragma implementation_key(469)
  3040. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDownsampleColor ( ) {
  3041. VARIANT_BOOL _result = 0;
  3042. HRESULT _hr = get_DownsampleColor(&_result);
  3043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3044. return _result;
  3045. }
  3046. #pragma implementation_key(470)
  3047. inline void VGCore::IPDFVBASettings::PutDownsampleGray ( VARIANT_BOOL pbDownsample ) {
  3048. HRESULT _hr = put_DownsampleGray(pbDownsample);
  3049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3050. }
  3051. #pragma implementation_key(471)
  3052. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDownsampleGray ( ) {
  3053. VARIANT_BOOL _result = 0;
  3054. HRESULT _hr = get_DownsampleGray(&_result);
  3055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3056. return _result;
  3057. }
  3058. #pragma implementation_key(472)
  3059. inline void VGCore::IPDFVBASettings::PutDownsampleMono ( VARIANT_BOOL pbDownsample ) {
  3060. HRESULT _hr = put_DownsampleMono(pbDownsample);
  3061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3062. }
  3063. #pragma implementation_key(473)
  3064. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDownsampleMono ( ) {
  3065. VARIANT_BOOL _result = 0;
  3066. HRESULT _hr = get_DownsampleMono(&_result);
  3067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3068. return _result;
  3069. }
  3070. #pragma implementation_key(474)
  3071. inline void VGCore::IPDFVBASettings::PutColorResolution ( long pnDownsampleResolution ) {
  3072. HRESULT _hr = put_ColorResolution(pnDownsampleResolution);
  3073. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3074. }
  3075. #pragma implementation_key(475)
  3076. inline long VGCore::IPDFVBASettings::GetColorResolution ( ) {
  3077. long _result = 0;
  3078. HRESULT _hr = get_ColorResolution(&_result);
  3079. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3080. return _result;
  3081. }
  3082. #pragma implementation_key(476)
  3083. inline void VGCore::IPDFVBASettings::PutMonoResolution ( long pnDownsampleResolution ) {
  3084. HRESULT _hr = put_MonoResolution(pnDownsampleResolution);
  3085. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3086. }
  3087. #pragma implementation_key(477)
  3088. inline long VGCore::IPDFVBASettings::GetMonoResolution ( ) {
  3089. long _result = 0;
  3090. HRESULT _hr = get_MonoResolution(&_result);
  3091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3092. return _result;
  3093. }
  3094. #pragma implementation_key(478)
  3095. inline void VGCore::IPDFVBASettings::PutGrayResolution ( long pnDownsampleResolution ) {
  3096. HRESULT _hr = put_GrayResolution(pnDownsampleResolution);
  3097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3098. }
  3099. #pragma implementation_key(479)
  3100. inline long VGCore::IPDFVBASettings::GetGrayResolution ( ) {
  3101. long _result = 0;
  3102. HRESULT _hr = get_GrayResolution(&_result);
  3103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3104. return _result;
  3105. }
  3106. #pragma implementation_key(480)
  3107. inline void VGCore::IPDFVBASettings::PutHyperlinks ( VARIANT_BOOL pbIncludeHyperlinks ) {
  3108. HRESULT _hr = put_Hyperlinks(pbIncludeHyperlinks);
  3109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3110. }
  3111. #pragma implementation_key(481)
  3112. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetHyperlinks ( ) {
  3113. VARIANT_BOOL _result = 0;
  3114. HRESULT _hr = get_Hyperlinks(&_result);
  3115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3116. return _result;
  3117. }
  3118. #pragma implementation_key(482)
  3119. inline void VGCore::IPDFVBASettings::PutBookmarks ( VARIANT_BOOL pbGenerateBookmarks ) {
  3120. HRESULT _hr = put_Bookmarks(pbGenerateBookmarks);
  3121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3122. }
  3123. #pragma implementation_key(483)
  3124. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetBookmarks ( ) {
  3125. VARIANT_BOOL _result = 0;
  3126. HRESULT _hr = get_Bookmarks(&_result);
  3127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3128. return _result;
  3129. }
  3130. #pragma implementation_key(484)
  3131. inline void VGCore::IPDFVBASettings::PutThumbnails ( VARIANT_BOOL pbGenerateThumbnails ) {
  3132. HRESULT _hr = put_Thumbnails(pbGenerateThumbnails);
  3133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3134. }
  3135. #pragma implementation_key(485)
  3136. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetThumbnails ( ) {
  3137. VARIANT_BOOL _result = 0;
  3138. HRESULT _hr = get_Thumbnails(&_result);
  3139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3140. return _result;
  3141. }
  3142. #pragma implementation_key(486)
  3143. inline void VGCore::IPDFVBASettings::PutStartup ( enum pdfDisplayOnStart pDisplayOnStart ) {
  3144. HRESULT _hr = put_Startup(pDisplayOnStart);
  3145. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3146. }
  3147. #pragma implementation_key(487)
  3148. inline enum VGCore::pdfDisplayOnStart VGCore::IPDFVBASettings::GetStartup ( ) {
  3149. enum pdfDisplayOnStart _result;
  3150. HRESULT _hr = get_Startup(&_result);
  3151. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3152. return _result;
  3153. }
  3154. #pragma implementation_key(488)
  3155. inline void VGCore::IPDFVBASettings::PutComplexFillsAsBitmaps ( VARIANT_BOOL pbComplexFillsAsBitmaps ) {
  3156. HRESULT _hr = put_ComplexFillsAsBitmaps(pbComplexFillsAsBitmaps);
  3157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3158. }
  3159. #pragma implementation_key(489)
  3160. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetComplexFillsAsBitmaps ( ) {
  3161. VARIANT_BOOL _result = 0;
  3162. HRESULT _hr = get_ComplexFillsAsBitmaps(&_result);
  3163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3164. return _result;
  3165. }
  3166. #pragma implementation_key(490)
  3167. inline void VGCore::IPDFVBASettings::PutOverprints ( VARIANT_BOOL pbPreserveOverprints ) {
  3168. HRESULT _hr = put_Overprints(pbPreserveOverprints);
  3169. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3170. }
  3171. #pragma implementation_key(491)
  3172. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetOverprints ( ) {
  3173. VARIANT_BOOL _result = 0;
  3174. HRESULT _hr = get_Overprints(&_result);
  3175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3176. return _result;
  3177. }
  3178. #pragma implementation_key(492)
  3179. inline void VGCore::IPDFVBASettings::PutHalftones ( VARIANT_BOOL pbPreserveHalftones ) {
  3180. HRESULT _hr = put_Halftones(pbPreserveHalftones);
  3181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3182. }
  3183. #pragma implementation_key(493)
  3184. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetHalftones ( ) {
  3185. VARIANT_BOOL _result = 0;
  3186. HRESULT _hr = get_Halftones(&_result);
  3187. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3188. return _result;
  3189. }
  3190. #pragma implementation_key(494)
  3191. inline void VGCore::IPDFVBASettings::PutSpotColors ( VARIANT_BOOL pbPreserveSpotColors ) {
  3192. HRESULT _hr = put_SpotColors(pbPreserveSpotColors);
  3193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3194. }
  3195. #pragma implementation_key(495)
  3196. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetSpotColors ( ) {
  3197. VARIANT_BOOL _result = 0;
  3198. HRESULT _hr = get_SpotColors(&_result);
  3199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3200. return _result;
  3201. }
  3202. #pragma implementation_key(496)
  3203. inline void VGCore::IPDFVBASettings::PutMaintainOPILinks ( VARIANT_BOOL pbMaintainOPILinks ) {
  3204. HRESULT _hr = put_MaintainOPILinks(pbMaintainOPILinks);
  3205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3206. }
  3207. #pragma implementation_key(497)
  3208. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetMaintainOPILinks ( ) {
  3209. VARIANT_BOOL _result = 0;
  3210. HRESULT _hr = get_MaintainOPILinks(&_result);
  3211. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3212. return _result;
  3213. }
  3214. #pragma implementation_key(498)
  3215. inline void VGCore::IPDFVBASettings::PutFountainSteps ( long pnFountainSteps ) {
  3216. HRESULT _hr = put_FountainSteps(pnFountainSteps);
  3217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3218. }
  3219. #pragma implementation_key(499)
  3220. inline long VGCore::IPDFVBASettings::GetFountainSteps ( ) {
  3221. long _result = 0;
  3222. HRESULT _hr = get_FountainSteps(&_result);
  3223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3224. return _result;
  3225. }
  3226. #pragma implementation_key(500)
  3227. inline void VGCore::IPDFVBASettings::PutEPSAs ( enum pdfEPSAs peEPSAs ) {
  3228. HRESULT _hr = put_EPSAs(peEPSAs);
  3229. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3230. }
  3231. #pragma implementation_key(501)
  3232. inline enum VGCore::pdfEPSAs VGCore::IPDFVBASettings::GetEPSAs ( ) {
  3233. enum pdfEPSAs _result;
  3234. HRESULT _hr = get_EPSAs(&_result);
  3235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3236. return _result;
  3237. }
  3238. #pragma implementation_key(502)
  3239. inline void VGCore::IPDFVBASettings::PutpdfVersion ( enum pdfVersion pePDFVersion ) {
  3240. HRESULT _hr = put_pdfVersion(pePDFVersion);
  3241. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3242. }
  3243. #pragma implementation_key(503)
  3244. inline enum VGCore::pdfVersion VGCore::IPDFVBASettings::GetpdfVersion ( ) {
  3245. enum pdfVersion _result;
  3246. HRESULT _hr = get_pdfVersion(&_result);
  3247. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3248. return _result;
  3249. }
  3250. #pragma implementation_key(504)
  3251. inline void VGCore::IPDFVBASettings::PutIncludeBleed ( VARIANT_BOOL pbIncludeBleed ) {
  3252. HRESULT _hr = put_IncludeBleed(pbIncludeBleed);
  3253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3254. }
  3255. #pragma implementation_key(505)
  3256. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetIncludeBleed ( ) {
  3257. VARIANT_BOOL _result = 0;
  3258. HRESULT _hr = get_IncludeBleed(&_result);
  3259. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3260. return _result;
  3261. }
  3262. #pragma implementation_key(506)
  3263. inline void VGCore::IPDFVBASettings::PutBleed ( int pnBleed ) {
  3264. HRESULT _hr = put_Bleed(pnBleed);
  3265. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3266. }
  3267. #pragma implementation_key(507)
  3268. inline int VGCore::IPDFVBASettings::GetBleed ( ) {
  3269. int _result = 0;
  3270. HRESULT _hr = get_Bleed(&_result);
  3271. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3272. return _result;
  3273. }
  3274. #pragma implementation_key(508)
  3275. inline void VGCore::IPDFVBASettings::PutLinearize ( VARIANT_BOOL pbLinearize ) {
  3276. HRESULT _hr = put_Linearize(pbLinearize);
  3277. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3278. }
  3279. #pragma implementation_key(509)
  3280. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetLinearize ( ) {
  3281. VARIANT_BOOL _result = 0;
  3282. HRESULT _hr = get_Linearize(&_result);
  3283. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3284. return _result;
  3285. }
  3286. #pragma implementation_key(510)
  3287. inline void VGCore::IPDFVBASettings::PutCropMarks ( VARIANT_BOOL pbCropMarks ) {
  3288. HRESULT _hr = put_CropMarks(pbCropMarks);
  3289. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3290. }
  3291. #pragma implementation_key(511)
  3292. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetCropMarks ( ) {
  3293. VARIANT_BOOL _result = 0;
  3294. HRESULT _hr = get_CropMarks(&_result);
  3295. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3296. return _result;
  3297. }
  3298. #pragma implementation_key(512)
  3299. inline void VGCore::IPDFVBASettings::PutRegistrationMarks ( VARIANT_BOOL pbRegistrationMarks ) {
  3300. HRESULT _hr = put_RegistrationMarks(pbRegistrationMarks);
  3301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3302. }
  3303. #pragma implementation_key(513)
  3304. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetRegistrationMarks ( ) {
  3305. VARIANT_BOOL _result = 0;
  3306. HRESULT _hr = get_RegistrationMarks(&_result);
  3307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3308. return _result;
  3309. }
  3310. #pragma implementation_key(514)
  3311. inline void VGCore::IPDFVBASettings::PutDensitometerScales ( VARIANT_BOOL pbDensitometerScales ) {
  3312. HRESULT _hr = put_DensitometerScales(pbDensitometerScales);
  3313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3314. }
  3315. #pragma implementation_key(515)
  3316. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDensitometerScales ( ) {
  3317. VARIANT_BOOL _result = 0;
  3318. HRESULT _hr = get_DensitometerScales(&_result);
  3319. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3320. return _result;
  3321. }
  3322. #pragma implementation_key(516)
  3323. inline void VGCore::IPDFVBASettings::PutFileInformation ( VARIANT_BOOL pbFileInformation ) {
  3324. HRESULT _hr = put_FileInformation(pbFileInformation);
  3325. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3326. }
  3327. #pragma implementation_key(517)
  3328. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetFileInformation ( ) {
  3329. VARIANT_BOOL _result = 0;
  3330. HRESULT _hr = get_FileInformation(&_result);
  3331. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3332. return _result;
  3333. }
  3334. #pragma implementation_key(518)
  3335. inline void VGCore::IPDFVBASettings::PutColorMode ( enum pdfColorMode peColorSet ) {
  3336. HRESULT _hr = put_ColorMode(peColorSet);
  3337. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3338. }
  3339. #pragma implementation_key(519)
  3340. inline enum VGCore::pdfColorMode VGCore::IPDFVBASettings::GetColorMode ( ) {
  3341. enum pdfColorMode _result;
  3342. HRESULT _hr = get_ColorMode(&_result);
  3343. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3344. return _result;
  3345. }
  3346. #pragma implementation_key(520)
  3347. inline void VGCore::IPDFVBASettings::PutUseColorProfile ( VARIANT_BOOL pbUseColorProfile ) {
  3348. HRESULT _hr = put_UseColorProfile(pbUseColorProfile);
  3349. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3350. }
  3351. #pragma implementation_key(521)
  3352. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetUseColorProfile ( ) {
  3353. VARIANT_BOOL _result = 0;
  3354. HRESULT _hr = get_UseColorProfile(&_result);
  3355. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3356. return _result;
  3357. }
  3358. #pragma implementation_key(522)
  3359. inline void VGCore::IPDFVBASettings::PutColorProfile ( enum pdfColorProfile peColorProfile ) {
  3360. HRESULT _hr = put_ColorProfile(peColorProfile);
  3361. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3362. }
  3363. #pragma implementation_key(523)
  3364. inline enum VGCore::pdfColorProfile VGCore::IPDFVBASettings::GetColorProfile ( ) {
  3365. enum pdfColorProfile _result;
  3366. HRESULT _hr = get_ColorProfile(&_result);
  3367. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3368. return _result;
  3369. }
  3370. #pragma implementation_key(524)
  3371. inline void VGCore::IPDFVBASettings::PutEmbedFilename ( _bstr_t pszEmbedFilename ) {
  3372. HRESULT _hr = put_EmbedFilename(pszEmbedFilename);
  3373. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3374. }
  3375. #pragma implementation_key(525)
  3376. inline _bstr_t VGCore::IPDFVBASettings::GetEmbedFilename ( ) {
  3377. BSTR _result = 0;
  3378. HRESULT _hr = get_EmbedFilename(&_result);
  3379. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3380. return _bstr_t(_result, false);
  3381. }
  3382. #pragma implementation_key(526)
  3383. inline void VGCore::IPDFVBASettings::PutEmbedFile ( VARIANT_BOOL pbEmbedFile ) {
  3384. HRESULT _hr = put_EmbedFile(pbEmbedFile);
  3385. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3386. }
  3387. #pragma implementation_key(527)
  3388. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetEmbedFile ( ) {
  3389. VARIANT_BOOL _result = 0;
  3390. HRESULT _hr = get_EmbedFile(&_result);
  3391. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3392. return _result;
  3393. }
  3394. #pragma implementation_key(528)
  3395. inline void VGCore::IPDFVBASettings::PutJP2QualityFactor ( int pnQuality ) {
  3396. HRESULT _hr = put_JP2QualityFactor(pnQuality);
  3397. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3398. }
  3399. #pragma implementation_key(529)
  3400. inline int VGCore::IPDFVBASettings::GetJP2QualityFactor ( ) {
  3401. int _result = 0;
  3402. HRESULT _hr = get_JP2QualityFactor(&_result);
  3403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3404. return _result;
  3405. }
  3406. #pragma implementation_key(530)
  3407. inline void VGCore::IPDFVBASettings::PutTextExportMode ( enum pdfTextExportMode pExportMode ) {
  3408. HRESULT _hr = put_TextExportMode(pExportMode);
  3409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3410. }
  3411. #pragma implementation_key(531)
  3412. inline enum VGCore::pdfTextExportMode VGCore::IPDFVBASettings::GetTextExportMode ( ) {
  3413. enum pdfTextExportMode _result;
  3414. HRESULT _hr = get_TextExportMode(&_result);
  3415. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3416. return _result;
  3417. }
  3418. #pragma implementation_key(532)
  3419. inline void VGCore::IPDFVBASettings::PutPrintPermissions ( enum pdfPrintPermissions pPrintPermission ) {
  3420. HRESULT _hr = put_PrintPermissions(pPrintPermission);
  3421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3422. }
  3423. #pragma implementation_key(533)
  3424. inline enum VGCore::pdfPrintPermissions VGCore::IPDFVBASettings::GetPrintPermissions ( ) {
  3425. enum pdfPrintPermissions _result;
  3426. HRESULT _hr = get_PrintPermissions(&_result);
  3427. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3428. return _result;
  3429. }
  3430. #pragma implementation_key(534)
  3431. inline void VGCore::IPDFVBASettings::PutEditPermissions ( enum pdfEditPermissions pEditPermission ) {
  3432. HRESULT _hr = put_EditPermissions(pEditPermission);
  3433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3434. }
  3435. #pragma implementation_key(535)
  3436. inline enum VGCore::pdfEditPermissions VGCore::IPDFVBASettings::GetEditPermissions ( ) {
  3437. enum pdfEditPermissions _result;
  3438. HRESULT _hr = get_EditPermissions(&_result);
  3439. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3440. return _result;
  3441. }
  3442. #pragma implementation_key(536)
  3443. inline void VGCore::IPDFVBASettings::PutContentCopyingAllowed ( VARIANT_BOOL pbEnable ) {
  3444. HRESULT _hr = put_ContentCopyingAllowed(pbEnable);
  3445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3446. }
  3447. #pragma implementation_key(537)
  3448. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetContentCopyingAllowed ( ) {
  3449. VARIANT_BOOL _result = 0;
  3450. HRESULT _hr = get_ContentCopyingAllowed(&_result);
  3451. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3452. return _result;
  3453. }
  3454. #pragma implementation_key(538)
  3455. inline void VGCore::IPDFVBASettings::PutOpenPassword ( _bstr_t pszOpenPassword ) {
  3456. HRESULT _hr = put_OpenPassword(pszOpenPassword);
  3457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3458. }
  3459. #pragma implementation_key(539)
  3460. inline _bstr_t VGCore::IPDFVBASettings::GetOpenPassword ( ) {
  3461. BSTR _result = 0;
  3462. HRESULT _hr = get_OpenPassword(&_result);
  3463. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3464. return _bstr_t(_result, false);
  3465. }
  3466. #pragma implementation_key(540)
  3467. inline void VGCore::IPDFVBASettings::PutPermissionPassword ( _bstr_t pszPermissionPassword ) {
  3468. HRESULT _hr = put_PermissionPassword(pszPermissionPassword);
  3469. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3470. }
  3471. #pragma implementation_key(541)
  3472. inline _bstr_t VGCore::IPDFVBASettings::GetPermissionPassword ( ) {
  3473. BSTR _result = 0;
  3474. HRESULT _hr = get_PermissionPassword(&_result);
  3475. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3476. return _bstr_t(_result, false);
  3477. }
  3478. #pragma implementation_key(542)
  3479. inline void VGCore::IPDFVBASettings::PutConvertSpotColors ( VARIANT_BOOL pbConvertSpotColors ) {
  3480. HRESULT _hr = put_ConvertSpotColors(pbConvertSpotColors);
  3481. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3482. }
  3483. #pragma implementation_key(543)
  3484. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetConvertSpotColors ( ) {
  3485. VARIANT_BOOL _result = 0;
  3486. HRESULT _hr = get_ConvertSpotColors(&_result);
  3487. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3488. return _result;
  3489. }
  3490. #pragma implementation_key(544)
  3491. inline void VGCore::IPDFVBASettings::PutEncryptType ( enum pdfEncryptionType peEncryptType ) {
  3492. HRESULT _hr = put_EncryptType(peEncryptType);
  3493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3494. }
  3495. #pragma implementation_key(545)
  3496. inline enum VGCore::pdfEncryptionType VGCore::IPDFVBASettings::GetEncryptType ( ) {
  3497. enum pdfEncryptionType _result;
  3498. HRESULT _hr = get_EncryptType(&_result);
  3499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3500. return _result;
  3501. }
  3502. #pragma implementation_key(546)
  3503. inline void VGCore::IPDFVBASettings::PutOutputSpotColorsAs ( enum pdfSpotType pnConvertSpotColorsTo ) {
  3504. HRESULT _hr = put_OutputSpotColorsAs(pnConvertSpotColorsTo);
  3505. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3506. }
  3507. #pragma implementation_key(547)
  3508. inline enum VGCore::pdfSpotType VGCore::IPDFVBASettings::GetOutputSpotColorsAs ( ) {
  3509. enum pdfSpotType _result;
  3510. HRESULT _hr = get_OutputSpotColorsAs(&_result);
  3511. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3512. return _result;
  3513. }
  3514. #pragma implementation_key(548)
  3515. inline void VGCore::IPDFVBASettings::PutOverprintBlackLimit ( int pnOverprintBlackLimit ) {
  3516. HRESULT _hr = put_OverprintBlackLimit(pnOverprintBlackLimit);
  3517. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3518. }
  3519. #pragma implementation_key(549)
  3520. inline int VGCore::IPDFVBASettings::GetOverprintBlackLimit ( ) {
  3521. int _result = 0;
  3522. HRESULT _hr = get_OverprintBlackLimit(&_result);
  3523. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3524. return _result;
  3525. }
  3526. #pragma implementation_key(550)
  3527. inline void VGCore::IPDFVBASettings::PutProtectedTextAsCurves ( VARIANT_BOOL pbProtectedTextAsCurves ) {
  3528. HRESULT _hr = put_ProtectedTextAsCurves(pbProtectedTextAsCurves);
  3529. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3530. }
  3531. #pragma implementation_key(551)
  3532. inline VARIANT_BOOL VGCore::IPDFVBASettings::GetProtectedTextAsCurves ( ) {
  3533. VARIANT_BOOL _result = 0;
  3534. HRESULT _hr = get_ProtectedTextAsCurves(&_result);
  3535. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3536. return _result;
  3537. }
  3538. //
  3539. // interface IVGRectangle wrapper method implementations
  3540. //
  3541. #pragma implementation_key(552)
  3542. inline long VGCore::IVGRectangle::GetCornerUpperLeft ( ) {
  3543. long _result = 0;
  3544. HRESULT _hr = get_CornerUpperLeft(&_result);
  3545. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3546. return _result;
  3547. }
  3548. #pragma implementation_key(553)
  3549. inline void VGCore::IVGRectangle::PutCornerUpperLeft ( long pVal ) {
  3550. HRESULT _hr = put_CornerUpperLeft(pVal);
  3551. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3552. }
  3553. #pragma implementation_key(554)
  3554. inline long VGCore::IVGRectangle::GetCornerUpperRight ( ) {
  3555. long _result = 0;
  3556. HRESULT _hr = get_CornerUpperRight(&_result);
  3557. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3558. return _result;
  3559. }
  3560. #pragma implementation_key(555)
  3561. inline void VGCore::IVGRectangle::PutCornerUpperRight ( long pVal ) {
  3562. HRESULT _hr = put_CornerUpperRight(pVal);
  3563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3564. }
  3565. #pragma implementation_key(556)
  3566. inline long VGCore::IVGRectangle::GetCornerLowerLeft ( ) {
  3567. long _result = 0;
  3568. HRESULT _hr = get_CornerLowerLeft(&_result);
  3569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3570. return _result;
  3571. }
  3572. #pragma implementation_key(557)
  3573. inline void VGCore::IVGRectangle::PutCornerLowerLeft ( long pVal ) {
  3574. HRESULT _hr = put_CornerLowerLeft(pVal);
  3575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3576. }
  3577. #pragma implementation_key(558)
  3578. inline long VGCore::IVGRectangle::GetCornerLowerRight ( ) {
  3579. long _result = 0;
  3580. HRESULT _hr = get_CornerLowerRight(&_result);
  3581. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3582. return _result;
  3583. }
  3584. #pragma implementation_key(559)
  3585. inline void VGCore::IVGRectangle::PutCornerLowerRight ( long pVal ) {
  3586. HRESULT _hr = put_CornerLowerRight(pVal);
  3587. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3588. }
  3589. #pragma implementation_key(560)
  3590. inline VARIANT_BOOL VGCore::IVGRectangle::GetEqualCorners ( ) {
  3591. VARIANT_BOOL _result = 0;
  3592. HRESULT _hr = get_EqualCorners(&_result);
  3593. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3594. return _result;
  3595. }
  3596. #pragma implementation_key(561)
  3597. inline double VGCore::IVGRectangle::GetMaxRadius ( ) {
  3598. double _result = 0;
  3599. HRESULT _hr = get_MaxRadius(&_result);
  3600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3601. return _result;
  3602. }
  3603. #pragma implementation_key(562)
  3604. inline HRESULT VGCore::IVGRectangle::SetRoundness ( long Roundness ) {
  3605. HRESULT _hr = raw_SetRoundness(Roundness);
  3606. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3607. return _hr;
  3608. }
  3609. #pragma implementation_key(563)
  3610. inline HRESULT VGCore::IVGRectangle::SetRadius ( double Radius ) {
  3611. HRESULT _hr = raw_SetRadius(Radius);
  3612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3613. return _hr;
  3614. }
  3615. #pragma implementation_key(564)
  3616. inline double VGCore::IVGRectangle::GetRadiusUpperLeft ( ) {
  3617. double _result = 0;
  3618. HRESULT _hr = get_RadiusUpperLeft(&_result);
  3619. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3620. return _result;
  3621. }
  3622. #pragma implementation_key(565)
  3623. inline void VGCore::IVGRectangle::PutRadiusUpperLeft ( double pVal ) {
  3624. HRESULT _hr = put_RadiusUpperLeft(pVal);
  3625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3626. }
  3627. #pragma implementation_key(566)
  3628. inline double VGCore::IVGRectangle::GetRadiusUpperRight ( ) {
  3629. double _result = 0;
  3630. HRESULT _hr = get_RadiusUpperRight(&_result);
  3631. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3632. return _result;
  3633. }
  3634. #pragma implementation_key(567)
  3635. inline void VGCore::IVGRectangle::PutRadiusUpperRight ( double pVal ) {
  3636. HRESULT _hr = put_RadiusUpperRight(pVal);
  3637. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3638. }
  3639. #pragma implementation_key(568)
  3640. inline double VGCore::IVGRectangle::GetRadiusLowerLeft ( ) {
  3641. double _result = 0;
  3642. HRESULT _hr = get_RadiusLowerLeft(&_result);
  3643. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3644. return _result;
  3645. }
  3646. #pragma implementation_key(569)
  3647. inline void VGCore::IVGRectangle::PutRadiusLowerLeft ( double pVal ) {
  3648. HRESULT _hr = put_RadiusLowerLeft(pVal);
  3649. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3650. }
  3651. #pragma implementation_key(570)
  3652. inline double VGCore::IVGRectangle::GetRadiusLowerRight ( ) {
  3653. double _result = 0;
  3654. HRESULT _hr = get_RadiusLowerRight(&_result);
  3655. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3656. return _result;
  3657. }
  3658. #pragma implementation_key(571)
  3659. inline void VGCore::IVGRectangle::PutRadiusLowerRight ( double pVal ) {
  3660. HRESULT _hr = put_RadiusLowerRight(pVal);
  3661. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3662. }
  3663. #pragma implementation_key(572)
  3664. inline enum VGCore::cdrCornerType VGCore::IVGRectangle::GetCornerType ( ) {
  3665. enum cdrCornerType _result;
  3666. HRESULT _hr = get_CornerType(&_result);
  3667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3668. return _result;
  3669. }
  3670. #pragma implementation_key(573)
  3671. inline void VGCore::IVGRectangle::PutCornerType ( enum cdrCornerType pVal ) {
  3672. HRESULT _hr = put_CornerType(pVal);
  3673. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3674. }
  3675. #pragma implementation_key(574)
  3676. inline VARIANT_BOOL VGCore::IVGRectangle::GetRelativeCornerScaling ( ) {
  3677. VARIANT_BOOL _result = 0;
  3678. HRESULT _hr = get_RelativeCornerScaling(&_result);
  3679. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3680. return _result;
  3681. }
  3682. #pragma implementation_key(575)
  3683. inline void VGCore::IVGRectangle::PutRelativeCornerScaling ( VARIANT_BOOL pVal ) {
  3684. HRESULT _hr = put_RelativeCornerScaling(pVal);
  3685. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3686. }
  3687. //
  3688. // interface IVGEllipse wrapper method implementations
  3689. //
  3690. #pragma implementation_key(576)
  3691. inline enum VGCore::cdrEllipseType VGCore::IVGEllipse::GetType ( ) {
  3692. enum cdrEllipseType _result;
  3693. HRESULT _hr = get_Type(&_result);
  3694. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3695. return _result;
  3696. }
  3697. #pragma implementation_key(577)
  3698. inline void VGCore::IVGEllipse::PutType ( enum cdrEllipseType pVal ) {
  3699. HRESULT _hr = put_Type(pVal);
  3700. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3701. }
  3702. #pragma implementation_key(578)
  3703. inline double VGCore::IVGEllipse::GetStartAngle ( ) {
  3704. double _result = 0;
  3705. HRESULT _hr = get_StartAngle(&_result);
  3706. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3707. return _result;
  3708. }
  3709. #pragma implementation_key(579)
  3710. inline void VGCore::IVGEllipse::PutStartAngle ( double pVal ) {
  3711. HRESULT _hr = put_StartAngle(pVal);
  3712. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3713. }
  3714. #pragma implementation_key(580)
  3715. inline double VGCore::IVGEllipse::GetEndAngle ( ) {
  3716. double _result = 0;
  3717. HRESULT _hr = get_EndAngle(&_result);
  3718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3719. return _result;
  3720. }
  3721. #pragma implementation_key(581)
  3722. inline void VGCore::IVGEllipse::PutEndAngle ( double pVal ) {
  3723. HRESULT _hr = put_EndAngle(pVal);
  3724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3725. }
  3726. #pragma implementation_key(582)
  3727. inline VARIANT_BOOL VGCore::IVGEllipse::GetClockwise ( ) {
  3728. VARIANT_BOOL _result = 0;
  3729. HRESULT _hr = get_Clockwise(&_result);
  3730. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3731. return _result;
  3732. }
  3733. #pragma implementation_key(583)
  3734. inline void VGCore::IVGEllipse::PutClockwise ( VARIANT_BOOL pVal ) {
  3735. HRESULT _hr = put_Clockwise(pVal);
  3736. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3737. }
  3738. #pragma implementation_key(584)
  3739. inline double VGCore::IVGEllipse::GetCenterX ( ) {
  3740. double _result = 0;
  3741. HRESULT _hr = get_CenterX(&_result);
  3742. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3743. return _result;
  3744. }
  3745. #pragma implementation_key(585)
  3746. inline void VGCore::IVGEllipse::PutCenterX ( double pVal ) {
  3747. HRESULT _hr = put_CenterX(pVal);
  3748. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3749. }
  3750. #pragma implementation_key(586)
  3751. inline double VGCore::IVGEllipse::GetCenterY ( ) {
  3752. double _result = 0;
  3753. HRESULT _hr = get_CenterY(&_result);
  3754. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3755. return _result;
  3756. }
  3757. #pragma implementation_key(587)
  3758. inline void VGCore::IVGEllipse::PutCenterY ( double pVal ) {
  3759. HRESULT _hr = put_CenterY(pVal);
  3760. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3761. }
  3762. #pragma implementation_key(588)
  3763. inline double VGCore::IVGEllipse::GetHRadius ( ) {
  3764. double _result = 0;
  3765. HRESULT _hr = get_HRadius(&_result);
  3766. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3767. return _result;
  3768. }
  3769. #pragma implementation_key(589)
  3770. inline void VGCore::IVGEllipse::PutHRadius ( double pVal ) {
  3771. HRESULT _hr = put_HRadius(pVal);
  3772. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3773. }
  3774. #pragma implementation_key(590)
  3775. inline double VGCore::IVGEllipse::GetVRadius ( ) {
  3776. double _result = 0;
  3777. HRESULT _hr = get_VRadius(&_result);
  3778. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3779. return _result;
  3780. }
  3781. #pragma implementation_key(591)
  3782. inline void VGCore::IVGEllipse::PutVRadius ( double pVal ) {
  3783. HRESULT _hr = put_VRadius(pVal);
  3784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3785. }
  3786. #pragma implementation_key(592)
  3787. inline HRESULT VGCore::IVGEllipse::SetCenterPosition ( double PositionX, double PositionY ) {
  3788. HRESULT _hr = raw_SetCenterPosition(PositionX, PositionY);
  3789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3790. return _hr;
  3791. }
  3792. #pragma implementation_key(593)
  3793. inline HRESULT VGCore::IVGEllipse::GetCenterPosition ( double * PositionX, double * PositionY ) {
  3794. HRESULT _hr = raw_GetCenterPosition(PositionX, PositionY);
  3795. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3796. return _hr;
  3797. }
  3798. #pragma implementation_key(594)
  3799. inline HRESULT VGCore::IVGEllipse::SetRadius ( double HRadius, double VRadius ) {
  3800. HRESULT _hr = raw_SetRadius(HRadius, VRadius);
  3801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3802. return _hr;
  3803. }
  3804. #pragma implementation_key(595)
  3805. inline HRESULT VGCore::IVGEllipse::GetRadius ( double * HRadius, double * VRadius ) {
  3806. HRESULT _hr = raw_GetRadius(HRadius, VRadius);
  3807. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3808. return _hr;
  3809. }
  3810. //
  3811. // interface IVGPolygon wrapper method implementations
  3812. //
  3813. #pragma implementation_key(596)
  3814. inline enum VGCore::cdrPolygonType VGCore::IVGPolygon::GetType ( ) {
  3815. enum cdrPolygonType _result;
  3816. HRESULT _hr = get_Type(&_result);
  3817. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3818. return _result;
  3819. }
  3820. #pragma implementation_key(597)
  3821. inline void VGCore::IVGPolygon::PutType ( enum cdrPolygonType pVal ) {
  3822. HRESULT _hr = put_Type(pVal);
  3823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3824. }
  3825. #pragma implementation_key(598)
  3826. inline long VGCore::IVGPolygon::GetSides ( ) {
  3827. long _result = 0;
  3828. HRESULT _hr = get_Sides(&_result);
  3829. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3830. return _result;
  3831. }
  3832. #pragma implementation_key(599)
  3833. inline void VGCore::IVGPolygon::PutSides ( long pVal ) {
  3834. HRESULT _hr = put_Sides(pVal);
  3835. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3836. }
  3837. #pragma implementation_key(600)
  3838. inline long VGCore::IVGPolygon::GetSharpness ( ) {
  3839. long _result = 0;
  3840. HRESULT _hr = get_Sharpness(&_result);
  3841. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3842. return _result;
  3843. }
  3844. #pragma implementation_key(601)
  3845. inline void VGCore::IVGPolygon::PutSharpness ( long pVal ) {
  3846. HRESULT _hr = put_Sharpness(pVal);
  3847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3848. }
  3849. //
  3850. // interface IVGCrossPoint wrapper method implementations
  3851. //
  3852. #pragma implementation_key(602)
  3853. inline double VGCore::IVGCrossPoint::GetPositionX ( ) {
  3854. double _result = 0;
  3855. HRESULT _hr = get_PositionX(&_result);
  3856. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3857. return _result;
  3858. }
  3859. #pragma implementation_key(603)
  3860. inline double VGCore::IVGCrossPoint::GetPositionY ( ) {
  3861. double _result = 0;
  3862. HRESULT _hr = get_PositionY(&_result);
  3863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3864. return _result;
  3865. }
  3866. #pragma implementation_key(604)
  3867. inline double VGCore::IVGCrossPoint::GetOffset ( ) {
  3868. double _result = 0;
  3869. HRESULT _hr = get_Offset(&_result);
  3870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3871. return _result;
  3872. }
  3873. #pragma implementation_key(605)
  3874. inline double VGCore::IVGCrossPoint::GetOffset2 ( ) {
  3875. double _result = 0;
  3876. HRESULT _hr = get_Offset2(&_result);
  3877. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3878. return _result;
  3879. }
  3880. //
  3881. // interface IVGCrossPoints wrapper method implementations
  3882. //
  3883. #pragma implementation_key(606)
  3884. inline VGCore::IVGCrossPointPtr VGCore::IVGCrossPoints::GetItem ( long Index ) {
  3885. struct IVGCrossPoint * _result = 0;
  3886. HRESULT _hr = get_Item(Index, &_result);
  3887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3888. return IVGCrossPointPtr(_result, false);
  3889. }
  3890. #pragma implementation_key(607)
  3891. inline IUnknownPtr VGCore::IVGCrossPoints::Get_NewEnum ( ) {
  3892. IUnknown * _result = 0;
  3893. HRESULT _hr = get__NewEnum(&_result);
  3894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3895. return IUnknownPtr(_result, false);
  3896. }
  3897. #pragma implementation_key(608)
  3898. inline long VGCore::IVGCrossPoints::GetCount ( ) {
  3899. long _result = 0;
  3900. HRESULT _hr = get_Count(&_result);
  3901. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3902. return _result;
  3903. }
  3904. //
  3905. // interface IVGStructPaletteOptions wrapper method implementations
  3906. //
  3907. #pragma implementation_key(609)
  3908. inline void VGCore::IVGStructPaletteOptions::PutNumColors ( long pVal ) {
  3909. HRESULT _hr = put_NumColors(pVal);
  3910. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3911. }
  3912. #pragma implementation_key(610)
  3913. inline long VGCore::IVGStructPaletteOptions::GetNumColors ( ) {
  3914. long _result = 0;
  3915. HRESULT _hr = get_NumColors(&_result);
  3916. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3917. return _result;
  3918. }
  3919. #pragma implementation_key(611)
  3920. inline void VGCore::IVGStructPaletteOptions::PutDitherIntensity ( long pVal ) {
  3921. HRESULT _hr = put_DitherIntensity(pVal);
  3922. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3923. }
  3924. #pragma implementation_key(612)
  3925. inline long VGCore::IVGStructPaletteOptions::GetDitherIntensity ( ) {
  3926. long _result = 0;
  3927. HRESULT _hr = get_DitherIntensity(&_result);
  3928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3929. return _result;
  3930. }
  3931. #pragma implementation_key(613)
  3932. inline void VGCore::IVGStructPaletteOptions::PutSmoothing ( long pVal ) {
  3933. HRESULT _hr = put_Smoothing(pVal);
  3934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3935. }
  3936. #pragma implementation_key(614)
  3937. inline long VGCore::IVGStructPaletteOptions::GetSmoothing ( ) {
  3938. long _result = 0;
  3939. HRESULT _hr = get_Smoothing(&_result);
  3940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3941. return _result;
  3942. }
  3943. #pragma implementation_key(615)
  3944. inline void VGCore::IVGStructPaletteOptions::PutDitherType ( enum cdrDitherType pVal ) {
  3945. HRESULT _hr = put_DitherType(pVal);
  3946. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3947. }
  3948. #pragma implementation_key(616)
  3949. inline enum VGCore::cdrDitherType VGCore::IVGStructPaletteOptions::GetDitherType ( ) {
  3950. enum cdrDitherType _result;
  3951. HRESULT _hr = get_DitherType(&_result);
  3952. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3953. return _result;
  3954. }
  3955. #pragma implementation_key(617)
  3956. inline void VGCore::IVGStructPaletteOptions::PutPaletteType ( enum cdrImagePaletteType pVal ) {
  3957. HRESULT _hr = put_PaletteType(pVal);
  3958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3959. }
  3960. #pragma implementation_key(618)
  3961. inline enum VGCore::cdrImagePaletteType VGCore::IVGStructPaletteOptions::GetPaletteType ( ) {
  3962. enum cdrImagePaletteType _result;
  3963. HRESULT _hr = get_PaletteType(&_result);
  3964. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3965. return _result;
  3966. }
  3967. #pragma implementation_key(619)
  3968. inline void VGCore::IVGStructPaletteOptions::PutImportance ( long pVal ) {
  3969. HRESULT _hr = put_Importance(pVal);
  3970. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3971. }
  3972. #pragma implementation_key(620)
  3973. inline long VGCore::IVGStructPaletteOptions::GetImportance ( ) {
  3974. long _result = 0;
  3975. HRESULT _hr = get_Importance(&_result);
  3976. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3977. return _result;
  3978. }
  3979. #pragma implementation_key(621)
  3980. inline void VGCore::IVGStructPaletteOptions::PutLightness ( long pVal ) {
  3981. HRESULT _hr = put_Lightness(pVal);
  3982. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3983. }
  3984. #pragma implementation_key(622)
  3985. inline long VGCore::IVGStructPaletteOptions::GetLightness ( ) {
  3986. long _result = 0;
  3987. HRESULT _hr = get_Lightness(&_result);
  3988. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3989. return _result;
  3990. }
  3991. #pragma implementation_key(623)
  3992. inline void VGCore::IVGStructPaletteOptions::PutToleranceA ( long pVal ) {
  3993. HRESULT _hr = put_ToleranceA(pVal);
  3994. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  3995. }
  3996. #pragma implementation_key(624)
  3997. inline long VGCore::IVGStructPaletteOptions::GetToleranceA ( ) {
  3998. long _result = 0;
  3999. HRESULT _hr = get_ToleranceA(&_result);
  4000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4001. return _result;
  4002. }
  4003. #pragma implementation_key(625)
  4004. inline void VGCore::IVGStructPaletteOptions::PutToleranceB ( long pVal ) {
  4005. HRESULT _hr = put_ToleranceB(pVal);
  4006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4007. }
  4008. #pragma implementation_key(626)
  4009. inline long VGCore::IVGStructPaletteOptions::GetToleranceB ( ) {
  4010. long _result = 0;
  4011. HRESULT _hr = get_ToleranceB(&_result);
  4012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4013. return _result;
  4014. }
  4015. #pragma implementation_key(627)
  4016. inline void VGCore::IVGStructPaletteOptions::PutColorSensitive ( VARIANT_BOOL pVal ) {
  4017. HRESULT _hr = put_ColorSensitive(pVal);
  4018. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4019. }
  4020. #pragma implementation_key(628)
  4021. inline VARIANT_BOOL VGCore::IVGStructPaletteOptions::GetColorSensitive ( ) {
  4022. VARIANT_BOOL _result = 0;
  4023. HRESULT _hr = get_ColorSensitive(&_result);
  4024. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4025. return _result;
  4026. }
  4027. #pragma implementation_key(629)
  4028. inline void VGCore::IVGStructPaletteOptions::PutTargetColor ( long pVal ) {
  4029. HRESULT _hr = put_TargetColor(pVal);
  4030. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4031. }
  4032. #pragma implementation_key(630)
  4033. inline long VGCore::IVGStructPaletteOptions::GetTargetColor ( ) {
  4034. long _result = 0;
  4035. HRESULT _hr = get_TargetColor(&_result);
  4036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4037. return _result;
  4038. }
  4039. #pragma implementation_key(631)
  4040. inline void VGCore::IVGStructPaletteOptions::PutPalette ( const _variant_t & pVal ) {
  4041. HRESULT _hr = put_Palette(pVal);
  4042. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4043. }
  4044. #pragma implementation_key(632)
  4045. inline _variant_t VGCore::IVGStructPaletteOptions::GetPalette ( ) {
  4046. VARIANT _result;
  4047. VariantInit(&_result);
  4048. HRESULT _hr = get_Palette(&_result);
  4049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4050. return _variant_t(_result, false);
  4051. }
  4052. //
  4053. // interface IVGOutlineStyle wrapper method implementations
  4054. //
  4055. #pragma implementation_key(633)
  4056. inline long VGCore::IVGOutlineStyle::GetIndex ( ) {
  4057. long _result = 0;
  4058. HRESULT _hr = get_Index(&_result);
  4059. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4060. return _result;
  4061. }
  4062. #pragma implementation_key(634)
  4063. inline long VGCore::IVGOutlineStyle::GetDashCount ( ) {
  4064. long _result = 0;
  4065. HRESULT _hr = get_DashCount(&_result);
  4066. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4067. return _result;
  4068. }
  4069. #pragma implementation_key(635)
  4070. inline void VGCore::IVGOutlineStyle::PutDashCount ( long pVal ) {
  4071. HRESULT _hr = put_DashCount(pVal);
  4072. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4073. }
  4074. #pragma implementation_key(636)
  4075. inline long VGCore::IVGOutlineStyle::GetDashLength ( long Index ) {
  4076. long _result = 0;
  4077. HRESULT _hr = get_DashLength(Index, &_result);
  4078. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4079. return _result;
  4080. }
  4081. #pragma implementation_key(637)
  4082. inline void VGCore::IVGOutlineStyle::PutDashLength ( long Index, long pVal ) {
  4083. HRESULT _hr = put_DashLength(Index, pVal);
  4084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4085. }
  4086. #pragma implementation_key(638)
  4087. inline long VGCore::IVGOutlineStyle::GetGapLength ( long Index ) {
  4088. long _result = 0;
  4089. HRESULT _hr = get_GapLength(Index, &_result);
  4090. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4091. return _result;
  4092. }
  4093. #pragma implementation_key(639)
  4094. inline void VGCore::IVGOutlineStyle::PutGapLength ( long Index, long pVal ) {
  4095. HRESULT _hr = put_GapLength(Index, pVal);
  4096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4097. }
  4098. #pragma implementation_key(640)
  4099. inline VARIANT_BOOL VGCore::IVGOutlineStyle::GetEnhanced ( ) {
  4100. VARIANT_BOOL _result = 0;
  4101. HRESULT _hr = get_Enhanced(&_result);
  4102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4103. return _result;
  4104. }
  4105. //
  4106. // interface IVGPatternCanvas wrapper method implementations
  4107. //
  4108. #pragma implementation_key(641)
  4109. inline enum VGCore::cdrPatternCanvasSize VGCore::IVGPatternCanvas::GetSize ( ) {
  4110. enum cdrPatternCanvasSize _result;
  4111. HRESULT _hr = get_Size(&_result);
  4112. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4113. return _result;
  4114. }
  4115. #pragma implementation_key(642)
  4116. inline void VGCore::IVGPatternCanvas::PutSize ( enum cdrPatternCanvasSize pVal ) {
  4117. HRESULT _hr = put_Size(pVal);
  4118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4119. }
  4120. #pragma implementation_key(643)
  4121. inline VARIANT_BOOL VGCore::IVGPatternCanvas::GetPixel ( long x, long y ) {
  4122. VARIANT_BOOL _result = 0;
  4123. HRESULT _hr = get_Pixel(x, y, &_result);
  4124. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4125. return _result;
  4126. }
  4127. #pragma implementation_key(644)
  4128. inline void VGCore::IVGPatternCanvas::PutPixel ( long x, long y, VARIANT_BOOL pVal ) {
  4129. HRESULT _hr = put_Pixel(x, y, pVal);
  4130. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4131. }
  4132. #pragma implementation_key(645)
  4133. inline long VGCore::IVGPatternCanvas::GetIndex ( ) {
  4134. long _result = 0;
  4135. HRESULT _hr = get_Index(&_result);
  4136. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4137. return _result;
  4138. }
  4139. #pragma implementation_key(646)
  4140. inline HRESULT VGCore::IVGPatternCanvas::FillArea ( long x1, long y1, long x2, long y2, VARIANT_BOOL State ) {
  4141. HRESULT _hr = raw_FillArea(x1, y1, x2, y2, State);
  4142. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4143. return _hr;
  4144. }
  4145. #pragma implementation_key(647)
  4146. inline HRESULT VGCore::IVGPatternCanvas::CopyArea ( long x1, long y1, long x2, long y2, long x, long y ) {
  4147. HRESULT _hr = raw_CopyArea(x1, y1, x2, y2, x, y);
  4148. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4149. return _hr;
  4150. }
  4151. #pragma implementation_key(648)
  4152. inline HRESULT VGCore::IVGPatternCanvas::FlipArea ( long x1, long y1, long x2, long y2, enum cdrFlipAxes Axes ) {
  4153. HRESULT _hr = raw_FlipArea(x1, y1, x2, y2, Axes);
  4154. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4155. return _hr;
  4156. }
  4157. #pragma implementation_key(649)
  4158. inline HRESULT VGCore::IVGPatternCanvas::RotateArea ( long x1, long y1, long x2, long y2, double Angle ) {
  4159. HRESULT _hr = raw_RotateArea(x1, y1, x2, y2, Angle);
  4160. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4161. return _hr;
  4162. }
  4163. #pragma implementation_key(650)
  4164. inline HRESULT VGCore::IVGPatternCanvas::Select ( long Index ) {
  4165. HRESULT _hr = raw_Select(Index);
  4166. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4167. return _hr;
  4168. }
  4169. #pragma implementation_key(651)
  4170. inline HRESULT VGCore::IVGPatternCanvas::Clear ( ) {
  4171. HRESULT _hr = raw_Clear();
  4172. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4173. return _hr;
  4174. }
  4175. #pragma implementation_key(652)
  4176. inline HRESULT VGCore::IVGPatternCanvas::PutCopy ( struct IVGPatternCanvas * PatternCanvas ) {
  4177. HRESULT _hr = raw_PutCopy(PatternCanvas);
  4178. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4179. return _hr;
  4180. }
  4181. #pragma implementation_key(653)
  4182. inline long VGCore::IVGPatternCanvas::GetWidth ( ) {
  4183. long _result = 0;
  4184. HRESULT _hr = get_Width(&_result);
  4185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4186. return _result;
  4187. }
  4188. #pragma implementation_key(654)
  4189. inline void VGCore::IVGPatternCanvas::PutWidth ( long pVal ) {
  4190. HRESULT _hr = put_Width(pVal);
  4191. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4192. }
  4193. #pragma implementation_key(655)
  4194. inline long VGCore::IVGPatternCanvas::GetHeight ( ) {
  4195. long _result = 0;
  4196. HRESULT _hr = get_Height(&_result);
  4197. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4198. return _result;
  4199. }
  4200. #pragma implementation_key(656)
  4201. inline void VGCore::IVGPatternCanvas::PutHeight ( long pVal ) {
  4202. HRESULT _hr = put_Height(pVal);
  4203. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4204. }
  4205. #pragma implementation_key(657)
  4206. inline _bstr_t VGCore::IVGPatternCanvas::GetData ( ) {
  4207. BSTR _result = 0;
  4208. HRESULT _hr = get_Data(&_result);
  4209. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4210. return _bstr_t(_result, false);
  4211. }
  4212. #pragma implementation_key(658)
  4213. inline void VGCore::IVGPatternCanvas::PutData ( _bstr_t pVal ) {
  4214. HRESULT _hr = put_Data(pVal);
  4215. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4216. }
  4217. #pragma implementation_key(659)
  4218. inline HRESULT VGCore::IVGPatternCanvas::PSet ( short Step, long x, long y, VARIANT_BOOL Color ) {
  4219. HRESULT _hr = raw_PSet(Step, x, y, Color);
  4220. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4221. return _hr;
  4222. }
  4223. #pragma implementation_key(660)
  4224. inline HRESULT VGCore::IVGPatternCanvas::Line ( short Flags, long x1, long y1, long x2, long y2, VARIANT_BOOL Color ) {
  4225. HRESULT _hr = raw_Line(Flags, x1, y1, x2, y2, Color);
  4226. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4227. return _hr;
  4228. }
  4229. //
  4230. // interface IVGTextureFillProperty wrapper method implementations
  4231. //
  4232. #pragma implementation_key(661)
  4233. inline _bstr_t VGCore::IVGTextureFillProperty::GetName ( ) {
  4234. BSTR _result = 0;
  4235. HRESULT _hr = get_Name(&_result);
  4236. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4237. return _bstr_t(_result, false);
  4238. }
  4239. #pragma implementation_key(662)
  4240. inline enum VGCore::cdrTexturePropertyType VGCore::IVGTextureFillProperty::GetType ( ) {
  4241. enum cdrTexturePropertyType _result;
  4242. HRESULT _hr = get_Type(&_result);
  4243. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4244. return _result;
  4245. }
  4246. #pragma implementation_key(663)
  4247. inline _variant_t VGCore::IVGTextureFillProperty::GetValue ( ) {
  4248. VARIANT _result;
  4249. VariantInit(&_result);
  4250. HRESULT _hr = get_Value(&_result);
  4251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4252. return _variant_t(_result, false);
  4253. }
  4254. #pragma implementation_key(664)
  4255. inline void VGCore::IVGTextureFillProperty::PutValue ( const _variant_t & pVal ) {
  4256. HRESULT _hr = put_Value(pVal);
  4257. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4258. }
  4259. //
  4260. // interface IVGTextureFillProperties wrapper method implementations
  4261. //
  4262. #pragma implementation_key(665)
  4263. inline long VGCore::IVGTextureFillProperties::GetCount ( ) {
  4264. long _result = 0;
  4265. HRESULT _hr = get_Count(&_result);
  4266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4267. return _result;
  4268. }
  4269. #pragma implementation_key(666)
  4270. inline VGCore::IVGTextureFillPropertyPtr VGCore::IVGTextureFillProperties::GetItem ( const _variant_t & IndexOrName ) {
  4271. struct IVGTextureFillProperty * _result = 0;
  4272. HRESULT _hr = get_Item(IndexOrName, &_result);
  4273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4274. return IVGTextureFillPropertyPtr(_result, false);
  4275. }
  4276. #pragma implementation_key(667)
  4277. inline IUnknownPtr VGCore::IVGTextureFillProperties::Get_NewEnum ( ) {
  4278. IUnknown * _result = 0;
  4279. HRESULT _hr = get__NewEnum(&_result);
  4280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4281. return IUnknownPtr(_result, false);
  4282. }
  4283. //
  4284. // interface IVGTextureFill wrapper method implementations
  4285. //
  4286. #pragma implementation_key(668)
  4287. inline double VGCore::IVGTextureFill::GetOriginX ( ) {
  4288. double _result = 0;
  4289. HRESULT _hr = get_OriginX(&_result);
  4290. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4291. return _result;
  4292. }
  4293. #pragma implementation_key(669)
  4294. inline void VGCore::IVGTextureFill::PutOriginX ( double pVal ) {
  4295. HRESULT _hr = put_OriginX(pVal);
  4296. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4297. }
  4298. #pragma implementation_key(670)
  4299. inline double VGCore::IVGTextureFill::GetOriginY ( ) {
  4300. double _result = 0;
  4301. HRESULT _hr = get_OriginY(&_result);
  4302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4303. return _result;
  4304. }
  4305. #pragma implementation_key(671)
  4306. inline void VGCore::IVGTextureFill::PutOriginY ( double pVal ) {
  4307. HRESULT _hr = put_OriginY(pVal);
  4308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4309. }
  4310. #pragma implementation_key(672)
  4311. inline double VGCore::IVGTextureFill::GetTileWidth ( ) {
  4312. double _result = 0;
  4313. HRESULT _hr = get_TileWidth(&_result);
  4314. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4315. return _result;
  4316. }
  4317. #pragma implementation_key(673)
  4318. inline void VGCore::IVGTextureFill::PutTileWidth ( double pVal ) {
  4319. HRESULT _hr = put_TileWidth(pVal);
  4320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4321. }
  4322. #pragma implementation_key(674)
  4323. inline double VGCore::IVGTextureFill::GetTileHeight ( ) {
  4324. double _result = 0;
  4325. HRESULT _hr = get_TileHeight(&_result);
  4326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4327. return _result;
  4328. }
  4329. #pragma implementation_key(675)
  4330. inline void VGCore::IVGTextureFill::PutTileHeight ( double pVal ) {
  4331. HRESULT _hr = put_TileHeight(pVal);
  4332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4333. }
  4334. #pragma implementation_key(676)
  4335. inline enum VGCore::cdrTileOffsetType VGCore::IVGTextureFill::GetTileOffsetType ( ) {
  4336. enum cdrTileOffsetType _result;
  4337. HRESULT _hr = get_TileOffsetType(&_result);
  4338. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4339. return _result;
  4340. }
  4341. #pragma implementation_key(677)
  4342. inline void VGCore::IVGTextureFill::PutTileOffsetType ( enum cdrTileOffsetType pVal ) {
  4343. HRESULT _hr = put_TileOffsetType(pVal);
  4344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4345. }
  4346. #pragma implementation_key(678)
  4347. inline long VGCore::IVGTextureFill::GetTileOffset ( ) {
  4348. long _result = 0;
  4349. HRESULT _hr = get_TileOffset(&_result);
  4350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4351. return _result;
  4352. }
  4353. #pragma implementation_key(679)
  4354. inline void VGCore::IVGTextureFill::PutTileOffset ( long pVal ) {
  4355. HRESULT _hr = put_TileOffset(pVal);
  4356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4357. }
  4358. #pragma implementation_key(680)
  4359. inline double VGCore::IVGTextureFill::GetSkewAngle ( ) {
  4360. double _result = 0;
  4361. HRESULT _hr = get_SkewAngle(&_result);
  4362. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4363. return _result;
  4364. }
  4365. #pragma implementation_key(681)
  4366. inline void VGCore::IVGTextureFill::PutSkewAngle ( double pVal ) {
  4367. HRESULT _hr = put_SkewAngle(pVal);
  4368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4369. }
  4370. #pragma implementation_key(682)
  4371. inline double VGCore::IVGTextureFill::GetRotationAngle ( ) {
  4372. double _result = 0;
  4373. HRESULT _hr = get_RotationAngle(&_result);
  4374. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4375. return _result;
  4376. }
  4377. #pragma implementation_key(683)
  4378. inline void VGCore::IVGTextureFill::PutRotationAngle ( double pVal ) {
  4379. HRESULT _hr = put_RotationAngle(pVal);
  4380. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4381. }
  4382. #pragma implementation_key(684)
  4383. inline VARIANT_BOOL VGCore::IVGTextureFill::GetTransformWithShape ( ) {
  4384. VARIANT_BOOL _result = 0;
  4385. HRESULT _hr = get_TransformWithShape(&_result);
  4386. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4387. return _result;
  4388. }
  4389. #pragma implementation_key(685)
  4390. inline void VGCore::IVGTextureFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
  4391. HRESULT _hr = put_TransformWithShape(pVal);
  4392. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4393. }
  4394. #pragma implementation_key(686)
  4395. inline long VGCore::IVGTextureFill::GetResolution ( ) {
  4396. long _result = 0;
  4397. HRESULT _hr = get_Resolution(&_result);
  4398. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4399. return _result;
  4400. }
  4401. #pragma implementation_key(687)
  4402. inline void VGCore::IVGTextureFill::PutResolution ( long pVal ) {
  4403. HRESULT _hr = put_Resolution(pVal);
  4404. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4405. }
  4406. #pragma implementation_key(688)
  4407. inline long VGCore::IVGTextureFill::GetMaximumTileWidth ( ) {
  4408. long _result = 0;
  4409. HRESULT _hr = get_MaximumTileWidth(&_result);
  4410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4411. return _result;
  4412. }
  4413. #pragma implementation_key(689)
  4414. inline void VGCore::IVGTextureFill::PutMaximumTileWidth ( long pVal ) {
  4415. HRESULT _hr = put_MaximumTileWidth(pVal);
  4416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4417. }
  4418. #pragma implementation_key(690)
  4419. inline _bstr_t VGCore::IVGTextureFill::GetLibraryName ( ) {
  4420. BSTR _result = 0;
  4421. HRESULT _hr = get_LibraryName(&_result);
  4422. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4423. return _bstr_t(_result, false);
  4424. }
  4425. #pragma implementation_key(691)
  4426. inline _bstr_t VGCore::IVGTextureFill::GetTextureName ( ) {
  4427. BSTR _result = 0;
  4428. HRESULT _hr = get_TextureName(&_result);
  4429. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4430. return _bstr_t(_result, false);
  4431. }
  4432. #pragma implementation_key(692)
  4433. inline _bstr_t VGCore::IVGTextureFill::GetStyleName ( ) {
  4434. BSTR _result = 0;
  4435. HRESULT _hr = get_StyleName(&_result);
  4436. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4437. return _bstr_t(_result, false);
  4438. }
  4439. #pragma implementation_key(693)
  4440. inline HRESULT VGCore::IVGTextureFill::Select ( _bstr_t Texture, _bstr_t Library ) {
  4441. HRESULT _hr = raw_Select(Texture, Library);
  4442. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4443. return _hr;
  4444. }
  4445. #pragma implementation_key(694)
  4446. inline HRESULT VGCore::IVGTextureFill::SetProperties ( SAFEARRAY * * SettingArray ) {
  4447. HRESULT _hr = raw_SetProperties(SettingArray);
  4448. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4449. return _hr;
  4450. }
  4451. #pragma implementation_key(695)
  4452. inline VARIANT_BOOL VGCore::IVGTextureFill::GetMirrorFill ( ) {
  4453. VARIANT_BOOL _result = 0;
  4454. HRESULT _hr = get_MirrorFill(&_result);
  4455. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4456. return _result;
  4457. }
  4458. #pragma implementation_key(696)
  4459. inline void VGCore::IVGTextureFill::PutMirrorFill ( VARIANT_BOOL pVal ) {
  4460. HRESULT _hr = put_MirrorFill(pVal);
  4461. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4462. }
  4463. #pragma implementation_key(697)
  4464. inline VGCore::IVGTextureFillPropertiesPtr VGCore::IVGTextureFill::GetProperties ( ) {
  4465. struct IVGTextureFillProperties * _result = 0;
  4466. HRESULT _hr = get_Properties(&_result);
  4467. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4468. return IVGTextureFillPropertiesPtr(_result, false);
  4469. }
  4470. #pragma implementation_key(698)
  4471. inline VARIANT_BOOL VGCore::IVGTextureFill::GetMirrorFillX ( ) {
  4472. VARIANT_BOOL _result = 0;
  4473. HRESULT _hr = get_MirrorFillX(&_result);
  4474. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4475. return _result;
  4476. }
  4477. #pragma implementation_key(699)
  4478. inline void VGCore::IVGTextureFill::PutMirrorFillX ( VARIANT_BOOL pVal ) {
  4479. HRESULT _hr = put_MirrorFillX(pVal);
  4480. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4481. }
  4482. #pragma implementation_key(700)
  4483. inline VARIANT_BOOL VGCore::IVGTextureFill::GetMirrorFillY ( ) {
  4484. VARIANT_BOOL _result = 0;
  4485. HRESULT _hr = get_MirrorFillY(&_result);
  4486. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4487. return _result;
  4488. }
  4489. #pragma implementation_key(701)
  4490. inline void VGCore::IVGTextureFill::PutMirrorFillY ( VARIANT_BOOL pVal ) {
  4491. HRESULT _hr = put_MirrorFillY(pVal);
  4492. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4493. }
  4494. //
  4495. // interface IVGPostScriptFill wrapper method implementations
  4496. //
  4497. #pragma implementation_key(702)
  4498. inline _bstr_t VGCore::IVGPostScriptFill::GetName ( ) {
  4499. BSTR _result = 0;
  4500. HRESULT _hr = get_Name(&_result);
  4501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4502. return _bstr_t(_result, false);
  4503. }
  4504. #pragma implementation_key(703)
  4505. inline long VGCore::IVGPostScriptFill::GetIndex ( ) {
  4506. long _result = 0;
  4507. HRESULT _hr = get_Index(&_result);
  4508. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4509. return _result;
  4510. }
  4511. #pragma implementation_key(704)
  4512. inline long VGCore::IVGPostScriptFill::GetProperties ( long Index ) {
  4513. long _result = 0;
  4514. HRESULT _hr = get_Properties(Index, &_result);
  4515. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4516. return _result;
  4517. }
  4518. #pragma implementation_key(705)
  4519. inline void VGCore::IVGPostScriptFill::PutProperties ( long Index, long pVal ) {
  4520. HRESULT _hr = put_Properties(Index, pVal);
  4521. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4522. }
  4523. #pragma implementation_key(706)
  4524. inline HRESULT VGCore::IVGPostScriptFill::Select ( const _variant_t & IndexOrName ) {
  4525. HRESULT _hr = raw_Select(IndexOrName);
  4526. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4527. return _hr;
  4528. }
  4529. #pragma implementation_key(707)
  4530. inline HRESULT VGCore::IVGPostScriptFill::SetProperties ( long Param1, long Param2, long Param3, long Param4, long Param5 ) {
  4531. HRESULT _hr = raw_SetProperties(Param1, Param2, Param3, Param4, Param5);
  4532. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4533. return _hr;
  4534. }
  4535. //
  4536. // interface IVGPSScreenOptions wrapper method implementations
  4537. //
  4538. #pragma implementation_key(708)
  4539. inline long VGCore::IVGPSScreenOptions::GetIndex ( ) {
  4540. long _result = 0;
  4541. HRESULT _hr = get_Index(&_result);
  4542. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4543. return _result;
  4544. }
  4545. #pragma implementation_key(709)
  4546. inline _bstr_t VGCore::IVGPSScreenOptions::GetName ( ) {
  4547. BSTR _result = 0;
  4548. HRESULT _hr = get_Name(&_result);
  4549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4550. return _bstr_t(_result, false);
  4551. }
  4552. #pragma implementation_key(710)
  4553. inline double VGCore::IVGPSScreenOptions::GetAngle ( ) {
  4554. double _result = 0;
  4555. HRESULT _hr = get_Angle(&_result);
  4556. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4557. return _result;
  4558. }
  4559. #pragma implementation_key(711)
  4560. inline void VGCore::IVGPSScreenOptions::PutAngle ( double pVal ) {
  4561. HRESULT _hr = put_Angle(pVal);
  4562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4563. }
  4564. #pragma implementation_key(712)
  4565. inline long VGCore::IVGPSScreenOptions::GetFrequency ( ) {
  4566. long _result = 0;
  4567. HRESULT _hr = get_Frequency(&_result);
  4568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4569. return _result;
  4570. }
  4571. #pragma implementation_key(713)
  4572. inline void VGCore::IVGPSScreenOptions::PutFrequency ( long pVal ) {
  4573. HRESULT _hr = put_Frequency(pVal);
  4574. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4575. }
  4576. #pragma implementation_key(714)
  4577. inline VARIANT_BOOL VGCore::IVGPSScreenOptions::Select ( _bstr_t Name ) {
  4578. VARIANT_BOOL _result = 0;
  4579. HRESULT _hr = raw_Select(Name, &_result);
  4580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4581. return _result;
  4582. }
  4583. #pragma implementation_key(715)
  4584. inline VARIANT_BOOL VGCore::IVGPSScreenOptions::SetProperties ( const _variant_t & IndexOrName, double Angle, long Frequency ) {
  4585. VARIANT_BOOL _result = 0;
  4586. HRESULT _hr = raw_SetProperties(IndexOrName, Angle, Frequency, &_result);
  4587. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4588. return _result;
  4589. }
  4590. #pragma implementation_key(716)
  4591. inline _bstr_t VGCore::IVGPSScreenOptions::NameByIndex ( long Index ) {
  4592. BSTR _result = 0;
  4593. HRESULT _hr = raw_NameByIndex(Index, &_result);
  4594. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4595. return _bstr_t(_result, false);
  4596. }
  4597. #pragma implementation_key(717)
  4598. inline HRESULT VGCore::IVGPSScreenOptions::Reset ( ) {
  4599. HRESULT _hr = raw_Reset();
  4600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4601. return _hr;
  4602. }
  4603. #pragma implementation_key(718)
  4604. inline VARIANT_BOOL VGCore::IVGPSScreenOptions::UserAssign ( long ParentWindowHandle ) {
  4605. VARIANT_BOOL _result = 0;
  4606. HRESULT _hr = raw_UserAssign(ParentWindowHandle, &_result);
  4607. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4608. return _result;
  4609. }
  4610. //
  4611. // interface IVGArrowHeadOptions wrapper method implementations
  4612. //
  4613. #pragma implementation_key(719)
  4614. inline double VGCore::IVGArrowHeadOptions::GetLength ( ) {
  4615. double _result = 0;
  4616. HRESULT _hr = get_Length(&_result);
  4617. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4618. return _result;
  4619. }
  4620. #pragma implementation_key(720)
  4621. inline void VGCore::IVGArrowHeadOptions::PutLength ( double pVal ) {
  4622. HRESULT _hr = put_Length(pVal);
  4623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4624. }
  4625. #pragma implementation_key(721)
  4626. inline double VGCore::IVGArrowHeadOptions::GetWidth ( ) {
  4627. double _result = 0;
  4628. HRESULT _hr = get_Width(&_result);
  4629. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4630. return _result;
  4631. }
  4632. #pragma implementation_key(722)
  4633. inline void VGCore::IVGArrowHeadOptions::PutWidth ( double pVal ) {
  4634. HRESULT _hr = put_Width(pVal);
  4635. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4636. }
  4637. #pragma implementation_key(723)
  4638. inline double VGCore::IVGArrowHeadOptions::GetOffsetX ( ) {
  4639. double _result = 0;
  4640. HRESULT _hr = get_OffsetX(&_result);
  4641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4642. return _result;
  4643. }
  4644. #pragma implementation_key(724)
  4645. inline void VGCore::IVGArrowHeadOptions::PutOffsetX ( double pVal ) {
  4646. HRESULT _hr = put_OffsetX(pVal);
  4647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4648. }
  4649. #pragma implementation_key(725)
  4650. inline double VGCore::IVGArrowHeadOptions::GetOffsetY ( ) {
  4651. double _result = 0;
  4652. HRESULT _hr = get_OffsetY(&_result);
  4653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4654. return _result;
  4655. }
  4656. #pragma implementation_key(726)
  4657. inline void VGCore::IVGArrowHeadOptions::PutOffsetY ( double pVal ) {
  4658. HRESULT _hr = put_OffsetY(pVal);
  4659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4660. }
  4661. #pragma implementation_key(727)
  4662. inline VARIANT_BOOL VGCore::IVGArrowHeadOptions::GetFlipHorizontal ( ) {
  4663. VARIANT_BOOL _result = 0;
  4664. HRESULT _hr = get_FlipHorizontal(&_result);
  4665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4666. return _result;
  4667. }
  4668. #pragma implementation_key(728)
  4669. inline void VGCore::IVGArrowHeadOptions::PutFlipHorizontal ( VARIANT_BOOL pVal ) {
  4670. HRESULT _hr = put_FlipHorizontal(pVal);
  4671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4672. }
  4673. #pragma implementation_key(729)
  4674. inline VARIANT_BOOL VGCore::IVGArrowHeadOptions::GetFlipVertical ( ) {
  4675. VARIANT_BOOL _result = 0;
  4676. HRESULT _hr = get_FlipVertical(&_result);
  4677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4678. return _result;
  4679. }
  4680. #pragma implementation_key(730)
  4681. inline void VGCore::IVGArrowHeadOptions::PutFlipVertical ( VARIANT_BOOL pVal ) {
  4682. HRESULT _hr = put_FlipVertical(pVal);
  4683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4684. }
  4685. #pragma implementation_key(731)
  4686. inline HRESULT VGCore::IVGArrowHeadOptions::Flip ( enum cdrFlipAxes Axes ) {
  4687. HRESULT _hr = raw_Flip(Axes);
  4688. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4689. return _hr;
  4690. }
  4691. #pragma implementation_key(732)
  4692. inline double VGCore::IVGArrowHeadOptions::GetRotationAngle ( ) {
  4693. double _result = 0;
  4694. HRESULT _hr = get_RotationAngle(&_result);
  4695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4696. return _result;
  4697. }
  4698. #pragma implementation_key(733)
  4699. inline void VGCore::IVGArrowHeadOptions::PutRotationAngle ( double pVal ) {
  4700. HRESULT _hr = put_RotationAngle(pVal);
  4701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4702. }
  4703. #pragma implementation_key(734)
  4704. inline HRESULT VGCore::IVGArrowHeadOptions::CopyAssign ( struct IVGArrowHeadOptions * Source ) {
  4705. HRESULT _hr = raw_CopyAssign(Source);
  4706. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4707. return _hr;
  4708. }
  4709. #pragma implementation_key(735)
  4710. inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGArrowHeadOptions::GetCopy ( ) {
  4711. struct IVGArrowHeadOptions * _result = 0;
  4712. HRESULT _hr = raw_GetCopy(&_result);
  4713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4714. return IVGArrowHeadOptionsPtr(_result, false);
  4715. }
  4716. #pragma implementation_key(736)
  4717. inline VARIANT_BOOL VGCore::IVGArrowHeadOptions::GetFlipVerical ( ) {
  4718. VARIANT_BOOL _result = 0;
  4719. HRESULT _hr = get_FlipVerical(&_result);
  4720. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4721. return _result;
  4722. }
  4723. #pragma implementation_key(737)
  4724. inline void VGCore::IVGArrowHeadOptions::PutFlipVerical ( VARIANT_BOOL pVal ) {
  4725. HRESULT _hr = put_FlipVerical(pVal);
  4726. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4727. }
  4728. //
  4729. // interface IVGImageTile wrapper method implementations
  4730. //
  4731. #pragma implementation_key(738)
  4732. inline long VGCore::IVGImageTile::GetLeft ( ) {
  4733. long _result = 0;
  4734. HRESULT _hr = get_Left(&_result);
  4735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4736. return _result;
  4737. }
  4738. #pragma implementation_key(739)
  4739. inline long VGCore::IVGImageTile::GetTop ( ) {
  4740. long _result = 0;
  4741. HRESULT _hr = get_Top(&_result);
  4742. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4743. return _result;
  4744. }
  4745. #pragma implementation_key(740)
  4746. inline long VGCore::IVGImageTile::GetRight ( ) {
  4747. long _result = 0;
  4748. HRESULT _hr = get_Right(&_result);
  4749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4750. return _result;
  4751. }
  4752. #pragma implementation_key(741)
  4753. inline long VGCore::IVGImageTile::GetBottom ( ) {
  4754. long _result = 0;
  4755. HRESULT _hr = get_Bottom(&_result);
  4756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4757. return _result;
  4758. }
  4759. #pragma implementation_key(742)
  4760. inline long VGCore::IVGImageTile::GetWidth ( ) {
  4761. long _result = 0;
  4762. HRESULT _hr = get_Width(&_result);
  4763. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4764. return _result;
  4765. }
  4766. #pragma implementation_key(743)
  4767. inline long VGCore::IVGImageTile::GetHeight ( ) {
  4768. long _result = 0;
  4769. HRESULT _hr = get_Height(&_result);
  4770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4771. return _result;
  4772. }
  4773. #pragma implementation_key(744)
  4774. inline long VGCore::IVGImageTile::GetBytesPerTile ( ) {
  4775. long _result = 0;
  4776. HRESULT _hr = get_BytesPerTile(&_result);
  4777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4778. return _result;
  4779. }
  4780. #pragma implementation_key(745)
  4781. inline long VGCore::IVGImageTile::GetBytesPerLine ( ) {
  4782. long _result = 0;
  4783. HRESULT _hr = get_BytesPerLine(&_result);
  4784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4785. return _result;
  4786. }
  4787. #pragma implementation_key(746)
  4788. inline long VGCore::IVGImageTile::GetBytesPerPixel ( ) {
  4789. long _result = 0;
  4790. HRESULT _hr = get_BytesPerPixel(&_result);
  4791. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4792. return _result;
  4793. }
  4794. #pragma implementation_key(747)
  4795. inline SAFEARRAY * VGCore::IVGImageTile::GetPixelData ( ) {
  4796. SAFEARRAY * _result = 0;
  4797. HRESULT _hr = get_PixelData(&_result);
  4798. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4799. return _result;
  4800. }
  4801. #pragma implementation_key(748)
  4802. inline void VGCore::IVGImageTile::PutPixelData ( SAFEARRAY * * pVal ) {
  4803. HRESULT _hr = put_PixelData(pVal);
  4804. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4805. }
  4806. #pragma implementation_key(749)
  4807. inline VARIANT_BOOL VGCore::IVGImageTile::GetReadOnly ( ) {
  4808. VARIANT_BOOL _result = 0;
  4809. HRESULT _hr = get_ReadOnly(&_result);
  4810. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4811. return _result;
  4812. }
  4813. //
  4814. // interface IVGImageTiles wrapper method implementations
  4815. //
  4816. #pragma implementation_key(750)
  4817. inline long VGCore::IVGImageTiles::GetCount ( ) {
  4818. long _result = 0;
  4819. HRESULT _hr = get_Count(&_result);
  4820. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4821. return _result;
  4822. }
  4823. #pragma implementation_key(751)
  4824. inline VGCore::IVGImageTilePtr VGCore::IVGImageTiles::GetItem ( long Index ) {
  4825. struct IVGImageTile * _result = 0;
  4826. HRESULT _hr = get_Item(Index, &_result);
  4827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4828. return IVGImageTilePtr(_result, false);
  4829. }
  4830. #pragma implementation_key(752)
  4831. inline IUnknownPtr VGCore::IVGImageTiles::Get_NewEnum ( ) {
  4832. IUnknown * _result = 0;
  4833. HRESULT _hr = get__NewEnum(&_result);
  4834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4835. return IUnknownPtr(_result, false);
  4836. }
  4837. #pragma implementation_key(753)
  4838. inline VGCore::IVGImageTilePtr VGCore::IVGImageTiles::GetFirst ( ) {
  4839. struct IVGImageTile * _result = 0;
  4840. HRESULT _hr = get_First(&_result);
  4841. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4842. return IVGImageTilePtr(_result, false);
  4843. }
  4844. #pragma implementation_key(754)
  4845. inline VGCore::IVGImageTilePtr VGCore::IVGImageTiles::GetLast ( ) {
  4846. struct IVGImageTile * _result = 0;
  4847. HRESULT _hr = get_Last(&_result);
  4848. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4849. return IVGImageTilePtr(_result, false);
  4850. }
  4851. //
  4852. // interface IVGStructAlignProperties wrapper method implementations
  4853. //
  4854. #pragma implementation_key(755)
  4855. inline void VGCore::IVGStructAlignProperties::PutAlignment ( enum cdrAlignment pVal ) {
  4856. HRESULT _hr = put_Alignment(pVal);
  4857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4858. }
  4859. #pragma implementation_key(756)
  4860. inline enum VGCore::cdrAlignment VGCore::IVGStructAlignProperties::GetAlignment ( ) {
  4861. enum cdrAlignment _result;
  4862. HRESULT _hr = get_Alignment(&_result);
  4863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4864. return _result;
  4865. }
  4866. #pragma implementation_key(757)
  4867. inline void VGCore::IVGStructAlignProperties::PutFirstLineIndent ( double pVal ) {
  4868. HRESULT _hr = put_FirstLineIndent(pVal);
  4869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4870. }
  4871. #pragma implementation_key(758)
  4872. inline double VGCore::IVGStructAlignProperties::GetFirstLineIndent ( ) {
  4873. double _result = 0;
  4874. HRESULT _hr = get_FirstLineIndent(&_result);
  4875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4876. return _result;
  4877. }
  4878. #pragma implementation_key(759)
  4879. inline void VGCore::IVGStructAlignProperties::PutLeftIndent ( double pVal ) {
  4880. HRESULT _hr = put_LeftIndent(pVal);
  4881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4882. }
  4883. #pragma implementation_key(760)
  4884. inline double VGCore::IVGStructAlignProperties::GetLeftIndent ( ) {
  4885. double _result = 0;
  4886. HRESULT _hr = get_LeftIndent(&_result);
  4887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4888. return _result;
  4889. }
  4890. #pragma implementation_key(761)
  4891. inline void VGCore::IVGStructAlignProperties::PutRightIndent ( double pVal ) {
  4892. HRESULT _hr = put_RightIndent(pVal);
  4893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4894. }
  4895. #pragma implementation_key(762)
  4896. inline double VGCore::IVGStructAlignProperties::GetRightIndent ( ) {
  4897. double _result = 0;
  4898. HRESULT _hr = get_RightIndent(&_result);
  4899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4900. return _result;
  4901. }
  4902. #pragma implementation_key(763)
  4903. inline void VGCore::IVGStructAlignProperties::PutMaxWordSpacing ( float pVal ) {
  4904. HRESULT _hr = put_MaxWordSpacing(pVal);
  4905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4906. }
  4907. #pragma implementation_key(764)
  4908. inline float VGCore::IVGStructAlignProperties::GetMaxWordSpacing ( ) {
  4909. float _result = 0;
  4910. HRESULT _hr = get_MaxWordSpacing(&_result);
  4911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4912. return _result;
  4913. }
  4914. #pragma implementation_key(765)
  4915. inline void VGCore::IVGStructAlignProperties::PutMinWordSpacing ( float pVal ) {
  4916. HRESULT _hr = put_MinWordSpacing(pVal);
  4917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4918. }
  4919. #pragma implementation_key(766)
  4920. inline float VGCore::IVGStructAlignProperties::GetMinWordSpacing ( ) {
  4921. float _result = 0;
  4922. HRESULT _hr = get_MinWordSpacing(&_result);
  4923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4924. return _result;
  4925. }
  4926. #pragma implementation_key(767)
  4927. inline void VGCore::IVGStructAlignProperties::PutMaxCharacterSpacing ( float pVal ) {
  4928. HRESULT _hr = put_MaxCharacterSpacing(pVal);
  4929. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4930. }
  4931. #pragma implementation_key(768)
  4932. inline float VGCore::IVGStructAlignProperties::GetMaxCharacterSpacing ( ) {
  4933. float _result = 0;
  4934. HRESULT _hr = get_MaxCharacterSpacing(&_result);
  4935. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4936. return _result;
  4937. }
  4938. #pragma implementation_key(769)
  4939. inline void VGCore::IVGStructAlignProperties::PutHorizontalCharacterShift ( long pVal ) {
  4940. HRESULT _hr = put_HorizontalCharacterShift(pVal);
  4941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4942. }
  4943. #pragma implementation_key(770)
  4944. inline long VGCore::IVGStructAlignProperties::GetHorizontalCharacterShift ( ) {
  4945. long _result = 0;
  4946. HRESULT _hr = get_HorizontalCharacterShift(&_result);
  4947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4948. return _result;
  4949. }
  4950. #pragma implementation_key(771)
  4951. inline void VGCore::IVGStructAlignProperties::PutVerticalCharacterShift ( long pVal ) {
  4952. HRESULT _hr = put_VerticalCharacterShift(pVal);
  4953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4954. }
  4955. #pragma implementation_key(772)
  4956. inline long VGCore::IVGStructAlignProperties::GetVerticalCharacterShift ( ) {
  4957. long _result = 0;
  4958. HRESULT _hr = get_VerticalCharacterShift(&_result);
  4959. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4960. return _result;
  4961. }
  4962. #pragma implementation_key(773)
  4963. inline void VGCore::IVGStructAlignProperties::PutCharacterRotation ( float pVal ) {
  4964. HRESULT _hr = put_CharacterRotation(pVal);
  4965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4966. }
  4967. #pragma implementation_key(774)
  4968. inline float VGCore::IVGStructAlignProperties::GetCharacterRotation ( ) {
  4969. float _result = 0;
  4970. HRESULT _hr = get_CharacterRotation(&_result);
  4971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4972. return _result;
  4973. }
  4974. //
  4975. // interface IVGStructSpaceProperties wrapper method implementations
  4976. //
  4977. #pragma implementation_key(775)
  4978. inline void VGCore::IVGStructSpaceProperties::PutCharacterSpacing ( float pVal ) {
  4979. HRESULT _hr = put_CharacterSpacing(pVal);
  4980. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4981. }
  4982. #pragma implementation_key(776)
  4983. inline float VGCore::IVGStructSpaceProperties::GetCharacterSpacing ( ) {
  4984. float _result = 0;
  4985. HRESULT _hr = get_CharacterSpacing(&_result);
  4986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4987. return _result;
  4988. }
  4989. #pragma implementation_key(777)
  4990. inline void VGCore::IVGStructSpaceProperties::PutWordSpacing ( float pVal ) {
  4991. HRESULT _hr = put_WordSpacing(pVal);
  4992. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4993. }
  4994. #pragma implementation_key(778)
  4995. inline float VGCore::IVGStructSpaceProperties::GetWordSpacing ( ) {
  4996. float _result = 0;
  4997. HRESULT _hr = get_WordSpacing(&_result);
  4998. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  4999. return _result;
  5000. }
  5001. #pragma implementation_key(779)
  5002. inline void VGCore::IVGStructSpaceProperties::PutLineSpacing ( float pVal ) {
  5003. HRESULT _hr = put_LineSpacing(pVal);
  5004. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5005. }
  5006. #pragma implementation_key(780)
  5007. inline float VGCore::IVGStructSpaceProperties::GetLineSpacing ( ) {
  5008. float _result = 0;
  5009. HRESULT _hr = get_LineSpacing(&_result);
  5010. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5011. return _result;
  5012. }
  5013. #pragma implementation_key(781)
  5014. inline void VGCore::IVGStructSpaceProperties::PutLineSpacingType ( enum cdrLineSpacingType pVal ) {
  5015. HRESULT _hr = put_LineSpacingType(pVal);
  5016. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5017. }
  5018. #pragma implementation_key(782)
  5019. inline enum VGCore::cdrLineSpacingType VGCore::IVGStructSpaceProperties::GetLineSpacingType ( ) {
  5020. enum cdrLineSpacingType _result;
  5021. HRESULT _hr = get_LineSpacingType(&_result);
  5022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5023. return _result;
  5024. }
  5025. #pragma implementation_key(783)
  5026. inline void VGCore::IVGStructSpaceProperties::PutBeforeParagraphSpacing ( float pVal ) {
  5027. HRESULT _hr = put_BeforeParagraphSpacing(pVal);
  5028. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5029. }
  5030. #pragma implementation_key(784)
  5031. inline float VGCore::IVGStructSpaceProperties::GetBeforeParagraphSpacing ( ) {
  5032. float _result = 0;
  5033. HRESULT _hr = get_BeforeParagraphSpacing(&_result);
  5034. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5035. return _result;
  5036. }
  5037. #pragma implementation_key(785)
  5038. inline void VGCore::IVGStructSpaceProperties::PutAfterParagraphSpacing ( float pVal ) {
  5039. HRESULT _hr = put_AfterParagraphSpacing(pVal);
  5040. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5041. }
  5042. #pragma implementation_key(786)
  5043. inline float VGCore::IVGStructSpaceProperties::GetAfterParagraphSpacing ( ) {
  5044. float _result = 0;
  5045. HRESULT _hr = get_AfterParagraphSpacing(&_result);
  5046. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5047. return _result;
  5048. }
  5049. //
  5050. // interface IVGStructHyphenationSettings wrapper method implementations
  5051. //
  5052. #pragma implementation_key(787)
  5053. inline void VGCore::IVGStructHyphenationSettings::PutUseAutomaticHyphenation ( VARIANT_BOOL pVal ) {
  5054. HRESULT _hr = put_UseAutomaticHyphenation(pVal);
  5055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5056. }
  5057. #pragma implementation_key(788)
  5058. inline VARIANT_BOOL VGCore::IVGStructHyphenationSettings::GetUseAutomaticHyphenation ( ) {
  5059. VARIANT_BOOL _result = 0;
  5060. HRESULT _hr = get_UseAutomaticHyphenation(&_result);
  5061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5062. return _result;
  5063. }
  5064. #pragma implementation_key(789)
  5065. inline void VGCore::IVGStructHyphenationSettings::PutBreakCapitalized ( VARIANT_BOOL pVal ) {
  5066. HRESULT _hr = put_BreakCapitalized(pVal);
  5067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5068. }
  5069. #pragma implementation_key(790)
  5070. inline VARIANT_BOOL VGCore::IVGStructHyphenationSettings::GetBreakCapitalized ( ) {
  5071. VARIANT_BOOL _result = 0;
  5072. HRESULT _hr = get_BreakCapitalized(&_result);
  5073. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5074. return _result;
  5075. }
  5076. #pragma implementation_key(791)
  5077. inline void VGCore::IVGStructHyphenationSettings::PutHotZone ( double pVal ) {
  5078. HRESULT _hr = put_HotZone(pVal);
  5079. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5080. }
  5081. #pragma implementation_key(792)
  5082. inline double VGCore::IVGStructHyphenationSettings::GetHotZone ( ) {
  5083. double _result = 0;
  5084. HRESULT _hr = get_HotZone(&_result);
  5085. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5086. return _result;
  5087. }
  5088. #pragma implementation_key(793)
  5089. inline void VGCore::IVGStructHyphenationSettings::PutMinWordLength ( long pVal ) {
  5090. HRESULT _hr = put_MinWordLength(pVal);
  5091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5092. }
  5093. #pragma implementation_key(794)
  5094. inline long VGCore::IVGStructHyphenationSettings::GetMinWordLength ( ) {
  5095. long _result = 0;
  5096. HRESULT _hr = get_MinWordLength(&_result);
  5097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5098. return _result;
  5099. }
  5100. #pragma implementation_key(795)
  5101. inline void VGCore::IVGStructHyphenationSettings::PutMinCharactersBefore ( long pVal ) {
  5102. HRESULT _hr = put_MinCharactersBefore(pVal);
  5103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5104. }
  5105. #pragma implementation_key(796)
  5106. inline long VGCore::IVGStructHyphenationSettings::GetMinCharactersBefore ( ) {
  5107. long _result = 0;
  5108. HRESULT _hr = get_MinCharactersBefore(&_result);
  5109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5110. return _result;
  5111. }
  5112. #pragma implementation_key(797)
  5113. inline void VGCore::IVGStructHyphenationSettings::PutMinCharactersAfter ( long pVal ) {
  5114. HRESULT _hr = put_MinCharactersAfter(pVal);
  5115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5116. }
  5117. #pragma implementation_key(798)
  5118. inline long VGCore::IVGStructHyphenationSettings::GetMinCharactersAfter ( ) {
  5119. long _result = 0;
  5120. HRESULT _hr = get_MinCharactersAfter(&_result);
  5121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5122. return _result;
  5123. }
  5124. #pragma implementation_key(799)
  5125. inline void VGCore::IVGStructHyphenationSettings::PutBreakAllCapWords ( VARIANT_BOOL pVal ) {
  5126. HRESULT _hr = put_BreakAllCapWords(pVal);
  5127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5128. }
  5129. #pragma implementation_key(800)
  5130. inline VARIANT_BOOL VGCore::IVGStructHyphenationSettings::GetBreakAllCapWords ( ) {
  5131. VARIANT_BOOL _result = 0;
  5132. HRESULT _hr = get_BreakAllCapWords(&_result);
  5133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5134. return _result;
  5135. }
  5136. //
  5137. // interface IVGUserSnapPoint wrapper method implementations
  5138. //
  5139. #pragma implementation_key(801)
  5140. inline _bstr_t VGCore::IVGUserSnapPoint::GetID ( ) {
  5141. BSTR _result = 0;
  5142. HRESULT _hr = get_ID(&_result);
  5143. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5144. return _bstr_t(_result, false);
  5145. }
  5146. #pragma implementation_key(802)
  5147. inline VARIANT_BOOL VGCore::IVGUserSnapPoint::GetAutoSnap ( ) {
  5148. VARIANT_BOOL _result = 0;
  5149. HRESULT _hr = get_AutoSnap(&_result);
  5150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5151. return _result;
  5152. }
  5153. #pragma implementation_key(803)
  5154. inline void VGCore::IVGUserSnapPoint::PutAutoSnap ( VARIANT_BOOL pVal ) {
  5155. HRESULT _hr = put_AutoSnap(pVal);
  5156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5157. }
  5158. //
  5159. // interface IVGObjectSnapPoint wrapper method implementations
  5160. //
  5161. #pragma implementation_key(804)
  5162. inline enum VGCore::cdrObjectSnapPointType VGCore::IVGObjectSnapPoint::GetType ( ) {
  5163. enum cdrObjectSnapPointType _result;
  5164. HRESULT _hr = get_Type(&_result);
  5165. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5166. return _result;
  5167. }
  5168. //
  5169. // interface IVGBBoxSnapPoint wrapper method implementations
  5170. //
  5171. #pragma implementation_key(805)
  5172. inline enum VGCore::cdrReferencePoint VGCore::IVGBBoxSnapPoint::GetType ( ) {
  5173. enum cdrReferencePoint _result;
  5174. HRESULT _hr = get_Type(&_result);
  5175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5176. return _result;
  5177. }
  5178. //
  5179. // interface IVGEdgeSnapPoint wrapper method implementations
  5180. //
  5181. #pragma implementation_key(806)
  5182. inline long VGCore::IVGEdgeSnapPoint::GetSegmentIndex ( ) {
  5183. long _result = 0;
  5184. HRESULT _hr = get_SegmentIndex(&_result);
  5185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5186. return _result;
  5187. }
  5188. #pragma implementation_key(807)
  5189. inline double VGCore::IVGEdgeSnapPoint::GetSegmentOffset ( ) {
  5190. double _result = 0;
  5191. HRESULT _hr = get_SegmentOffset(&_result);
  5192. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5193. return _result;
  5194. }
  5195. //
  5196. // interface IVGEffectCustomDistortion wrapper method implementations
  5197. //
  5198. #pragma implementation_key(808)
  5199. inline _bstr_t VGCore::IVGEffectCustomDistortion::GetDistortionID ( ) {
  5200. BSTR _result = 0;
  5201. HRESULT _hr = get_DistortionID(&_result);
  5202. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5203. return _bstr_t(_result, false);
  5204. }
  5205. //
  5206. // interface IVGTextTabPosition wrapper method implementations
  5207. //
  5208. #pragma implementation_key(809)
  5209. inline double VGCore::IVGTextTabPosition::GetPosition ( ) {
  5210. double _result = 0;
  5211. HRESULT _hr = get_Position(&_result);
  5212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5213. return _result;
  5214. }
  5215. #pragma implementation_key(810)
  5216. inline void VGCore::IVGTextTabPosition::PutPosition ( double pVal ) {
  5217. HRESULT _hr = put_Position(pVal);
  5218. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5219. }
  5220. #pragma implementation_key(811)
  5221. inline long VGCore::IVGTextTabPosition::GetIndex ( ) {
  5222. long _result = 0;
  5223. HRESULT _hr = get_Index(&_result);
  5224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5225. return _result;
  5226. }
  5227. #pragma implementation_key(812)
  5228. inline enum VGCore::cdrTextTabAlignment VGCore::IVGTextTabPosition::GetAlignment ( ) {
  5229. enum cdrTextTabAlignment _result;
  5230. HRESULT _hr = get_Alignment(&_result);
  5231. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5232. return _result;
  5233. }
  5234. #pragma implementation_key(813)
  5235. inline void VGCore::IVGTextTabPosition::PutAlignment ( enum cdrTextTabAlignment pVal ) {
  5236. HRESULT _hr = put_Alignment(pVal);
  5237. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5238. }
  5239. #pragma implementation_key(814)
  5240. inline VARIANT_BOOL VGCore::IVGTextTabPosition::GetLeadered ( ) {
  5241. VARIANT_BOOL _result = 0;
  5242. HRESULT _hr = get_Leadered(&_result);
  5243. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5244. return _result;
  5245. }
  5246. #pragma implementation_key(815)
  5247. inline void VGCore::IVGTextTabPosition::PutLeadered ( VARIANT_BOOL pVal ) {
  5248. HRESULT _hr = put_Leadered(pVal);
  5249. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5250. }
  5251. #pragma implementation_key(816)
  5252. inline HRESULT VGCore::IVGTextTabPosition::Delete ( ) {
  5253. HRESULT _hr = raw_Delete();
  5254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5255. return _hr;
  5256. }
  5257. //
  5258. // interface IVGTextTabPositions wrapper method implementations
  5259. //
  5260. #pragma implementation_key(817)
  5261. inline VGCore::IVGTextTabPositionPtr VGCore::IVGTextTabPositions::GetItem ( long Index ) {
  5262. struct IVGTextTabPosition * _result = 0;
  5263. HRESULT _hr = get_Item(Index, &_result);
  5264. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5265. return IVGTextTabPositionPtr(_result, false);
  5266. }
  5267. #pragma implementation_key(818)
  5268. inline long VGCore::IVGTextTabPositions::GetCount ( ) {
  5269. long _result = 0;
  5270. HRESULT _hr = get_Count(&_result);
  5271. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5272. return _result;
  5273. }
  5274. #pragma implementation_key(819)
  5275. inline IUnknownPtr VGCore::IVGTextTabPositions::Get_NewEnum ( ) {
  5276. IUnknown * _result = 0;
  5277. HRESULT _hr = get__NewEnum(&_result);
  5278. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5279. return IUnknownPtr(_result, false);
  5280. }
  5281. #pragma implementation_key(820)
  5282. inline long VGCore::IVGTextTabPositions::GetLeaderSpacing ( ) {
  5283. long _result = 0;
  5284. HRESULT _hr = get_LeaderSpacing(&_result);
  5285. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5286. return _result;
  5287. }
  5288. #pragma implementation_key(821)
  5289. inline void VGCore::IVGTextTabPositions::PutLeaderSpacing ( long pVal ) {
  5290. HRESULT _hr = put_LeaderSpacing(pVal);
  5291. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5292. }
  5293. #pragma implementation_key(822)
  5294. inline _bstr_t VGCore::IVGTextTabPositions::GetLeaderCharacter ( ) {
  5295. BSTR _result = 0;
  5296. HRESULT _hr = get_LeaderCharacter(&_result);
  5297. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5298. return _bstr_t(_result, false);
  5299. }
  5300. #pragma implementation_key(823)
  5301. inline void VGCore::IVGTextTabPositions::PutLeaderCharacter ( _bstr_t pVal ) {
  5302. HRESULT _hr = put_LeaderCharacter(pVal);
  5303. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5304. }
  5305. #pragma implementation_key(824)
  5306. inline HRESULT VGCore::IVGTextTabPositions::Clear ( ) {
  5307. HRESULT _hr = raw_Clear();
  5308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5309. return _hr;
  5310. }
  5311. #pragma implementation_key(825)
  5312. inline VGCore::IVGTextTabPositionPtr VGCore::IVGTextTabPositions::Add ( double Position, enum cdrTextTabAlignment Alignment, VARIANT_BOOL Leadered ) {
  5313. struct IVGTextTabPosition * _result = 0;
  5314. HRESULT _hr = raw_Add(Position, Alignment, Leadered, &_result);
  5315. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5316. return IVGTextTabPositionPtr(_result, false);
  5317. }
  5318. #pragma implementation_key(826)
  5319. inline HRESULT VGCore::IVGTextTabPositions::AddEvery ( double Position, enum cdrTextTabAlignment Alignment, VARIANT_BOOL Leadered ) {
  5320. HRESULT _hr = raw_AddEvery(Position, Alignment, Leadered);
  5321. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5322. return _hr;
  5323. }
  5324. //
  5325. // interface IVGLocalizableString wrapper method implementations
  5326. //
  5327. #pragma implementation_key(827)
  5328. inline HRESULT VGCore::IVGLocalizableString::Clear ( ) {
  5329. HRESULT _hr = raw_Clear();
  5330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5331. return _hr;
  5332. }
  5333. #pragma implementation_key(828)
  5334. inline VARIANT_BOOL VGCore::IVGLocalizableString::GetIsEmpty ( ) {
  5335. VARIANT_BOOL _result = 0;
  5336. HRESULT _hr = get_IsEmpty(&_result);
  5337. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5338. return _result;
  5339. }
  5340. #pragma implementation_key(829)
  5341. inline _bstr_t VGCore::IVGLocalizableString::GetLangString ( _bstr_t Language ) {
  5342. BSTR _result = 0;
  5343. HRESULT _hr = raw_GetLangString(Language, &_result);
  5344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5345. return _bstr_t(_result, false);
  5346. }
  5347. #pragma implementation_key(830)
  5348. inline HRESULT VGCore::IVGLocalizableString::SetLangString ( _bstr_t Language, _bstr_t Value ) {
  5349. HRESULT _hr = raw_SetLangString(Language, Value);
  5350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5351. return _hr;
  5352. }
  5353. #pragma implementation_key(831)
  5354. inline VARIANT_BOOL VGCore::IVGLocalizableString::HasLangString ( _bstr_t Language ) {
  5355. VARIANT_BOOL _result = 0;
  5356. HRESULT _hr = raw_HasLangString(Language, &_result);
  5357. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5358. return _result;
  5359. }
  5360. #pragma implementation_key(832)
  5361. inline VARIANT_BOOL VGCore::IVGLocalizableString::GetHasDefaultLangString ( ) {
  5362. VARIANT_BOOL _result = 0;
  5363. HRESULT _hr = get_HasDefaultLangString(&_result);
  5364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5365. return _result;
  5366. }
  5367. #pragma implementation_key(833)
  5368. inline VARIANT_BOOL VGCore::IVGLocalizableString::GetHasDefaultLangStringOnly ( ) {
  5369. VARIANT_BOOL _result = 0;
  5370. HRESULT _hr = get_HasDefaultLangStringOnly(&_result);
  5371. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5372. return _result;
  5373. }
  5374. #pragma implementation_key(834)
  5375. inline VARIANT_BOOL VGCore::IVGLocalizableString::GetHasNonDefaultLangStrings ( ) {
  5376. VARIANT_BOOL _result = 0;
  5377. HRESULT _hr = get_HasNonDefaultLangStrings(&_result);
  5378. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5379. return _result;
  5380. }
  5381. #pragma implementation_key(835)
  5382. inline _bstr_t VGCore::IVGLocalizableString::GetDefaultLangString ( ) {
  5383. BSTR _result = 0;
  5384. HRESULT _hr = get_DefaultLangString(&_result);
  5385. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5386. return _bstr_t(_result, false);
  5387. }
  5388. #pragma implementation_key(836)
  5389. inline void VGCore::IVGLocalizableString::PutDefaultLangString ( _bstr_t pVal ) {
  5390. HRESULT _hr = put_DefaultLangString(pVal);
  5391. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5392. }
  5393. #pragma implementation_key(837)
  5394. inline SAFEARRAY * VGCore::IVGLocalizableString::GetLanguages ( ) {
  5395. SAFEARRAY * _result = 0;
  5396. HRESULT _hr = raw_GetLanguages(&_result);
  5397. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5398. return _result;
  5399. }
  5400. //
  5401. // interface IVGFillMetadata wrapper method implementations
  5402. //
  5403. #pragma implementation_key(838)
  5404. inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetTitle ( ) {
  5405. struct IVGLocalizableString * _result = 0;
  5406. HRESULT _hr = get_Title(&_result);
  5407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5408. return IVGLocalizableStringPtr(_result, false);
  5409. }
  5410. #pragma implementation_key(839)
  5411. inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetDescription ( ) {
  5412. struct IVGLocalizableString * _result = 0;
  5413. HRESULT _hr = get_Description(&_result);
  5414. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5415. return IVGLocalizableStringPtr(_result, false);
  5416. }
  5417. #pragma implementation_key(840)
  5418. inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetKeywords ( ) {
  5419. struct IVGLocalizableString * _result = 0;
  5420. HRESULT _hr = get_Keywords(&_result);
  5421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5422. return IVGLocalizableStringPtr(_result, false);
  5423. }
  5424. #pragma implementation_key(841)
  5425. inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetSubject ( ) {
  5426. struct IVGLocalizableString * _result = 0;
  5427. HRESULT _hr = get_Subject(&_result);
  5428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5429. return IVGLocalizableStringPtr(_result, false);
  5430. }
  5431. #pragma implementation_key(842)
  5432. inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetCopyright ( ) {
  5433. struct IVGLocalizableString * _result = 0;
  5434. HRESULT _hr = get_Copyright(&_result);
  5435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5436. return IVGLocalizableStringPtr(_result, false);
  5437. }
  5438. #pragma implementation_key(843)
  5439. inline _bstr_t VGCore::IVGFillMetadata::GetCreatorTool ( ) {
  5440. BSTR _result = 0;
  5441. HRESULT _hr = get_CreatorTool(&_result);
  5442. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5443. return _bstr_t(_result, false);
  5444. }
  5445. #pragma implementation_key(844)
  5446. inline DATE VGCore::IVGFillMetadata::GetCreationDate ( ) {
  5447. DATE _result = 0;
  5448. HRESULT _hr = get_CreationDate(&_result);
  5449. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5450. return _result;
  5451. }
  5452. #pragma implementation_key(845)
  5453. inline DATE VGCore::IVGFillMetadata::GetModificationDate ( ) {
  5454. DATE _result = 0;
  5455. HRESULT _hr = get_ModificationDate(&_result);
  5456. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5457. return _result;
  5458. }
  5459. #pragma implementation_key(846)
  5460. inline _bstr_t VGCore::IVGFillMetadata::GetDocumentID ( ) {
  5461. BSTR _result = 0;
  5462. HRESULT _hr = get_DocumentID(&_result);
  5463. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5464. return _bstr_t(_result, false);
  5465. }
  5466. #pragma implementation_key(847)
  5467. inline _bstr_t VGCore::IVGFillMetadata::GetInstanceID ( ) {
  5468. BSTR _result = 0;
  5469. HRESULT _hr = get_InstanceID(&_result);
  5470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5471. return _bstr_t(_result, false);
  5472. }
  5473. #pragma implementation_key(848)
  5474. inline SAFEARRAY * VGCore::IVGFillMetadata::GetDerivedFrom ( ) {
  5475. SAFEARRAY * _result = 0;
  5476. HRESULT _hr = get_DerivedFrom(&_result);
  5477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5478. return _result;
  5479. }
  5480. #pragma implementation_key(849)
  5481. inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetCategory ( ) {
  5482. struct IVGLocalizableString * _result = 0;
  5483. HRESULT _hr = get_Category(&_result);
  5484. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5485. return IVGLocalizableStringPtr(_result, false);
  5486. }
  5487. //
  5488. // interface IVGTextIndentLevelStyle wrapper method implementations
  5489. //
  5490. #pragma implementation_key(850)
  5491. inline long VGCore::IVGTextIndentLevelStyle::GetLevel ( ) {
  5492. long _result = 0;
  5493. HRESULT _hr = get_Level(&_result);
  5494. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5495. return _result;
  5496. }
  5497. #pragma implementation_key(851)
  5498. inline _bstr_t VGCore::IVGTextIndentLevelStyle::GetFont ( ) {
  5499. BSTR _result = 0;
  5500. HRESULT _hr = get_Font(&_result);
  5501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5502. return _bstr_t(_result, false);
  5503. }
  5504. #pragma implementation_key(852)
  5505. inline void VGCore::IVGTextIndentLevelStyle::PutFont ( _bstr_t pVal ) {
  5506. HRESULT _hr = put_Font(pVal);
  5507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5508. }
  5509. #pragma implementation_key(853)
  5510. inline VARIANT_BOOL VGCore::IVGTextIndentLevelStyle::GetUseParagraphFont ( ) {
  5511. VARIANT_BOOL _result = 0;
  5512. HRESULT _hr = get_UseParagraphFont(&_result);
  5513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5514. return _result;
  5515. }
  5516. #pragma implementation_key(854)
  5517. inline void VGCore::IVGTextIndentLevelStyle::PutUseParagraphFont ( VARIANT_BOOL pVal ) {
  5518. HRESULT _hr = put_UseParagraphFont(pVal);
  5519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5520. }
  5521. #pragma implementation_key(855)
  5522. inline _bstr_t VGCore::IVGTextIndentLevelStyle::GetSymbol ( ) {
  5523. BSTR _result = 0;
  5524. HRESULT _hr = get_Symbol(&_result);
  5525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5526. return _bstr_t(_result, false);
  5527. }
  5528. #pragma implementation_key(856)
  5529. inline void VGCore::IVGTextIndentLevelStyle::PutSymbol ( _bstr_t pVal ) {
  5530. HRESULT _hr = put_Symbol(pVal);
  5531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5532. }
  5533. #pragma implementation_key(857)
  5534. inline float VGCore::IVGTextIndentLevelStyle::GetSize ( ) {
  5535. float _result = 0;
  5536. HRESULT _hr = get_Size(&_result);
  5537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5538. return _result;
  5539. }
  5540. #pragma implementation_key(858)
  5541. inline void VGCore::IVGTextIndentLevelStyle::PutSize ( float pVal ) {
  5542. HRESULT _hr = put_Size(pVal);
  5543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5544. }
  5545. #pragma implementation_key(859)
  5546. inline float VGCore::IVGTextIndentLevelStyle::GetBaselineShift ( ) {
  5547. float _result = 0;
  5548. HRESULT _hr = get_BaselineShift(&_result);
  5549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5550. return _result;
  5551. }
  5552. #pragma implementation_key(860)
  5553. inline void VGCore::IVGTextIndentLevelStyle::PutBaselineShift ( float pVal ) {
  5554. HRESULT _hr = put_BaselineShift(pVal);
  5555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5556. }
  5557. #pragma implementation_key(861)
  5558. inline VARIANT_BOOL VGCore::IVGTextIndentLevelStyle::GetHangingIndent ( ) {
  5559. VARIANT_BOOL _result = 0;
  5560. HRESULT _hr = get_HangingIndent(&_result);
  5561. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5562. return _result;
  5563. }
  5564. #pragma implementation_key(862)
  5565. inline void VGCore::IVGTextIndentLevelStyle::PutHangingIndent ( VARIANT_BOOL pVal ) {
  5566. HRESULT _hr = put_HangingIndent(pVal);
  5567. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5568. }
  5569. #pragma implementation_key(863)
  5570. inline double VGCore::IVGTextIndentLevelStyle::GetFirstCharIndent ( ) {
  5571. double _result = 0;
  5572. HRESULT _hr = get_FirstCharIndent(&_result);
  5573. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5574. return _result;
  5575. }
  5576. #pragma implementation_key(864)
  5577. inline void VGCore::IVGTextIndentLevelStyle::PutFirstCharIndent ( double pVal ) {
  5578. HRESULT _hr = put_FirstCharIndent(pVal);
  5579. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5580. }
  5581. #pragma implementation_key(865)
  5582. inline VARIANT_BOOL VGCore::IVGTextIndentLevelStyle::GetFirstCharIndentIncludesBullet ( ) {
  5583. VARIANT_BOOL _result = 0;
  5584. HRESULT _hr = get_FirstCharIndentIncludesBullet(&_result);
  5585. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5586. return _result;
  5587. }
  5588. #pragma implementation_key(866)
  5589. inline void VGCore::IVGTextIndentLevelStyle::PutFirstCharIndentIncludesBullet ( VARIANT_BOOL pVal ) {
  5590. HRESULT _hr = put_FirstCharIndentIncludesBullet(pVal);
  5591. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5592. }
  5593. #pragma implementation_key(867)
  5594. inline _bstr_t VGCore::IVGTextIndentLevelStyle::GetFormat ( ) {
  5595. BSTR _result = 0;
  5596. HRESULT _hr = get_Format(&_result);
  5597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5598. return _bstr_t(_result, false);
  5599. }
  5600. #pragma implementation_key(868)
  5601. inline void VGCore::IVGTextIndentLevelStyle::PutFormat ( _bstr_t pVal ) {
  5602. HRESULT _hr = put_Format(pVal);
  5603. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5604. }
  5605. #pragma implementation_key(869)
  5606. inline enum VGCore::cdrTextIndentLevelStyle VGCore::IVGTextIndentLevelStyle::GetNumberStyle ( ) {
  5607. enum cdrTextIndentLevelStyle _result;
  5608. HRESULT _hr = get_NumberStyle(&_result);
  5609. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5610. return _result;
  5611. }
  5612. #pragma implementation_key(870)
  5613. inline void VGCore::IVGTextIndentLevelStyle::PutNumberStyle ( enum cdrTextIndentLevelStyle pVal ) {
  5614. HRESULT _hr = put_NumberStyle(pVal);
  5615. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5616. }
  5617. //
  5618. // interface IVGTextIndentLevelStyles wrapper method implementations
  5619. //
  5620. #pragma implementation_key(871)
  5621. inline IUnknownPtr VGCore::IVGTextIndentLevelStyles::Get_NewEnum ( ) {
  5622. IUnknown * _result = 0;
  5623. HRESULT _hr = get__NewEnum(&_result);
  5624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5625. return IUnknownPtr(_result, false);
  5626. }
  5627. #pragma implementation_key(872)
  5628. inline VGCore::IVGTextIndentLevelStylePtr VGCore::IVGTextIndentLevelStyles::GetItem ( long Index ) {
  5629. struct IVGTextIndentLevelStyle * _result = 0;
  5630. HRESULT _hr = get_Item(Index, &_result);
  5631. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5632. return IVGTextIndentLevelStylePtr(_result, false);
  5633. }
  5634. #pragma implementation_key(873)
  5635. inline long VGCore::IVGTextIndentLevelStyles::GetCount ( ) {
  5636. long _result = 0;
  5637. HRESULT _hr = get_Count(&_result);
  5638. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5639. return _result;
  5640. }
  5641. //
  5642. // interface IVGTextVariableAxis wrapper method implementations
  5643. //
  5644. #pragma implementation_key(874)
  5645. inline long VGCore::IVGTextVariableAxis::GetTag ( ) {
  5646. long _result = 0;
  5647. HRESULT _hr = get_Tag(&_result);
  5648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5649. return _result;
  5650. }
  5651. #pragma implementation_key(875)
  5652. inline _bstr_t VGCore::IVGTextVariableAxis::GetName ( ) {
  5653. BSTR _result = 0;
  5654. HRESULT _hr = get_Name(&_result);
  5655. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5656. return _bstr_t(_result, false);
  5657. }
  5658. #pragma implementation_key(876)
  5659. inline double VGCore::IVGTextVariableAxis::GetValue ( ) {
  5660. double _result = 0;
  5661. HRESULT _hr = get_Value(&_result);
  5662. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5663. return _result;
  5664. }
  5665. #pragma implementation_key(877)
  5666. inline void VGCore::IVGTextVariableAxis::PutValue ( double pVal ) {
  5667. HRESULT _hr = put_Value(pVal);
  5668. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5669. }
  5670. #pragma implementation_key(878)
  5671. inline double VGCore::IVGTextVariableAxis::GetMinValue ( ) {
  5672. double _result = 0;
  5673. HRESULT _hr = get_MinValue(&_result);
  5674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5675. return _result;
  5676. }
  5677. #pragma implementation_key(879)
  5678. inline double VGCore::IVGTextVariableAxis::GetMaxValue ( ) {
  5679. double _result = 0;
  5680. HRESULT _hr = get_MaxValue(&_result);
  5681. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5682. return _result;
  5683. }
  5684. #pragma implementation_key(880)
  5685. inline double VGCore::IVGTextVariableAxis::GetDefaultValue ( ) {
  5686. double _result = 0;
  5687. HRESULT _hr = get_DefaultValue(&_result);
  5688. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5689. return _result;
  5690. }
  5691. //
  5692. // interface IVGTextVariableAxes wrapper method implementations
  5693. //
  5694. #pragma implementation_key(881)
  5695. inline IUnknownPtr VGCore::IVGTextVariableAxes::Get_NewEnum ( ) {
  5696. IUnknown * _result = 0;
  5697. HRESULT _hr = get__NewEnum(&_result);
  5698. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5699. return IUnknownPtr(_result, false);
  5700. }
  5701. #pragma implementation_key(882)
  5702. inline VGCore::IVGTextVariableAxisPtr VGCore::IVGTextVariableAxes::GetItem ( long Index ) {
  5703. struct IVGTextVariableAxis * _result = 0;
  5704. HRESULT _hr = get_Item(Index, &_result);
  5705. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5706. return IVGTextVariableAxisPtr(_result, false);
  5707. }
  5708. #pragma implementation_key(883)
  5709. inline long VGCore::IVGTextVariableAxes::GetCount ( ) {
  5710. long _result = 0;
  5711. HRESULT _hr = get_Count(&_result);
  5712. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5713. return _result;
  5714. }
  5715. //
  5716. // interface IVGGuide wrapper method implementations
  5717. //
  5718. #pragma implementation_key(884)
  5719. inline enum VGCore::cdrGuideType VGCore::IVGGuide::GetType ( ) {
  5720. enum cdrGuideType _result;
  5721. HRESULT _hr = get_Type(&_result);
  5722. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5723. return _result;
  5724. }
  5725. #pragma implementation_key(885)
  5726. inline VARIANT_BOOL VGCore::IVGGuide::GetPreset ( ) {
  5727. VARIANT_BOOL _result = 0;
  5728. HRESULT _hr = get_Preset(&_result);
  5729. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5730. return _result;
  5731. }
  5732. #pragma implementation_key(886)
  5733. inline HRESULT VGCore::IVGGuide::MakeEditable ( ) {
  5734. HRESULT _hr = raw_MakeEditable();
  5735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5736. return _hr;
  5737. }
  5738. #pragma implementation_key(887)
  5739. inline double VGCore::IVGGuide::GetPoint1X ( ) {
  5740. double _result = 0;
  5741. HRESULT _hr = get_Point1X(&_result);
  5742. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5743. return _result;
  5744. }
  5745. #pragma implementation_key(888)
  5746. inline double VGCore::IVGGuide::GetPoint1Y ( ) {
  5747. double _result = 0;
  5748. HRESULT _hr = get_Point1Y(&_result);
  5749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5750. return _result;
  5751. }
  5752. #pragma implementation_key(889)
  5753. inline double VGCore::IVGGuide::GetPoint2X ( ) {
  5754. double _result = 0;
  5755. HRESULT _hr = get_Point2X(&_result);
  5756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5757. return _result;
  5758. }
  5759. #pragma implementation_key(890)
  5760. inline double VGCore::IVGGuide::GetPoint2Y ( ) {
  5761. double _result = 0;
  5762. HRESULT _hr = get_Point2Y(&_result);
  5763. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5764. return _result;
  5765. }
  5766. #pragma implementation_key(891)
  5767. inline double VGCore::IVGGuide::GetAngle ( ) {
  5768. double _result = 0;
  5769. HRESULT _hr = get_Angle(&_result);
  5770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5771. return _result;
  5772. }
  5773. #pragma implementation_key(892)
  5774. inline HRESULT VGCore::IVGGuide::GetPoints ( double * Point1X, double * Point1Y, double * Point2X, double * Point2Y ) {
  5775. HRESULT _hr = raw_GetPoints(Point1X, Point1Y, Point2X, Point2Y);
  5776. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5777. return _hr;
  5778. }
  5779. #pragma implementation_key(893)
  5780. inline HRESULT VGCore::IVGGuide::GetPointAndAngle ( double * PointX, double * PointY, double * Angle ) {
  5781. HRESULT _hr = raw_GetPointAndAngle(PointX, PointY, Angle);
  5782. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5783. return _hr;
  5784. }
  5785. #pragma implementation_key(894)
  5786. inline HRESULT VGCore::IVGGuide::SetPoints ( double Point1X, double Point1Y, double Point2X, double Point2Y ) {
  5787. HRESULT _hr = raw_SetPoints(Point1X, Point1Y, Point2X, Point2Y);
  5788. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5789. return _hr;
  5790. }
  5791. #pragma implementation_key(895)
  5792. inline HRESULT VGCore::IVGGuide::SetPointAndAngle ( double PointX, double PointY, double Angle ) {
  5793. HRESULT _hr = raw_SetPointAndAngle(PointX, PointY, Angle);
  5794. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5795. return _hr;
  5796. }
  5797. #pragma implementation_key(896)
  5798. inline double VGCore::IVGGuide::GetInterceptX ( ) {
  5799. double _result = 0;
  5800. HRESULT _hr = get_InterceptX(&_result);
  5801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5802. return _result;
  5803. }
  5804. #pragma implementation_key(897)
  5805. inline double VGCore::IVGGuide::GetInterceptY ( ) {
  5806. double _result = 0;
  5807. HRESULT _hr = get_InterceptY(&_result);
  5808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5809. return _result;
  5810. }
  5811. #pragma implementation_key(898)
  5812. inline double VGCore::IVGGuide::GetCenterX ( ) {
  5813. double _result = 0;
  5814. HRESULT _hr = get_CenterX(&_result);
  5815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5816. return _result;
  5817. }
  5818. #pragma implementation_key(899)
  5819. inline double VGCore::IVGGuide::GetCenterY ( ) {
  5820. double _result = 0;
  5821. HRESULT _hr = get_CenterY(&_result);
  5822. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5823. return _result;
  5824. }
  5825. //
  5826. // interface IVGURL wrapper method implementations
  5827. //
  5828. #pragma implementation_key(900)
  5829. inline _bstr_t VGCore::IVGURL::GetAddress ( ) {
  5830. BSTR _result = 0;
  5831. HRESULT _hr = get_Address(&_result);
  5832. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5833. return _bstr_t(_result, false);
  5834. }
  5835. #pragma implementation_key(901)
  5836. inline void VGCore::IVGURL::PutAddress ( _bstr_t pVal ) {
  5837. HRESULT _hr = put_Address(pVal);
  5838. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5839. }
  5840. #pragma implementation_key(902)
  5841. inline _bstr_t VGCore::IVGURL::GetTargetFrame ( ) {
  5842. BSTR _result = 0;
  5843. HRESULT _hr = get_TargetFrame(&_result);
  5844. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5845. return _bstr_t(_result, false);
  5846. }
  5847. #pragma implementation_key(903)
  5848. inline void VGCore::IVGURL::PutTargetFrame ( _bstr_t pVal ) {
  5849. HRESULT _hr = put_TargetFrame(pVal);
  5850. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5851. }
  5852. #pragma implementation_key(904)
  5853. inline _bstr_t VGCore::IVGURL::GetAltComment ( ) {
  5854. BSTR _result = 0;
  5855. HRESULT _hr = get_AltComment(&_result);
  5856. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5857. return _bstr_t(_result, false);
  5858. }
  5859. #pragma implementation_key(905)
  5860. inline void VGCore::IVGURL::PutAltComment ( _bstr_t pVal ) {
  5861. HRESULT _hr = put_AltComment(pVal);
  5862. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5863. }
  5864. #pragma implementation_key(906)
  5865. inline _bstr_t VGCore::IVGURL::GetBookMark ( ) {
  5866. BSTR _result = 0;
  5867. HRESULT _hr = get_BookMark(&_result);
  5868. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5869. return _bstr_t(_result, false);
  5870. }
  5871. #pragma implementation_key(907)
  5872. inline void VGCore::IVGURL::PutBookMark ( _bstr_t pVal ) {
  5873. HRESULT _hr = put_BookMark(pVal);
  5874. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5875. }
  5876. #pragma implementation_key(908)
  5877. inline enum VGCore::cdrURLRegion VGCore::IVGURL::GetRegion ( ) {
  5878. enum cdrURLRegion _result;
  5879. HRESULT _hr = get_Region(&_result);
  5880. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5881. return _result;
  5882. }
  5883. #pragma implementation_key(909)
  5884. inline void VGCore::IVGURL::PutRegion ( enum cdrURLRegion pVal ) {
  5885. HRESULT _hr = put_Region(pVal);
  5886. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5887. }
  5888. //
  5889. // interface IVGCustomShape wrapper method implementations
  5890. //
  5891. #pragma implementation_key(910)
  5892. inline _bstr_t VGCore::IVGCustomShape::GetTypeID ( ) {
  5893. BSTR _result = 0;
  5894. HRESULT _hr = get_TypeID(&_result);
  5895. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5896. return _bstr_t(_result, false);
  5897. }
  5898. //
  5899. // interface IVGOLE wrapper method implementations
  5900. //
  5901. #pragma implementation_key(911)
  5902. inline _bstr_t VGCore::IVGOLE::GetClassID ( ) {
  5903. BSTR _result = 0;
  5904. HRESULT _hr = get_ClassID(&_result);
  5905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5906. return _bstr_t(_result, false);
  5907. }
  5908. #pragma implementation_key(912)
  5909. inline _bstr_t VGCore::IVGOLE::GetProgID ( ) {
  5910. BSTR _result = 0;
  5911. HRESULT _hr = get_ProgID(&_result);
  5912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5913. return _bstr_t(_result, false);
  5914. }
  5915. #pragma implementation_key(913)
  5916. inline enum VGCore::cdrOLEType VGCore::IVGOLE::GetType ( ) {
  5917. enum cdrOLEType _result;
  5918. HRESULT _hr = get_Type(&_result);
  5919. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5920. return _result;
  5921. }
  5922. #pragma implementation_key(914)
  5923. inline _bstr_t VGCore::IVGOLE::GetFullName ( ) {
  5924. BSTR _result = 0;
  5925. HRESULT _hr = get_FullName(&_result);
  5926. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5927. return _bstr_t(_result, false);
  5928. }
  5929. #pragma implementation_key(915)
  5930. inline _bstr_t VGCore::IVGOLE::GetShortName ( ) {
  5931. BSTR _result = 0;
  5932. HRESULT _hr = get_ShortName(&_result);
  5933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5934. return _bstr_t(_result, false);
  5935. }
  5936. #pragma implementation_key(916)
  5937. inline _bstr_t VGCore::IVGOLE::GetServerName ( ) {
  5938. BSTR _result = 0;
  5939. HRESULT _hr = get_ServerName(&_result);
  5940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5941. return _bstr_t(_result, false);
  5942. }
  5943. #pragma implementation_key(917)
  5944. inline VARIANT_BOOL VGCore::IVGOLE::GetModified ( ) {
  5945. VARIANT_BOOL _result = 0;
  5946. HRESULT _hr = get_Modified(&_result);
  5947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5948. return _result;
  5949. }
  5950. #pragma implementation_key(918)
  5951. inline VARIANT_BOOL VGCore::IVGOLE::GetIsInPlaceActive ( ) {
  5952. VARIANT_BOOL _result = 0;
  5953. HRESULT _hr = get_IsInPlaceActive(&_result);
  5954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5955. return _result;
  5956. }
  5957. #pragma implementation_key(919)
  5958. inline VARIANT_BOOL VGCore::IVGOLE::GetIsOpen ( ) {
  5959. VARIANT_BOOL _result = 0;
  5960. HRESULT _hr = get_IsOpen(&_result);
  5961. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5962. return _result;
  5963. }
  5964. #pragma implementation_key(920)
  5965. inline VARIANT_BOOL VGCore::IVGOLE::GetIsServerRunning ( ) {
  5966. VARIANT_BOOL _result = 0;
  5967. HRESULT _hr = get_IsServerRunning(&_result);
  5968. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5969. return _result;
  5970. }
  5971. #pragma implementation_key(921)
  5972. inline long VGCore::IVGOLE::GetInPlaceWindowHandle ( ) {
  5973. long _result = 0;
  5974. HRESULT _hr = get_InPlaceWindowHandle(&_result);
  5975. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5976. return _result;
  5977. }
  5978. #pragma implementation_key(922)
  5979. inline HRESULT VGCore::IVGOLE::Edit ( ) {
  5980. HRESULT _hr = raw_Edit();
  5981. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5982. return _hr;
  5983. }
  5984. #pragma implementation_key(923)
  5985. inline HRESULT VGCore::IVGOLE::Open ( ) {
  5986. HRESULT _hr = raw_Open();
  5987. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5988. return _hr;
  5989. }
  5990. #pragma implementation_key(924)
  5991. inline HRESULT VGCore::IVGOLE::Activate ( ) {
  5992. HRESULT _hr = raw_Activate();
  5993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  5994. return _hr;
  5995. }
  5996. #pragma implementation_key(925)
  5997. inline HRESULT VGCore::IVGOLE::Deactivate ( ) {
  5998. HRESULT _hr = raw_Deactivate();
  5999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6000. return _hr;
  6001. }
  6002. #pragma implementation_key(926)
  6003. inline HRESULT VGCore::IVGOLE::DoVerb ( long VerbID ) {
  6004. HRESULT _hr = raw_DoVerb(VerbID);
  6005. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6006. return _hr;
  6007. }
  6008. #pragma implementation_key(927)
  6009. inline VARIANT_BOOL VGCore::IVGOLE::GetIsLinkUpToDate ( ) {
  6010. VARIANT_BOOL _result = 0;
  6011. HRESULT _hr = get_IsLinkUpToDate(&_result);
  6012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6013. return _result;
  6014. }
  6015. #pragma implementation_key(928)
  6016. inline _bstr_t VGCore::IVGOLE::GetLinkPath ( ) {
  6017. BSTR _result = 0;
  6018. HRESULT _hr = get_LinkPath(&_result);
  6019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6020. return _bstr_t(_result, false);
  6021. }
  6022. #pragma implementation_key(929)
  6023. inline HRESULT VGCore::IVGOLE::UpdateLink ( ) {
  6024. HRESULT _hr = raw_UpdateLink();
  6025. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6026. return _hr;
  6027. }
  6028. //
  6029. // interface IVGBSplineControlPoint wrapper method implementations
  6030. //
  6031. #pragma implementation_key(930)
  6032. inline double VGCore::IVGBSplineControlPoint::Getx ( ) {
  6033. double _result = 0;
  6034. HRESULT _hr = get_x(&_result);
  6035. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6036. return _result;
  6037. }
  6038. #pragma implementation_key(931)
  6039. inline void VGCore::IVGBSplineControlPoint::Putx ( double pVal ) {
  6040. HRESULT _hr = put_x(pVal);
  6041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6042. }
  6043. #pragma implementation_key(932)
  6044. inline double VGCore::IVGBSplineControlPoint::Gety ( ) {
  6045. double _result = 0;
  6046. HRESULT _hr = get_y(&_result);
  6047. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6048. return _result;
  6049. }
  6050. #pragma implementation_key(933)
  6051. inline void VGCore::IVGBSplineControlPoint::Puty ( double pVal ) {
  6052. HRESULT _hr = put_y(pVal);
  6053. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6054. }
  6055. #pragma implementation_key(934)
  6056. inline VARIANT_BOOL VGCore::IVGBSplineControlPoint::GetClamped ( ) {
  6057. VARIANT_BOOL _result = 0;
  6058. HRESULT _hr = get_Clamped(&_result);
  6059. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6060. return _result;
  6061. }
  6062. #pragma implementation_key(935)
  6063. inline void VGCore::IVGBSplineControlPoint::PutClamped ( VARIANT_BOOL pVal ) {
  6064. HRESULT _hr = put_Clamped(pVal);
  6065. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6066. }
  6067. #pragma implementation_key(936)
  6068. inline HRESULT VGCore::IVGBSplineControlPoint::Move ( double x, double y ) {
  6069. HRESULT _hr = raw_Move(x, y);
  6070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6071. return _hr;
  6072. }
  6073. #pragma implementation_key(937)
  6074. inline HRESULT VGCore::IVGBSplineControlPoint::Delete ( ) {
  6075. HRESULT _hr = raw_Delete();
  6076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6077. return _hr;
  6078. }
  6079. #pragma implementation_key(938)
  6080. inline HRESULT VGCore::IVGBSplineControlPoint::GetPosition ( double * x, double * y ) {
  6081. HRESULT _hr = raw_GetPosition(x, y);
  6082. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6083. return _hr;
  6084. }
  6085. #pragma implementation_key(939)
  6086. inline HRESULT VGCore::IVGBSplineControlPoint::SetPosition ( double x, double y ) {
  6087. HRESULT _hr = raw_SetPosition(x, y);
  6088. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6089. return _hr;
  6090. }
  6091. #pragma implementation_key(940)
  6092. inline HRESULT VGCore::IVGBSplineControlPoint::SetProperties ( double x, double y, VARIANT_BOOL Clamped ) {
  6093. HRESULT _hr = raw_SetProperties(x, y, Clamped);
  6094. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6095. return _hr;
  6096. }
  6097. #pragma implementation_key(941)
  6098. inline long VGCore::IVGBSplineControlPoint::GetIndex ( ) {
  6099. long _result = 0;
  6100. HRESULT _hr = get_Index(&_result);
  6101. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6102. return _result;
  6103. }
  6104. //
  6105. // interface IVGBSplineControlPoints wrapper method implementations
  6106. //
  6107. #pragma implementation_key(942)
  6108. inline VGCore::IVGBSplineControlPointPtr VGCore::IVGBSplineControlPoints::GetFirst ( ) {
  6109. struct IVGBSplineControlPoint * _result = 0;
  6110. HRESULT _hr = get_First(&_result);
  6111. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6112. return IVGBSplineControlPointPtr(_result, false);
  6113. }
  6114. #pragma implementation_key(943)
  6115. inline VGCore::IVGBSplineControlPointPtr VGCore::IVGBSplineControlPoints::GetLast ( ) {
  6116. struct IVGBSplineControlPoint * _result = 0;
  6117. HRESULT _hr = get_Last(&_result);
  6118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6119. return IVGBSplineControlPointPtr(_result, false);
  6120. }
  6121. #pragma implementation_key(944)
  6122. inline VGCore::IVGBSplineControlPointPtr VGCore::IVGBSplineControlPoints::GetItem ( long Index ) {
  6123. struct IVGBSplineControlPoint * _result = 0;
  6124. HRESULT _hr = get_Item(Index, &_result);
  6125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6126. return IVGBSplineControlPointPtr(_result, false);
  6127. }
  6128. #pragma implementation_key(945)
  6129. inline long VGCore::IVGBSplineControlPoints::GetCount ( ) {
  6130. long _result = 0;
  6131. HRESULT _hr = get_Count(&_result);
  6132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6133. return _result;
  6134. }
  6135. #pragma implementation_key(946)
  6136. inline IUnknownPtr VGCore::IVGBSplineControlPoints::Get_NewEnum ( ) {
  6137. IUnknown * _result = 0;
  6138. HRESULT _hr = get__NewEnum(&_result);
  6139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6140. return IUnknownPtr(_result, false);
  6141. }
  6142. #pragma implementation_key(947)
  6143. inline HRESULT VGCore::IVGBSplineControlPoints::Resize ( long HowMany ) {
  6144. HRESULT _hr = raw_Resize(HowMany);
  6145. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6146. return _hr;
  6147. }
  6148. //
  6149. // interface IVGBSpline wrapper method implementations
  6150. //
  6151. #pragma implementation_key(948)
  6152. inline VGCore::IVGBSplineControlPointsPtr VGCore::IVGBSpline::GetControlPoints ( ) {
  6153. struct IVGBSplineControlPoints * _result = 0;
  6154. HRESULT _hr = get_ControlPoints(&_result);
  6155. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6156. return IVGBSplineControlPointsPtr(_result, false);
  6157. }
  6158. #pragma implementation_key(949)
  6159. inline VARIANT_BOOL VGCore::IVGBSpline::GetClosed ( ) {
  6160. VARIANT_BOOL _result = 0;
  6161. HRESULT _hr = get_Closed(&_result);
  6162. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6163. return _result;
  6164. }
  6165. #pragma implementation_key(950)
  6166. inline void VGCore::IVGBSpline::PutClosed ( VARIANT_BOOL pVal ) {
  6167. HRESULT _hr = put_Closed(pVal);
  6168. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6169. }
  6170. #pragma implementation_key(951)
  6171. inline HRESULT VGCore::IVGBSpline::InsertControlPoint ( long Index, double x, double y, VARIANT_BOOL Clamped ) {
  6172. HRESULT _hr = raw_InsertControlPoint(Index, x, y, Clamped);
  6173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6174. return _hr;
  6175. }
  6176. #pragma implementation_key(952)
  6177. inline HRESULT VGCore::IVGBSpline::InsertControlPoints ( long Index, long HowMany, double x, double y, VARIANT_BOOL Clamped ) {
  6178. HRESULT _hr = raw_InsertControlPoints(Index, HowMany, x, y, Clamped);
  6179. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6180. return _hr;
  6181. }
  6182. #pragma implementation_key(953)
  6183. inline VGCore::IVGBSplinePtr VGCore::IVGBSpline::GetCopy ( ) {
  6184. struct IVGBSpline * _result = 0;
  6185. HRESULT _hr = raw_GetCopy(&_result);
  6186. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6187. return IVGBSplinePtr(_result, false);
  6188. }
  6189. #pragma implementation_key(954)
  6190. inline HRESULT VGCore::IVGBSpline::CopyAssign ( struct IVGBSpline * rhs ) {
  6191. HRESULT _hr = raw_CopyAssign(rhs);
  6192. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6193. return _hr;
  6194. }
  6195. //
  6196. // interface IStructImportCropOptions wrapper method implementations
  6197. //
  6198. #pragma implementation_key(955)
  6199. inline _bstr_t VGCore::IStructImportCropOptions::GetFileName ( ) {
  6200. BSTR _result = 0;
  6201. HRESULT _hr = get_FileName(&_result);
  6202. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6203. return _bstr_t(_result, false);
  6204. }
  6205. #pragma implementation_key(956)
  6206. inline long VGCore::IStructImportCropOptions::GetFilterID ( ) {
  6207. long _result = 0;
  6208. HRESULT _hr = get_FilterID(&_result);
  6209. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6210. return _result;
  6211. }
  6212. #pragma implementation_key(957)
  6213. inline long VGCore::IStructImportCropOptions::GetCustomData ( ) {
  6214. long _result = 0;
  6215. HRESULT _hr = get_CustomData(&_result);
  6216. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6217. return _result;
  6218. }
  6219. #pragma implementation_key(958)
  6220. inline long VGCore::IStructImportCropOptions::GetImageWidth ( ) {
  6221. long _result = 0;
  6222. HRESULT _hr = get_ImageWidth(&_result);
  6223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6224. return _result;
  6225. }
  6226. #pragma implementation_key(959)
  6227. inline long VGCore::IStructImportCropOptions::GetImageHeight ( ) {
  6228. long _result = 0;
  6229. HRESULT _hr = get_ImageHeight(&_result);
  6230. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6231. return _result;
  6232. }
  6233. #pragma implementation_key(960)
  6234. inline long VGCore::IStructImportCropOptions::GetDpiX ( ) {
  6235. long _result = 0;
  6236. HRESULT _hr = get_DpiX(&_result);
  6237. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6238. return _result;
  6239. }
  6240. #pragma implementation_key(961)
  6241. inline long VGCore::IStructImportCropOptions::GetDpiY ( ) {
  6242. long _result = 0;
  6243. HRESULT _hr = get_DpiY(&_result);
  6244. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6245. return _result;
  6246. }
  6247. #pragma implementation_key(962)
  6248. inline long VGCore::IStructImportCropOptions::GetWidth ( ) {
  6249. long _result = 0;
  6250. HRESULT _hr = get_Width(&_result);
  6251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6252. return _result;
  6253. }
  6254. #pragma implementation_key(963)
  6255. inline void VGCore::IStructImportCropOptions::PutWidth ( long pVal ) {
  6256. HRESULT _hr = put_Width(pVal);
  6257. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6258. }
  6259. #pragma implementation_key(964)
  6260. inline long VGCore::IStructImportCropOptions::GetHeight ( ) {
  6261. long _result = 0;
  6262. HRESULT _hr = get_Height(&_result);
  6263. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6264. return _result;
  6265. }
  6266. #pragma implementation_key(965)
  6267. inline void VGCore::IStructImportCropOptions::PutHeight ( long pVal ) {
  6268. HRESULT _hr = put_Height(pVal);
  6269. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6270. }
  6271. #pragma implementation_key(966)
  6272. inline long VGCore::IStructImportCropOptions::GetLeft ( ) {
  6273. long _result = 0;
  6274. HRESULT _hr = get_Left(&_result);
  6275. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6276. return _result;
  6277. }
  6278. #pragma implementation_key(967)
  6279. inline void VGCore::IStructImportCropOptions::PutLeft ( long pVal ) {
  6280. HRESULT _hr = put_Left(pVal);
  6281. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6282. }
  6283. #pragma implementation_key(968)
  6284. inline long VGCore::IStructImportCropOptions::GetTop ( ) {
  6285. long _result = 0;
  6286. HRESULT _hr = get_Top(&_result);
  6287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6288. return _result;
  6289. }
  6290. #pragma implementation_key(969)
  6291. inline void VGCore::IStructImportCropOptions::PutTop ( long pVal ) {
  6292. HRESULT _hr = put_Top(pVal);
  6293. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6294. }
  6295. //
  6296. // interface IImportCropHandler wrapper method implementations
  6297. //
  6298. #pragma implementation_key(970)
  6299. inline VARIANT_BOOL VGCore::IImportCropHandler::Crop ( struct IStructImportCropOptions * Options ) {
  6300. VARIANT_BOOL _result = 0;
  6301. HRESULT _hr = raw_Crop(Options, &_result);
  6302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6303. return _result;
  6304. }
  6305. //
  6306. // interface IStructImportResampleOptions wrapper method implementations
  6307. //
  6308. #pragma implementation_key(971)
  6309. inline _bstr_t VGCore::IStructImportResampleOptions::GetFileName ( ) {
  6310. BSTR _result = 0;
  6311. HRESULT _hr = get_FileName(&_result);
  6312. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6313. return _bstr_t(_result, false);
  6314. }
  6315. #pragma implementation_key(972)
  6316. inline long VGCore::IStructImportResampleOptions::GetFilterID ( ) {
  6317. long _result = 0;
  6318. HRESULT _hr = get_FilterID(&_result);
  6319. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6320. return _result;
  6321. }
  6322. #pragma implementation_key(973)
  6323. inline long VGCore::IStructImportResampleOptions::GetCustomData ( ) {
  6324. long _result = 0;
  6325. HRESULT _hr = get_CustomData(&_result);
  6326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6327. return _result;
  6328. }
  6329. #pragma implementation_key(974)
  6330. inline long VGCore::IStructImportResampleOptions::GetWidth ( ) {
  6331. long _result = 0;
  6332. HRESULT _hr = get_Width(&_result);
  6333. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6334. return _result;
  6335. }
  6336. #pragma implementation_key(975)
  6337. inline void VGCore::IStructImportResampleOptions::PutWidth ( long pVal ) {
  6338. HRESULT _hr = put_Width(pVal);
  6339. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6340. }
  6341. #pragma implementation_key(976)
  6342. inline long VGCore::IStructImportResampleOptions::GetHeight ( ) {
  6343. long _result = 0;
  6344. HRESULT _hr = get_Height(&_result);
  6345. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6346. return _result;
  6347. }
  6348. #pragma implementation_key(977)
  6349. inline void VGCore::IStructImportResampleOptions::PutHeight ( long pVal ) {
  6350. HRESULT _hr = put_Height(pVal);
  6351. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6352. }
  6353. #pragma implementation_key(978)
  6354. inline long VGCore::IStructImportResampleOptions::GetDpiX ( ) {
  6355. long _result = 0;
  6356. HRESULT _hr = get_DpiX(&_result);
  6357. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6358. return _result;
  6359. }
  6360. #pragma implementation_key(979)
  6361. inline void VGCore::IStructImportResampleOptions::PutDpiX ( long pVal ) {
  6362. HRESULT _hr = put_DpiX(pVal);
  6363. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6364. }
  6365. #pragma implementation_key(980)
  6366. inline long VGCore::IStructImportResampleOptions::GetDpiY ( ) {
  6367. long _result = 0;
  6368. HRESULT _hr = get_DpiY(&_result);
  6369. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6370. return _result;
  6371. }
  6372. #pragma implementation_key(981)
  6373. inline void VGCore::IStructImportResampleOptions::PutDpiY ( long pVal ) {
  6374. HRESULT _hr = put_DpiY(pVal);
  6375. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6376. }
  6377. //
  6378. // interface IImportResampleHandler wrapper method implementations
  6379. //
  6380. #pragma implementation_key(982)
  6381. inline VARIANT_BOOL VGCore::IImportResampleHandler::Resample ( struct IStructImportResampleOptions * Options ) {
  6382. VARIANT_BOOL _result = 0;
  6383. HRESULT _hr = raw_Resample(Options, &_result);
  6384. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6385. return _result;
  6386. }
  6387. //
  6388. // interface IVGColorManagementPolicy wrapper method implementations
  6389. //
  6390. #pragma implementation_key(983)
  6391. inline enum VGCore::clrColorPolicyAction VGCore::IVGColorManagementPolicy::GetActionForRGB ( ) {
  6392. enum clrColorPolicyAction _result;
  6393. HRESULT _hr = get_ActionForRGB(&_result);
  6394. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6395. return _result;
  6396. }
  6397. #pragma implementation_key(984)
  6398. inline void VGCore::IVGColorManagementPolicy::PutActionForRGB ( enum clrColorPolicyAction pVal ) {
  6399. HRESULT _hr = put_ActionForRGB(pVal);
  6400. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6401. }
  6402. #pragma implementation_key(985)
  6403. inline enum VGCore::clrColorPolicyAction VGCore::IVGColorManagementPolicy::GetActionForCMYK ( ) {
  6404. enum clrColorPolicyAction _result;
  6405. HRESULT _hr = get_ActionForCMYK(&_result);
  6406. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6407. return _result;
  6408. }
  6409. #pragma implementation_key(986)
  6410. inline void VGCore::IVGColorManagementPolicy::PutActionForCMYK ( enum clrColorPolicyAction pVal ) {
  6411. HRESULT _hr = put_ActionForCMYK(pVal);
  6412. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6413. }
  6414. #pragma implementation_key(987)
  6415. inline enum VGCore::clrColorPolicyAction VGCore::IVGColorManagementPolicy::GetActionForGrayscale ( ) {
  6416. enum clrColorPolicyAction _result;
  6417. HRESULT _hr = get_ActionForGrayscale(&_result);
  6418. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6419. return _result;
  6420. }
  6421. #pragma implementation_key(988)
  6422. inline void VGCore::IVGColorManagementPolicy::PutActionForGrayscale ( enum clrColorPolicyAction pVal ) {
  6423. HRESULT _hr = put_ActionForGrayscale(pVal);
  6424. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6425. }
  6426. #pragma implementation_key(989)
  6427. inline VARIANT_BOOL VGCore::IVGColorManagementPolicy::GetWarnOnMismatchedProfiles ( ) {
  6428. VARIANT_BOOL _result = 0;
  6429. HRESULT _hr = get_WarnOnMismatchedProfiles(&_result);
  6430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6431. return _result;
  6432. }
  6433. #pragma implementation_key(990)
  6434. inline void VGCore::IVGColorManagementPolicy::PutWarnOnMismatchedProfiles ( VARIANT_BOOL pVal ) {
  6435. HRESULT _hr = put_WarnOnMismatchedProfiles(pVal);
  6436. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6437. }
  6438. #pragma implementation_key(991)
  6439. inline VARIANT_BOOL VGCore::IVGColorManagementPolicy::GetWarnOnMissingProfiles ( ) {
  6440. VARIANT_BOOL _result = 0;
  6441. HRESULT _hr = get_WarnOnMissingProfiles(&_result);
  6442. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6443. return _result;
  6444. }
  6445. #pragma implementation_key(992)
  6446. inline void VGCore::IVGColorManagementPolicy::PutWarnOnMissingProfiles ( VARIANT_BOOL pVal ) {
  6447. HRESULT _hr = put_WarnOnMissingProfiles(pVal);
  6448. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6449. }
  6450. //
  6451. // interface IVGStructColorConversionOptions wrapper method implementations
  6452. //
  6453. #pragma implementation_key(993)
  6454. inline VGCore::IVGColorManagementPolicyPtr VGCore::IVGStructColorConversionOptions::GetColorPolicy ( ) {
  6455. struct IVGColorManagementPolicy * _result = 0;
  6456. HRESULT _hr = get_ColorPolicy(&_result);
  6457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6458. return IVGColorManagementPolicyPtr(_result, false);
  6459. }
  6460. #pragma implementation_key(994)
  6461. inline _bstr_t VGCore::IVGStructColorConversionOptions::GetSourceColorProfileList ( ) {
  6462. BSTR _result = 0;
  6463. HRESULT _hr = get_SourceColorProfileList(&_result);
  6464. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6465. return _bstr_t(_result, false);
  6466. }
  6467. #pragma implementation_key(995)
  6468. inline void VGCore::IVGStructColorConversionOptions::PutSourceColorProfileList ( _bstr_t pVal ) {
  6469. HRESULT _hr = put_SourceColorProfileList(pVal);
  6470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6471. }
  6472. #pragma implementation_key(996)
  6473. inline _bstr_t VGCore::IVGStructColorConversionOptions::GetTargetColorProfileList ( ) {
  6474. BSTR _result = 0;
  6475. HRESULT _hr = get_TargetColorProfileList(&_result);
  6476. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6477. return _bstr_t(_result, false);
  6478. }
  6479. #pragma implementation_key(997)
  6480. inline void VGCore::IVGStructColorConversionOptions::PutTargetColorProfileList ( _bstr_t pVal ) {
  6481. HRESULT _hr = put_TargetColorProfileList(pVal);
  6482. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6483. }
  6484. #pragma implementation_key(998)
  6485. inline VGCore::IColorConversionHandlerPtr VGCore::IVGStructColorConversionOptions::GetColorConversionHandler ( ) {
  6486. struct IColorConversionHandler * _result = 0;
  6487. HRESULT _hr = get_ColorConversionHandler(&_result);
  6488. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6489. return IColorConversionHandlerPtr(_result, false);
  6490. }
  6491. #pragma implementation_key(999)
  6492. inline void VGCore::IVGStructColorConversionOptions::PutRefColorConversionHandler ( struct IColorConversionHandler * * ppVal ) {
  6493. HRESULT _hr = putref_ColorConversionHandler(ppVal);
  6494. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6495. }
  6496. //
  6497. // interface IVGStructImportOptions wrapper method implementations
  6498. //
  6499. #pragma implementation_key(1000)
  6500. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetLinkBitmapExternally ( ) {
  6501. VARIANT_BOOL _result = 0;
  6502. HRESULT _hr = get_LinkBitmapExternally(&_result);
  6503. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6504. return _result;
  6505. }
  6506. #pragma implementation_key(1001)
  6507. inline void VGCore::IVGStructImportOptions::PutLinkBitmapExternally ( VARIANT_BOOL pVal ) {
  6508. HRESULT _hr = put_LinkBitmapExternally(pVal);
  6509. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6510. }
  6511. #pragma implementation_key(1002)
  6512. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetCombineMultilayerBitmaps ( ) {
  6513. VARIANT_BOOL _result = 0;
  6514. HRESULT _hr = get_CombineMultilayerBitmaps(&_result);
  6515. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6516. return _result;
  6517. }
  6518. #pragma implementation_key(1003)
  6519. inline void VGCore::IVGStructImportOptions::PutCombineMultilayerBitmaps ( VARIANT_BOOL pVal ) {
  6520. HRESULT _hr = put_CombineMultilayerBitmaps(pVal);
  6521. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6522. }
  6523. #pragma implementation_key(1004)
  6524. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetExtractICCProfile ( ) {
  6525. VARIANT_BOOL _result = 0;
  6526. HRESULT _hr = get_ExtractICCProfile(&_result);
  6527. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6528. return _result;
  6529. }
  6530. #pragma implementation_key(1005)
  6531. inline void VGCore::IVGStructImportOptions::PutExtractICCProfile ( VARIANT_BOOL pVal ) {
  6532. HRESULT _hr = put_ExtractICCProfile(pVal);
  6533. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6534. }
  6535. #pragma implementation_key(1006)
  6536. inline _bstr_t VGCore::IVGStructImportOptions::GetICCFileName ( ) {
  6537. BSTR _result = 0;
  6538. HRESULT _hr = get_ICCFileName(&_result);
  6539. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6540. return _bstr_t(_result, false);
  6541. }
  6542. #pragma implementation_key(1007)
  6543. inline void VGCore::IVGStructImportOptions::PutICCFileName ( _bstr_t pVal ) {
  6544. HRESULT _hr = put_ICCFileName(pVal);
  6545. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6546. }
  6547. #pragma implementation_key(1008)
  6548. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetMaintainLayers ( ) {
  6549. VARIANT_BOOL _result = 0;
  6550. HRESULT _hr = get_MaintainLayers(&_result);
  6551. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6552. return _result;
  6553. }
  6554. #pragma implementation_key(1009)
  6555. inline void VGCore::IVGStructImportOptions::PutMaintainLayers ( VARIANT_BOOL pVal ) {
  6556. HRESULT _hr = put_MaintainLayers(pVal);
  6557. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6558. }
  6559. #pragma implementation_key(1010)
  6560. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetUseOPILinks ( ) {
  6561. VARIANT_BOOL _result = 0;
  6562. HRESULT _hr = get_UseOPILinks(&_result);
  6563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6564. return _result;
  6565. }
  6566. #pragma implementation_key(1011)
  6567. inline void VGCore::IVGStructImportOptions::PutUseOPILinks ( VARIANT_BOOL pVal ) {
  6568. HRESULT _hr = put_UseOPILinks(pVal);
  6569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6570. }
  6571. #pragma implementation_key(1012)
  6572. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetDetectWatermark ( ) {
  6573. VARIANT_BOOL _result = 0;
  6574. HRESULT _hr = get_DetectWatermark(&_result);
  6575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6576. return _result;
  6577. }
  6578. #pragma implementation_key(1013)
  6579. inline void VGCore::IVGStructImportOptions::PutDetectWatermark ( VARIANT_BOOL pVal ) {
  6580. HRESULT _hr = put_DetectWatermark(pVal);
  6581. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6582. }
  6583. #pragma implementation_key(1014)
  6584. inline enum VGCore::cdrImportMode VGCore::IVGStructImportOptions::GetMode ( ) {
  6585. enum cdrImportMode _result;
  6586. HRESULT _hr = get_Mode(&_result);
  6587. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6588. return _result;
  6589. }
  6590. #pragma implementation_key(1015)
  6591. inline void VGCore::IVGStructImportOptions::PutMode ( enum cdrImportMode pVal ) {
  6592. HRESULT _hr = put_Mode(pVal);
  6593. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6594. }
  6595. #pragma implementation_key(1016)
  6596. inline long VGCore::IVGStructImportOptions::GetCustomData ( ) {
  6597. long _result = 0;
  6598. HRESULT _hr = get_CustomData(&_result);
  6599. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6600. return _result;
  6601. }
  6602. #pragma implementation_key(1017)
  6603. inline void VGCore::IVGStructImportOptions::PutCustomData ( long pVal ) {
  6604. HRESULT _hr = put_CustomData(pVal);
  6605. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6606. }
  6607. #pragma implementation_key(1018)
  6608. inline long VGCore::IVGStructImportOptions::GetImageIndex ( ) {
  6609. long _result = 0;
  6610. HRESULT _hr = get_ImageIndex(&_result);
  6611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6612. return _result;
  6613. }
  6614. #pragma implementation_key(1019)
  6615. inline void VGCore::IVGStructImportOptions::PutImageIndex ( long pVal ) {
  6616. HRESULT _hr = put_ImageIndex(pVal);
  6617. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6618. }
  6619. #pragma implementation_key(1020)
  6620. inline VGCore::IImportCropHandlerPtr VGCore::IVGStructImportOptions::GetCropHandler ( ) {
  6621. struct IImportCropHandler * _result = 0;
  6622. HRESULT _hr = get_CropHandler(&_result);
  6623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6624. return IImportCropHandlerPtr(_result, false);
  6625. }
  6626. #pragma implementation_key(1021)
  6627. inline void VGCore::IVGStructImportOptions::PutRefCropHandler ( struct IImportCropHandler * * ppVal ) {
  6628. HRESULT _hr = putref_CropHandler(ppVal);
  6629. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6630. }
  6631. #pragma implementation_key(1022)
  6632. inline VGCore::IImportResampleHandlerPtr VGCore::IVGStructImportOptions::GetResampleHandler ( ) {
  6633. struct IImportResampleHandler * _result = 0;
  6634. HRESULT _hr = get_ResampleHandler(&_result);
  6635. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6636. return IImportResampleHandlerPtr(_result, false);
  6637. }
  6638. #pragma implementation_key(1023)
  6639. inline void VGCore::IVGStructImportOptions::PutRefResampleHandler ( struct IImportResampleHandler * * ppVal ) {
  6640. HRESULT _hr = putref_ResampleHandler(ppVal);
  6641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6642. }
  6643. #pragma implementation_key(1024)
  6644. inline enum VGCore::cdrImportTextFormatting VGCore::IVGStructImportOptions::GetTextFormatting ( ) {
  6645. enum cdrImportTextFormatting _result;
  6646. HRESULT _hr = get_TextFormatting(&_result);
  6647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6648. return _result;
  6649. }
  6650. #pragma implementation_key(1025)
  6651. inline void VGCore::IVGStructImportOptions::PutTextFormatting ( enum cdrImportTextFormatting pVal ) {
  6652. HRESULT _hr = put_TextFormatting(pVal);
  6653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6654. }
  6655. #pragma implementation_key(1026)
  6656. inline enum VGCore::cdrImportTableOutline VGCore::IVGStructImportOptions::GetTableOutline ( ) {
  6657. enum cdrImportTableOutline _result;
  6658. HRESULT _hr = get_TableOutline(&_result);
  6659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6660. return _result;
  6661. }
  6662. #pragma implementation_key(1027)
  6663. inline void VGCore::IVGStructImportOptions::PutTableOutline ( enum cdrImportTableOutline pVal ) {
  6664. HRESULT _hr = put_TableOutline(pVal);
  6665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6666. }
  6667. #pragma implementation_key(1028)
  6668. inline long VGCore::IVGStructImportOptions::GetCodePage ( ) {
  6669. long _result = 0;
  6670. HRESULT _hr = get_CodePage(&_result);
  6671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6672. return _result;
  6673. }
  6674. #pragma implementation_key(1029)
  6675. inline void VGCore::IVGStructImportOptions::PutCodePage ( long pVal ) {
  6676. HRESULT _hr = put_CodePage(pVal);
  6677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6678. }
  6679. #pragma implementation_key(1030)
  6680. inline long VGCore::IVGStructImportOptions::GetResampleWidth ( ) {
  6681. long _result = 0;
  6682. HRESULT _hr = get_ResampleWidth(&_result);
  6683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6684. return _result;
  6685. }
  6686. #pragma implementation_key(1031)
  6687. inline void VGCore::IVGStructImportOptions::PutResampleWidth ( long pVal ) {
  6688. HRESULT _hr = put_ResampleWidth(pVal);
  6689. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6690. }
  6691. #pragma implementation_key(1032)
  6692. inline long VGCore::IVGStructImportOptions::GetResampleHeight ( ) {
  6693. long _result = 0;
  6694. HRESULT _hr = get_ResampleHeight(&_result);
  6695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6696. return _result;
  6697. }
  6698. #pragma implementation_key(1033)
  6699. inline void VGCore::IVGStructImportOptions::PutResampleHeight ( long pVal ) {
  6700. HRESULT _hr = put_ResampleHeight(pVal);
  6701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6702. }
  6703. #pragma implementation_key(1034)
  6704. inline long VGCore::IVGStructImportOptions::GetCropLeft ( ) {
  6705. long _result = 0;
  6706. HRESULT _hr = get_CropLeft(&_result);
  6707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6708. return _result;
  6709. }
  6710. #pragma implementation_key(1035)
  6711. inline void VGCore::IVGStructImportOptions::PutCropLeft ( long pVal ) {
  6712. HRESULT _hr = put_CropLeft(pVal);
  6713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6714. }
  6715. #pragma implementation_key(1036)
  6716. inline long VGCore::IVGStructImportOptions::GetCropTop ( ) {
  6717. long _result = 0;
  6718. HRESULT _hr = get_CropTop(&_result);
  6719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6720. return _result;
  6721. }
  6722. #pragma implementation_key(1037)
  6723. inline void VGCore::IVGStructImportOptions::PutCropTop ( long pVal ) {
  6724. HRESULT _hr = put_CropTop(pVal);
  6725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6726. }
  6727. #pragma implementation_key(1038)
  6728. inline long VGCore::IVGStructImportOptions::GetCropWidth ( ) {
  6729. long _result = 0;
  6730. HRESULT _hr = get_CropWidth(&_result);
  6731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6732. return _result;
  6733. }
  6734. #pragma implementation_key(1039)
  6735. inline void VGCore::IVGStructImportOptions::PutCropWidth ( long pVal ) {
  6736. HRESULT _hr = put_CropWidth(pVal);
  6737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6738. }
  6739. #pragma implementation_key(1040)
  6740. inline long VGCore::IVGStructImportOptions::GetCropHeight ( ) {
  6741. long _result = 0;
  6742. HRESULT _hr = get_CropHeight(&_result);
  6743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6744. return _result;
  6745. }
  6746. #pragma implementation_key(1041)
  6747. inline void VGCore::IVGStructImportOptions::PutCropHeight ( long pVal ) {
  6748. HRESULT _hr = put_CropHeight(pVal);
  6749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6750. }
  6751. #pragma implementation_key(1042)
  6752. inline long VGCore::IVGStructImportOptions::GetResampleDpiX ( ) {
  6753. long _result = 0;
  6754. HRESULT _hr = get_ResampleDpiX(&_result);
  6755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6756. return _result;
  6757. }
  6758. #pragma implementation_key(1043)
  6759. inline void VGCore::IVGStructImportOptions::PutResampleDpiX ( long pVal ) {
  6760. HRESULT _hr = put_ResampleDpiX(pVal);
  6761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6762. }
  6763. #pragma implementation_key(1044)
  6764. inline long VGCore::IVGStructImportOptions::GetResampleDpiY ( ) {
  6765. long _result = 0;
  6766. HRESULT _hr = get_ResampleDpiY(&_result);
  6767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6768. return _result;
  6769. }
  6770. #pragma implementation_key(1045)
  6771. inline void VGCore::IVGStructImportOptions::PutResampleDpiY ( long pVal ) {
  6772. HRESULT _hr = put_ResampleDpiY(pVal);
  6773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6774. }
  6775. #pragma implementation_key(1046)
  6776. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetForceCMYKBlackText ( ) {
  6777. VARIANT_BOOL _result = 0;
  6778. HRESULT _hr = get_ForceCMYKBlackText(&_result);
  6779. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6780. return _result;
  6781. }
  6782. #pragma implementation_key(1047)
  6783. inline void VGCore::IVGStructImportOptions::PutForceCMYKBlackText ( VARIANT_BOOL pVal ) {
  6784. HRESULT _hr = put_ForceCMYKBlackText(pVal);
  6785. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6786. }
  6787. #pragma implementation_key(1048)
  6788. inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetConvertTablesToText ( ) {
  6789. VARIANT_BOOL _result = 0;
  6790. HRESULT _hr = get_ConvertTablesToText(&_result);
  6791. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6792. return _result;
  6793. }
  6794. #pragma implementation_key(1049)
  6795. inline void VGCore::IVGStructImportOptions::PutConvertTablesToText ( VARIANT_BOOL pVal ) {
  6796. HRESULT _hr = put_ConvertTablesToText(pVal);
  6797. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6798. }
  6799. #pragma implementation_key(1050)
  6800. inline _bstr_t VGCore::IVGStructImportOptions::GetTableColumnDelimiter ( ) {
  6801. BSTR _result = 0;
  6802. HRESULT _hr = get_TableColumnDelimiter(&_result);
  6803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6804. return _bstr_t(_result, false);
  6805. }
  6806. #pragma implementation_key(1051)
  6807. inline void VGCore::IVGStructImportOptions::PutTableColumnDelimiter ( _bstr_t pVal ) {
  6808. HRESULT _hr = put_TableColumnDelimiter(pVal);
  6809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6810. }
  6811. #pragma implementation_key(1052)
  6812. inline VGCore::IVGStructColorConversionOptionsPtr VGCore::IVGStructImportOptions::GetColorConversionOptions ( ) {
  6813. struct IVGStructColorConversionOptions * _result = 0;
  6814. HRESULT _hr = get_ColorConversionOptions(&_result);
  6815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6816. return IVGStructColorConversionOptionsPtr(_result, false);
  6817. }
  6818. //
  6819. // interface IVGStructPasteOptions wrapper method implementations
  6820. //
  6821. #pragma implementation_key(1053)
  6822. inline VGCore::IVGStructColorConversionOptionsPtr VGCore::IVGStructPasteOptions::GetColorConversionOptions ( ) {
  6823. struct IVGStructColorConversionOptions * _result = 0;
  6824. HRESULT _hr = get_ColorConversionOptions(&_result);
  6825. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6826. return IVGStructColorConversionOptionsPtr(_result, false);
  6827. }
  6828. //
  6829. // interface IVGCommentAuthor wrapper method implementations
  6830. //
  6831. #pragma implementation_key(1054)
  6832. inline _bstr_t VGCore::IVGCommentAuthor::GetEmail ( ) {
  6833. BSTR _result = 0;
  6834. HRESULT _hr = get_Email(&_result);
  6835. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6836. return _bstr_t(_result, false);
  6837. }
  6838. #pragma implementation_key(1055)
  6839. inline _bstr_t VGCore::IVGCommentAuthor::GetAvatar ( ) {
  6840. BSTR _result = 0;
  6841. HRESULT _hr = get_Avatar(&_result);
  6842. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6843. return _bstr_t(_result, false);
  6844. }
  6845. #pragma implementation_key(1056)
  6846. inline enum VGCore::cdrAuthorAuthentication VGCore::IVGCommentAuthor::GetAuthentication ( ) {
  6847. enum cdrAuthorAuthentication _result;
  6848. HRESULT _hr = get_Authentication(&_result);
  6849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6850. return _result;
  6851. }
  6852. #pragma implementation_key(1057)
  6853. inline _bstr_t VGCore::IVGCommentAuthor::GetName ( ) {
  6854. BSTR _result = 0;
  6855. HRESULT _hr = get_Name(&_result);
  6856. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6857. return _bstr_t(_result, false);
  6858. }
  6859. #pragma implementation_key(1058)
  6860. inline _bstr_t VGCore::IVGCommentAuthor::GetOnlineID ( ) {
  6861. BSTR _result = 0;
  6862. HRESULT _hr = get_OnlineID(&_result);
  6863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6864. return _bstr_t(_result, false);
  6865. }
  6866. #pragma implementation_key(1059)
  6867. inline void VGCore::IVGCommentAuthor::PutOnlineID ( _bstr_t pRet ) {
  6868. HRESULT _hr = put_OnlineID(pRet);
  6869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6870. }
  6871. //
  6872. // interface ICorelScriptTools wrapper method implementations
  6873. //
  6874. #pragma implementation_key(1060)
  6875. inline double VGCore::ICorelScriptTools::AngleConvert ( long FromUnit, long ToUnit, double Value ) {
  6876. double _result = 0;
  6877. HRESULT _hr = raw_AngleConvert(FromUnit, ToUnit, Value, &_result);
  6878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6879. return _result;
  6880. }
  6881. #pragma implementation_key(1061)
  6882. inline double VGCore::ICorelScriptTools::ASin ( double Value ) {
  6883. double _result = 0;
  6884. HRESULT _hr = raw_ASin(Value, &_result);
  6885. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6886. return _result;
  6887. }
  6888. #pragma implementation_key(1062)
  6889. inline HRESULT VGCore::ICorelScriptTools::BeginWaitCursor ( ) {
  6890. HRESULT _hr = raw_BeginWaitCursor();
  6891. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6892. return _hr;
  6893. }
  6894. #pragma implementation_key(1063)
  6895. inline HRESULT VGCore::ICorelScriptTools::EndWaitCursor ( ) {
  6896. HRESULT _hr = raw_EndWaitCursor();
  6897. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6898. return _hr;
  6899. }
  6900. #pragma implementation_key(1064)
  6901. inline DATE VGCore::ICorelScriptTools::BuildDate ( long Year, long Month, long Day ) {
  6902. DATE _result = 0;
  6903. HRESULT _hr = raw_BuildDate(Year, Month, Day, &_result);
  6904. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6905. return _result;
  6906. }
  6907. #pragma implementation_key(1065)
  6908. inline DATE VGCore::ICorelScriptTools::BuildTime ( long Hour, long Minute, long Second ) {
  6909. DATE _result = 0;
  6910. HRESULT _hr = raw_BuildTime(Hour, Minute, Second, &_result);
  6911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6912. return _result;
  6913. }
  6914. #pragma implementation_key(1066)
  6915. inline long VGCore::ICorelScriptTools::Dec ( _bstr_t Hex ) {
  6916. long _result = 0;
  6917. HRESULT _hr = raw_Dec(Hex, &_result);
  6918. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6919. return _result;
  6920. }
  6921. #pragma implementation_key(1067)
  6922. inline long VGCore::ICorelScriptTools::FileAttr ( _bstr_t FolderFile ) {
  6923. long _result = 0;
  6924. HRESULT _hr = raw_FileAttr(FolderFile, &_result);
  6925. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6926. return _result;
  6927. }
  6928. #pragma implementation_key(1068)
  6929. inline _bstr_t VGCore::ICorelScriptTools::FindFirstFolder ( _bstr_t SearchCriteria, long Attributes ) {
  6930. BSTR _result = 0;
  6931. HRESULT _hr = raw_FindFirstFolder(SearchCriteria, Attributes, &_result);
  6932. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6933. return _bstr_t(_result, false);
  6934. }
  6935. #pragma implementation_key(1069)
  6936. inline _bstr_t VGCore::ICorelScriptTools::FindNextFolder ( ) {
  6937. BSTR _result = 0;
  6938. HRESULT _hr = raw_FindNextFolder(&_result);
  6939. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6940. return _bstr_t(_result, false);
  6941. }
  6942. #pragma implementation_key(1070)
  6943. inline _bstr_t VGCore::ICorelScriptTools::FormatTime ( DATE Time, _bstr_t Format ) {
  6944. BSTR _result = 0;
  6945. HRESULT _hr = raw_FormatTime(Time, Format, &_result);
  6946. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6947. return _bstr_t(_result, false);
  6948. }
  6949. #pragma implementation_key(1071)
  6950. inline double VGCore::ICorelScriptTools::FromCentimeters ( double Value ) {
  6951. double _result = 0;
  6952. HRESULT _hr = raw_FromCentimeters(Value, &_result);
  6953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6954. return _result;
  6955. }
  6956. #pragma implementation_key(1072)
  6957. inline double VGCore::ICorelScriptTools::FromCiceros ( double Value ) {
  6958. double _result = 0;
  6959. HRESULT _hr = raw_FromCiceros(Value, &_result);
  6960. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6961. return _result;
  6962. }
  6963. #pragma implementation_key(1073)
  6964. inline double VGCore::ICorelScriptTools::FromDidots ( double Value ) {
  6965. double _result = 0;
  6966. HRESULT _hr = raw_FromDidots(Value, &_result);
  6967. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6968. return _result;
  6969. }
  6970. #pragma implementation_key(1074)
  6971. inline double VGCore::ICorelScriptTools::FromInches ( double Value ) {
  6972. double _result = 0;
  6973. HRESULT _hr = raw_FromInches(Value, &_result);
  6974. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6975. return _result;
  6976. }
  6977. #pragma implementation_key(1075)
  6978. inline double VGCore::ICorelScriptTools::FromPicas ( double Value ) {
  6979. double _result = 0;
  6980. HRESULT _hr = raw_FromPicas(Value, &_result);
  6981. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6982. return _result;
  6983. }
  6984. #pragma implementation_key(1076)
  6985. inline double VGCore::ICorelScriptTools::FromPoints ( double Value ) {
  6986. double _result = 0;
  6987. HRESULT _hr = raw_FromPoints(Value, &_result);
  6988. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6989. return _result;
  6990. }
  6991. #pragma implementation_key(1077)
  6992. inline long VGCore::ICorelScriptTools::GetAppHandle ( ) {
  6993. long _result = 0;
  6994. HRESULT _hr = raw_GetAppHandle(&_result);
  6995. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  6996. return _result;
  6997. }
  6998. #pragma implementation_key(1078)
  6999. inline VARIANT_BOOL VGCore::ICorelScriptTools::GetColor ( long * Red, long * Green, long * Blue ) {
  7000. VARIANT_BOOL _result = 0;
  7001. HRESULT _hr = raw_GetColor(Red, Green, Blue, &_result);
  7002. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7003. return _result;
  7004. }
  7005. #pragma implementation_key(1079)
  7006. inline _bstr_t VGCore::ICorelScriptTools::GetCommandLine ( ) {
  7007. BSTR _result = 0;
  7008. HRESULT _hr = raw_GetCommandLine(&_result);
  7009. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7010. return _bstr_t(_result, false);
  7011. }
  7012. #pragma implementation_key(1080)
  7013. inline _bstr_t VGCore::ICorelScriptTools::GetCurrFolder ( ) {
  7014. BSTR _result = 0;
  7015. HRESULT _hr = raw_GetCurrFolder(&_result);
  7016. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7017. return _bstr_t(_result, false);
  7018. }
  7019. #pragma implementation_key(1081)
  7020. inline HRESULT VGCore::ICorelScriptTools::GetDateInfo ( DATE Date, long * Year, long * Month, long * Day, long * DayOfWeek ) {
  7021. HRESULT _hr = raw_GetDateInfo(Date, Year, Month, Day, DayOfWeek);
  7022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7023. return _hr;
  7024. }
  7025. #pragma implementation_key(1082)
  7026. inline _bstr_t VGCore::ICorelScriptTools::GetFileBox ( _bstr_t Filter, _bstr_t Title, long Type, _bstr_t File, _bstr_t Extension, _bstr_t Folder, _bstr_t Button ) {
  7027. BSTR _result = 0;
  7028. HRESULT _hr = raw_GetFileBox(Filter, Title, Type, File, Extension, Folder, Button, &_result);
  7029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7030. return _bstr_t(_result, false);
  7031. }
  7032. #pragma implementation_key(1083)
  7033. inline _bstr_t VGCore::ICorelScriptTools::GetFolder ( _bstr_t InitFolder, _bstr_t Title, long ParentWindowHandle ) {
  7034. BSTR _result = 0;
  7035. HRESULT _hr = raw_GetFolder(InitFolder, Title, ParentWindowHandle, &_result);
  7036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7037. return _bstr_t(_result, false);
  7038. }
  7039. #pragma implementation_key(1084)
  7040. inline VARIANT_BOOL VGCore::ICorelScriptTools::GetFont ( BSTR * FaceName, long * PointSize, long * Weight, VARIANT_BOOL * Italic, VARIANT_BOOL * Underline, VARIANT_BOOL * StrikeOut, long * Red, long * Green, long * Blue ) {
  7041. VARIANT_BOOL _result = 0;
  7042. HRESULT _hr = raw_GetFont(FaceName, PointSize, Weight, Italic, Underline, StrikeOut, Red, Green, Blue, &_result);
  7043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7044. return _result;
  7045. }
  7046. #pragma implementation_key(1085)
  7047. inline long VGCore::ICorelScriptTools::GetProcessInfo ( long ProcessHandle ) {
  7048. long _result = 0;
  7049. HRESULT _hr = raw_GetProcessInfo(ProcessHandle, &_result);
  7050. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7051. return _result;
  7052. }
  7053. #pragma implementation_key(1086)
  7054. inline _bstr_t VGCore::ICorelScriptTools::GetScriptFolder ( ) {
  7055. BSTR _result = 0;
  7056. HRESULT _hr = raw_GetScriptFolder(&_result);
  7057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7058. return _bstr_t(_result, false);
  7059. }
  7060. #pragma implementation_key(1087)
  7061. inline _bstr_t VGCore::ICorelScriptTools::GetTempFolder ( ) {
  7062. BSTR _result = 0;
  7063. HRESULT _hr = raw_GetTempFolder(&_result);
  7064. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7065. return _bstr_t(_result, false);
  7066. }
  7067. #pragma implementation_key(1088)
  7068. inline HRESULT VGCore::ICorelScriptTools::GetTimeInfo ( DATE Time, long * Hour, long * Minute, long * Second ) {
  7069. HRESULT _hr = raw_GetTimeInfo(Time, Hour, Minute, Second);
  7070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7071. return _hr;
  7072. }
  7073. #pragma implementation_key(1089)
  7074. inline long VGCore::ICorelScriptTools::GetType ( const _variant_t & Expression ) {
  7075. long _result = 0;
  7076. HRESULT _hr = raw_GetType(Expression, &_result);
  7077. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7078. return _result;
  7079. }
  7080. #pragma implementation_key(1090)
  7081. inline long VGCore::ICorelScriptTools::GetVersion ( long Option ) {
  7082. long _result = 0;
  7083. HRESULT _hr = raw_GetVersion(Option, &_result);
  7084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7085. return _result;
  7086. }
  7087. #pragma implementation_key(1091)
  7088. inline long VGCore::ICorelScriptTools::GetWinHandle ( ) {
  7089. long _result = 0;
  7090. HRESULT _hr = raw_GetWinHandle(&_result);
  7091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7092. return _result;
  7093. }
  7094. #pragma implementation_key(1092)
  7095. inline VARIANT_BOOL VGCore::ICorelScriptTools::Kill ( _bstr_t FileName ) {
  7096. VARIANT_BOOL _result = 0;
  7097. HRESULT _hr = raw_Kill(FileName, &_result);
  7098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7099. return _result;
  7100. }
  7101. #pragma implementation_key(1093)
  7102. inline double VGCore::ICorelScriptTools::LengthConvert ( long FromUnit, long ToUnit, double Value ) {
  7103. double _result = 0;
  7104. HRESULT _hr = raw_LengthConvert(FromUnit, ToUnit, Value, &_result);
  7105. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7106. return _result;
  7107. }
  7108. #pragma implementation_key(1094)
  7109. inline double VGCore::ICorelScriptTools::Log ( double Value ) {
  7110. double _result = 0;
  7111. HRESULT _hr = raw_Log(Value, &_result);
  7112. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7113. return _result;
  7114. }
  7115. #pragma implementation_key(1095)
  7116. inline VARIANT_BOOL VGCore::ICorelScriptTools::MkFolder ( _bstr_t Folder ) {
  7117. VARIANT_BOOL _result = 0;
  7118. HRESULT _hr = raw_MkFolder(Folder, &_result);
  7119. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7120. return _result;
  7121. }
  7122. #pragma implementation_key(1096)
  7123. inline _variant_t VGCore::ICorelScriptTools::RegistryQuery ( long MainKey, _bstr_t SubKey, _bstr_t Value ) {
  7124. VARIANT _result;
  7125. VariantInit(&_result);
  7126. HRESULT _hr = raw_RegistryQuery(MainKey, SubKey, Value, &_result);
  7127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7128. return _variant_t(_result, false);
  7129. }
  7130. #pragma implementation_key(1097)
  7131. inline VARIANT_BOOL VGCore::ICorelScriptTools::Rename ( _bstr_t Src, _bstr_t Dst, long Overwrite ) {
  7132. VARIANT_BOOL _result = 0;
  7133. HRESULT _hr = raw_Rename(Src, Dst, Overwrite, &_result);
  7134. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7135. return _result;
  7136. }
  7137. #pragma implementation_key(1098)
  7138. inline VARIANT_BOOL VGCore::ICorelScriptTools::RmFolder ( _bstr_t Folder ) {
  7139. VARIANT_BOOL _result = 0;
  7140. HRESULT _hr = raw_RmFolder(Folder, &_result);
  7141. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7142. return _result;
  7143. }
  7144. #pragma implementation_key(1099)
  7145. inline double VGCore::ICorelScriptTools::ToCentimeters ( double Value ) {
  7146. double _result = 0;
  7147. HRESULT _hr = raw_ToCentimeters(Value, &_result);
  7148. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7149. return _result;
  7150. }
  7151. #pragma implementation_key(1100)
  7152. inline double VGCore::ICorelScriptTools::ToCiceros ( double Value ) {
  7153. double _result = 0;
  7154. HRESULT _hr = raw_ToCiceros(Value, &_result);
  7155. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7156. return _result;
  7157. }
  7158. #pragma implementation_key(1101)
  7159. inline double VGCore::ICorelScriptTools::ToDidots ( double Value ) {
  7160. double _result = 0;
  7161. HRESULT _hr = raw_ToDidots(Value, &_result);
  7162. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7163. return _result;
  7164. }
  7165. #pragma implementation_key(1102)
  7166. inline double VGCore::ICorelScriptTools::ToInches ( double Value ) {
  7167. double _result = 0;
  7168. HRESULT _hr = raw_ToInches(Value, &_result);
  7169. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7170. return _result;
  7171. }
  7172. #pragma implementation_key(1103)
  7173. inline double VGCore::ICorelScriptTools::ToPicas ( double Value ) {
  7174. double _result = 0;
  7175. HRESULT _hr = raw_ToPicas(Value, &_result);
  7176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7177. return _result;
  7178. }
  7179. #pragma implementation_key(1104)
  7180. inline double VGCore::ICorelScriptTools::ToPoints ( double Value ) {
  7181. double _result = 0;
  7182. HRESULT _hr = raw_ToPoints(Value, &_result);
  7183. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7184. return _result;
  7185. }
  7186. //
  7187. // interface IVGFontList wrapper method implementations
  7188. //
  7189. #pragma implementation_key(1105)
  7190. inline IDispatchPtr VGCore::IVGFontList::GetApplication ( ) {
  7191. IDispatch * _result = 0;
  7192. HRESULT _hr = get_Application(&_result);
  7193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7194. return IDispatchPtr(_result, false);
  7195. }
  7196. #pragma implementation_key(1106)
  7197. inline IDispatchPtr VGCore::IVGFontList::GetParent ( ) {
  7198. IDispatch * _result = 0;
  7199. HRESULT _hr = get_Parent(&_result);
  7200. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7201. return IDispatchPtr(_result, false);
  7202. }
  7203. #pragma implementation_key(1107)
  7204. inline _bstr_t VGCore::IVGFontList::GetItem ( long Index ) {
  7205. BSTR _result = 0;
  7206. HRESULT _hr = get_Item(Index, &_result);
  7207. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7208. return _bstr_t(_result, false);
  7209. }
  7210. #pragma implementation_key(1108)
  7211. inline IUnknownPtr VGCore::IVGFontList::Get_NewEnum ( ) {
  7212. IUnknown * _result = 0;
  7213. HRESULT _hr = get__NewEnum(&_result);
  7214. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7215. return IUnknownPtr(_result, false);
  7216. }
  7217. #pragma implementation_key(1109)
  7218. inline long VGCore::IVGFontList::GetCount ( ) {
  7219. long _result = 0;
  7220. HRESULT _hr = get_Count(&_result);
  7221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7222. return _result;
  7223. }
  7224. //
  7225. // interface IVGAppWindow wrapper method implementations
  7226. //
  7227. #pragma implementation_key(1110)
  7228. inline IDispatchPtr VGCore::IVGAppWindow::GetApplication ( ) {
  7229. IDispatch * _result = 0;
  7230. HRESULT _hr = get_Application(&_result);
  7231. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7232. return IDispatchPtr(_result, false);
  7233. }
  7234. #pragma implementation_key(1111)
  7235. inline IDispatchPtr VGCore::IVGAppWindow::GetParent ( ) {
  7236. IDispatch * _result = 0;
  7237. HRESULT _hr = get_Parent(&_result);
  7238. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7239. return IDispatchPtr(_result, false);
  7240. }
  7241. #pragma implementation_key(1112)
  7242. inline HRESULT VGCore::IVGAppWindow::Activate ( ) {
  7243. HRESULT _hr = raw_Activate();
  7244. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7245. return _hr;
  7246. }
  7247. #pragma implementation_key(1113)
  7248. inline VARIANT_BOOL VGCore::IVGAppWindow::GetActive ( ) {
  7249. VARIANT_BOOL _result = 0;
  7250. HRESULT _hr = get_Active(&_result);
  7251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7252. return _result;
  7253. }
  7254. #pragma implementation_key(1114)
  7255. inline _bstr_t VGCore::IVGAppWindow::GetCaption ( ) {
  7256. BSTR _result = 0;
  7257. HRESULT _hr = get_Caption(&_result);
  7258. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7259. return _bstr_t(_result, false);
  7260. }
  7261. #pragma implementation_key(1115)
  7262. inline void VGCore::IVGAppWindow::PutCaption ( _bstr_t pVal ) {
  7263. HRESULT _hr = put_Caption(pVal);
  7264. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7265. }
  7266. #pragma implementation_key(1116)
  7267. inline long VGCore::IVGAppWindow::GetHeight ( ) {
  7268. long _result = 0;
  7269. HRESULT _hr = get_Height(&_result);
  7270. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7271. return _result;
  7272. }
  7273. #pragma implementation_key(1117)
  7274. inline void VGCore::IVGAppWindow::PutHeight ( long pVal ) {
  7275. HRESULT _hr = put_Height(pVal);
  7276. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7277. }
  7278. #pragma implementation_key(1118)
  7279. inline long VGCore::IVGAppWindow::GetWidth ( ) {
  7280. long _result = 0;
  7281. HRESULT _hr = get_Width(&_result);
  7282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7283. return _result;
  7284. }
  7285. #pragma implementation_key(1119)
  7286. inline void VGCore::IVGAppWindow::PutWidth ( long pVal ) {
  7287. HRESULT _hr = put_Width(pVal);
  7288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7289. }
  7290. #pragma implementation_key(1120)
  7291. inline long VGCore::IVGAppWindow::GetLeft ( ) {
  7292. long _result = 0;
  7293. HRESULT _hr = get_Left(&_result);
  7294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7295. return _result;
  7296. }
  7297. #pragma implementation_key(1121)
  7298. inline void VGCore::IVGAppWindow::PutLeft ( long pVal ) {
  7299. HRESULT _hr = put_Left(pVal);
  7300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7301. }
  7302. #pragma implementation_key(1122)
  7303. inline long VGCore::IVGAppWindow::GetTop ( ) {
  7304. long _result = 0;
  7305. HRESULT _hr = get_Top(&_result);
  7306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7307. return _result;
  7308. }
  7309. #pragma implementation_key(1123)
  7310. inline void VGCore::IVGAppWindow::PutTop ( long pVal ) {
  7311. HRESULT _hr = put_Top(pVal);
  7312. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7313. }
  7314. #pragma implementation_key(1124)
  7315. inline enum VGCore::cdrWindowState VGCore::IVGAppWindow::GetWindowState ( ) {
  7316. enum cdrWindowState _result;
  7317. HRESULT _hr = get_WindowState(&_result);
  7318. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7319. return _result;
  7320. }
  7321. #pragma implementation_key(1125)
  7322. inline void VGCore::IVGAppWindow::PutWindowState ( enum cdrWindowState pVal ) {
  7323. HRESULT _hr = put_WindowState(pVal);
  7324. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7325. }
  7326. #pragma implementation_key(1126)
  7327. inline long VGCore::IVGAppWindow::GetClientWidth ( ) {
  7328. long _result = 0;
  7329. HRESULT _hr = get_ClientWidth(&_result);
  7330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7331. return _result;
  7332. }
  7333. #pragma implementation_key(1127)
  7334. inline long VGCore::IVGAppWindow::GetClientHeight ( ) {
  7335. long _result = 0;
  7336. HRESULT _hr = get_ClientHeight(&_result);
  7337. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7338. return _result;
  7339. }
  7340. #pragma implementation_key(1128)
  7341. inline long VGCore::IVGAppWindow::GetHandle ( ) {
  7342. long _result = 0;
  7343. HRESULT _hr = get_Handle(&_result);
  7344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7345. return _result;
  7346. }
  7347. //
  7348. // interface IVGPatternCanvases wrapper method implementations
  7349. //
  7350. #pragma implementation_key(1129)
  7351. inline VGCore::IVGPatternCanvasPtr VGCore::IVGPatternCanvases::GetItem ( long Index ) {
  7352. struct IVGPatternCanvas * _result = 0;
  7353. HRESULT _hr = get_Item(Index, &_result);
  7354. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7355. return IVGPatternCanvasPtr(_result, false);
  7356. }
  7357. #pragma implementation_key(1130)
  7358. inline void VGCore::IVGPatternCanvases::PutItem ( long Index, struct IVGPatternCanvas * ppVal ) {
  7359. HRESULT _hr = put_Item(Index, ppVal);
  7360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7361. }
  7362. #pragma implementation_key(1131)
  7363. inline IUnknownPtr VGCore::IVGPatternCanvases::Get_NewEnum ( ) {
  7364. IUnknown * _result = 0;
  7365. HRESULT _hr = get__NewEnum(&_result);
  7366. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7367. return IUnknownPtr(_result, false);
  7368. }
  7369. #pragma implementation_key(1132)
  7370. inline long VGCore::IVGPatternCanvases::GetCount ( ) {
  7371. long _result = 0;
  7372. HRESULT _hr = get_Count(&_result);
  7373. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7374. return _result;
  7375. }
  7376. #pragma implementation_key(1133)
  7377. inline long VGCore::IVGPatternCanvases::Add ( struct IVGPatternCanvas * PatternCanvas ) {
  7378. long _result = 0;
  7379. HRESULT _hr = raw_Add(PatternCanvas, &_result);
  7380. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7381. return _result;
  7382. }
  7383. #pragma implementation_key(1134)
  7384. inline HRESULT VGCore::IVGPatternCanvases::Remove ( long Index ) {
  7385. HRESULT _hr = raw_Remove(Index);
  7386. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7387. return _hr;
  7388. }
  7389. //
  7390. // interface IVGClipboard wrapper method implementations
  7391. //
  7392. #pragma implementation_key(1135)
  7393. inline IDispatchPtr VGCore::IVGClipboard::GetApplication ( ) {
  7394. IDispatch * _result = 0;
  7395. HRESULT _hr = get_Application(&_result);
  7396. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7397. return IDispatchPtr(_result, false);
  7398. }
  7399. #pragma implementation_key(1136)
  7400. inline IDispatchPtr VGCore::IVGClipboard::GetParent ( ) {
  7401. IDispatch * _result = 0;
  7402. HRESULT _hr = get_Parent(&_result);
  7403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7404. return IDispatchPtr(_result, false);
  7405. }
  7406. #pragma implementation_key(1137)
  7407. inline VARIANT_BOOL VGCore::IVGClipboard::GetValid ( ) {
  7408. VARIANT_BOOL _result = 0;
  7409. HRESULT _hr = get_Valid(&_result);
  7410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7411. return _result;
  7412. }
  7413. #pragma implementation_key(1138)
  7414. inline VARIANT_BOOL VGCore::IVGClipboard::GetEmpty ( ) {
  7415. VARIANT_BOOL _result = 0;
  7416. HRESULT _hr = get_Empty(&_result);
  7417. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7418. return _result;
  7419. }
  7420. #pragma implementation_key(1139)
  7421. inline HRESULT VGCore::IVGClipboard::Clear ( ) {
  7422. HRESULT _hr = raw_Clear();
  7423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7424. return _hr;
  7425. }
  7426. #pragma implementation_key(1140)
  7427. inline VARIANT_BOOL VGCore::IVGClipboard::DataPresent ( _bstr_t FormatName ) {
  7428. VARIANT_BOOL _result = 0;
  7429. HRESULT _hr = raw_DataPresent(FormatName, &_result);
  7430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7431. return _result;
  7432. }
  7433. //
  7434. // interface IVGGMSMacro wrapper method implementations
  7435. //
  7436. #pragma implementation_key(1141)
  7437. inline _bstr_t VGCore::IVGGMSMacro::GetName ( ) {
  7438. BSTR _result = 0;
  7439. HRESULT _hr = get_Name(&_result);
  7440. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7441. return _bstr_t(_result, false);
  7442. }
  7443. #pragma implementation_key(1142)
  7444. inline HRESULT VGCore::IVGGMSMacro::Run ( ) {
  7445. HRESULT _hr = raw_Run();
  7446. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7447. return _hr;
  7448. }
  7449. #pragma implementation_key(1143)
  7450. inline HRESULT VGCore::IVGGMSMacro::Edit ( ) {
  7451. HRESULT _hr = raw_Edit();
  7452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7453. return _hr;
  7454. }
  7455. #pragma implementation_key(1144)
  7456. inline HRESULT VGCore::IVGGMSMacro::Delete ( ) {
  7457. HRESULT _hr = raw_Delete();
  7458. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7459. return _hr;
  7460. }
  7461. //
  7462. // interface IVGGMSMacros wrapper method implementations
  7463. //
  7464. #pragma implementation_key(1145)
  7465. inline IUnknownPtr VGCore::IVGGMSMacros::Get_NewEnum ( ) {
  7466. IUnknown * _result = 0;
  7467. HRESULT _hr = get__NewEnum(&_result);
  7468. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7469. return IUnknownPtr(_result, false);
  7470. }
  7471. #pragma implementation_key(1146)
  7472. inline VGCore::IVGGMSMacroPtr VGCore::IVGGMSMacros::GetItem ( const _variant_t & IndexOrName ) {
  7473. struct IVGGMSMacro * _result = 0;
  7474. HRESULT _hr = get_Item(IndexOrName, &_result);
  7475. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7476. return IVGGMSMacroPtr(_result, false);
  7477. }
  7478. #pragma implementation_key(1147)
  7479. inline long VGCore::IVGGMSMacros::GetCount ( ) {
  7480. long _result = 0;
  7481. HRESULT _hr = get_Count(&_result);
  7482. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7483. return _result;
  7484. }
  7485. #pragma implementation_key(1148)
  7486. inline VGCore::IVGGMSMacroPtr VGCore::IVGGMSMacros::Create ( _bstr_t Name ) {
  7487. struct IVGGMSMacro * _result = 0;
  7488. HRESULT _hr = raw_Create(Name, &_result);
  7489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7490. return IVGGMSMacroPtr(_result, false);
  7491. }
  7492. //
  7493. // interface IVGGMSProject wrapper method implementations
  7494. //
  7495. #pragma implementation_key(1149)
  7496. inline _bstr_t VGCore::IVGGMSProject::GetName ( ) {
  7497. BSTR _result = 0;
  7498. HRESULT _hr = get_Name(&_result);
  7499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7500. return _bstr_t(_result, false);
  7501. }
  7502. #pragma implementation_key(1150)
  7503. inline void VGCore::IVGGMSProject::PutName ( _bstr_t pVal ) {
  7504. HRESULT _hr = put_Name(pVal);
  7505. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7506. }
  7507. #pragma implementation_key(1151)
  7508. inline _bstr_t VGCore::IVGGMSProject::GetDisplayName ( ) {
  7509. BSTR _result = 0;
  7510. HRESULT _hr = get_DisplayName(&_result);
  7511. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7512. return _bstr_t(_result, false);
  7513. }
  7514. #pragma implementation_key(1152)
  7515. inline VGCore::IVGGMSMacrosPtr VGCore::IVGGMSProject::GetMacros ( ) {
  7516. struct IVGGMSMacros * _result = 0;
  7517. HRESULT _hr = get_Macros(&_result);
  7518. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7519. return IVGGMSMacrosPtr(_result, false);
  7520. }
  7521. #pragma implementation_key(1153)
  7522. inline HRESULT VGCore::IVGGMSProject::Unload ( ) {
  7523. HRESULT _hr = raw_Unload();
  7524. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7525. return _hr;
  7526. }
  7527. #pragma implementation_key(1154)
  7528. inline _bstr_t VGCore::IVGGMSProject::GetFileName ( ) {
  7529. BSTR _result = 0;
  7530. HRESULT _hr = get_FileName(&_result);
  7531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7532. return _bstr_t(_result, false);
  7533. }
  7534. #pragma implementation_key(1155)
  7535. inline _bstr_t VGCore::IVGGMSProject::GetFilePath ( ) {
  7536. BSTR _result = 0;
  7537. HRESULT _hr = get_FilePath(&_result);
  7538. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7539. return _bstr_t(_result, false);
  7540. }
  7541. #pragma implementation_key(1156)
  7542. inline _bstr_t VGCore::IVGGMSProject::GetFullFileName ( ) {
  7543. BSTR _result = 0;
  7544. HRESULT _hr = get_FullFileName(&_result);
  7545. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7546. return _bstr_t(_result, false);
  7547. }
  7548. #pragma implementation_key(1157)
  7549. inline VARIANT_BOOL VGCore::IVGGMSProject::GetDirty ( ) {
  7550. VARIANT_BOOL _result = 0;
  7551. HRESULT _hr = get_Dirty(&_result);
  7552. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7553. return _result;
  7554. }
  7555. #pragma implementation_key(1158)
  7556. inline void VGCore::IVGGMSProject::PutDirty ( VARIANT_BOOL pVal ) {
  7557. HRESULT _hr = put_Dirty(pVal);
  7558. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7559. }
  7560. #pragma implementation_key(1159)
  7561. inline VARIANT_BOOL VGCore::IVGGMSProject::GetLocked ( ) {
  7562. VARIANT_BOOL _result = 0;
  7563. HRESULT _hr = get_Locked(&_result);
  7564. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7565. return _result;
  7566. }
  7567. #pragma implementation_key(1160)
  7568. inline VARIANT_BOOL VGCore::IVGGMSProject::GetPasswordProtected ( ) {
  7569. VARIANT_BOOL _result = 0;
  7570. HRESULT _hr = get_PasswordProtected(&_result);
  7571. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7572. return _result;
  7573. }
  7574. //
  7575. // interface IVGGMSProjects wrapper method implementations
  7576. //
  7577. #pragma implementation_key(1161)
  7578. inline IUnknownPtr VGCore::IVGGMSProjects::Get_NewEnum ( ) {
  7579. IUnknown * _result = 0;
  7580. HRESULT _hr = get__NewEnum(&_result);
  7581. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7582. return IUnknownPtr(_result, false);
  7583. }
  7584. #pragma implementation_key(1162)
  7585. inline VGCore::IVGGMSProjectPtr VGCore::IVGGMSProjects::GetItem ( const _variant_t & IndexOrName ) {
  7586. struct IVGGMSProject * _result = 0;
  7587. HRESULT _hr = get_Item(IndexOrName, &_result);
  7588. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7589. return IVGGMSProjectPtr(_result, false);
  7590. }
  7591. #pragma implementation_key(1163)
  7592. inline long VGCore::IVGGMSProjects::GetCount ( ) {
  7593. long _result = 0;
  7594. HRESULT _hr = get_Count(&_result);
  7595. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7596. return _result;
  7597. }
  7598. #pragma implementation_key(1164)
  7599. inline VGCore::IVGGMSProjectPtr VGCore::IVGGMSProjects::Load ( _bstr_t FileName, VARIANT_BOOL CopyFile, VARIANT_BOOL ForAllUsers ) {
  7600. struct IVGGMSProject * _result = 0;
  7601. HRESULT _hr = raw_Load(FileName, CopyFile, ForAllUsers, &_result);
  7602. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7603. return IVGGMSProjectPtr(_result, false);
  7604. }
  7605. #pragma implementation_key(1165)
  7606. inline VGCore::IVGGMSProjectPtr VGCore::IVGGMSProjects::Create ( _bstr_t Name, VARIANT_BOOL ForAllUsers, _bstr_t FileName ) {
  7607. struct IVGGMSProject * _result = 0;
  7608. HRESULT _hr = raw_Create(Name, ForAllUsers, FileName, &_result);
  7609. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7610. return IVGGMSProjectPtr(_result, false);
  7611. }
  7612. //
  7613. // interface IVGGMSManager wrapper method implementations
  7614. //
  7615. #pragma implementation_key(1166)
  7616. inline _bstr_t VGCore::IVGGMSManager::GetGMSPath ( ) {
  7617. BSTR _result = 0;
  7618. HRESULT _hr = get_GMSPath(&_result);
  7619. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7620. return _bstr_t(_result, false);
  7621. }
  7622. #pragma implementation_key(1167)
  7623. inline _variant_t VGCore::IVGGMSManager::RunMacro ( _bstr_t ModuleName, _bstr_t MacroName, SAFEARRAY * * Parameters ) {
  7624. VARIANT _result;
  7625. VariantInit(&_result);
  7626. HRESULT _hr = raw_RunMacro(ModuleName, MacroName, Parameters, &_result);
  7627. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7628. return _variant_t(_result, false);
  7629. }
  7630. #pragma implementation_key(1168)
  7631. inline _bstr_t VGCore::IVGGMSManager::GetUserGMSPath ( ) {
  7632. BSTR _result = 0;
  7633. HRESULT _hr = get_UserGMSPath(&_result);
  7634. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7635. return _bstr_t(_result, false);
  7636. }
  7637. #pragma implementation_key(1169)
  7638. inline VGCore::IVGGMSProjectsPtr VGCore::IVGGMSManager::GetProjects ( ) {
  7639. struct IVGGMSProjects * _result = 0;
  7640. HRESULT _hr = get_Projects(&_result);
  7641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7642. return IVGGMSProjectsPtr(_result, false);
  7643. }
  7644. //
  7645. // interface IVGStructSaveAsOptions wrapper method implementations
  7646. //
  7647. #pragma implementation_key(1170)
  7648. inline void VGCore::IVGStructSaveAsOptions::PutFilter ( enum cdrFilter pVal ) {
  7649. HRESULT _hr = put_Filter(pVal);
  7650. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7651. }
  7652. #pragma implementation_key(1171)
  7653. inline enum VGCore::cdrFilter VGCore::IVGStructSaveAsOptions::GetFilter ( ) {
  7654. enum cdrFilter _result;
  7655. HRESULT _hr = get_Filter(&_result);
  7656. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7657. return _result;
  7658. }
  7659. #pragma implementation_key(1172)
  7660. inline void VGCore::IVGStructSaveAsOptions::PutVersion ( enum cdrFileVersion pVal ) {
  7661. HRESULT _hr = put_Version(pVal);
  7662. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7663. }
  7664. #pragma implementation_key(1173)
  7665. inline enum VGCore::cdrFileVersion VGCore::IVGStructSaveAsOptions::GetVersion ( ) {
  7666. enum cdrFileVersion _result;
  7667. HRESULT _hr = get_Version(&_result);
  7668. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7669. return _result;
  7670. }
  7671. #pragma implementation_key(1174)
  7672. inline void VGCore::IVGStructSaveAsOptions::PutThumbnailSize ( enum cdrThumbnailSize pVal ) {
  7673. HRESULT _hr = put_ThumbnailSize(pVal);
  7674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7675. }
  7676. #pragma implementation_key(1175)
  7677. inline enum VGCore::cdrThumbnailSize VGCore::IVGStructSaveAsOptions::GetThumbnailSize ( ) {
  7678. enum cdrThumbnailSize _result;
  7679. HRESULT _hr = get_ThumbnailSize(&_result);
  7680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7681. return _result;
  7682. }
  7683. #pragma implementation_key(1176)
  7684. inline void VGCore::IVGStructSaveAsOptions::PutRange ( enum cdrExportRange pVal ) {
  7685. HRESULT _hr = put_Range(pVal);
  7686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7687. }
  7688. #pragma implementation_key(1177)
  7689. inline enum VGCore::cdrExportRange VGCore::IVGStructSaveAsOptions::GetRange ( ) {
  7690. enum cdrExportRange _result;
  7691. HRESULT _hr = get_Range(&_result);
  7692. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7693. return _result;
  7694. }
  7695. #pragma implementation_key(1178)
  7696. inline void VGCore::IVGStructSaveAsOptions::PutOverwrite ( VARIANT_BOOL pVal ) {
  7697. HRESULT _hr = put_Overwrite(pVal);
  7698. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7699. }
  7700. #pragma implementation_key(1179)
  7701. inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetOverwrite ( ) {
  7702. VARIANT_BOOL _result = 0;
  7703. HRESULT _hr = get_Overwrite(&_result);
  7704. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7705. return _result;
  7706. }
  7707. #pragma implementation_key(1180)
  7708. inline void VGCore::IVGStructSaveAsOptions::PutEmbedICCProfile ( VARIANT_BOOL pVal ) {
  7709. HRESULT _hr = put_EmbedICCProfile(pVal);
  7710. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7711. }
  7712. #pragma implementation_key(1181)
  7713. inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetEmbedICCProfile ( ) {
  7714. VARIANT_BOOL _result = 0;
  7715. HRESULT _hr = get_EmbedICCProfile(&_result);
  7716. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7717. return _result;
  7718. }
  7719. #pragma implementation_key(1182)
  7720. inline void VGCore::IVGStructSaveAsOptions::PutEmbedVBAProject ( VARIANT_BOOL pVal ) {
  7721. HRESULT _hr = put_EmbedVBAProject(pVal);
  7722. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7723. }
  7724. #pragma implementation_key(1183)
  7725. inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetEmbedVBAProject ( ) {
  7726. VARIANT_BOOL _result = 0;
  7727. HRESULT _hr = get_EmbedVBAProject(&_result);
  7728. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7729. return _result;
  7730. }
  7731. #pragma implementation_key(1184)
  7732. inline void VGCore::IVGStructSaveAsOptions::PutIncludeCMXData ( VARIANT_BOOL pVal ) {
  7733. HRESULT _hr = put_IncludeCMXData(pVal);
  7734. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7735. }
  7736. #pragma implementation_key(1185)
  7737. inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetIncludeCMXData ( ) {
  7738. VARIANT_BOOL _result = 0;
  7739. HRESULT _hr = get_IncludeCMXData(&_result);
  7740. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7741. return _result;
  7742. }
  7743. #pragma implementation_key(1186)
  7744. inline void VGCore::IVGStructSaveAsOptions::PutKeepAppearance ( VARIANT_BOOL pVal ) {
  7745. HRESULT _hr = put_KeepAppearance(pVal);
  7746. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7747. }
  7748. #pragma implementation_key(1187)
  7749. inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetKeepAppearance ( ) {
  7750. VARIANT_BOOL _result = 0;
  7751. HRESULT _hr = get_KeepAppearance(&_result);
  7752. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7753. return _result;
  7754. }
  7755. //
  7756. // interface IVGComponent wrapper method implementations
  7757. //
  7758. #pragma implementation_key(1188)
  7759. inline _bstr_t VGCore::IVGComponent::GetComponentID ( ) {
  7760. BSTR _result = 0;
  7761. HRESULT _hr = get_ComponentID(&_result);
  7762. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7763. return _bstr_t(_result, false);
  7764. }
  7765. //
  7766. // interface IVGComponents wrapper method implementations
  7767. //
  7768. #pragma implementation_key(1189)
  7769. inline IUnknownPtr VGCore::IVGComponents::Get_NewEnum ( ) {
  7770. IUnknown * _result = 0;
  7771. HRESULT _hr = get__NewEnum(&_result);
  7772. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7773. return IUnknownPtr(_result, false);
  7774. }
  7775. #pragma implementation_key(1190)
  7776. inline VGCore::IVGComponentPtr VGCore::IVGComponents::GetItem ( const _variant_t & IndexOrName ) {
  7777. struct IVGComponent * _result = 0;
  7778. HRESULT _hr = get_Item(IndexOrName, &_result);
  7779. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7780. return IVGComponentPtr(_result, false);
  7781. }
  7782. #pragma implementation_key(1191)
  7783. inline long VGCore::IVGComponents::GetCount ( ) {
  7784. long _result = 0;
  7785. HRESULT _hr = get_Count(&_result);
  7786. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7787. return _result;
  7788. }
  7789. #pragma implementation_key(1192)
  7790. inline VARIANT_BOOL VGCore::IVGComponents::IsComponentInstalled ( _bstr_t ComponentID ) {
  7791. VARIANT_BOOL _result = 0;
  7792. HRESULT _hr = raw_IsComponentInstalled(ComponentID, &_result);
  7793. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7794. return _result;
  7795. }
  7796. //
  7797. // interface IVGAppStatus wrapper method implementations
  7798. //
  7799. #pragma implementation_key(1193)
  7800. inline HRESULT VGCore::IVGAppStatus::BeginProgress ( _bstr_t Message, VARIANT_BOOL CanAbort ) {
  7801. HRESULT _hr = raw_BeginProgress(Message, CanAbort);
  7802. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7803. return _hr;
  7804. }
  7805. #pragma implementation_key(1194)
  7806. inline HRESULT VGCore::IVGAppStatus::UpdateProgress ( long Step ) {
  7807. HRESULT _hr = raw_UpdateProgress(Step);
  7808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7809. return _hr;
  7810. }
  7811. #pragma implementation_key(1195)
  7812. inline HRESULT VGCore::IVGAppStatus::SetProgressMessage ( _bstr_t Message ) {
  7813. HRESULT _hr = raw_SetProgressMessage(Message);
  7814. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7815. return _hr;
  7816. }
  7817. #pragma implementation_key(1196)
  7818. inline HRESULT VGCore::IVGAppStatus::EndProgress ( ) {
  7819. HRESULT _hr = raw_EndProgress();
  7820. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7821. return _hr;
  7822. }
  7823. #pragma implementation_key(1197)
  7824. inline long VGCore::IVGAppStatus::GetProgress ( ) {
  7825. long _result = 0;
  7826. HRESULT _hr = get_Progress(&_result);
  7827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7828. return _result;
  7829. }
  7830. #pragma implementation_key(1198)
  7831. inline void VGCore::IVGAppStatus::PutProgress ( long pVal ) {
  7832. HRESULT _hr = put_Progress(pVal);
  7833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7834. }
  7835. #pragma implementation_key(1199)
  7836. inline VARIANT_BOOL VGCore::IVGAppStatus::GetAborted ( ) {
  7837. VARIANT_BOOL _result = 0;
  7838. HRESULT _hr = get_Aborted(&_result);
  7839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7840. return _result;
  7841. }
  7842. //
  7843. // interface IVGStructOpenOptions wrapper method implementations
  7844. //
  7845. #pragma implementation_key(1200)
  7846. inline long VGCore::IVGStructOpenOptions::GetCodePage ( ) {
  7847. long _result = 0;
  7848. HRESULT _hr = get_CodePage(&_result);
  7849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7850. return _result;
  7851. }
  7852. #pragma implementation_key(1201)
  7853. inline void VGCore::IVGStructOpenOptions::PutCodePage ( long pVal ) {
  7854. HRESULT _hr = put_CodePage(pVal);
  7855. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7856. }
  7857. #pragma implementation_key(1202)
  7858. inline VGCore::IVGStructColorConversionOptionsPtr VGCore::IVGStructOpenOptions::GetColorConversionOptions ( ) {
  7859. struct IVGStructColorConversionOptions * _result = 0;
  7860. HRESULT _hr = get_ColorConversionOptions(&_result);
  7861. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7862. return IVGStructColorConversionOptionsPtr(_result, false);
  7863. }
  7864. //
  7865. // interface IVGOnScreenHandle wrapper method implementations
  7866. //
  7867. #pragma implementation_key(1203)
  7868. inline HRESULT VGCore::IVGOnScreenHandle::Show ( ) {
  7869. HRESULT _hr = raw_Show();
  7870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7871. return _hr;
  7872. }
  7873. #pragma implementation_key(1204)
  7874. inline HRESULT VGCore::IVGOnScreenHandle::Hide ( ) {
  7875. HRESULT _hr = raw_Hide();
  7876. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7877. return _hr;
  7878. }
  7879. #pragma implementation_key(1205)
  7880. inline HRESULT VGCore::IVGOnScreenHandle::SetHandleColor ( long Color ) {
  7881. HRESULT _hr = raw_SetHandleColor(Color);
  7882. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7883. return _hr;
  7884. }
  7885. #pragma implementation_key(1206)
  7886. inline HRESULT VGCore::IVGOnScreenHandle::SetPosition ( double x, double y ) {
  7887. HRESULT _hr = raw_SetPosition(x, y);
  7888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7889. return _hr;
  7890. }
  7891. #pragma implementation_key(1207)
  7892. inline HRESULT VGCore::IVGOnScreenHandle::UpdateHotTracking ( double MouseX, double MouseY ) {
  7893. HRESULT _hr = raw_UpdateHotTracking(MouseX, MouseY);
  7894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7895. return _hr;
  7896. }
  7897. #pragma implementation_key(1208)
  7898. inline VARIANT_BOOL VGCore::IVGOnScreenHandle::GetIsHotTracked ( ) {
  7899. VARIANT_BOOL _result = 0;
  7900. HRESULT _hr = get_IsHotTracked(&_result);
  7901. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7902. return _result;
  7903. }
  7904. #pragma implementation_key(1209)
  7905. inline VARIANT_BOOL VGCore::IVGOnScreenHandle::GetIsOnHandle ( double MouseX, double MouseY ) {
  7906. VARIANT_BOOL _result = 0;
  7907. HRESULT _hr = get_IsOnHandle(MouseX, MouseY, &_result);
  7908. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7909. return _result;
  7910. }
  7911. //
  7912. // interface IVGOnScreenText wrapper method implementations
  7913. //
  7914. #pragma implementation_key(1210)
  7915. inline HRESULT VGCore::IVGOnScreenText::Show ( ) {
  7916. HRESULT _hr = raw_Show();
  7917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7918. return _hr;
  7919. }
  7920. #pragma implementation_key(1211)
  7921. inline HRESULT VGCore::IVGOnScreenText::Hide ( ) {
  7922. HRESULT _hr = raw_Hide();
  7923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7924. return _hr;
  7925. }
  7926. #pragma implementation_key(1212)
  7927. inline HRESULT VGCore::IVGOnScreenText::SetTextColor ( long Color ) {
  7928. HRESULT _hr = raw_SetTextColor(Color);
  7929. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7930. return _hr;
  7931. }
  7932. #pragma implementation_key(1213)
  7933. inline HRESULT VGCore::IVGOnScreenText::SetTextAndPosition ( _bstr_t Text, double x, double y, enum cdrOnScreenTextAlign align, double xRef, double yRef ) {
  7934. HRESULT _hr = raw_SetTextAndPosition(Text, x, y, align, xRef, yRef);
  7935. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7936. return _hr;
  7937. }
  7938. #pragma implementation_key(1214)
  7939. inline HRESULT VGCore::IVGOnScreenText::SetText ( _bstr_t Text ) {
  7940. HRESULT _hr = raw_SetText(Text);
  7941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7942. return _hr;
  7943. }
  7944. #pragma implementation_key(1215)
  7945. inline HRESULT VGCore::IVGOnScreenText::SetPixelOffset ( long x, long y ) {
  7946. HRESULT _hr = raw_SetPixelOffset(x, y);
  7947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7948. return _hr;
  7949. }
  7950. #pragma implementation_key(1216)
  7951. inline HRESULT VGCore::IVGOnScreenText::UpdatePosition ( double x, double y ) {
  7952. HRESULT _hr = raw_UpdatePosition(x, y);
  7953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7954. return _hr;
  7955. }
  7956. //
  7957. // interface IVGToolShapeAttributes wrapper method implementations
  7958. //
  7959. #pragma implementation_key(1217)
  7960. inline HRESULT VGCore::IVGToolShapeAttributes::SetCanResize ( VARIANT_BOOL val ) {
  7961. HRESULT _hr = raw_SetCanResize(val);
  7962. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7963. return _hr;
  7964. }
  7965. #pragma implementation_key(1218)
  7966. inline HRESULT VGCore::IVGToolShapeAttributes::SetCanRotate ( VARIANT_BOOL val ) {
  7967. HRESULT _hr = raw_SetCanRotate(val);
  7968. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7969. return _hr;
  7970. }
  7971. #pragma implementation_key(1219)
  7972. inline HRESULT VGCore::IVGToolShapeAttributes::SetCanSkew ( VARIANT_BOOL val ) {
  7973. HRESULT _hr = raw_SetCanSkew(val);
  7974. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7975. return _hr;
  7976. }
  7977. #pragma implementation_key(1220)
  7978. inline HRESULT VGCore::IVGToolShapeAttributes::SetCanSizeDisproportionally ( VARIANT_BOOL val ) {
  7979. HRESULT _hr = raw_SetCanSizeDisproportionally(val);
  7980. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7981. return _hr;
  7982. }
  7983. #pragma implementation_key(1221)
  7984. inline HRESULT VGCore::IVGToolShapeAttributes::SetCanApplyNonlinearTransforms ( VARIANT_BOOL val ) {
  7985. HRESULT _hr = raw_SetCanApplyNonlinearTransforms(val);
  7986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7987. return _hr;
  7988. }
  7989. #pragma implementation_key(1222)
  7990. inline HRESULT VGCore::IVGToolShapeAttributes::SetRegenerateOnTransform ( VARIANT_BOOL val ) {
  7991. HRESULT _hr = raw_SetRegenerateOnTransform(val);
  7992. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7993. return _hr;
  7994. }
  7995. #pragma implementation_key(1223)
  7996. inline HRESULT VGCore::IVGToolShapeAttributes::SetRegenerateOnStyleChange ( VARIANT_BOOL val ) {
  7997. HRESULT _hr = raw_SetRegenerateOnStyleChange(val);
  7998. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  7999. return _hr;
  8000. }
  8001. #pragma implementation_key(1224)
  8002. inline HRESULT VGCore::IVGToolShapeAttributes::SetPropertyBarGuid ( _bstr_t val ) {
  8003. HRESULT _hr = raw_SetPropertyBarGuid(val);
  8004. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8005. return _hr;
  8006. }
  8007. #pragma implementation_key(1225)
  8008. inline HRESULT VGCore::IVGToolShapeAttributes::SetContextMenuGuid ( _bstr_t val ) {
  8009. HRESULT _hr = raw_SetContextMenuGuid(val);
  8010. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8011. return _hr;
  8012. }
  8013. #pragma implementation_key(1226)
  8014. inline HRESULT VGCore::IVGToolShapeAttributes::SetObjectManagerBitmapGuid ( _bstr_t val ) {
  8015. HRESULT _hr = raw_SetObjectManagerBitmapGuid(val);
  8016. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8017. return _hr;
  8018. }
  8019. #pragma implementation_key(1227)
  8020. inline HRESULT VGCore::IVGToolShapeAttributes::SetEditStateGuid ( _bstr_t val ) {
  8021. HRESULT _hr = raw_SetEditStateGuid(val);
  8022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8023. return _hr;
  8024. }
  8025. #pragma implementation_key(1228)
  8026. inline HRESULT VGCore::IVGToolShapeAttributes::SetDefaultShapename ( _bstr_t val ) {
  8027. HRESULT _hr = raw_SetDefaultShapename(val);
  8028. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8029. return _hr;
  8030. }
  8031. //
  8032. // interface IVGMetadata wrapper method implementations
  8033. //
  8034. #pragma implementation_key(1229)
  8035. inline _bstr_t VGCore::IVGMetadata::GetKeywords ( ) {
  8036. BSTR _result = 0;
  8037. HRESULT _hr = get_Keywords(&_result);
  8038. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8039. return _bstr_t(_result, false);
  8040. }
  8041. #pragma implementation_key(1230)
  8042. inline void VGCore::IVGMetadata::PutKeywords ( _bstr_t pVal ) {
  8043. HRESULT _hr = put_Keywords(pVal);
  8044. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8045. }
  8046. #pragma implementation_key(1231)
  8047. inline _bstr_t VGCore::IVGMetadata::GetNotes ( ) {
  8048. BSTR _result = 0;
  8049. HRESULT _hr = get_Notes(&_result);
  8050. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8051. return _bstr_t(_result, false);
  8052. }
  8053. #pragma implementation_key(1232)
  8054. inline void VGCore::IVGMetadata::PutNotes ( _bstr_t pVal ) {
  8055. HRESULT _hr = put_Notes(pVal);
  8056. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8057. }
  8058. #pragma implementation_key(1233)
  8059. inline _bstr_t VGCore::IVGMetadata::GetAuthor ( ) {
  8060. BSTR _result = 0;
  8061. HRESULT _hr = get_Author(&_result);
  8062. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8063. return _bstr_t(_result, false);
  8064. }
  8065. #pragma implementation_key(1234)
  8066. inline void VGCore::IVGMetadata::PutAuthor ( _bstr_t pVal ) {
  8067. HRESULT _hr = put_Author(pVal);
  8068. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8069. }
  8070. #pragma implementation_key(1235)
  8071. inline _bstr_t VGCore::IVGMetadata::GetLastAuthor ( ) {
  8072. BSTR _result = 0;
  8073. HRESULT _hr = get_LastAuthor(&_result);
  8074. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8075. return _bstr_t(_result, false);
  8076. }
  8077. #pragma implementation_key(1236)
  8078. inline void VGCore::IVGMetadata::PutLastAuthor ( _bstr_t pVal ) {
  8079. HRESULT _hr = put_LastAuthor(pVal);
  8080. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8081. }
  8082. #pragma implementation_key(1237)
  8083. inline _bstr_t VGCore::IVGMetadata::GetSubject ( ) {
  8084. BSTR _result = 0;
  8085. HRESULT _hr = get_Subject(&_result);
  8086. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8087. return _bstr_t(_result, false);
  8088. }
  8089. #pragma implementation_key(1238)
  8090. inline void VGCore::IVGMetadata::PutSubject ( _bstr_t pVal ) {
  8091. HRESULT _hr = put_Subject(pVal);
  8092. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8093. }
  8094. #pragma implementation_key(1239)
  8095. inline _bstr_t VGCore::IVGMetadata::GetCopyright ( ) {
  8096. BSTR _result = 0;
  8097. HRESULT _hr = get_Copyright(&_result);
  8098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8099. return _bstr_t(_result, false);
  8100. }
  8101. #pragma implementation_key(1240)
  8102. inline void VGCore::IVGMetadata::PutCopyright ( _bstr_t pVal ) {
  8103. HRESULT _hr = put_Copyright(pVal);
  8104. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8105. }
  8106. #pragma implementation_key(1241)
  8107. inline long VGCore::IVGMetadata::GetRevision ( ) {
  8108. long _result = 0;
  8109. HRESULT _hr = get_Revision(&_result);
  8110. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8111. return _result;
  8112. }
  8113. #pragma implementation_key(1242)
  8114. inline void VGCore::IVGMetadata::PutRevision ( long pVal ) {
  8115. HRESULT _hr = put_Revision(pVal);
  8116. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8117. }
  8118. #pragma implementation_key(1243)
  8119. inline _bstr_t VGCore::IVGMetadata::GetTemplateSided ( ) {
  8120. BSTR _result = 0;
  8121. HRESULT _hr = get_TemplateSided(&_result);
  8122. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8123. return _bstr_t(_result, false);
  8124. }
  8125. #pragma implementation_key(1244)
  8126. inline void VGCore::IVGMetadata::PutTemplateSided ( _bstr_t pVal ) {
  8127. HRESULT _hr = put_TemplateSided(pVal);
  8128. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8129. }
  8130. #pragma implementation_key(1245)
  8131. inline _bstr_t VGCore::IVGMetadata::GetTemplateFolds ( ) {
  8132. BSTR _result = 0;
  8133. HRESULT _hr = get_TemplateFolds(&_result);
  8134. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8135. return _bstr_t(_result, false);
  8136. }
  8137. #pragma implementation_key(1246)
  8138. inline void VGCore::IVGMetadata::PutTemplateFolds ( _bstr_t pVal ) {
  8139. HRESULT _hr = put_TemplateFolds(pVal);
  8140. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8141. }
  8142. #pragma implementation_key(1247)
  8143. inline _bstr_t VGCore::IVGMetadata::GetTemplateType ( ) {
  8144. BSTR _result = 0;
  8145. HRESULT _hr = get_TemplateType(&_result);
  8146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8147. return _bstr_t(_result, false);
  8148. }
  8149. #pragma implementation_key(1248)
  8150. inline void VGCore::IVGMetadata::PutTemplateType ( _bstr_t pVal ) {
  8151. HRESULT _hr = put_TemplateType(pVal);
  8152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8153. }
  8154. #pragma implementation_key(1249)
  8155. inline _bstr_t VGCore::IVGMetadata::GetTemplateIndustry ( ) {
  8156. BSTR _result = 0;
  8157. HRESULT _hr = get_TemplateIndustry(&_result);
  8158. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8159. return _bstr_t(_result, false);
  8160. }
  8161. #pragma implementation_key(1250)
  8162. inline void VGCore::IVGMetadata::PutTemplateIndustry ( _bstr_t pVal ) {
  8163. HRESULT _hr = put_TemplateIndustry(pVal);
  8164. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8165. }
  8166. #pragma implementation_key(1251)
  8167. inline _bstr_t VGCore::IVGMetadata::GetTitle ( ) {
  8168. BSTR _result = 0;
  8169. HRESULT _hr = get_Title(&_result);
  8170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8171. return _bstr_t(_result, false);
  8172. }
  8173. #pragma implementation_key(1252)
  8174. inline void VGCore::IVGMetadata::PutTitle ( _bstr_t pVal ) {
  8175. HRESULT _hr = put_Title(pVal);
  8176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8177. }
  8178. #pragma implementation_key(1253)
  8179. inline _bstr_t VGCore::IVGMetadata::GetDocID ( ) {
  8180. BSTR _result = 0;
  8181. HRESULT _hr = get_DocID(&_result);
  8182. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8183. return _bstr_t(_result, false);
  8184. }
  8185. #pragma implementation_key(1254)
  8186. inline void VGCore::IVGMetadata::PutDocID ( _bstr_t pVal ) {
  8187. HRESULT _hr = put_DocID(pVal);
  8188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8189. }
  8190. #pragma implementation_key(1255)
  8191. inline enum VGCore::cdrTextLanguage VGCore::IVGMetadata::GetDocLanguage ( ) {
  8192. enum cdrTextLanguage _result;
  8193. HRESULT _hr = get_DocLanguage(&_result);
  8194. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8195. return _result;
  8196. }
  8197. #pragma implementation_key(1256)
  8198. inline void VGCore::IVGMetadata::PutDocLanguage ( enum cdrTextLanguage pVal ) {
  8199. HRESULT _hr = put_DocLanguage(pVal);
  8200. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8201. }
  8202. #pragma implementation_key(1257)
  8203. inline _bstr_t VGCore::IVGMetadata::GetTemplateDesignerNotes ( ) {
  8204. BSTR _result = 0;
  8205. HRESULT _hr = get_TemplateDesignerNotes(&_result);
  8206. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8207. return _bstr_t(_result, false);
  8208. }
  8209. #pragma implementation_key(1258)
  8210. inline void VGCore::IVGMetadata::PutTemplateDesignerNotes ( _bstr_t pVal ) {
  8211. HRESULT _hr = put_TemplateDesignerNotes(pVal);
  8212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8213. }
  8214. #pragma implementation_key(1259)
  8215. inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableKeywords ( ) {
  8216. struct IVGLocalizableString * _result = 0;
  8217. HRESULT _hr = get_LocalizableKeywords(&_result);
  8218. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8219. return IVGLocalizableStringPtr(_result, false);
  8220. }
  8221. #pragma implementation_key(1260)
  8222. inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableNotes ( ) {
  8223. struct IVGLocalizableString * _result = 0;
  8224. HRESULT _hr = get_LocalizableNotes(&_result);
  8225. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8226. return IVGLocalizableStringPtr(_result, false);
  8227. }
  8228. #pragma implementation_key(1261)
  8229. inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableTitle ( ) {
  8230. struct IVGLocalizableString * _result = 0;
  8231. HRESULT _hr = get_LocalizableTitle(&_result);
  8232. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8233. return IVGLocalizableStringPtr(_result, false);
  8234. }
  8235. #pragma implementation_key(1262)
  8236. inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableSubject ( ) {
  8237. struct IVGLocalizableString * _result = 0;
  8238. HRESULT _hr = get_LocalizableSubject(&_result);
  8239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8240. return IVGLocalizableStringPtr(_result, false);
  8241. }
  8242. #pragma implementation_key(1263)
  8243. inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableCopyright ( ) {
  8244. struct IVGLocalizableString * _result = 0;
  8245. HRESULT _hr = get_LocalizableCopyright(&_result);
  8246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8247. return IVGLocalizableStringPtr(_result, false);
  8248. }
  8249. #pragma implementation_key(1264)
  8250. inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableTemplateDesignerNotes ( ) {
  8251. struct IVGLocalizableString * _result = 0;
  8252. HRESULT _hr = get_LocalizableTemplateDesignerNotes(&_result);
  8253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8254. return IVGLocalizableStringPtr(_result, false);
  8255. }
  8256. #pragma implementation_key(1265)
  8257. inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetCategory ( ) {
  8258. struct IVGLocalizableString * _result = 0;
  8259. HRESULT _hr = get_Category(&_result);
  8260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8261. return IVGLocalizableStringPtr(_result, false);
  8262. }
  8263. //
  8264. // interface _IGlobalMacroStorage wrapper method implementations
  8265. //
  8266. #pragma implementation_key(1266)
  8267. inline _bstr_t VGCore::_IGlobalMacroStorage::Get_CodeName ( ) {
  8268. BSTR _result = 0;
  8269. HRESULT _hr = get__CodeName(&_result);
  8270. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8271. return _bstr_t(_result, false);
  8272. }
  8273. #pragma implementation_key(1267)
  8274. inline void VGCore::_IGlobalMacroStorage::Put_CodeName ( _bstr_t pVal ) {
  8275. HRESULT _hr = put__CodeName(pVal);
  8276. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8277. }
  8278. //
  8279. // dispinterface DIVGDocumentEvents wrapper method implementations
  8280. //
  8281. #pragma implementation_key(1268)
  8282. inline HRESULT VGCore::DIVGDocumentEvents::QueryClose ( VARIANT_BOOL * Cancel ) {
  8283. return _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_EMPTY, NULL,
  8284. L"\x400b", Cancel);
  8285. }
  8286. #pragma implementation_key(1269)
  8287. inline HRESULT VGCore::DIVGDocumentEvents::QuerySave ( VARIANT_BOOL * Cancel ) {
  8288. return _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_EMPTY, NULL,
  8289. L"\x400b", Cancel);
  8290. }
  8291. #pragma implementation_key(1270)
  8292. inline HRESULT VGCore::DIVGDocumentEvents::QueryPrint ( VARIANT_BOOL * Cancel ) {
  8293. return _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_EMPTY, NULL,
  8294. L"\x400b", Cancel);
  8295. }
  8296. #pragma implementation_key(1271)
  8297. inline HRESULT VGCore::DIVGDocumentEvents::QueryExport ( VARIANT_BOOL * Cancel ) {
  8298. return _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_EMPTY, NULL,
  8299. L"\x400b", Cancel);
  8300. }
  8301. #pragma implementation_key(1272)
  8302. inline HRESULT VGCore::DIVGDocumentEvents::Open ( ) {
  8303. return _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8304. }
  8305. #pragma implementation_key(1273)
  8306. inline HRESULT VGCore::DIVGDocumentEvents::Close ( ) {
  8307. return _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8308. }
  8309. #pragma implementation_key(1274)
  8310. inline HRESULT VGCore::DIVGDocumentEvents::BeforeSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8311. return _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_EMPTY, NULL,
  8312. L"\x000b\x0008", SaveAs, (BSTR)FileName);
  8313. }
  8314. #pragma implementation_key(1275)
  8315. inline HRESULT VGCore::DIVGDocumentEvents::AfterSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8316. return _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_EMPTY, NULL,
  8317. L"\x000b\x0008", SaveAs, (BSTR)FileName);
  8318. }
  8319. #pragma implementation_key(1276)
  8320. inline HRESULT VGCore::DIVGDocumentEvents::BeforePrint ( ) {
  8321. return _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8322. }
  8323. #pragma implementation_key(1277)
  8324. inline HRESULT VGCore::DIVGDocumentEvents::AfterPrint ( ) {
  8325. return _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8326. }
  8327. #pragma implementation_key(1278)
  8328. inline HRESULT VGCore::DIVGDocumentEvents::BeforeExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8329. return _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_EMPTY, NULL,
  8330. L"\x0008\x0003\x000b", (BSTR)FileName, Filter, SaveBitmap);
  8331. }
  8332. #pragma implementation_key(1279)
  8333. inline HRESULT VGCore::DIVGDocumentEvents::AfterExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8334. return _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_EMPTY, NULL,
  8335. L"\x0008\x0003\x000b", (BSTR)FileName, Filter, SaveBitmap);
  8336. }
  8337. #pragma implementation_key(1280)
  8338. inline HRESULT VGCore::DIVGDocumentEvents::LayerCreate ( struct IVGLayer * Layer ) {
  8339. return _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_EMPTY, NULL,
  8340. L"\x0009", Layer);
  8341. }
  8342. #pragma implementation_key(1281)
  8343. inline HRESULT VGCore::DIVGDocumentEvents::LayerDelete ( long Count ) {
  8344. return _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_EMPTY, NULL,
  8345. L"\x0003", Count);
  8346. }
  8347. #pragma implementation_key(1282)
  8348. inline HRESULT VGCore::DIVGDocumentEvents::LayerActivate ( struct IVGLayer * Layer ) {
  8349. return _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_EMPTY, NULL,
  8350. L"\x0009", Layer);
  8351. }
  8352. #pragma implementation_key(1283)
  8353. inline HRESULT VGCore::DIVGDocumentEvents::LayerChange ( struct IVGLayer * Layer ) {
  8354. return _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_EMPTY, NULL,
  8355. L"\x0009", Layer);
  8356. }
  8357. #pragma implementation_key(1284)
  8358. inline HRESULT VGCore::DIVGDocumentEvents::PageCreate ( struct IVGPage * Page ) {
  8359. return _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_EMPTY, NULL,
  8360. L"\x0009", Page);
  8361. }
  8362. #pragma implementation_key(1285)
  8363. inline HRESULT VGCore::DIVGDocumentEvents::PageDelete ( long Count ) {
  8364. return _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_EMPTY, NULL,
  8365. L"\x0003", Count);
  8366. }
  8367. #pragma implementation_key(1286)
  8368. inline HRESULT VGCore::DIVGDocumentEvents::PageActivate ( struct IVGPage * Page ) {
  8369. return _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_EMPTY, NULL,
  8370. L"\x0009", Page);
  8371. }
  8372. #pragma implementation_key(1287)
  8373. inline HRESULT VGCore::DIVGDocumentEvents::PageChange ( struct IVGPage * Page ) {
  8374. return _com_dispatch_method(this, 0x14, DISPATCH_METHOD, VT_EMPTY, NULL,
  8375. L"\x0009", Page);
  8376. }
  8377. #pragma implementation_key(1288)
  8378. inline HRESULT VGCore::DIVGDocumentEvents::ShapeCreate ( struct IVGShape * Shape ) {
  8379. return _com_dispatch_method(this, 0x15, DISPATCH_METHOD, VT_EMPTY, NULL,
  8380. L"\x0009", Shape);
  8381. }
  8382. #pragma implementation_key(1289)
  8383. inline HRESULT VGCore::DIVGDocumentEvents::ShapeDelete ( long Count ) {
  8384. return _com_dispatch_method(this, 0x16, DISPATCH_METHOD, VT_EMPTY, NULL,
  8385. L"\x0003", Count);
  8386. }
  8387. #pragma implementation_key(1290)
  8388. inline HRESULT VGCore::DIVGDocumentEvents::ShapeMove ( struct IVGShape * Shape ) {
  8389. return _com_dispatch_method(this, 0x17, DISPATCH_METHOD, VT_EMPTY, NULL,
  8390. L"\x0009", Shape);
  8391. }
  8392. #pragma implementation_key(1291)
  8393. inline HRESULT VGCore::DIVGDocumentEvents::ShapeTransform ( struct IVGShape * Shape ) {
  8394. return _com_dispatch_method(this, 0x18, DISPATCH_METHOD, VT_EMPTY, NULL,
  8395. L"\x0009", Shape);
  8396. }
  8397. #pragma implementation_key(1292)
  8398. inline HRESULT VGCore::DIVGDocumentEvents::ShapeDistort ( struct IVGShape * Shape ) {
  8399. return _com_dispatch_method(this, 0x19, DISPATCH_METHOD, VT_EMPTY, NULL,
  8400. L"\x0009", Shape);
  8401. }
  8402. #pragma implementation_key(1293)
  8403. inline HRESULT VGCore::DIVGDocumentEvents::ShapeChange ( struct IVGShape * Shape, enum cdrShapeChangeScope Scope ) {
  8404. return _com_dispatch_method(this, 0x1a, DISPATCH_METHOD, VT_EMPTY, NULL,
  8405. L"\x0009\x0003", Shape, Scope);
  8406. }
  8407. #pragma implementation_key(1294)
  8408. inline HRESULT VGCore::DIVGDocumentEvents::SelectionChange ( ) {
  8409. return _com_dispatch_method(this, 0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8410. }
  8411. //
  8412. // interface IVGDocumentEvents wrapper method implementations
  8413. //
  8414. #pragma implementation_key(1295)
  8415. inline HRESULT VGCore::IVGDocumentEvents::QueryClose ( VARIANT_BOOL * Cancel ) {
  8416. HRESULT _hr = raw_QueryClose(Cancel);
  8417. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8418. return _hr;
  8419. }
  8420. #pragma implementation_key(1296)
  8421. inline HRESULT VGCore::IVGDocumentEvents::QuerySave ( VARIANT_BOOL * Cancel ) {
  8422. HRESULT _hr = raw_QuerySave(Cancel);
  8423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8424. return _hr;
  8425. }
  8426. #pragma implementation_key(1297)
  8427. inline HRESULT VGCore::IVGDocumentEvents::QueryPrint ( VARIANT_BOOL * Cancel ) {
  8428. HRESULT _hr = raw_QueryPrint(Cancel);
  8429. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8430. return _hr;
  8431. }
  8432. #pragma implementation_key(1298)
  8433. inline HRESULT VGCore::IVGDocumentEvents::QueryExport ( VARIANT_BOOL * Cancel ) {
  8434. HRESULT _hr = raw_QueryExport(Cancel);
  8435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8436. return _hr;
  8437. }
  8438. #pragma implementation_key(1299)
  8439. inline HRESULT VGCore::IVGDocumentEvents::Open ( ) {
  8440. HRESULT _hr = raw_Open();
  8441. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8442. return _hr;
  8443. }
  8444. #pragma implementation_key(1300)
  8445. inline HRESULT VGCore::IVGDocumentEvents::Close ( ) {
  8446. HRESULT _hr = raw_Close();
  8447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8448. return _hr;
  8449. }
  8450. #pragma implementation_key(1301)
  8451. inline HRESULT VGCore::IVGDocumentEvents::BeforeSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8452. HRESULT _hr = raw_BeforeSave(SaveAs, FileName);
  8453. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8454. return _hr;
  8455. }
  8456. #pragma implementation_key(1302)
  8457. inline HRESULT VGCore::IVGDocumentEvents::AfterSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8458. HRESULT _hr = raw_AfterSave(SaveAs, FileName);
  8459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8460. return _hr;
  8461. }
  8462. #pragma implementation_key(1303)
  8463. inline HRESULT VGCore::IVGDocumentEvents::BeforePrint ( ) {
  8464. HRESULT _hr = raw_BeforePrint();
  8465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8466. return _hr;
  8467. }
  8468. #pragma implementation_key(1304)
  8469. inline HRESULT VGCore::IVGDocumentEvents::AfterPrint ( ) {
  8470. HRESULT _hr = raw_AfterPrint();
  8471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8472. return _hr;
  8473. }
  8474. #pragma implementation_key(1305)
  8475. inline HRESULT VGCore::IVGDocumentEvents::BeforeExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8476. HRESULT _hr = raw_BeforeExport(FileName, Filter, SaveBitmap);
  8477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8478. return _hr;
  8479. }
  8480. #pragma implementation_key(1306)
  8481. inline HRESULT VGCore::IVGDocumentEvents::AfterExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8482. HRESULT _hr = raw_AfterExport(FileName, Filter, SaveBitmap);
  8483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8484. return _hr;
  8485. }
  8486. #pragma implementation_key(1307)
  8487. inline HRESULT VGCore::IVGDocumentEvents::LayerCreate ( struct IVGLayer * Layer ) {
  8488. HRESULT _hr = raw_LayerCreate(Layer);
  8489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8490. return _hr;
  8491. }
  8492. #pragma implementation_key(1308)
  8493. inline HRESULT VGCore::IVGDocumentEvents::LayerDelete ( long Count ) {
  8494. HRESULT _hr = raw_LayerDelete(Count);
  8495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8496. return _hr;
  8497. }
  8498. #pragma implementation_key(1309)
  8499. inline HRESULT VGCore::IVGDocumentEvents::LayerActivate ( struct IVGLayer * Layer ) {
  8500. HRESULT _hr = raw_LayerActivate(Layer);
  8501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8502. return _hr;
  8503. }
  8504. #pragma implementation_key(1310)
  8505. inline HRESULT VGCore::IVGDocumentEvents::LayerChange ( struct IVGLayer * Layer ) {
  8506. HRESULT _hr = raw_LayerChange(Layer);
  8507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8508. return _hr;
  8509. }
  8510. #pragma implementation_key(1311)
  8511. inline HRESULT VGCore::IVGDocumentEvents::PageCreate ( struct IVGPage * Page ) {
  8512. HRESULT _hr = raw_PageCreate(Page);
  8513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8514. return _hr;
  8515. }
  8516. #pragma implementation_key(1312)
  8517. inline HRESULT VGCore::IVGDocumentEvents::PageDelete ( long Count ) {
  8518. HRESULT _hr = raw_PageDelete(Count);
  8519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8520. return _hr;
  8521. }
  8522. #pragma implementation_key(1313)
  8523. inline HRESULT VGCore::IVGDocumentEvents::PageActivate ( struct IVGPage * Page ) {
  8524. HRESULT _hr = raw_PageActivate(Page);
  8525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8526. return _hr;
  8527. }
  8528. #pragma implementation_key(1314)
  8529. inline HRESULT VGCore::IVGDocumentEvents::PageChange ( struct IVGPage * Page ) {
  8530. HRESULT _hr = raw_PageChange(Page);
  8531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8532. return _hr;
  8533. }
  8534. #pragma implementation_key(1315)
  8535. inline HRESULT VGCore::IVGDocumentEvents::ShapeCreate ( struct IVGShape * Shape ) {
  8536. HRESULT _hr = raw_ShapeCreate(Shape);
  8537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8538. return _hr;
  8539. }
  8540. #pragma implementation_key(1316)
  8541. inline HRESULT VGCore::IVGDocumentEvents::ShapeDelete ( long Count ) {
  8542. HRESULT _hr = raw_ShapeDelete(Count);
  8543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8544. return _hr;
  8545. }
  8546. #pragma implementation_key(1317)
  8547. inline HRESULT VGCore::IVGDocumentEvents::ShapeMove ( struct IVGShape * Shape ) {
  8548. HRESULT _hr = raw_ShapeMove(Shape);
  8549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8550. return _hr;
  8551. }
  8552. #pragma implementation_key(1318)
  8553. inline HRESULT VGCore::IVGDocumentEvents::ShapeTransform ( struct IVGShape * Shape ) {
  8554. HRESULT _hr = raw_ShapeTransform(Shape);
  8555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8556. return _hr;
  8557. }
  8558. #pragma implementation_key(1319)
  8559. inline HRESULT VGCore::IVGDocumentEvents::ShapeDistort ( struct IVGShape * Shape ) {
  8560. HRESULT _hr = raw_ShapeDistort(Shape);
  8561. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8562. return _hr;
  8563. }
  8564. #pragma implementation_key(1320)
  8565. inline HRESULT VGCore::IVGDocumentEvents::ShapeChange ( struct IVGShape * Shape, enum cdrShapeChangeScope Scope ) {
  8566. HRESULT _hr = raw_ShapeChange(Shape, Scope);
  8567. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8568. return _hr;
  8569. }
  8570. #pragma implementation_key(1321)
  8571. inline HRESULT VGCore::IVGDocumentEvents::SelectionChange ( ) {
  8572. HRESULT _hr = raw_SelectionChange();
  8573. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8574. return _hr;
  8575. }
  8576. //
  8577. // interface IVGApplicationEvents wrapper method implementations
  8578. //
  8579. #pragma implementation_key(1322)
  8580. inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentClose ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8581. HRESULT _hr = raw_QueryDocumentClose(Doc, Cancel);
  8582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8583. return _hr;
  8584. }
  8585. #pragma implementation_key(1323)
  8586. inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentSave ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8587. HRESULT _hr = raw_QueryDocumentSave(Doc, Cancel);
  8588. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8589. return _hr;
  8590. }
  8591. #pragma implementation_key(1324)
  8592. inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentPrint ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8593. HRESULT _hr = raw_QueryDocumentPrint(Doc, Cancel);
  8594. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8595. return _hr;
  8596. }
  8597. #pragma implementation_key(1325)
  8598. inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentExport ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8599. HRESULT _hr = raw_QueryDocumentExport(Doc, Cancel);
  8600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8601. return _hr;
  8602. }
  8603. #pragma implementation_key(1326)
  8604. inline HRESULT VGCore::IVGApplicationEvents::QueryQuit ( VARIANT_BOOL * Cancel ) {
  8605. HRESULT _hr = raw_QueryQuit(Cancel);
  8606. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8607. return _hr;
  8608. }
  8609. #pragma implementation_key(1327)
  8610. inline HRESULT VGCore::IVGApplicationEvents::DocumentOpen ( struct IVGDocument * Doc, _bstr_t FileName ) {
  8611. HRESULT _hr = raw_DocumentOpen(Doc, FileName);
  8612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8613. return _hr;
  8614. }
  8615. #pragma implementation_key(1328)
  8616. inline HRESULT VGCore::IVGApplicationEvents::DocumentNew ( struct IVGDocument * Doc, VARIANT_BOOL FromTemplate, _bstr_t Template, VARIANT_BOOL IncludeGraphics ) {
  8617. HRESULT _hr = raw_DocumentNew(Doc, FromTemplate, Template, IncludeGraphics);
  8618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8619. return _hr;
  8620. }
  8621. #pragma implementation_key(1329)
  8622. inline HRESULT VGCore::IVGApplicationEvents::DocumentClose ( struct IVGDocument * Doc ) {
  8623. HRESULT _hr = raw_DocumentClose(Doc);
  8624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8625. return _hr;
  8626. }
  8627. #pragma implementation_key(1330)
  8628. inline HRESULT VGCore::IVGApplicationEvents::DocumentBeforeSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8629. HRESULT _hr = raw_DocumentBeforeSave(Doc, SaveAs, FileName);
  8630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8631. return _hr;
  8632. }
  8633. #pragma implementation_key(1331)
  8634. inline HRESULT VGCore::IVGApplicationEvents::DocumentAfterSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8635. HRESULT _hr = raw_DocumentAfterSave(Doc, SaveAs, FileName);
  8636. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8637. return _hr;
  8638. }
  8639. #pragma implementation_key(1332)
  8640. inline HRESULT VGCore::IVGApplicationEvents::DocumentBeforePrint ( struct IVGDocument * Doc ) {
  8641. HRESULT _hr = raw_DocumentBeforePrint(Doc);
  8642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8643. return _hr;
  8644. }
  8645. #pragma implementation_key(1333)
  8646. inline HRESULT VGCore::IVGApplicationEvents::DocumentAfterPrint ( struct IVGDocument * Doc ) {
  8647. HRESULT _hr = raw_DocumentAfterPrint(Doc);
  8648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8649. return _hr;
  8650. }
  8651. #pragma implementation_key(1334)
  8652. inline HRESULT VGCore::IVGApplicationEvents::DocumentBeforeExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8653. HRESULT _hr = raw_DocumentBeforeExport(Doc, FileName, Filter, SaveBitmap);
  8654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8655. return _hr;
  8656. }
  8657. #pragma implementation_key(1335)
  8658. inline HRESULT VGCore::IVGApplicationEvents::DocumentAfterExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8659. HRESULT _hr = raw_DocumentAfterExport(Doc, FileName, Filter, SaveBitmap);
  8660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8661. return _hr;
  8662. }
  8663. #pragma implementation_key(1336)
  8664. inline HRESULT VGCore::IVGApplicationEvents::WindowActivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
  8665. HRESULT _hr = raw_WindowActivate(Doc, Window);
  8666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8667. return _hr;
  8668. }
  8669. #pragma implementation_key(1337)
  8670. inline HRESULT VGCore::IVGApplicationEvents::WindowDeactivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
  8671. HRESULT _hr = raw_WindowDeactivate(Doc, Window);
  8672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8673. return _hr;
  8674. }
  8675. #pragma implementation_key(1338)
  8676. inline HRESULT VGCore::IVGApplicationEvents::SelectionChange ( ) {
  8677. HRESULT _hr = raw_SelectionChange();
  8678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8679. return _hr;
  8680. }
  8681. #pragma implementation_key(1339)
  8682. inline HRESULT VGCore::IVGApplicationEvents::Start ( ) {
  8683. HRESULT _hr = raw_Start();
  8684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8685. return _hr;
  8686. }
  8687. #pragma implementation_key(1340)
  8688. inline HRESULT VGCore::IVGApplicationEvents::Quit ( ) {
  8689. HRESULT _hr = raw_Quit();
  8690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8691. return _hr;
  8692. }
  8693. #pragma implementation_key(1341)
  8694. inline HRESULT VGCore::IVGApplicationEvents::OnPluginCommand ( _bstr_t CommandID ) {
  8695. HRESULT _hr = raw_OnPluginCommand(CommandID);
  8696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8697. return _hr;
  8698. }
  8699. #pragma implementation_key(1342)
  8700. inline HRESULT VGCore::IVGApplicationEvents::OnUpdatePluginCommand ( _bstr_t CommandID, VARIANT_BOOL * Enabled, enum cdrCommandCheckState * Checked ) {
  8701. HRESULT _hr = raw_OnUpdatePluginCommand(CommandID, Enabled, Checked);
  8702. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8703. return _hr;
  8704. }
  8705. #pragma implementation_key(1343)
  8706. inline HRESULT VGCore::IVGApplicationEvents::OnApplicationEvent ( _bstr_t EventName, SAFEARRAY * * Parameters ) {
  8707. HRESULT _hr = raw_OnApplicationEvent(EventName, Parameters);
  8708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8709. return _hr;
  8710. }
  8711. //
  8712. // dispinterface DIVGApplicationEvents wrapper method implementations
  8713. //
  8714. #pragma implementation_key(1344)
  8715. inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentClose ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8716. return _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_EMPTY, NULL,
  8717. L"\x0009\x400b", Doc, Cancel);
  8718. }
  8719. #pragma implementation_key(1345)
  8720. inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentSave ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8721. return _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_EMPTY, NULL,
  8722. L"\x0009\x400b", Doc, Cancel);
  8723. }
  8724. #pragma implementation_key(1346)
  8725. inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentPrint ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8726. return _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_EMPTY, NULL,
  8727. L"\x0009\x400b", Doc, Cancel);
  8728. }
  8729. #pragma implementation_key(1347)
  8730. inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentExport ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
  8731. return _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_EMPTY, NULL,
  8732. L"\x0009\x400b", Doc, Cancel);
  8733. }
  8734. #pragma implementation_key(1348)
  8735. inline HRESULT VGCore::DIVGApplicationEvents::QueryQuit ( VARIANT_BOOL * Cancel ) {
  8736. return _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_EMPTY, NULL,
  8737. L"\x400b", Cancel);
  8738. }
  8739. #pragma implementation_key(1349)
  8740. inline HRESULT VGCore::DIVGApplicationEvents::DocumentOpen ( struct IVGDocument * Doc, _bstr_t FileName ) {
  8741. return _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_EMPTY, NULL,
  8742. L"\x0009\x0008", Doc, (BSTR)FileName);
  8743. }
  8744. #pragma implementation_key(1350)
  8745. inline HRESULT VGCore::DIVGApplicationEvents::DocumentNew ( struct IVGDocument * Doc, VARIANT_BOOL FromTemplate, _bstr_t Template, VARIANT_BOOL IncludeGraphics ) {
  8746. return _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_EMPTY, NULL,
  8747. L"\x0009\x000b\x0008\x000b", Doc, FromTemplate, (BSTR)Template, IncludeGraphics);
  8748. }
  8749. #pragma implementation_key(1351)
  8750. inline HRESULT VGCore::DIVGApplicationEvents::DocumentClose ( struct IVGDocument * Doc ) {
  8751. return _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_EMPTY, NULL,
  8752. L"\x0009", Doc);
  8753. }
  8754. #pragma implementation_key(1352)
  8755. inline HRESULT VGCore::DIVGApplicationEvents::DocumentBeforeSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8756. return _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_EMPTY, NULL,
  8757. L"\x0009\x000b\x0008", Doc, SaveAs, (BSTR)FileName);
  8758. }
  8759. #pragma implementation_key(1353)
  8760. inline HRESULT VGCore::DIVGApplicationEvents::DocumentAfterSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
  8761. return _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_EMPTY, NULL,
  8762. L"\x0009\x000b\x0008", Doc, SaveAs, (BSTR)FileName);
  8763. }
  8764. #pragma implementation_key(1354)
  8765. inline HRESULT VGCore::DIVGApplicationEvents::DocumentBeforePrint ( struct IVGDocument * Doc ) {
  8766. return _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_EMPTY, NULL,
  8767. L"\x0009", Doc);
  8768. }
  8769. #pragma implementation_key(1355)
  8770. inline HRESULT VGCore::DIVGApplicationEvents::DocumentAfterPrint ( struct IVGDocument * Doc ) {
  8771. return _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_EMPTY, NULL,
  8772. L"\x0009", Doc);
  8773. }
  8774. #pragma implementation_key(1356)
  8775. inline HRESULT VGCore::DIVGApplicationEvents::DocumentBeforeExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8776. return _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_EMPTY, NULL,
  8777. L"\x0009\x0008\x0003\x000b", Doc, (BSTR)FileName, Filter, SaveBitmap);
  8778. }
  8779. #pragma implementation_key(1357)
  8780. inline HRESULT VGCore::DIVGApplicationEvents::DocumentAfterExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
  8781. return _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_EMPTY, NULL,
  8782. L"\x0009\x0008\x0003\x000b", Doc, (BSTR)FileName, Filter, SaveBitmap);
  8783. }
  8784. #pragma implementation_key(1358)
  8785. inline HRESULT VGCore::DIVGApplicationEvents::WindowActivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
  8786. return _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_EMPTY, NULL,
  8787. L"\x0009\x0009", Doc, Window);
  8788. }
  8789. #pragma implementation_key(1359)
  8790. inline HRESULT VGCore::DIVGApplicationEvents::WindowDeactivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
  8791. return _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_EMPTY, NULL,
  8792. L"\x0009\x0009", Doc, Window);
  8793. }
  8794. #pragma implementation_key(1360)
  8795. inline HRESULT VGCore::DIVGApplicationEvents::SelectionChange ( ) {
  8796. return _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8797. }
  8798. #pragma implementation_key(1361)
  8799. inline HRESULT VGCore::DIVGApplicationEvents::Start ( ) {
  8800. return _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8801. }
  8802. #pragma implementation_key(1362)
  8803. inline HRESULT VGCore::DIVGApplicationEvents::Quit ( ) {
  8804. return _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  8805. }
  8806. #pragma implementation_key(1363)
  8807. inline HRESULT VGCore::DIVGApplicationEvents::OnPluginCommand ( _bstr_t CommandID ) {
  8808. return _com_dispatch_method(this, 0x14, DISPATCH_METHOD, VT_EMPTY, NULL,
  8809. L"\x0008", (BSTR)CommandID);
  8810. }
  8811. #pragma implementation_key(1364)
  8812. inline HRESULT VGCore::DIVGApplicationEvents::OnUpdatePluginCommand ( _bstr_t CommandID, VARIANT_BOOL * Enabled, enum cdrCommandCheckState * Checked ) {
  8813. return _com_dispatch_method(this, 0x15, DISPATCH_METHOD, VT_EMPTY, NULL,
  8814. L"\x0008\x400b\x4003", (BSTR)CommandID, Enabled, Checked);
  8815. }
  8816. #pragma implementation_key(1365)
  8817. inline HRESULT VGCore::DIVGApplicationEvents::OnApplicationEvent ( _bstr_t EventName, SAFEARRAY * * Parameters ) {
  8818. return _com_dispatch_method(this, 0x16, DISPATCH_METHOD, VT_EMPTY, NULL,
  8819. L"\x0008\x600c", (BSTR)EventName, Parameters);
  8820. }
  8821. //
  8822. // interface ICUIFrameWork wrapper method implementations
  8823. //
  8824. #pragma implementation_key(1366)
  8825. inline VGCore::ICUICommandBarsPtr VGCore::ICUIFrameWork::GetCommandBars ( ) {
  8826. struct ICUICommandBars * _result = 0;
  8827. HRESULT _hr = get_CommandBars(&_result);
  8828. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8829. return ICUICommandBarsPtr(_result, false);
  8830. }
  8831. #pragma implementation_key(1367)
  8832. inline VGCore::ICUICommandBarPtr VGCore::ICUIFrameWork::GetMainMenu ( ) {
  8833. struct ICUICommandBar * _result = 0;
  8834. HRESULT _hr = get_MainMenu(&_result);
  8835. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8836. return ICUICommandBarPtr(_result, false);
  8837. }
  8838. #pragma implementation_key(1368)
  8839. inline VGCore::ICUICommandBarPtr VGCore::ICUIFrameWork::GetStatusBar ( ) {
  8840. struct ICUICommandBar * _result = 0;
  8841. HRESULT _hr = get_StatusBar(&_result);
  8842. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8843. return ICUICommandBarPtr(_result, false);
  8844. }
  8845. #pragma implementation_key(1369)
  8846. inline _bstr_t VGCore::ICUIFrameWork::GetName ( ) {
  8847. BSTR _result = 0;
  8848. HRESULT _hr = get_Name(&_result);
  8849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8850. return _bstr_t(_result, false);
  8851. }
  8852. #pragma implementation_key(1370)
  8853. inline HRESULT VGCore::ICUIFrameWork::ImportWorkspace ( _bstr_t FileName ) {
  8854. HRESULT _hr = raw_ImportWorkspace(FileName);
  8855. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8856. return _hr;
  8857. }
  8858. #pragma implementation_key(1371)
  8859. inline VGCore::ICUIAutomationPtr VGCore::ICUIFrameWork::GetAutomation ( ) {
  8860. struct ICUIAutomation * _result = 0;
  8861. HRESULT _hr = get_Automation(&_result);
  8862. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8863. return ICUIAutomationPtr(_result, false);
  8864. }
  8865. #pragma implementation_key(1372)
  8866. inline HRESULT VGCore::ICUIFrameWork::ShowDocker ( _bstr_t Guid ) {
  8867. HRESULT _hr = raw_ShowDocker(Guid);
  8868. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8869. return _hr;
  8870. }
  8871. #pragma implementation_key(1373)
  8872. inline HRESULT VGCore::ICUIFrameWork::HideDocker ( _bstr_t Guid ) {
  8873. HRESULT _hr = raw_HideDocker(Guid);
  8874. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8875. return _hr;
  8876. }
  8877. #pragma implementation_key(1374)
  8878. inline VARIANT_BOOL VGCore::ICUIFrameWork::IsDockerVisible ( _bstr_t Guid ) {
  8879. VARIANT_BOOL _result = 0;
  8880. HRESULT _hr = raw_IsDockerVisible(Guid, &_result);
  8881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8882. return _result;
  8883. }
  8884. #pragma implementation_key(1375)
  8885. inline HRESULT VGCore::ICUIFrameWork::AddDocker ( _bstr_t Guid, _bstr_t ClassName, _bstr_t AssemblyPath ) {
  8886. HRESULT _hr = raw_AddDocker(Guid, ClassName, AssemblyPath);
  8887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8888. return _hr;
  8889. }
  8890. #pragma implementation_key(1376)
  8891. inline HRESULT VGCore::ICUIFrameWork::RemoveDocker ( _bstr_t Guid ) {
  8892. HRESULT _hr = raw_RemoveDocker(Guid);
  8893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8894. return _hr;
  8895. }
  8896. #pragma implementation_key(1377)
  8897. inline VGCore::ICUIFrameWindowsPtr VGCore::ICUIFrameWork::GetFrameWindows ( ) {
  8898. struct ICUIFrameWindows * _result = 0;
  8899. HRESULT _hr = get_FrameWindows(&_result);
  8900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8901. return ICUIFrameWindowsPtr(_result, false);
  8902. }
  8903. #pragma implementation_key(1378)
  8904. inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWork::GetMainFrameWindow ( ) {
  8905. struct ICUIFrameWindow * _result = 0;
  8906. HRESULT _hr = get_MainFrameWindow(&_result);
  8907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8908. return ICUIFrameWindowPtr(_result, false);
  8909. }
  8910. #pragma implementation_key(1379)
  8911. inline VGCore::ICUIApplicationPtr VGCore::ICUIFrameWork::GetApplication ( ) {
  8912. struct ICUIApplication * _result = 0;
  8913. HRESULT _hr = get_Application(&_result);
  8914. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8915. return ICUIApplicationPtr(_result, false);
  8916. }
  8917. #pragma implementation_key(1380)
  8918. inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWork::CreateFrameWindowForViewHost ( struct ICUIViewHost * ViewHostToInsert ) {
  8919. struct ICUIFrameWindow * _result = 0;
  8920. HRESULT _hr = raw_CreateFrameWindowForViewHost(ViewHostToInsert, &_result);
  8921. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8922. return ICUIFrameWindowPtr(_result, false);
  8923. }
  8924. #pragma implementation_key(1381)
  8925. inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWork::CreateFrameWindowForView ( struct ICUIViewWindow * ViewToInsert ) {
  8926. struct ICUIFrameWindow * _result = 0;
  8927. HRESULT _hr = raw_CreateFrameWindowForView(ViewToInsert, &_result);
  8928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8929. return ICUIFrameWindowPtr(_result, false);
  8930. }
  8931. #pragma implementation_key(1382)
  8932. inline HRESULT VGCore::ICUIFrameWork::ShowDialog ( _bstr_t Guid ) {
  8933. HRESULT _hr = raw_ShowDialog(Guid);
  8934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8935. return _hr;
  8936. }
  8937. #pragma implementation_key(1383)
  8938. inline HRESULT VGCore::ICUIFrameWork::HideDialog ( _bstr_t Guid ) {
  8939. HRESULT _hr = raw_HideDialog(Guid);
  8940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8941. return _hr;
  8942. }
  8943. #pragma implementation_key(1384)
  8944. inline long VGCore::ICUIFrameWork::ShowMessageBox ( _bstr_t szMessage, _bstr_t szMainInstruction, long unFlags, struct ICUIBitmapImage * pImage, _bstr_t szHelpGuid, _bstr_t szWarningName, enum cuiMessageBoxFlags eFlags, struct ICUIDataContext * pDataContext ) {
  8945. long _result = 0;
  8946. HRESULT _hr = raw_ShowMessageBox(szMessage, szMainInstruction, unFlags, pImage, szHelpGuid, szWarningName, eFlags, pDataContext, &_result);
  8947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8948. return _result;
  8949. }
  8950. #pragma implementation_key(1385)
  8951. inline VGCore::ICUIWarningPtr VGCore::ICUIFrameWork::GetWarning ( _bstr_t szWarningID, VARIANT_BOOL bHidden ) {
  8952. struct ICUIWarning * _result = 0;
  8953. HRESULT _hr = raw_GetWarning(szWarningID, bHidden, &_result);
  8954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8955. return ICUIWarningPtr(_result, false);
  8956. }
  8957. #pragma implementation_key(1386)
  8958. inline VGCore::ICUITaskManagerPtr VGCore::ICUIFrameWork::GetTaskManager ( ) {
  8959. struct ICUITaskManager * _result = 0;
  8960. HRESULT _hr = get_TaskManager(&_result);
  8961. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8962. return ICUITaskManagerPtr(_result, false);
  8963. }
  8964. //
  8965. // interface ICUIFrameWindows wrapper method implementations
  8966. //
  8967. #pragma implementation_key(1387)
  8968. inline long VGCore::ICUIFrameWindows::GetCount ( ) {
  8969. long _result = 0;
  8970. HRESULT _hr = get_Count(&_result);
  8971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8972. return _result;
  8973. }
  8974. #pragma implementation_key(1388)
  8975. inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::GetItem ( long Index ) {
  8976. struct ICUIFrameWindow * _result = 0;
  8977. HRESULT _hr = get_Item(Index, &_result);
  8978. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8979. return ICUIFrameWindowPtr(_result, false);
  8980. }
  8981. #pragma implementation_key(1389)
  8982. inline IUnknownPtr VGCore::ICUIFrameWindows::Get_NewEnum ( ) {
  8983. IUnknown * _result = 0;
  8984. HRESULT _hr = get__NewEnum(&_result);
  8985. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8986. return IUnknownPtr(_result, false);
  8987. }
  8988. #pragma implementation_key(1390)
  8989. inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::Find ( _bstr_t ID ) {
  8990. struct ICUIFrameWindow * _result = 0;
  8991. HRESULT _hr = raw_Find(ID, &_result);
  8992. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  8993. return ICUIFrameWindowPtr(_result, false);
  8994. }
  8995. #pragma implementation_key(1391)
  8996. inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::GetFirst ( ) {
  8997. struct ICUIFrameWindow * _result = 0;
  8998. HRESULT _hr = get_First(&_result);
  8999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9000. return ICUIFrameWindowPtr(_result, false);
  9001. }
  9002. #pragma implementation_key(1392)
  9003. inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::GetLast ( ) {
  9004. struct ICUIFrameWindow * _result = 0;
  9005. HRESULT _hr = get_Last(&_result);
  9006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9007. return ICUIFrameWindowPtr(_result, false);
  9008. }
  9009. //
  9010. // interface ICUIFrameWindow wrapper method implementations
  9011. //
  9012. #pragma implementation_key(1393)
  9013. inline _bstr_t VGCore::ICUIFrameWindow::GetID ( ) {
  9014. BSTR _result = 0;
  9015. HRESULT _hr = get_ID(&_result);
  9016. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9017. return _bstr_t(_result, false);
  9018. }
  9019. #pragma implementation_key(1394)
  9020. inline _bstr_t VGCore::ICUIFrameWindow::GetCaption ( ) {
  9021. BSTR _result = 0;
  9022. HRESULT _hr = get_Caption(&_result);
  9023. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9024. return _bstr_t(_result, false);
  9025. }
  9026. #pragma implementation_key(1395)
  9027. inline HRESULT VGCore::ICUIFrameWindow::Minimize ( ) {
  9028. HRESULT _hr = raw_Minimize();
  9029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9030. return _hr;
  9031. }
  9032. #pragma implementation_key(1396)
  9033. inline HRESULT VGCore::ICUIFrameWindow::Maximize ( ) {
  9034. HRESULT _hr = raw_Maximize();
  9035. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9036. return _hr;
  9037. }
  9038. #pragma implementation_key(1397)
  9039. inline HRESULT VGCore::ICUIFrameWindow::Restore ( ) {
  9040. HRESULT _hr = raw_Restore();
  9041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9042. return _hr;
  9043. }
  9044. #pragma implementation_key(1398)
  9045. inline enum VGCore::cuiWindowState VGCore::ICUIFrameWindow::GetState ( ) {
  9046. enum cuiWindowState _result;
  9047. HRESULT _hr = get_State(&_result);
  9048. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9049. return _result;
  9050. }
  9051. #pragma implementation_key(1399)
  9052. inline VARIANT_BOOL VGCore::ICUIFrameWindow::GetIsMainFrame ( ) {
  9053. VARIANT_BOOL _result = 0;
  9054. HRESULT _hr = get_IsMainFrame(&_result);
  9055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9056. return _result;
  9057. }
  9058. #pragma implementation_key(1400)
  9059. inline HRESULT VGCore::ICUIFrameWindow::Close ( ) {
  9060. HRESULT _hr = raw_Close();
  9061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9062. return _hr;
  9063. }
  9064. #pragma implementation_key(1401)
  9065. inline HRESULT VGCore::ICUIFrameWindow::Activate ( ) {
  9066. HRESULT _hr = raw_Activate();
  9067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9068. return _hr;
  9069. }
  9070. #pragma implementation_key(1402)
  9071. inline VARIANT_BOOL VGCore::ICUIFrameWindow::GetIsActive ( ) {
  9072. VARIANT_BOOL _result = 0;
  9073. HRESULT _hr = get_IsActive(&_result);
  9074. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9075. return _result;
  9076. }
  9077. #pragma implementation_key(1403)
  9078. inline long VGCore::ICUIFrameWindow::GetHandle ( ) {
  9079. long _result = 0;
  9080. HRESULT _hr = get_Handle(&_result);
  9081. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9082. return _result;
  9083. }
  9084. #pragma implementation_key(1404)
  9085. inline HRESULT VGCore::ICUIFrameWindow::TileViews ( VARIANT_BOOL TileHorizontally ) {
  9086. HRESULT _hr = raw_TileViews(TileHorizontally);
  9087. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9088. return _hr;
  9089. }
  9090. #pragma implementation_key(1405)
  9091. inline HRESULT VGCore::ICUIFrameWindow::CombineViews ( ) {
  9092. HRESULT _hr = raw_CombineViews();
  9093. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9094. return _hr;
  9095. }
  9096. #pragma implementation_key(1406)
  9097. inline VGCore::ICUIViewHostsPtr VGCore::ICUIFrameWindow::GetViewHosts ( ) {
  9098. struct ICUIViewHosts * _result = 0;
  9099. HRESULT _hr = get_ViewHosts(&_result);
  9100. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9101. return ICUIViewHostsPtr(_result, false);
  9102. }
  9103. #pragma implementation_key(1407)
  9104. inline VGCore::ICUIDockHostsPtr VGCore::ICUIFrameWindow::GetDockHosts ( ) {
  9105. struct ICUIDockHosts * _result = 0;
  9106. HRESULT _hr = get_DockHosts(&_result);
  9107. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9108. return ICUIDockHostsPtr(_result, false);
  9109. }
  9110. #pragma implementation_key(1408)
  9111. inline VGCore::ICUIDockHostPtr VGCore::ICUIFrameWindow::GetRootDockHost ( ) {
  9112. struct ICUIDockHost * _result = 0;
  9113. HRESULT _hr = get_RootDockHost(&_result);
  9114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9115. return ICUIDockHostPtr(_result, false);
  9116. }
  9117. #pragma implementation_key(1409)
  9118. inline VGCore::ICUIScreenRectPtr VGCore::ICUIFrameWindow::GetPosition ( ) {
  9119. struct ICUIScreenRect * _result = 0;
  9120. HRESULT _hr = get_Position(&_result);
  9121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9122. return ICUIScreenRectPtr(_result, false);
  9123. }
  9124. //
  9125. // interface ICUIViewHosts wrapper method implementations
  9126. //
  9127. #pragma implementation_key(1410)
  9128. inline long VGCore::ICUIViewHosts::GetCount ( ) {
  9129. long _result = 0;
  9130. HRESULT _hr = get_Count(&_result);
  9131. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9132. return _result;
  9133. }
  9134. #pragma implementation_key(1411)
  9135. inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::GetItem ( long Index ) {
  9136. struct ICUIViewHost * _result = 0;
  9137. HRESULT _hr = get_Item(Index, &_result);
  9138. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9139. return ICUIViewHostPtr(_result, false);
  9140. }
  9141. #pragma implementation_key(1412)
  9142. inline IUnknownPtr VGCore::ICUIViewHosts::Get_NewEnum ( ) {
  9143. IUnknown * _result = 0;
  9144. HRESULT _hr = get__NewEnum(&_result);
  9145. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9146. return IUnknownPtr(_result, false);
  9147. }
  9148. #pragma implementation_key(1413)
  9149. inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::Find ( _bstr_t ID ) {
  9150. struct ICUIViewHost * _result = 0;
  9151. HRESULT _hr = raw_Find(ID, &_result);
  9152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9153. return ICUIViewHostPtr(_result, false);
  9154. }
  9155. #pragma implementation_key(1414)
  9156. inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::GetFirst ( ) {
  9157. struct ICUIViewHost * _result = 0;
  9158. HRESULT _hr = get_First(&_result);
  9159. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9160. return ICUIViewHostPtr(_result, false);
  9161. }
  9162. #pragma implementation_key(1415)
  9163. inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::GetLast ( ) {
  9164. struct ICUIViewHost * _result = 0;
  9165. HRESULT _hr = get_Last(&_result);
  9166. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9167. return ICUIViewHostPtr(_result, false);
  9168. }
  9169. //
  9170. // interface ICUIViewHost wrapper method implementations
  9171. //
  9172. #pragma implementation_key(1416)
  9173. inline _bstr_t VGCore::ICUIViewHost::GetID ( ) {
  9174. BSTR _result = 0;
  9175. HRESULT _hr = get_ID(&_result);
  9176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9177. return _bstr_t(_result, false);
  9178. }
  9179. #pragma implementation_key(1417)
  9180. inline VGCore::ICUIDockHostPtr VGCore::ICUIViewHost::GetDockHost ( ) {
  9181. struct ICUIDockHost * _result = 0;
  9182. HRESULT _hr = get_DockHost(&_result);
  9183. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9184. return ICUIDockHostPtr(_result, false);
  9185. }
  9186. #pragma implementation_key(1418)
  9187. inline VGCore::ICUIViewWindowsPtr VGCore::ICUIViewHost::GetViews ( ) {
  9188. struct ICUIViewWindows * _result = 0;
  9189. HRESULT _hr = get_Views(&_result);
  9190. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9191. return ICUIViewWindowsPtr(_result, false);
  9192. }
  9193. #pragma implementation_key(1419)
  9194. inline VGCore::ICUIDockItemPtr VGCore::ICUIViewHost::GetDockItem ( ) {
  9195. struct ICUIDockItem * _result = 0;
  9196. HRESULT _hr = get_DockItem(&_result);
  9197. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9198. return ICUIDockItemPtr(_result, false);
  9199. }
  9200. #pragma implementation_key(1420)
  9201. inline VGCore::ICUIScreenRectPtr VGCore::ICUIViewHost::GetPosition ( ) {
  9202. struct ICUIScreenRect * _result = 0;
  9203. HRESULT _hr = get_Position(&_result);
  9204. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9205. return ICUIScreenRectPtr(_result, false);
  9206. }
  9207. #pragma implementation_key(1421)
  9208. inline HRESULT VGCore::ICUIViewHost::InsertView ( struct ICUIViewWindow * ViewToInsert, long Index ) {
  9209. HRESULT _hr = raw_InsertView(ViewToInsert, Index);
  9210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9211. return _hr;
  9212. }
  9213. #pragma implementation_key(1422)
  9214. inline HRESULT VGCore::ICUIViewHost::InsertViewHost ( struct ICUIViewHost * ViewHostToInsert, long Index ) {
  9215. HRESULT _hr = raw_InsertViewHost(ViewHostToInsert, Index);
  9216. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9217. return _hr;
  9218. }
  9219. //
  9220. // interface ICUIViewWindow wrapper method implementations
  9221. //
  9222. #pragma implementation_key(1423)
  9223. inline _bstr_t VGCore::ICUIViewWindow::GetID ( ) {
  9224. BSTR _result = 0;
  9225. HRESULT _hr = get_ID(&_result);
  9226. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9227. return _bstr_t(_result, false);
  9228. }
  9229. #pragma implementation_key(1424)
  9230. inline VGCore::ICUIViewHostPtr VGCore::ICUIViewWindow::GetViewHost ( ) {
  9231. struct ICUIViewHost * _result = 0;
  9232. HRESULT _hr = get_ViewHost(&_result);
  9233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9234. return ICUIViewHostPtr(_result, false);
  9235. }
  9236. #pragma implementation_key(1425)
  9237. inline long VGCore::ICUIViewWindow::GetIndex ( ) {
  9238. long _result = 0;
  9239. HRESULT _hr = get_Index(&_result);
  9240. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9241. return _result;
  9242. }
  9243. #pragma implementation_key(1426)
  9244. inline _bstr_t VGCore::ICUIViewWindow::GetKind ( ) {
  9245. BSTR _result = 0;
  9246. HRESULT _hr = get_Kind(&_result);
  9247. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9248. return _bstr_t(_result, false);
  9249. }
  9250. #pragma implementation_key(1427)
  9251. inline _bstr_t VGCore::ICUIViewWindow::GetTitle ( ) {
  9252. BSTR _result = 0;
  9253. HRESULT _hr = get_Title(&_result);
  9254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9255. return _bstr_t(_result, false);
  9256. }
  9257. #pragma implementation_key(1428)
  9258. inline _bstr_t VGCore::ICUIViewWindow::GetDescription ( ) {
  9259. BSTR _result = 0;
  9260. HRESULT _hr = get_Description(&_result);
  9261. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9262. return _bstr_t(_result, false);
  9263. }
  9264. #pragma implementation_key(1429)
  9265. inline VGCore::ICUIScreenRectPtr VGCore::ICUIViewWindow::GetPosition ( ) {
  9266. struct ICUIScreenRect * _result = 0;
  9267. HRESULT _hr = get_Position(&_result);
  9268. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9269. return ICUIScreenRectPtr(_result, false);
  9270. }
  9271. #pragma implementation_key(1430)
  9272. inline HRESULT VGCore::ICUIViewWindow::Activate ( ) {
  9273. HRESULT _hr = raw_Activate();
  9274. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9275. return _hr;
  9276. }
  9277. #pragma implementation_key(1431)
  9278. inline HRESULT VGCore::ICUIViewWindow::Close ( ) {
  9279. HRESULT _hr = raw_Close();
  9280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9281. return _hr;
  9282. }
  9283. #pragma implementation_key(1432)
  9284. inline IDispatchPtr VGCore::ICUIViewWindow::GetAppView ( ) {
  9285. IDispatch * _result = 0;
  9286. HRESULT _hr = get_AppView(&_result);
  9287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9288. return IDispatchPtr(_result, false);
  9289. }
  9290. //
  9291. // interface ICUIViewWindows wrapper method implementations
  9292. //
  9293. #pragma implementation_key(1433)
  9294. inline long VGCore::ICUIViewWindows::GetCount ( ) {
  9295. long _result = 0;
  9296. HRESULT _hr = get_Count(&_result);
  9297. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9298. return _result;
  9299. }
  9300. #pragma implementation_key(1434)
  9301. inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::GetItem ( long Index ) {
  9302. struct ICUIViewWindow * _result = 0;
  9303. HRESULT _hr = get_Item(Index, &_result);
  9304. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9305. return ICUIViewWindowPtr(_result, false);
  9306. }
  9307. #pragma implementation_key(1435)
  9308. inline IUnknownPtr VGCore::ICUIViewWindows::Get_NewEnum ( ) {
  9309. IUnknown * _result = 0;
  9310. HRESULT _hr = get__NewEnum(&_result);
  9311. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9312. return IUnknownPtr(_result, false);
  9313. }
  9314. #pragma implementation_key(1436)
  9315. inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::Find ( _bstr_t ID ) {
  9316. struct ICUIViewWindow * _result = 0;
  9317. HRESULT _hr = raw_Find(ID, &_result);
  9318. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9319. return ICUIViewWindowPtr(_result, false);
  9320. }
  9321. #pragma implementation_key(1437)
  9322. inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::GetFirst ( ) {
  9323. struct ICUIViewWindow * _result = 0;
  9324. HRESULT _hr = get_First(&_result);
  9325. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9326. return ICUIViewWindowPtr(_result, false);
  9327. }
  9328. #pragma implementation_key(1438)
  9329. inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::GetLast ( ) {
  9330. struct ICUIViewWindow * _result = 0;
  9331. HRESULT _hr = get_Last(&_result);
  9332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9333. return ICUIViewWindowPtr(_result, false);
  9334. }
  9335. //
  9336. // interface ICUIDockHost wrapper method implementations
  9337. //
  9338. #pragma implementation_key(1439)
  9339. inline _bstr_t VGCore::ICUIDockHost::GetID ( ) {
  9340. BSTR _result = 0;
  9341. HRESULT _hr = get_ID(&_result);
  9342. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9343. return _bstr_t(_result, false);
  9344. }
  9345. #pragma implementation_key(1440)
  9346. inline enum VGCore::cuiDockHostOrientation VGCore::ICUIDockHost::GetOrientation ( ) {
  9347. enum cuiDockHostOrientation _result;
  9348. HRESULT _hr = get_Orientation(&_result);
  9349. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9350. return _result;
  9351. }
  9352. #pragma implementation_key(1441)
  9353. inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHost::GetParentDockHost ( ) {
  9354. struct ICUIDockHost * _result = 0;
  9355. HRESULT _hr = get_ParentDockHost(&_result);
  9356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9357. return ICUIDockHostPtr(_result, false);
  9358. }
  9359. #pragma implementation_key(1442)
  9360. inline VGCore::ICUIDockItemPtr VGCore::ICUIDockHost::GetDockItem ( ) {
  9361. struct ICUIDockItem * _result = 0;
  9362. HRESULT _hr = get_DockItem(&_result);
  9363. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9364. return ICUIDockItemPtr(_result, false);
  9365. }
  9366. #pragma implementation_key(1443)
  9367. inline VGCore::ICUIDockItemsPtr VGCore::ICUIDockHost::GetChildren ( ) {
  9368. struct ICUIDockItems * _result = 0;
  9369. HRESULT _hr = get_Children(&_result);
  9370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9371. return ICUIDockItemsPtr(_result, false);
  9372. }
  9373. #pragma implementation_key(1444)
  9374. inline HRESULT VGCore::ICUIDockHost::InsertViewHost ( struct ICUIViewHost * ViewHostToInsert, long Index, enum cuiDockOperation Operation ) {
  9375. HRESULT _hr = raw_InsertViewHost(ViewHostToInsert, Index, Operation);
  9376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9377. return _hr;
  9378. }
  9379. #pragma implementation_key(1445)
  9380. inline VGCore::ICUIViewHostPtr VGCore::ICUIDockHost::InsertView ( struct ICUIViewWindow * ViewToInsert, long Index, enum cuiDockOperation Operation ) {
  9381. struct ICUIViewHost * _result = 0;
  9382. HRESULT _hr = raw_InsertView(ViewToInsert, Index, Operation, &_result);
  9383. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9384. return ICUIViewHostPtr(_result, false);
  9385. }
  9386. #pragma implementation_key(1446)
  9387. inline VGCore::ICUIScreenRectPtr VGCore::ICUIDockHost::GetPosition ( ) {
  9388. struct ICUIScreenRect * _result = 0;
  9389. HRESULT _hr = get_Position(&_result);
  9390. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9391. return ICUIScreenRectPtr(_result, false);
  9392. }
  9393. //
  9394. // interface ICUIDockItem wrapper method implementations
  9395. //
  9396. #pragma implementation_key(1447)
  9397. inline _bstr_t VGCore::ICUIDockItem::GetID ( ) {
  9398. BSTR _result = 0;
  9399. HRESULT _hr = get_ID(&_result);
  9400. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9401. return _bstr_t(_result, false);
  9402. }
  9403. #pragma implementation_key(1448)
  9404. inline enum VGCore::cuiDockItemType VGCore::ICUIDockItem::GetType ( ) {
  9405. enum cuiDockItemType _result;
  9406. HRESULT _hr = get_Type(&_result);
  9407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9408. return _result;
  9409. }
  9410. #pragma implementation_key(1449)
  9411. inline VGCore::ICUIViewHostPtr VGCore::ICUIDockItem::GetViewHost ( ) {
  9412. struct ICUIViewHost * _result = 0;
  9413. HRESULT _hr = get_ViewHost(&_result);
  9414. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9415. return ICUIViewHostPtr(_result, false);
  9416. }
  9417. #pragma implementation_key(1450)
  9418. inline VGCore::ICUIDockHostPtr VGCore::ICUIDockItem::GetDockHost ( ) {
  9419. struct ICUIDockHost * _result = 0;
  9420. HRESULT _hr = get_DockHost(&_result);
  9421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9422. return ICUIDockHostPtr(_result, false);
  9423. }
  9424. #pragma implementation_key(1451)
  9425. inline long VGCore::ICUIDockItem::GetIndex ( ) {
  9426. long _result = 0;
  9427. HRESULT _hr = get_Index(&_result);
  9428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9429. return _result;
  9430. }
  9431. #pragma implementation_key(1452)
  9432. inline long VGCore::ICUIDockItem::GetRelativeSize ( ) {
  9433. long _result = 0;
  9434. HRESULT _hr = get_RelativeSize(&_result);
  9435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9436. return _result;
  9437. }
  9438. #pragma implementation_key(1453)
  9439. inline void VGCore::ICUIDockItem::PutRelativeSize ( long pVal ) {
  9440. HRESULT _hr = put_RelativeSize(pVal);
  9441. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9442. }
  9443. #pragma implementation_key(1454)
  9444. inline VGCore::ICUIScreenRectPtr VGCore::ICUIDockItem::GetPosition ( ) {
  9445. struct ICUIScreenRect * _result = 0;
  9446. HRESULT _hr = get_Position(&_result);
  9447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9448. return ICUIScreenRectPtr(_result, false);
  9449. }
  9450. //
  9451. // interface ICUIDockItems wrapper method implementations
  9452. //
  9453. #pragma implementation_key(1455)
  9454. inline long VGCore::ICUIDockItems::GetCount ( ) {
  9455. long _result = 0;
  9456. HRESULT _hr = get_Count(&_result);
  9457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9458. return _result;
  9459. }
  9460. #pragma implementation_key(1456)
  9461. inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::GetItem ( long Index ) {
  9462. struct ICUIDockItem * _result = 0;
  9463. HRESULT _hr = get_Item(Index, &_result);
  9464. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9465. return ICUIDockItemPtr(_result, false);
  9466. }
  9467. #pragma implementation_key(1457)
  9468. inline IUnknownPtr VGCore::ICUIDockItems::Get_NewEnum ( ) {
  9469. IUnknown * _result = 0;
  9470. HRESULT _hr = get__NewEnum(&_result);
  9471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9472. return IUnknownPtr(_result, false);
  9473. }
  9474. #pragma implementation_key(1458)
  9475. inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::Find ( _bstr_t ID ) {
  9476. struct ICUIDockItem * _result = 0;
  9477. HRESULT _hr = raw_Find(ID, &_result);
  9478. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9479. return ICUIDockItemPtr(_result, false);
  9480. }
  9481. #pragma implementation_key(1459)
  9482. inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::GetFirst ( ) {
  9483. struct ICUIDockItem * _result = 0;
  9484. HRESULT _hr = get_First(&_result);
  9485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9486. return ICUIDockItemPtr(_result, false);
  9487. }
  9488. #pragma implementation_key(1460)
  9489. inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::GetLast ( ) {
  9490. struct ICUIDockItem * _result = 0;
  9491. HRESULT _hr = get_Last(&_result);
  9492. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9493. return ICUIDockItemPtr(_result, false);
  9494. }
  9495. //
  9496. // interface ICUIDockHosts wrapper method implementations
  9497. //
  9498. #pragma implementation_key(1461)
  9499. inline long VGCore::ICUIDockHosts::GetCount ( ) {
  9500. long _result = 0;
  9501. HRESULT _hr = get_Count(&_result);
  9502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9503. return _result;
  9504. }
  9505. #pragma implementation_key(1462)
  9506. inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::GetItem ( long Index ) {
  9507. struct ICUIDockHost * _result = 0;
  9508. HRESULT _hr = get_Item(Index, &_result);
  9509. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9510. return ICUIDockHostPtr(_result, false);
  9511. }
  9512. #pragma implementation_key(1463)
  9513. inline IUnknownPtr VGCore::ICUIDockHosts::Get_NewEnum ( ) {
  9514. IUnknown * _result = 0;
  9515. HRESULT _hr = get__NewEnum(&_result);
  9516. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9517. return IUnknownPtr(_result, false);
  9518. }
  9519. #pragma implementation_key(1464)
  9520. inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::Find ( _bstr_t ID ) {
  9521. struct ICUIDockHost * _result = 0;
  9522. HRESULT _hr = raw_Find(ID, &_result);
  9523. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9524. return ICUIDockHostPtr(_result, false);
  9525. }
  9526. #pragma implementation_key(1465)
  9527. inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::GetFirst ( ) {
  9528. struct ICUIDockHost * _result = 0;
  9529. HRESULT _hr = get_First(&_result);
  9530. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9531. return ICUIDockHostPtr(_result, false);
  9532. }
  9533. #pragma implementation_key(1466)
  9534. inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::GetLast ( ) {
  9535. struct ICUIDockHost * _result = 0;
  9536. HRESULT _hr = get_Last(&_result);
  9537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9538. return ICUIDockHostPtr(_result, false);
  9539. }
  9540. //
  9541. // interface ICUIApplication wrapper method implementations
  9542. //
  9543. #pragma implementation_key(1467)
  9544. inline VGCore::ICUIDataContextPtr VGCore::ICUIApplication::GetDataContext ( ) {
  9545. struct ICUIDataContext * _result = 0;
  9546. HRESULT _hr = get_DataContext(&_result);
  9547. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9548. return ICUIDataContextPtr(_result, false);
  9549. }
  9550. #pragma implementation_key(1468)
  9551. inline VARIANT_BOOL VGCore::ICUIApplication::RegisterDataSource ( _bstr_t DataSourceName, struct ICUIDataSourceFactory * Factory, _bstr_t CategoryList, VARIANT_BOOL AutoCreateInstance ) {
  9552. VARIANT_BOOL _result = 0;
  9553. HRESULT _hr = raw_RegisterDataSource(DataSourceName, Factory, CategoryList, AutoCreateInstance, &_result);
  9554. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9555. return _result;
  9556. }
  9557. #pragma implementation_key(1469)
  9558. inline VARIANT_BOOL VGCore::ICUIApplication::UnregisterDataSource ( _bstr_t DataSourceName ) {
  9559. VARIANT_BOOL _result = 0;
  9560. HRESULT _hr = raw_UnregisterDataSource(DataSourceName, &_result);
  9561. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9562. return _result;
  9563. }
  9564. #pragma implementation_key(1470)
  9565. inline VGCore::ICUIImageListPtr VGCore::ICUIApplication::CreateImageList ( ) {
  9566. struct ICUIImageList * _result = 0;
  9567. HRESULT _hr = raw_CreateImageList(&_result);
  9568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9569. return ICUIImageListPtr(_result, false);
  9570. }
  9571. #pragma implementation_key(1471)
  9572. inline VGCore::ICUIFrameWorkPtr VGCore::ICUIApplication::GetFrameWork ( ) {
  9573. struct ICUIFrameWork * _result = 0;
  9574. HRESULT _hr = get_FrameWork(&_result);
  9575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9576. return ICUIFrameWorkPtr(_result, false);
  9577. }
  9578. #pragma implementation_key(1472)
  9579. inline VGCore::ICUIScreenRectPtr VGCore::ICUIApplication::CreateScreenRect ( long Left, long Top, long Width, long Height ) {
  9580. struct ICUIScreenRect * _result = 0;
  9581. HRESULT _hr = raw_CreateScreenRect(Left, Top, Width, Height, &_result);
  9582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9583. return ICUIScreenRectPtr(_result, false);
  9584. }
  9585. #pragma implementation_key(1473)
  9586. inline VGCore::ICUIBitmapImagePtr VGCore::ICUIApplication::CreateBitmapImage ( const _variant_t & ImageData, long MaxSize ) {
  9587. struct ICUIBitmapImage * _result = 0;
  9588. HRESULT _hr = raw_CreateBitmapImage(ImageData, MaxSize, &_result);
  9589. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9590. return ICUIBitmapImagePtr(_result, false);
  9591. }
  9592. #pragma implementation_key(1474)
  9593. inline VGCore::ICUIStatusTextPtr VGCore::ICUIApplication::CreateStatusText ( ) {
  9594. struct ICUIStatusText * _result = 0;
  9595. HRESULT _hr = raw_CreateStatusText(&_result);
  9596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9597. return ICUIStatusTextPtr(_result, false);
  9598. }
  9599. #pragma implementation_key(1475)
  9600. inline _bstr_t VGCore::ICUIApplication::LoadLocalizedString ( _bstr_t Guid ) {
  9601. BSTR _result = 0;
  9602. HRESULT _hr = raw_LoadLocalizedString(Guid, &_result);
  9603. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9604. return _bstr_t(_result, false);
  9605. }
  9606. #pragma implementation_key(1476)
  9607. inline VGCore::ICUIDataSourceFactoryPtr VGCore::ICUIApplication::CreateDataSourceFactory ( IDispatch * DataSourceFactoryObject ) {
  9608. struct ICUIDataSourceFactory * _result = 0;
  9609. HRESULT _hr = raw_CreateDataSourceFactory(DataSourceFactoryObject, &_result);
  9610. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9611. return ICUIDataSourceFactoryPtr(_result, false);
  9612. }
  9613. //
  9614. // interface ICUIDataSourceProxy wrapper method implementations
  9615. //
  9616. #pragma implementation_key(1477)
  9617. inline HRESULT VGCore::ICUIDataSourceProxy::UpdateListeners ( _bstr_t ListenerNames ) {
  9618. HRESULT _hr = raw_UpdateListeners(ListenerNames);
  9619. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9620. return _hr;
  9621. }
  9622. #pragma implementation_key(1478)
  9623. inline VGCore::ICUIApplicationPtr VGCore::ICUIDataSourceProxy::GetApplication ( ) {
  9624. struct ICUIApplication * _result = 0;
  9625. HRESULT _hr = get_Application(&_result);
  9626. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9627. return ICUIApplicationPtr(_result, false);
  9628. }
  9629. #pragma implementation_key(1479)
  9630. inline _bstr_t VGCore::ICUIDataSourceProxy::GetName ( ) {
  9631. BSTR _result = 0;
  9632. HRESULT _hr = get_Name(&_result);
  9633. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9634. return _bstr_t(_result, false);
  9635. }
  9636. #pragma implementation_key(1480)
  9637. inline HRESULT VGCore::ICUIDataSourceProxy::InvokeMethod ( _bstr_t MethodName ) {
  9638. HRESULT _hr = raw_InvokeMethod(MethodName);
  9639. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9640. return _hr;
  9641. }
  9642. #pragma implementation_key(1481)
  9643. inline _variant_t VGCore::ICUIDataSourceProxy::GetProperty ( _bstr_t PropertyName ) {
  9644. VARIANT _result;
  9645. VariantInit(&_result);
  9646. HRESULT _hr = raw_GetProperty(PropertyName, &_result);
  9647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9648. return _variant_t(_result, false);
  9649. }
  9650. #pragma implementation_key(1482)
  9651. inline HRESULT VGCore::ICUIDataSourceProxy::SetProperty ( _bstr_t PropertyName, const _variant_t & Value ) {
  9652. HRESULT _hr = raw_SetProperty(PropertyName, Value);
  9653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9654. return _hr;
  9655. }
  9656. //
  9657. // interface ICUIDataContext wrapper method implementations
  9658. //
  9659. #pragma implementation_key(1483)
  9660. inline VGCore::ICUIDataContextPtr VGCore::ICUIDataContext::CreateChildDataContext ( _bstr_t CategoryList ) {
  9661. struct ICUIDataContext * _result = 0;
  9662. HRESULT _hr = raw_CreateChildDataContext(CategoryList, &_result);
  9663. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9664. return ICUIDataContextPtr(_result, false);
  9665. }
  9666. #pragma implementation_key(1484)
  9667. inline _bstr_t VGCore::ICUIDataContext::GetCategories ( ) {
  9668. BSTR _result = 0;
  9669. HRESULT _hr = get_Categories(&_result);
  9670. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9671. return _bstr_t(_result, false);
  9672. }
  9673. #pragma implementation_key(1485)
  9674. inline VARIANT_BOOL VGCore::ICUIDataContext::HasCategory ( _bstr_t Category ) {
  9675. VARIANT_BOOL _result = 0;
  9676. HRESULT _hr = raw_HasCategory(Category, &_result);
  9677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9678. return _result;
  9679. }
  9680. #pragma implementation_key(1486)
  9681. inline VGCore::ICUIDataSourceProxyPtr VGCore::ICUIDataContext::AddDataSource ( _bstr_t DataSourceName, IDispatch * DataSourceObject ) {
  9682. struct ICUIDataSourceProxy * _result = 0;
  9683. HRESULT _hr = raw_AddDataSource(DataSourceName, DataSourceObject, &_result);
  9684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9685. return ICUIDataSourceProxyPtr(_result, false);
  9686. }
  9687. #pragma implementation_key(1487)
  9688. inline VARIANT_BOOL VGCore::ICUIDataContext::ShowDialog ( _bstr_t dialogID ) {
  9689. VARIANT_BOOL _result = 0;
  9690. HRESULT _hr = raw_ShowDialog(dialogID, &_result);
  9691. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9692. return _result;
  9693. }
  9694. #pragma implementation_key(1488)
  9695. inline VGCore::ICUIDataSourceProxyPtr VGCore::ICUIDataContext::GetDataSource ( _bstr_t DataSourceName ) {
  9696. struct ICUIDataSourceProxy * _result = 0;
  9697. HRESULT _hr = raw_GetDataSource(DataSourceName, &_result);
  9698. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9699. return ICUIDataSourceProxyPtr(_result, false);
  9700. }
  9701. //
  9702. // interface ICUIDataSourceFactory wrapper method implementations
  9703. //
  9704. #pragma implementation_key(1489)
  9705. inline IDispatchPtr VGCore::ICUIDataSourceFactory::CreateDataSource ( _bstr_t DataSourceName, struct ICUIDataSourceProxy * Proxy ) {
  9706. IDispatch * _result = 0;
  9707. HRESULT _hr = raw_CreateDataSource(DataSourceName, Proxy, &_result);
  9708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9709. return IDispatchPtr(_result, false);
  9710. }
  9711. //
  9712. // interface IVGDocument wrapper method implementations
  9713. //
  9714. #pragma implementation_key(1490)
  9715. inline VGCore::IVGApplicationPtr VGCore::IVGDocument::GetApplication ( ) {
  9716. struct IVGApplication * _result = 0;
  9717. HRESULT _hr = get_Application(&_result);
  9718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9719. return IVGApplicationPtr(_result, false);
  9720. }
  9721. #pragma implementation_key(1491)
  9722. inline VGCore::IVGDocumentsPtr VGCore::IVGDocument::GetParent ( ) {
  9723. struct IVGDocuments * _result = 0;
  9724. HRESULT _hr = get_Parent(&_result);
  9725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9726. return IVGDocumentsPtr(_result, false);
  9727. }
  9728. #pragma implementation_key(1492)
  9729. inline _bstr_t VGCore::IVGDocument::GetName ( ) {
  9730. BSTR _result = 0;
  9731. HRESULT _hr = get_Name(&_result);
  9732. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9733. return _bstr_t(_result, false);
  9734. }
  9735. #pragma implementation_key(1493)
  9736. inline HRESULT VGCore::IVGDocument::SaveAs ( _bstr_t FileName, struct IVGStructSaveAsOptions * Options ) {
  9737. HRESULT _hr = raw_SaveAs(FileName, Options);
  9738. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9739. return _hr;
  9740. }
  9741. #pragma implementation_key(1494)
  9742. inline HRESULT VGCore::IVGDocument::Save ( ) {
  9743. HRESULT _hr = raw_Save();
  9744. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9745. return _hr;
  9746. }
  9747. #pragma implementation_key(1495)
  9748. inline VGCore::IVGPagesPtr VGCore::IVGDocument::GetPages ( ) {
  9749. struct IVGPages * _result = 0;
  9750. HRESULT _hr = get_Pages(&_result);
  9751. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9752. return IVGPagesPtr(_result, false);
  9753. }
  9754. #pragma implementation_key(1496)
  9755. inline enum VGCore::cdrReferencePoint VGCore::IVGDocument::GetReferencePoint ( ) {
  9756. enum cdrReferencePoint _result;
  9757. HRESULT _hr = get_ReferencePoint(&_result);
  9758. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9759. return _result;
  9760. }
  9761. #pragma implementation_key(1497)
  9762. inline void VGCore::IVGDocument::PutReferencePoint ( enum cdrReferencePoint pRefPoint ) {
  9763. HRESULT _hr = put_ReferencePoint(pRefPoint);
  9764. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9765. }
  9766. #pragma implementation_key(1498)
  9767. inline VARIANT_BOOL VGCore::IVGDocument::GetApplyToDuplicate ( ) {
  9768. VARIANT_BOOL _result = 0;
  9769. HRESULT _hr = get_ApplyToDuplicate(&_result);
  9770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9771. return _result;
  9772. }
  9773. #pragma implementation_key(1499)
  9774. inline void VGCore::IVGDocument::PutApplyToDuplicate ( VARIANT_BOOL ApplyToDuplicate ) {
  9775. HRESULT _hr = put_ApplyToDuplicate(ApplyToDuplicate);
  9776. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9777. }
  9778. #pragma implementation_key(1500)
  9779. inline VGCore::IVGPagePtr VGCore::IVGDocument::GetActivePage ( ) {
  9780. struct IVGPage * _result = 0;
  9781. HRESULT _hr = get_ActivePage(&_result);
  9782. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9783. return IVGPagePtr(_result, false);
  9784. }
  9785. #pragma implementation_key(1501)
  9786. inline VGCore::IVGLayerPtr VGCore::IVGDocument::GetActiveLayer ( ) {
  9787. struct IVGLayer * _result = 0;
  9788. HRESULT _hr = get_ActiveLayer(&_result);
  9789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9790. return IVGLayerPtr(_result, false);
  9791. }
  9792. #pragma implementation_key(1502)
  9793. inline VGCore::IVGWindowsPtr VGCore::IVGDocument::GetWindows ( ) {
  9794. struct IVGWindows * _result = 0;
  9795. HRESULT _hr = get_Windows(&_result);
  9796. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9797. return IVGWindowsPtr(_result, false);
  9798. }
  9799. #pragma implementation_key(1503)
  9800. inline VGCore::IVGWindowPtr VGCore::IVGDocument::GetActiveWindow ( ) {
  9801. struct IVGWindow * _result = 0;
  9802. HRESULT _hr = get_ActiveWindow(&_result);
  9803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9804. return IVGWindowPtr(_result, false);
  9805. }
  9806. #pragma implementation_key(1504)
  9807. inline HRESULT VGCore::IVGDocument::Close ( ) {
  9808. HRESULT _hr = raw_Close();
  9809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9810. return _hr;
  9811. }
  9812. #pragma implementation_key(1505)
  9813. inline HRESULT VGCore::IVGDocument::Undo ( long Levels ) {
  9814. HRESULT _hr = raw_Undo(Levels);
  9815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9816. return _hr;
  9817. }
  9818. #pragma implementation_key(1506)
  9819. inline HRESULT VGCore::IVGDocument::Redo ( long Levels ) {
  9820. HRESULT _hr = raw_Redo(Levels);
  9821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9822. return _hr;
  9823. }
  9824. #pragma implementation_key(1507)
  9825. inline HRESULT VGCore::IVGDocument::Repeat ( ) {
  9826. HRESULT _hr = raw_Repeat();
  9827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9828. return _hr;
  9829. }
  9830. #pragma implementation_key(1508)
  9831. inline HRESULT VGCore::IVGDocument::Activate ( ) {
  9832. HRESULT _hr = raw_Activate();
  9833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9834. return _hr;
  9835. }
  9836. #pragma implementation_key(1509)
  9837. inline enum VGCore::cdrUnit VGCore::IVGDocument::GetUnit ( ) {
  9838. enum cdrUnit _result;
  9839. HRESULT _hr = get_Unit(&_result);
  9840. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9841. return _result;
  9842. }
  9843. #pragma implementation_key(1510)
  9844. inline void VGCore::IVGDocument::PutUnit ( enum cdrUnit pnUnit ) {
  9845. HRESULT _hr = put_Unit(pnUnit);
  9846. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9847. }
  9848. #pragma implementation_key(1511)
  9849. inline double VGCore::IVGDocument::GetDrawingOriginX ( ) {
  9850. double _result = 0;
  9851. HRESULT _hr = get_DrawingOriginX(&_result);
  9852. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9853. return _result;
  9854. }
  9855. #pragma implementation_key(1512)
  9856. inline void VGCore::IVGDocument::PutDrawingOriginX ( double plX ) {
  9857. HRESULT _hr = put_DrawingOriginX(plX);
  9858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9859. }
  9860. #pragma implementation_key(1513)
  9861. inline double VGCore::IVGDocument::GetDrawingOriginY ( ) {
  9862. double _result = 0;
  9863. HRESULT _hr = get_DrawingOriginY(&_result);
  9864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9865. return _result;
  9866. }
  9867. #pragma implementation_key(1514)
  9868. inline void VGCore::IVGDocument::PutDrawingOriginY ( double plY ) {
  9869. HRESULT _hr = put_DrawingOriginY(plY);
  9870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9871. }
  9872. #pragma implementation_key(1515)
  9873. inline VGCore::IVGPagePtr VGCore::IVGDocument::AddPages ( long NumberOfPages ) {
  9874. struct IVGPage * _result = 0;
  9875. HRESULT _hr = raw_AddPages(NumberOfPages, &_result);
  9876. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9877. return IVGPagePtr(_result, false);
  9878. }
  9879. #pragma implementation_key(1516)
  9880. inline VGCore::IVGPagePtr VGCore::IVGDocument::InsertPages ( long NumberOfPages, VARIANT_BOOL BeforePage, long Page ) {
  9881. struct IVGPage * _result = 0;
  9882. HRESULT _hr = raw_InsertPages(NumberOfPages, BeforePage, Page, &_result);
  9883. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9884. return IVGPagePtr(_result, false);
  9885. }
  9886. #pragma implementation_key(1517)
  9887. inline VGCore::IVGShapePtr VGCore::IVGDocument::Selection ( ) {
  9888. struct IVGShape * _result = 0;
  9889. HRESULT _hr = raw_Selection(&_result);
  9890. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9891. return IVGShapePtr(_result, false);
  9892. }
  9893. #pragma implementation_key(1518)
  9894. inline HRESULT VGCore::IVGDocument::ClearSelection ( ) {
  9895. HRESULT _hr = raw_ClearSelection();
  9896. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9897. return _hr;
  9898. }
  9899. #pragma implementation_key(1519)
  9900. inline HRESULT VGCore::IVGDocument::Export ( _bstr_t FileName, enum cdrFilter Filter, enum cdrExportRange Range, struct IVGStructExportOptions * Options, struct IVGStructPaletteOptions * PaletteOptions ) {
  9901. HRESULT _hr = raw_Export(FileName, Filter, Range, Options, PaletteOptions);
  9902. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9903. return _hr;
  9904. }
  9905. #pragma implementation_key(1520)
  9906. inline HRESULT VGCore::IVGDocument::ResolveAllBitmapsLinks ( ) {
  9907. HRESULT _hr = raw_ResolveAllBitmapsLinks();
  9908. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9909. return _hr;
  9910. }
  9911. #pragma implementation_key(1521)
  9912. inline VARIANT_BOOL VGCore::IVGDocument::GetDirty ( ) {
  9913. VARIANT_BOOL _result = 0;
  9914. HRESULT _hr = get_Dirty(&_result);
  9915. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9916. return _result;
  9917. }
  9918. #pragma implementation_key(1522)
  9919. inline void VGCore::IVGDocument::PutDirty ( VARIANT_BOOL Dirty ) {
  9920. HRESULT _hr = put_Dirty(Dirty);
  9921. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9922. }
  9923. #pragma implementation_key(1523)
  9924. inline long VGCore::IVGDocument::GetUserClick ( double * x, double * y, long * ShiftState, long TimeOut, VARIANT_BOOL Snap, enum cdrCursorShape CursorShape ) {
  9925. long _result = 0;
  9926. HRESULT _hr = raw_GetUserClick(x, y, ShiftState, TimeOut, Snap, CursorShape, &_result);
  9927. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9928. return _result;
  9929. }
  9930. #pragma implementation_key(1524)
  9931. inline long VGCore::IVGDocument::GetUserArea ( double * x1, double * y1, double * x2, double * y2, long * ShiftState, long TimeOut, VARIANT_BOOL Snap, enum cdrCursorShape CursorShape ) {
  9932. long _result = 0;
  9933. HRESULT _hr = raw_GetUserArea(x1, y1, x2, y2, ShiftState, TimeOut, Snap, CursorShape, &_result);
  9934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9935. return _result;
  9936. }
  9937. #pragma implementation_key(1525)
  9938. inline HRESULT VGCore::IVGDocument::BeginCommandGroup ( _bstr_t CommandName ) {
  9939. HRESULT _hr = raw_BeginCommandGroup(CommandName);
  9940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9941. return _hr;
  9942. }
  9943. #pragma implementation_key(1526)
  9944. inline HRESULT VGCore::IVGDocument::EndCommandGroup ( ) {
  9945. HRESULT _hr = raw_EndCommandGroup();
  9946. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9947. return _hr;
  9948. }
  9949. #pragma implementation_key(1527)
  9950. inline _bstr_t VGCore::IVGDocument::GetFilePath ( ) {
  9951. BSTR _result = 0;
  9952. HRESULT _hr = get_FilePath(&_result);
  9953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9954. return _bstr_t(_result, false);
  9955. }
  9956. #pragma implementation_key(1528)
  9957. inline _bstr_t VGCore::IVGDocument::GetFileName ( ) {
  9958. BSTR _result = 0;
  9959. HRESULT _hr = get_FileName(&_result);
  9960. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9961. return _bstr_t(_result, false);
  9962. }
  9963. #pragma implementation_key(1529)
  9964. inline _bstr_t VGCore::IVGDocument::GetFullFileName ( ) {
  9965. BSTR _result = 0;
  9966. HRESULT _hr = get_FullFileName(&_result);
  9967. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9968. return _bstr_t(_result, false);
  9969. }
  9970. #pragma implementation_key(1530)
  9971. inline long VGCore::IVGDocument::GetResolution ( ) {
  9972. long _result = 0;
  9973. HRESULT _hr = get_Resolution(&_result);
  9974. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9975. return _result;
  9976. }
  9977. #pragma implementation_key(1531)
  9978. inline void VGCore::IVGDocument::PutResolution ( long pResolution ) {
  9979. HRESULT _hr = put_Resolution(pResolution);
  9980. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9981. }
  9982. #pragma implementation_key(1532)
  9983. inline enum VGCore::cdrShapeEnumDirection VGCore::IVGDocument::GetShapeEnumDirection ( ) {
  9984. enum cdrShapeEnumDirection _result;
  9985. HRESULT _hr = get_ShapeEnumDirection(&_result);
  9986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9987. return _result;
  9988. }
  9989. #pragma implementation_key(1533)
  9990. inline void VGCore::IVGDocument::PutShapeEnumDirection ( enum cdrShapeEnumDirection peDirection ) {
  9991. HRESULT _hr = put_ShapeEnumDirection(peDirection);
  9992. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9993. }
  9994. #pragma implementation_key(1534)
  9995. inline VGCore::IVGShapeRangePtr VGCore::IVGDocument::GetSelectionRange ( ) {
  9996. struct IVGShapeRange * _result = 0;
  9997. HRESULT _hr = get_SelectionRange(&_result);
  9998. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  9999. return IVGShapeRangePtr(_result, false);
  10000. }
  10001. #pragma implementation_key(1535)
  10002. inline VGCore::IVGRulersPtr VGCore::IVGDocument::GetRulers ( ) {
  10003. struct IVGRulers * _result = 0;
  10004. HRESULT _hr = get_Rulers(&_result);
  10005. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10006. return IVGRulersPtr(_result, false);
  10007. }
  10008. #pragma implementation_key(1536)
  10009. inline VGCore::IVGGridPtr VGCore::IVGDocument::GetGrid ( ) {
  10010. struct IVGGrid * _result = 0;
  10011. HRESULT _hr = get_Grid(&_result);
  10012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10013. return IVGGridPtr(_result, false);
  10014. }
  10015. #pragma implementation_key(1537)
  10016. inline VGCore::IVGViewsPtr VGCore::IVGDocument::GetViews ( ) {
  10017. struct IVGViews * _result = 0;
  10018. HRESULT _hr = get_Views(&_result);
  10019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10020. return IVGViewsPtr(_result, false);
  10021. }
  10022. #pragma implementation_key(1538)
  10023. inline VGCore::IVGViewPtr VGCore::IVGDocument::CreateView ( _bstr_t Name, double OriginX, double OriginY, long Zoom, struct IVGPage * Page ) {
  10024. struct IVGView * _result = 0;
  10025. HRESULT _hr = raw_CreateView(Name, OriginX, OriginY, Zoom, Page, &_result);
  10026. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10027. return IVGViewPtr(_result, false);
  10028. }
  10029. #pragma implementation_key(1539)
  10030. inline VGCore::IVGPowerClipPtr VGCore::IVGDocument::GetActivePowerClip ( ) {
  10031. struct IVGPowerClip * _result = 0;
  10032. HRESULT _hr = get_ActivePowerClip(&_result);
  10033. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10034. return IVGPowerClipPtr(_result, false);
  10035. }
  10036. #pragma implementation_key(1540)
  10037. inline long VGCore::IVGDocument::AdviseEvents ( IDispatch * EventSink ) {
  10038. long _result = 0;
  10039. HRESULT _hr = raw_AdviseEvents(EventSink, &_result);
  10040. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10041. return _result;
  10042. }
  10043. #pragma implementation_key(1541)
  10044. inline HRESULT VGCore::IVGDocument::UnadviseEvents ( long Cookie ) {
  10045. HRESULT _hr = raw_UnadviseEvents(Cookie);
  10046. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10047. return _hr;
  10048. }
  10049. #pragma implementation_key(1542)
  10050. inline double VGCore::IVGDocument::GetWorldScale ( ) {
  10051. double _result = 0;
  10052. HRESULT _hr = get_WorldScale(&_result);
  10053. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10054. return _result;
  10055. }
  10056. #pragma implementation_key(1543)
  10057. inline void VGCore::IVGDocument::PutWorldScale ( double Scale ) {
  10058. HRESULT _hr = put_WorldScale(Scale);
  10059. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10060. }
  10061. #pragma implementation_key(1544)
  10062. inline HRESULT VGCore::IVGDocument::PrintOut ( ) {
  10063. HRESULT _hr = raw_PrintOut();
  10064. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10065. return _hr;
  10066. }
  10067. #pragma implementation_key(1545)
  10068. inline VGCore::IVGShapePtr VGCore::IVGDocument::GetActiveShape ( ) {
  10069. struct IVGShape * _result = 0;
  10070. HRESULT _hr = get_ActiveShape(&_result);
  10071. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10072. return IVGShapePtr(_result, false);
  10073. }
  10074. #pragma implementation_key(1546)
  10075. inline long VGCore::IVGDocument::GetCurvePrecision ( ) {
  10076. long _result = 0;
  10077. HRESULT _hr = get_CurvePrecision(&_result);
  10078. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10079. return _result;
  10080. }
  10081. #pragma implementation_key(1547)
  10082. inline VGCore::IVGPagePtr VGCore::IVGDocument::AddPagesEx ( long NumberOfPages, double Width, double Height ) {
  10083. struct IVGPage * _result = 0;
  10084. HRESULT _hr = raw_AddPagesEx(NumberOfPages, Width, Height, &_result);
  10085. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10086. return IVGPagePtr(_result, false);
  10087. }
  10088. #pragma implementation_key(1548)
  10089. inline VGCore::IVGPagePtr VGCore::IVGDocument::InsertPagesEx ( long NumberOfPages, VARIANT_BOOL BeforePage, long Page, double Width, double Height ) {
  10090. struct IVGPage * _result = 0;
  10091. HRESULT _hr = raw_InsertPagesEx(NumberOfPages, BeforePage, Page, Width, Height, &_result);
  10092. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10093. return IVGPagePtr(_result, false);
  10094. }
  10095. #pragma implementation_key(1549)
  10096. inline _bstr_t VGCore::IVGDocument::GetTitle ( ) {
  10097. BSTR _result = 0;
  10098. HRESULT _hr = get_Title(&_result);
  10099. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10100. return _bstr_t(_result, false);
  10101. }
  10102. #pragma implementation_key(1550)
  10103. inline HRESULT VGCore::IVGDocument::SaveSettings ( _bstr_t Tag ) {
  10104. HRESULT _hr = raw_SaveSettings(Tag);
  10105. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10106. return _hr;
  10107. }
  10108. #pragma implementation_key(1551)
  10109. inline HRESULT VGCore::IVGDocument::RestoreSettings ( _bstr_t Tag ) {
  10110. HRESULT _hr = raw_RestoreSettings(Tag);
  10111. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10112. return _hr;
  10113. }
  10114. #pragma implementation_key(1552)
  10115. inline VARIANT_BOOL VGCore::IVGDocument::GetActive ( ) {
  10116. VARIANT_BOOL _result = 0;
  10117. HRESULT _hr = get_Active(&_result);
  10118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10119. return _result;
  10120. }
  10121. #pragma implementation_key(1553)
  10122. inline long VGCore::IVGDocument::GetIndex ( ) {
  10123. long _result = 0;
  10124. HRESULT _hr = get_Index(&_result);
  10125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10126. return _result;
  10127. }
  10128. #pragma implementation_key(1554)
  10129. inline VGCore::ICorelExportFilterPtr VGCore::IVGDocument::ExportEx ( _bstr_t FileName, enum cdrFilter Filter, enum cdrExportRange Range, struct IVGStructExportOptions * Options, struct IVGStructPaletteOptions * PaletteOptions ) {
  10130. struct ICorelExportFilter * _result = 0;
  10131. HRESULT _hr = raw_ExportEx(FileName, Filter, Range, Options, PaletteOptions, &_result);
  10132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10133. return ICorelExportFilterPtr(_result, false);
  10134. }
  10135. #pragma implementation_key(1555)
  10136. inline VGCore::ICorelExportFilterPtr VGCore::IVGDocument::ExportBitmap ( _bstr_t FileName, enum cdrFilter Filter, enum cdrExportRange Range, enum cdrImageType ImageType, long Width, long Height, long ResolutionX, long ResolutionY, enum cdrAntiAliasingType AntiAliasingType, VARIANT_BOOL Dithered, VARIANT_BOOL Transparent, VARIANT_BOOL UseColorProfile, VARIANT_BOOL MaintainLayers, enum cdrCompressionType Compression, struct IVGStructPaletteOptions * PaletteOptions, struct IVGRect * ExportArea ) {
  10137. struct ICorelExportFilter * _result = 0;
  10138. HRESULT _hr = raw_ExportBitmap(FileName, Filter, Range, ImageType, Width, Height, ResolutionX, ResolutionY, AntiAliasingType, Dithered, Transparent, UseColorProfile, MaintainLayers, Compression, PaletteOptions, ExportArea, &_result);
  10139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10140. return ICorelExportFilterPtr(_result, false);
  10141. }
  10142. #pragma implementation_key(1556)
  10143. inline VARIANT_BOOL VGCore::IVGDocument::GetEditAcrossLayers ( ) {
  10144. VARIANT_BOOL _result = 0;
  10145. HRESULT _hr = get_EditAcrossLayers(&_result);
  10146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10147. return _result;
  10148. }
  10149. #pragma implementation_key(1557)
  10150. inline void VGCore::IVGDocument::PutEditAcrossLayers ( VARIANT_BOOL pVal ) {
  10151. HRESULT _hr = put_EditAcrossLayers(pVal);
  10152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10153. }
  10154. #pragma implementation_key(1558)
  10155. inline VGCore::IVGPropertiesPtr VGCore::IVGDocument::GetProperties ( ) {
  10156. struct IVGProperties * _result = 0;
  10157. HRESULT _hr = get_Properties(&_result);
  10158. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10159. return IVGPropertiesPtr(_result, false);
  10160. }
  10161. #pragma implementation_key(1559)
  10162. inline void VGCore::IVGDocument::PutCurvePrecision ( long lpPrec ) {
  10163. HRESULT _hr = put_CurvePrecision(lpPrec);
  10164. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10165. }
  10166. #pragma implementation_key(1560)
  10167. inline VGCore::IPrnVBAPrintSettingsPtr VGCore::IVGDocument::GetPrintSettings ( ) {
  10168. struct IPrnVBAPrintSettings * _result = 0;
  10169. HRESULT _hr = get_PrintSettings(&_result);
  10170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10171. return IPrnVBAPrintSettingsPtr(_result, false);
  10172. }
  10173. #pragma implementation_key(1561)
  10174. inline _bstr_t VGCore::IVGDocument::GetKeywords ( ) {
  10175. BSTR _result = 0;
  10176. HRESULT _hr = get_Keywords(&_result);
  10177. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10178. return _bstr_t(_result, false);
  10179. }
  10180. #pragma implementation_key(1562)
  10181. inline void VGCore::IVGDocument::PutKeywords ( _bstr_t pVal ) {
  10182. HRESULT _hr = put_Keywords(pVal);
  10183. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10184. }
  10185. #pragma implementation_key(1563)
  10186. inline _bstr_t VGCore::IVGDocument::GetNotes ( ) {
  10187. BSTR _result = 0;
  10188. HRESULT _hr = get_Notes(&_result);
  10189. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10190. return _bstr_t(_result, false);
  10191. }
  10192. #pragma implementation_key(1564)
  10193. inline void VGCore::IVGDocument::PutNotes ( _bstr_t pVal ) {
  10194. HRESULT _hr = put_Notes(pVal);
  10195. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10196. }
  10197. #pragma implementation_key(1565)
  10198. inline VARIANT_BOOL VGCore::IVGDocument::GetPreserveSelection ( ) {
  10199. VARIANT_BOOL _result = 0;
  10200. HRESULT _hr = get_PreserveSelection(&_result);
  10201. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10202. return _result;
  10203. }
  10204. #pragma implementation_key(1566)
  10205. inline void VGCore::IVGDocument::PutPreserveSelection ( VARIANT_BOOL pVal ) {
  10206. HRESULT _hr = put_PreserveSelection(pVal);
  10207. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10208. }
  10209. #pragma implementation_key(1567)
  10210. inline HRESULT VGCore::IVGDocument::ResetSettings ( ) {
  10211. HRESULT _hr = raw_ResetSettings();
  10212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10213. return _hr;
  10214. }
  10215. #pragma implementation_key(1568)
  10216. inline VGCore::IVGDataFieldsPtr VGCore::IVGDocument::GetDataFields ( ) {
  10217. struct IVGDataFields * _result = 0;
  10218. HRESULT _hr = get_DataFields(&_result);
  10219. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10220. return IVGDataFieldsPtr(_result, false);
  10221. }
  10222. #pragma implementation_key(1569)
  10223. inline VGCore::IPDFVBASettingsPtr VGCore::IVGDocument::GetPDFSettings ( ) {
  10224. struct IPDFVBASettings * _result = 0;
  10225. HRESULT _hr = get_PDFSettings(&_result);
  10226. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10227. return IPDFVBASettingsPtr(_result, false);
  10228. }
  10229. #pragma implementation_key(1570)
  10230. inline HRESULT VGCore::IVGDocument::PublishToPDF ( _bstr_t FileName ) {
  10231. HRESULT _hr = raw_PublishToPDF(FileName);
  10232. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10233. return _hr;
  10234. }
  10235. #pragma implementation_key(1571)
  10236. inline VGCore::IVGSelectionInformationPtr VGCore::IVGDocument::GetSelectionInfo ( ) {
  10237. struct IVGSelectionInformation * _result = 0;
  10238. HRESULT _hr = get_SelectionInfo(&_result);
  10239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10240. return IVGSelectionInformationPtr(_result, false);
  10241. }
  10242. #pragma implementation_key(1572)
  10243. inline VGCore::IVGPageSizesPtr VGCore::IVGDocument::GetPageSizes ( ) {
  10244. struct IVGPageSizes * _result = 0;
  10245. HRESULT _hr = get_PageSizes(&_result);
  10246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10247. return IVGPageSizesPtr(_result, false);
  10248. }
  10249. #pragma implementation_key(1573)
  10250. inline VGCore::IVGComponentsPtr VGCore::IVGDocument::GetComponents ( ) {
  10251. struct IVGComponents * _result = 0;
  10252. HRESULT _hr = get_Components(&_result);
  10253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10254. return IVGComponentsPtr(_result, false);
  10255. }
  10256. #pragma implementation_key(1574)
  10257. inline VGCore::IVGSymbolLibraryPtr VGCore::IVGDocument::GetSymbolLibrary ( ) {
  10258. struct IVGSymbolLibrary * _result = 0;
  10259. HRESULT _hr = get_SymbolLibrary(&_result);
  10260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10261. return IVGSymbolLibraryPtr(_result, false);
  10262. }
  10263. #pragma implementation_key(1575)
  10264. inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurve ( ) {
  10265. struct IVGCurve * _result = 0;
  10266. HRESULT _hr = raw_CreateCurve(&_result);
  10267. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10268. return IVGCurvePtr(_result, false);
  10269. }
  10270. #pragma implementation_key(1576)
  10271. inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurveFromArray ( SAFEARRAY * * Source, long NumElements ) {
  10272. struct IVGCurve * _result = 0;
  10273. HRESULT _hr = raw_CreateCurveFromArray(Source, NumElements, &_result);
  10274. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10275. return IVGCurvePtr(_result, false);
  10276. }
  10277. #pragma implementation_key(1577)
  10278. inline HRESULT VGCore::IVGDocument::LoadStyleSheet ( _bstr_t FileName ) {
  10279. HRESULT _hr = raw_LoadStyleSheet(FileName);
  10280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10281. return _hr;
  10282. }
  10283. #pragma implementation_key(1578)
  10284. inline HRESULT VGCore::IVGDocument::SaveStyleSheet ( _bstr_t FileName ) {
  10285. HRESULT _hr = raw_SaveStyleSheet(FileName);
  10286. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10287. return _hr;
  10288. }
  10289. #pragma implementation_key(1579)
  10290. inline HRESULT VGCore::IVGDocument::SaveStyleSheetAsDefault ( ) {
  10291. HRESULT _hr = raw_SaveStyleSheetAsDefault();
  10292. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10293. return _hr;
  10294. }
  10295. #pragma implementation_key(1580)
  10296. inline HRESULT VGCore::IVGDocument::CreateSelection ( SAFEARRAY * * ShapeArray ) {
  10297. HRESULT _hr = raw_CreateSelection(ShapeArray);
  10298. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10299. return _hr;
  10300. }
  10301. #pragma implementation_key(1581)
  10302. inline HRESULT VGCore::IVGDocument::AddToSelection ( SAFEARRAY * * ShapeArray ) {
  10303. HRESULT _hr = raw_AddToSelection(ShapeArray);
  10304. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10305. return _hr;
  10306. }
  10307. #pragma implementation_key(1582)
  10308. inline HRESULT VGCore::IVGDocument::RemoveFromSelection ( SAFEARRAY * * ShapeArray ) {
  10309. HRESULT _hr = raw_RemoveFromSelection(ShapeArray);
  10310. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10311. return _hr;
  10312. }
  10313. #pragma implementation_key(1583)
  10314. inline VGCore::IVGShapesPtr VGCore::IVGDocument::GetSelectableShapes ( ) {
  10315. struct IVGShapes * _result = 0;
  10316. HRESULT _hr = get_SelectableShapes(&_result);
  10317. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10318. return IVGShapesPtr(_result, false);
  10319. }
  10320. #pragma implementation_key(1584)
  10321. inline double VGCore::IVGDocument::ToUnits ( double Value, enum cdrUnit FromUnit ) {
  10322. double _result = 0;
  10323. HRESULT _hr = raw_ToUnits(Value, FromUnit, &_result);
  10324. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10325. return _result;
  10326. }
  10327. #pragma implementation_key(1585)
  10328. inline double VGCore::IVGDocument::FromUnits ( double Value, enum cdrUnit ToUnit ) {
  10329. double _result = 0;
  10330. HRESULT _hr = raw_FromUnits(Value, ToUnit, &_result);
  10331. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10332. return _result;
  10333. }
  10334. #pragma implementation_key(1586)
  10335. inline long VGCore::IVGDocument::GetResolutionX ( ) {
  10336. long _result = 0;
  10337. HRESULT _hr = get_ResolutionX(&_result);
  10338. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10339. return _result;
  10340. }
  10341. #pragma implementation_key(1587)
  10342. inline void VGCore::IVGDocument::PutResolutionX ( long pResolution ) {
  10343. HRESULT _hr = put_ResolutionX(pResolution);
  10344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10345. }
  10346. #pragma implementation_key(1588)
  10347. inline long VGCore::IVGDocument::GetResolutionY ( ) {
  10348. long _result = 0;
  10349. HRESULT _hr = get_ResolutionY(&_result);
  10350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10351. return _result;
  10352. }
  10353. #pragma implementation_key(1589)
  10354. inline void VGCore::IVGDocument::PutResolutionY ( long pResolution ) {
  10355. HRESULT _hr = put_ResolutionY(pResolution);
  10356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10357. }
  10358. #pragma implementation_key(1590)
  10359. inline VGCore::IVGPagePtr VGCore::IVGDocument::GetMasterPage ( ) {
  10360. struct IVGPage * _result = 0;
  10361. HRESULT _hr = get_MasterPage(&_result);
  10362. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10363. return IVGPagePtr(_result, false);
  10364. }
  10365. #pragma implementation_key(1591)
  10366. inline VARIANT_BOOL VGCore::IVGDocument::Revert ( ) {
  10367. VARIANT_BOOL _result = 0;
  10368. HRESULT _hr = raw_Revert(&_result);
  10369. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10370. return _result;
  10371. }
  10372. #pragma implementation_key(1592)
  10373. inline _bstr_t VGCore::IVGDocument::GetCodeName ( ) {
  10374. BSTR _result = 0;
  10375. HRESULT _hr = get_CodeName(&_result);
  10376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10377. return _bstr_t(_result, false);
  10378. }
  10379. #pragma implementation_key(1593)
  10380. inline _bstr_t VGCore::IVGDocument::Get_CodeName ( ) {
  10381. BSTR _result = 0;
  10382. HRESULT _hr = get__CodeName(&_result);
  10383. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10384. return _bstr_t(_result, false);
  10385. }
  10386. #pragma implementation_key(1594)
  10387. inline void VGCore::IVGDocument::Put_CodeName ( _bstr_t pVal ) {
  10388. HRESULT _hr = put__CodeName(pVal);
  10389. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10390. }
  10391. #pragma implementation_key(1595)
  10392. inline void VGCore::IVGDocument::PutName ( _bstr_t pbstrName ) {
  10393. HRESULT _hr = put_Name(pbstrName);
  10394. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10395. }
  10396. #pragma implementation_key(1596)
  10397. inline void VGCore::IVGDocument::PutFullFileName ( _bstr_t pFullFileName ) {
  10398. HRESULT _hr = put_FullFileName(pFullFileName);
  10399. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10400. }
  10401. #pragma implementation_key(1597)
  10402. inline VGCore::IVGTreeNodePtr VGCore::IVGDocument::GetTreeRoot ( ) {
  10403. struct IVGTreeNode * _result = 0;
  10404. HRESULT _hr = get_TreeRoot(&_result);
  10405. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10406. return IVGTreeNodePtr(_result, false);
  10407. }
  10408. #pragma implementation_key(1598)
  10409. inline VGCore::IVGTreeManagerPtr VGCore::IVGDocument::GetTreeManager ( ) {
  10410. struct IVGTreeManager * _result = 0;
  10411. HRESULT _hr = get_TreeManager(&_result);
  10412. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10413. return IVGTreeManagerPtr(_result, false);
  10414. }
  10415. #pragma implementation_key(1599)
  10416. inline VGCore::IVGShapePtr VGCore::IVGDocument::LogCreateShape ( struct IVGShape * VirtualShape ) {
  10417. struct IVGShape * _result = 0;
  10418. HRESULT _hr = raw_LogCreateShape(VirtualShape, &_result);
  10419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10420. return IVGShapePtr(_result, false);
  10421. }
  10422. #pragma implementation_key(1600)
  10423. inline VGCore::IVGShapeRangePtr VGCore::IVGDocument::LogCreateShapeRange ( struct IVGShapeRange * VirtualShapeRange ) {
  10424. struct IVGShapeRange * _result = 0;
  10425. HRESULT _hr = raw_LogCreateShapeRange(VirtualShapeRange, &_result);
  10426. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10427. return IVGShapeRangePtr(_result, false);
  10428. }
  10429. #pragma implementation_key(1601)
  10430. inline VGCore::IVGFillPtr VGCore::IVGDocument::CreateFill ( _bstr_t FillString ) {
  10431. struct IVGFill * _result = 0;
  10432. HRESULT _hr = raw_CreateFill(FillString, &_result);
  10433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10434. return IVGFillPtr(_result, false);
  10435. }
  10436. #pragma implementation_key(1602)
  10437. inline VGCore::IVGOutlinePtr VGCore::IVGDocument::CreateOutline ( _bstr_t OutlineString ) {
  10438. struct IVGOutline * _result = 0;
  10439. HRESULT _hr = raw_CreateOutline(OutlineString, &_result);
  10440. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10441. return IVGOutlinePtr(_result, false);
  10442. }
  10443. #pragma implementation_key(1603)
  10444. inline VGCore::IVGHatchLibrariesPtr VGCore::IVGDocument::GetHatchLibraries ( ) {
  10445. struct IVGHatchLibraries * _result = 0;
  10446. HRESULT _hr = get_HatchLibraries(&_result);
  10447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10448. return IVGHatchLibrariesPtr(_result, false);
  10449. }
  10450. #pragma implementation_key(1604)
  10451. inline VGCore::IVGShapeRangePtr VGCore::IVGDocument::CreateShapeRangeFromArray ( SAFEARRAY * * ShapeArray ) {
  10452. struct IVGShapeRange * _result = 0;
  10453. HRESULT _hr = raw_CreateShapeRangeFromArray(ShapeArray, &_result);
  10454. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10455. return IVGShapeRangePtr(_result, false);
  10456. }
  10457. #pragma implementation_key(1605)
  10458. inline HRESULT VGCore::IVGDocument::ClearUndoList ( ) {
  10459. HRESULT _hr = raw_ClearUndoList();
  10460. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10461. return _hr;
  10462. }
  10463. #pragma implementation_key(1606)
  10464. inline double VGCore::IVGDocument::GetSourcePlatformVersion ( ) {
  10465. double _result = 0;
  10466. HRESULT _hr = get_SourcePlatformVersion(&_result);
  10467. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10468. return _result;
  10469. }
  10470. #pragma implementation_key(1607)
  10471. inline void VGCore::IVGDocument::PutSourcePlatformVersion ( double pVal ) {
  10472. HRESULT _hr = put_SourcePlatformVersion(pVal);
  10473. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10474. }
  10475. #pragma implementation_key(1608)
  10476. inline enum VGCore::cdrFilter VGCore::IVGDocument::GetSourceFormat ( ) {
  10477. enum cdrFilter _result;
  10478. HRESULT _hr = get_SourceFormat(&_result);
  10479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10480. return _result;
  10481. }
  10482. #pragma implementation_key(1609)
  10483. inline VARIANT_BOOL VGCore::IVGDocument::GetIsCurrentVersion ( ) {
  10484. VARIANT_BOOL _result = 0;
  10485. HRESULT _hr = get_IsCurrentVersion(&_result);
  10486. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10487. return _result;
  10488. }
  10489. #pragma implementation_key(1610)
  10490. inline enum VGCore::cdrFileVersion VGCore::IVGDocument::GetSourceFileVersion ( ) {
  10491. enum cdrFileVersion _result;
  10492. HRESULT _hr = get_SourceFileVersion(&_result);
  10493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10494. return _result;
  10495. }
  10496. #pragma implementation_key(1611)
  10497. inline void VGCore::IVGDocument::PutSourceFileVersion ( enum cdrFileVersion pVal ) {
  10498. HRESULT _hr = put_SourceFileVersion(pVal);
  10499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10500. }
  10501. #pragma implementation_key(1612)
  10502. inline VGCore::IVGFillPtr VGCore::IVGDocument::CreateUniformFill ( struct IVGColor * Color ) {
  10503. struct IVGFill * _result = 0;
  10504. HRESULT _hr = raw_CreateUniformFill(Color, &_result);
  10505. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10506. return IVGFillPtr(_result, false);
  10507. }
  10508. #pragma implementation_key(1613)
  10509. inline VGCore::IVGMetadataPtr VGCore::IVGDocument::GetMetadata ( ) {
  10510. struct IVGMetadata * _result = 0;
  10511. HRESULT _hr = get_Metadata(&_result);
  10512. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10513. return IVGMetadataPtr(_result, false);
  10514. }
  10515. #pragma implementation_key(1614)
  10516. inline enum VGCore::cdrDocLayout VGCore::IVGDocument::GetLayout ( ) {
  10517. enum cdrDocLayout _result;
  10518. HRESULT _hr = get_Layout(&_result);
  10519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10520. return _result;
  10521. }
  10522. #pragma implementation_key(1615)
  10523. inline void VGCore::IVGDocument::PutLayout ( enum cdrDocLayout pVal ) {
  10524. HRESULT _hr = put_Layout(pVal);
  10525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10526. }
  10527. #pragma implementation_key(1616)
  10528. inline VARIANT_BOOL VGCore::IVGDocument::GetFacingPages ( ) {
  10529. VARIANT_BOOL _result = 0;
  10530. HRESULT _hr = get_FacingPages(&_result);
  10531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10532. return _result;
  10533. }
  10534. #pragma implementation_key(1617)
  10535. inline void VGCore::IVGDocument::PutFacingPages ( VARIANT_BOOL pVal ) {
  10536. HRESULT _hr = put_FacingPages(pVal);
  10537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10538. }
  10539. #pragma implementation_key(1618)
  10540. inline VARIANT_BOOL VGCore::IVGDocument::GetFirstPageOnRightSide ( ) {
  10541. VARIANT_BOOL _result = 0;
  10542. HRESULT _hr = get_FirstPageOnRightSide(&_result);
  10543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10544. return _result;
  10545. }
  10546. #pragma implementation_key(1619)
  10547. inline void VGCore::IVGDocument::PutFirstPageOnRightSide ( VARIANT_BOOL pVal ) {
  10548. HRESULT _hr = put_FirstPageOnRightSide(pVal);
  10549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10550. }
  10551. #pragma implementation_key(1620)
  10552. inline HRESULT VGCore::IVGDocument::SetLayout ( enum cdrDocLayout Layout, VARIANT_BOOL FacingPages, VARIANT_BOOL StartOnRightSide ) {
  10553. HRESULT _hr = raw_SetLayout(Layout, FacingPages, StartOnRightSide);
  10554. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10555. return _hr;
  10556. }
  10557. #pragma implementation_key(1621)
  10558. inline VGCore::IVGSpreadsPtr VGCore::IVGDocument::GetSpreads ( ) {
  10559. struct IVGSpreads * _result = 0;
  10560. HRESULT _hr = get_Spreads(&_result);
  10561. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10562. return IVGSpreadsPtr(_result, false);
  10563. }
  10564. #pragma implementation_key(1622)
  10565. inline VGCore::IVGSpreadPtr VGCore::IVGDocument::GetActiveSpread ( ) {
  10566. struct IVGSpread * _result = 0;
  10567. HRESULT _hr = get_ActiveSpread(&_result);
  10568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10569. return IVGSpreadPtr(_result, false);
  10570. }
  10571. #pragma implementation_key(1623)
  10572. inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHead ( struct IVGCurve * Curve ) {
  10573. struct IVGArrowHead * _result = 0;
  10574. HRESULT _hr = raw_CreateArrowHead(Curve, &_result);
  10575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10576. return IVGArrowHeadPtr(_result, false);
  10577. }
  10578. #pragma implementation_key(1624)
  10579. inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHeadEx ( struct IVGCurve * Curve, double CenterX, double CenterY, double OutlineWidthScale, double LineOffset ) {
  10580. struct IVGArrowHead * _result = 0;
  10581. HRESULT _hr = raw_CreateArrowHeadEx(Curve, CenterX, CenterY, OutlineWidthScale, LineOffset, &_result);
  10582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10583. return IVGArrowHeadPtr(_result, false);
  10584. }
  10585. #pragma implementation_key(1625)
  10586. inline VARIANT_BOOL VGCore::IVGDocument::DeletePages ( long StartPage, long NumPages ) {
  10587. VARIANT_BOOL _result = 0;
  10588. HRESULT _hr = raw_DeletePages(StartPage, NumPages, &_result);
  10589. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10590. return _result;
  10591. }
  10592. #pragma implementation_key(1626)
  10593. inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHead2 ( struct IVGCurve * Curve, _bstr_t Name ) {
  10594. struct IVGArrowHead * _result = 0;
  10595. HRESULT _hr = raw_CreateArrowHead2(Curve, Name, &_result);
  10596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10597. return IVGArrowHeadPtr(_result, false);
  10598. }
  10599. #pragma implementation_key(1627)
  10600. inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHeadEx2 ( struct IVGCurve * Curve, _bstr_t Name, double CenterX, double CenterY, double OutlineWidthScale, double LineOffset ) {
  10601. struct IVGArrowHead * _result = 0;
  10602. HRESULT _hr = raw_CreateArrowHeadEx2(Curve, Name, CenterX, CenterY, OutlineWidthScale, LineOffset, &_result);
  10603. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10604. return IVGArrowHeadPtr(_result, false);
  10605. }
  10606. #pragma implementation_key(1628)
  10607. inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGDocument::CreateArrowHeadOptions ( double Length, double Width, double OffsetX, double OffsetY, double RotationAngle, VARIANT_BOOL FlipHorizontal, VARIANT_BOOL FlipVertical ) {
  10608. struct IVGArrowHeadOptions * _result = 0;
  10609. HRESULT _hr = raw_CreateArrowHeadOptions(Length, Width, OffsetX, OffsetY, RotationAngle, FlipHorizontal, FlipVertical, &_result);
  10610. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10611. return IVGArrowHeadOptionsPtr(_result, false);
  10612. }
  10613. #pragma implementation_key(1629)
  10614. inline HRESULT VGCore::IVGDocument::SaveAsCopy ( _bstr_t FileName, struct IVGStructSaveAsOptions * Options ) {
  10615. HRESULT _hr = raw_SaveAsCopy(FileName, Options);
  10616. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10617. return _hr;
  10618. }
  10619. #pragma implementation_key(1630)
  10620. inline VGCore::IVGSnapPointPtr VGCore::IVGDocument::CreateFreeSnapPoint ( double PositionX, double PositionY ) {
  10621. struct IVGSnapPoint * _result = 0;
  10622. HRESULT _hr = raw_CreateFreeSnapPoint(PositionX, PositionY, &_result);
  10623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10624. return IVGSnapPointPtr(_result, false);
  10625. }
  10626. #pragma implementation_key(1631)
  10627. inline VGCore::IVGBSplinePtr VGCore::IVGDocument::CreateBSpline ( long NumControlPoints, VARIANT_BOOL Closed ) {
  10628. struct IVGBSpline * _result = 0;
  10629. HRESULT _hr = raw_CreateBSpline(NumControlPoints, Closed, &_result);
  10630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10631. return IVGBSplinePtr(_result, false);
  10632. }
  10633. #pragma implementation_key(1632)
  10634. inline VGCore::IVGDocumentPtr VGCore::IVGDocument::Duplicate ( ) {
  10635. struct IVGDocument * _result = 0;
  10636. HRESULT _hr = raw_Duplicate(&_result);
  10637. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10638. return IVGDocumentPtr(_result, false);
  10639. }
  10640. #pragma implementation_key(1633)
  10641. inline VGCore::IVGDocumentPtr VGCore::IVGDocument::Clone ( ) {
  10642. struct IVGDocument * _result = 0;
  10643. HRESULT _hr = raw_Clone(&_result);
  10644. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10645. return IVGDocumentPtr(_result, false);
  10646. }
  10647. #pragma implementation_key(1634)
  10648. inline VARIANT_BOOL VGCore::IVGDocument::GetIsTemporary ( ) {
  10649. VARIANT_BOOL _result = 0;
  10650. HRESULT _hr = get_IsTemporary(&_result);
  10651. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10652. return _result;
  10653. }
  10654. #pragma implementation_key(1635)
  10655. inline VGCore::IVGColorContextPtr VGCore::IVGDocument::GetColorContext ( ) {
  10656. struct IVGColorContext * _result = 0;
  10657. HRESULT _hr = get_ColorContext(&_result);
  10658. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10659. return IVGColorContextPtr(_result, false);
  10660. }
  10661. #pragma implementation_key(1636)
  10662. inline HRESULT VGCore::IVGDocument::AssignColorContext ( struct IVGColorContext * ColorContext ) {
  10663. HRESULT _hr = raw_AssignColorContext(ColorContext);
  10664. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10665. return _hr;
  10666. }
  10667. #pragma implementation_key(1637)
  10668. inline HRESULT VGCore::IVGDocument::ConvertToColorContext ( struct IVGColorContext * ColorContext ) {
  10669. HRESULT _hr = raw_ConvertToColorContext(ColorContext);
  10670. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10671. return _hr;
  10672. }
  10673. #pragma implementation_key(1638)
  10674. inline HRESULT VGCore::IVGDocument::PrintColorProof ( struct IVGProofColorSettings * ProofSettings ) {
  10675. HRESULT _hr = raw_PrintColorProof(ProofSettings);
  10676. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10677. return _hr;
  10678. }
  10679. #pragma implementation_key(1639)
  10680. inline VGCore::IVGPalettePtr VGCore::IVGDocument::GetPalette ( ) {
  10681. struct IVGPalette * _result = 0;
  10682. HRESULT _hr = get_Palette(&_result);
  10683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10684. return IVGPalettePtr(_result, false);
  10685. }
  10686. #pragma implementation_key(1640)
  10687. inline long VGCore::IVGDocument::GetTextFormatter ( ) {
  10688. long _result = 0;
  10689. HRESULT _hr = get_TextFormatter(&_result);
  10690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10691. return _result;
  10692. }
  10693. #pragma implementation_key(1641)
  10694. inline void VGCore::IVGDocument::PutTextFormatter ( long pVal ) {
  10695. HRESULT _hr = put_TextFormatter(pVal);
  10696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10697. }
  10698. #pragma implementation_key(1642)
  10699. inline VGCore::IVGStyleSheetPtr VGCore::IVGDocument::GetStyleSheet ( ) {
  10700. struct IVGStyleSheet * _result = 0;
  10701. HRESULT _hr = get_StyleSheet(&_result);
  10702. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10703. return IVGStyleSheetPtr(_result, false);
  10704. }
  10705. #pragma implementation_key(1643)
  10706. inline HRESULT VGCore::IVGDocument::InteractiveImport ( SAFEARRAY * * FileNames ) {
  10707. HRESULT _hr = raw_InteractiveImport(FileNames);
  10708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10709. return _hr;
  10710. }
  10711. #pragma implementation_key(1644)
  10712. inline VARIANT_BOOL VGCore::IVGDocument::AddColorsToDocPalette ( VARIANT_BOOL SelectedOnly, long MaxColorsPerBitmap ) {
  10713. VARIANT_BOOL _result = 0;
  10714. HRESULT _hr = raw_AddColorsToDocPalette(SelectedOnly, MaxColorsPerBitmap, &_result);
  10715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10716. return _result;
  10717. }
  10718. #pragma implementation_key(1645)
  10719. inline long VGCore::IVGDocument::CreateColorStyles ( VARIANT_BOOL UseFills, VARIANT_BOOL UseOutlines, VARIANT_BOOL SelectedOnly, long NumberOfColorHarmonies, enum cdrColorType ConvertColorsTo ) {
  10720. long _result = 0;
  10721. HRESULT _hr = raw_CreateColorStyles(UseFills, UseOutlines, SelectedOnly, NumberOfColorHarmonies, ConvertColorsTo, &_result);
  10722. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10723. return _result;
  10724. }
  10725. #pragma implementation_key(1646)
  10726. inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurveFitToPoints ( struct IVGPointRange * Points, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
  10727. struct IVGCurve * _result = 0;
  10728. HRESULT _hr = raw_CreateCurveFitToPoints(Points, UseCurrentViewForTolerance, tolerance, &_result);
  10729. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10730. return IVGCurvePtr(_result, false);
  10731. }
  10732. #pragma implementation_key(1647)
  10733. inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurveFitToPointsAndCusps ( struct IVGPointRange * Points, SAFEARRAY * * CuspIndexArray, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
  10734. struct IVGCurve * _result = 0;
  10735. HRESULT _hr = raw_CreateCurveFitToPointsAndCusps(Points, CuspIndexArray, UseCurrentViewForTolerance, tolerance, &_result);
  10736. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10737. return IVGCurvePtr(_result, false);
  10738. }
  10739. #pragma implementation_key(1648)
  10740. inline VGCore::IVGColorPtr VGCore::IVGDocument::SampleColorAtPoint ( double x, double y, enum cdrColorType ColorType ) {
  10741. struct IVGColor * _result = 0;
  10742. HRESULT _hr = raw_SampleColorAtPoint(x, y, ColorType, &_result);
  10743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10744. return IVGColorPtr(_result, false);
  10745. }
  10746. #pragma implementation_key(1649)
  10747. inline VGCore::IVGColorPtr VGCore::IVGDocument::SampleColorInArea ( double x1, double y1, double x2, double y2, long XSamples, long YSamples, enum cdrColorType ColorType ) {
  10748. struct IVGColor * _result = 0;
  10749. HRESULT _hr = raw_SampleColorInArea(x1, y1, x2, y2, XSamples, YSamples, ColorType, &_result);
  10750. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10751. return IVGColorPtr(_result, false);
  10752. }
  10753. #pragma implementation_key(1650)
  10754. inline HRESULT VGCore::IVGDocument::ShowAllHiddenObjects ( ) {
  10755. HRESULT _hr = raw_ShowAllHiddenObjects();
  10756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10757. return _hr;
  10758. }
  10759. #pragma implementation_key(1651)
  10760. inline HRESULT VGCore::IVGDocument::InteractiveImportWithContentIdentifier ( SAFEARRAY * * FileNames, SAFEARRAY * * ContentIdentifiers ) {
  10761. HRESULT _hr = raw_InteractiveImportWithContentIdentifier(FileNames, ContentIdentifiers);
  10762. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10763. return _hr;
  10764. }
  10765. #pragma implementation_key(1652)
  10766. inline HRESULT VGCore::IVGDocument::ReplaceContentByIdentifier ( SAFEARRAY * * ContentIdentifiers, SAFEARRAY * * FileNames ) {
  10767. HRESULT _hr = raw_ReplaceContentByIdentifier(ContentIdentifiers, FileNames);
  10768. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10769. return _hr;
  10770. }
  10771. #pragma implementation_key(1653)
  10772. inline SAFEARRAY * VGCore::IVGDocument::GetContentIdentifiers ( ) {
  10773. SAFEARRAY * _result = 0;
  10774. HRESULT _hr = get_ContentIdentifiers(&_result);
  10775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10776. return _result;
  10777. }
  10778. #pragma implementation_key(1654)
  10779. inline _variant_t VGCore::IVGDocument::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
  10780. VARIANT _result;
  10781. VariantInit(&_result);
  10782. HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
  10783. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10784. return _variant_t(_result, false);
  10785. }
  10786. #pragma implementation_key(1655)
  10787. inline VGCore::IVGMathUtilsPtr VGCore::IVGDocument::GetMath ( ) {
  10788. struct IVGMathUtils * _result = 0;
  10789. HRESULT _hr = get_Math(&_result);
  10790. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10791. return IVGMathUtilsPtr(_result, false);
  10792. }
  10793. #pragma implementation_key(1656)
  10794. inline VGCore::IVGImagePtr VGCore::IVGDocument::CreateImage ( enum cdrImageType ImageType, long Width, long Height, struct IVGColor * FillColor ) {
  10795. struct IVGImage * _result = 0;
  10796. HRESULT _hr = raw_CreateImage(ImageType, Width, Height, FillColor, &_result);
  10797. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10798. return IVGImagePtr(_result, false);
  10799. }
  10800. #pragma implementation_key(1657)
  10801. inline VGCore::IVGDocumentMarkupPtr VGCore::IVGDocument::GetMarkup ( ) {
  10802. struct IVGDocumentMarkup * _result = 0;
  10803. HRESULT _hr = get_Markup(&_result);
  10804. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10805. return IVGDocumentMarkupPtr(_result, false);
  10806. }
  10807. //
  10808. // interface IVGRect wrapper method implementations
  10809. //
  10810. #pragma implementation_key(1658)
  10811. inline double VGCore::IVGRect::Getx ( ) {
  10812. double _result = 0;
  10813. HRESULT _hr = get_x(&_result);
  10814. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10815. return _result;
  10816. }
  10817. #pragma implementation_key(1659)
  10818. inline void VGCore::IVGRect::Putx ( double pVal ) {
  10819. HRESULT _hr = put_x(pVal);
  10820. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10821. }
  10822. #pragma implementation_key(1660)
  10823. inline double VGCore::IVGRect::Gety ( ) {
  10824. double _result = 0;
  10825. HRESULT _hr = get_y(&_result);
  10826. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10827. return _result;
  10828. }
  10829. #pragma implementation_key(1661)
  10830. inline void VGCore::IVGRect::Puty ( double pVal ) {
  10831. HRESULT _hr = put_y(pVal);
  10832. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10833. }
  10834. #pragma implementation_key(1662)
  10835. inline double VGCore::IVGRect::GetWidth ( ) {
  10836. double _result = 0;
  10837. HRESULT _hr = get_Width(&_result);
  10838. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10839. return _result;
  10840. }
  10841. #pragma implementation_key(1663)
  10842. inline void VGCore::IVGRect::PutWidth ( double pVal ) {
  10843. HRESULT _hr = put_Width(pVal);
  10844. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10845. }
  10846. #pragma implementation_key(1664)
  10847. inline double VGCore::IVGRect::GetHeight ( ) {
  10848. double _result = 0;
  10849. HRESULT _hr = get_Height(&_result);
  10850. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10851. return _result;
  10852. }
  10853. #pragma implementation_key(1665)
  10854. inline void VGCore::IVGRect::PutHeight ( double pVal ) {
  10855. HRESULT _hr = put_Height(pVal);
  10856. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10857. }
  10858. #pragma implementation_key(1666)
  10859. inline HRESULT VGCore::IVGRect::SetRect ( double x, double y, double Width, double Height ) {
  10860. HRESULT _hr = raw_SetRect(x, y, Width, Height);
  10861. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10862. return _hr;
  10863. }
  10864. #pragma implementation_key(1667)
  10865. inline HRESULT VGCore::IVGRect::GetRect ( double * x, double * y, double * Width, double * Height ) {
  10866. HRESULT _hr = raw_GetRect(x, y, Width, Height);
  10867. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10868. return _hr;
  10869. }
  10870. #pragma implementation_key(1668)
  10871. inline HRESULT VGCore::IVGRect::CopyAssign ( struct IVGRect * Source ) {
  10872. HRESULT _hr = raw_CopyAssign(Source);
  10873. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10874. return _hr;
  10875. }
  10876. #pragma implementation_key(1669)
  10877. inline VGCore::IVGRectPtr VGCore::IVGRect::GetCopy ( ) {
  10878. struct IVGRect * _result = 0;
  10879. HRESULT _hr = raw_GetCopy(&_result);
  10880. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10881. return IVGRectPtr(_result, false);
  10882. }
  10883. #pragma implementation_key(1670)
  10884. inline VGCore::IVGRectPtr VGCore::IVGRect::Intersect ( struct IVGRect * Rect ) {
  10885. struct IVGRect * _result = 0;
  10886. HRESULT _hr = raw_Intersect(Rect, &_result);
  10887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10888. return IVGRectPtr(_result, false);
  10889. }
  10890. #pragma implementation_key(1671)
  10891. inline VARIANT_BOOL VGCore::IVGRect::GetIsEmpty ( ) {
  10892. VARIANT_BOOL _result = 0;
  10893. HRESULT _hr = get_IsEmpty(&_result);
  10894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10895. return _result;
  10896. }
  10897. #pragma implementation_key(1672)
  10898. inline VGCore::IVGRectPtr VGCore::IVGRect::Union ( struct IVGRect * Rect ) {
  10899. struct IVGRect * _result = 0;
  10900. HRESULT _hr = raw_Union(Rect, &_result);
  10901. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10902. return IVGRectPtr(_result, false);
  10903. }
  10904. #pragma implementation_key(1673)
  10905. inline HRESULT VGCore::IVGRect::Offset ( double OffsetX, double OffsetY ) {
  10906. HRESULT _hr = raw_Offset(OffsetX, OffsetY);
  10907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10908. return _hr;
  10909. }
  10910. #pragma implementation_key(1674)
  10911. inline VARIANT_BOOL VGCore::IVGRect::Inflate ( double Left, double Top, double Right, double Bottom ) {
  10912. VARIANT_BOOL _result = 0;
  10913. HRESULT _hr = raw_Inflate(Left, Top, Right, Bottom, &_result);
  10914. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10915. return _result;
  10916. }
  10917. #pragma implementation_key(1675)
  10918. inline VARIANT_BOOL VGCore::IVGRect::IsPointInside ( double x, double y ) {
  10919. VARIANT_BOOL _result = 0;
  10920. HRESULT _hr = raw_IsPointInside(x, y, &_result);
  10921. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10922. return _result;
  10923. }
  10924. #pragma implementation_key(1676)
  10925. inline HRESULT VGCore::IVGRect::Clear ( ) {
  10926. HRESULT _hr = raw_Clear();
  10927. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10928. return _hr;
  10929. }
  10930. #pragma implementation_key(1677)
  10931. inline VGCore::IVGRectPtr VGCore::IVGRect::ChangeContext ( struct IVGDocument * SrcDoc, struct IVGDocument * DestDoc ) {
  10932. struct IVGRect * _result = 0;
  10933. HRESULT _hr = raw_ChangeContext(SrcDoc, DestDoc, &_result);
  10934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10935. return IVGRectPtr(_result, false);
  10936. }
  10937. #pragma implementation_key(1678)
  10938. inline double VGCore::IVGRect::GetLeft ( ) {
  10939. double _result = 0;
  10940. HRESULT _hr = get_Left(&_result);
  10941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10942. return _result;
  10943. }
  10944. #pragma implementation_key(1679)
  10945. inline double VGCore::IVGRect::GetRight ( ) {
  10946. double _result = 0;
  10947. HRESULT _hr = get_Right(&_result);
  10948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10949. return _result;
  10950. }
  10951. #pragma implementation_key(1680)
  10952. inline double VGCore::IVGRect::GetTop ( ) {
  10953. double _result = 0;
  10954. HRESULT _hr = get_Top(&_result);
  10955. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10956. return _result;
  10957. }
  10958. #pragma implementation_key(1681)
  10959. inline double VGCore::IVGRect::GetBottom ( ) {
  10960. double _result = 0;
  10961. HRESULT _hr = get_Bottom(&_result);
  10962. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10963. return _result;
  10964. }
  10965. #pragma implementation_key(1682)
  10966. inline double VGCore::IVGRect::GetCenterX ( ) {
  10967. double _result = 0;
  10968. HRESULT _hr = get_CenterX(&_result);
  10969. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10970. return _result;
  10971. }
  10972. #pragma implementation_key(1683)
  10973. inline double VGCore::IVGRect::GetCenterY ( ) {
  10974. double _result = 0;
  10975. HRESULT _hr = get_CenterY(&_result);
  10976. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10977. return _result;
  10978. }
  10979. //
  10980. // interface IVGApplication wrapper method implementations
  10981. //
  10982. #pragma implementation_key(1684)
  10983. inline VGCore::IVGApplicationPtr VGCore::IVGApplication::GetApplication ( ) {
  10984. struct IVGApplication * _result = 0;
  10985. HRESULT _hr = get_Application(&_result);
  10986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10987. return IVGApplicationPtr(_result, false);
  10988. }
  10989. #pragma implementation_key(1685)
  10990. inline VGCore::IVGApplicationPtr VGCore::IVGApplication::GetParent ( ) {
  10991. struct IVGApplication * _result = 0;
  10992. HRESULT _hr = get_Parent(&_result);
  10993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  10994. return IVGApplicationPtr(_result, false);
  10995. }
  10996. #pragma implementation_key(1686)
  10997. inline VARIANT_BOOL VGCore::IVGApplication::GetVisible ( ) {
  10998. VARIANT_BOOL _result = 0;
  10999. HRESULT _hr = get_Visible(&_result);
  11000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11001. return _result;
  11002. }
  11003. #pragma implementation_key(1687)
  11004. inline void VGCore::IVGApplication::PutVisible ( VARIANT_BOOL pVal ) {
  11005. HRESULT _hr = put_Visible(pVal);
  11006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11007. }
  11008. #pragma implementation_key(1688)
  11009. inline VGCore::IVGDocumentsPtr VGCore::IVGApplication::GetDocuments ( ) {
  11010. struct IVGDocuments * _result = 0;
  11011. HRESULT _hr = get_Documents(&_result);
  11012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11013. return IVGDocumentsPtr(_result, false);
  11014. }
  11015. #pragma implementation_key(1689)
  11016. inline VGCore::IVGDocumentPtr VGCore::IVGApplication::GetActiveDocument ( ) {
  11017. struct IVGDocument * _result = 0;
  11018. HRESULT _hr = get_ActiveDocument(&_result);
  11019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11020. return IVGDocumentPtr(_result, false);
  11021. }
  11022. #pragma implementation_key(1690)
  11023. inline VGCore::IVGPagePtr VGCore::IVGApplication::GetActivePage ( ) {
  11024. struct IVGPage * _result = 0;
  11025. HRESULT _hr = get_ActivePage(&_result);
  11026. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11027. return IVGPagePtr(_result, false);
  11028. }
  11029. #pragma implementation_key(1691)
  11030. inline VGCore::IVGWindowPtr VGCore::IVGApplication::GetActiveWindow ( ) {
  11031. struct IVGWindow * _result = 0;
  11032. HRESULT _hr = get_ActiveWindow(&_result);
  11033. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11034. return IVGWindowPtr(_result, false);
  11035. }
  11036. #pragma implementation_key(1692)
  11037. inline VGCore::IVGWindowsPtr VGCore::IVGApplication::GetWindows ( ) {
  11038. struct IVGWindows * _result = 0;
  11039. HRESULT _hr = get_Windows(&_result);
  11040. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11041. return IVGWindowsPtr(_result, false);
  11042. }
  11043. #pragma implementation_key(1693)
  11044. inline VGCore::ICorelScriptToolsPtr VGCore::IVGApplication::CorelScriptTools ( ) {
  11045. struct ICorelScriptTools * _result = 0;
  11046. HRESULT _hr = raw_CorelScriptTools(&_result);
  11047. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11048. return ICorelScriptToolsPtr(_result, false);
  11049. }
  11050. #pragma implementation_key(1694)
  11051. inline VGCore::IVGWorkspacePtr VGCore::IVGApplication::GetActiveWorkspace ( ) {
  11052. struct IVGWorkspace * _result = 0;
  11053. HRESULT _hr = get_ActiveWorkspace(&_result);
  11054. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11055. return IVGWorkspacePtr(_result, false);
  11056. }
  11057. #pragma implementation_key(1695)
  11058. inline VGCore::IVGWorkspacesPtr VGCore::IVGApplication::GetWorkspaces ( ) {
  11059. struct IVGWorkspaces * _result = 0;
  11060. HRESULT _hr = get_Workspaces(&_result);
  11061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11062. return IVGWorkspacesPtr(_result, false);
  11063. }
  11064. #pragma implementation_key(1696)
  11065. inline VGCore::IVGPalettePtr VGCore::IVGApplication::GetActivePalette ( ) {
  11066. struct IVGPalette * _result = 0;
  11067. HRESULT _hr = get_ActivePalette(&_result);
  11068. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11069. return IVGPalettePtr(_result, false);
  11070. }
  11071. #pragma implementation_key(1697)
  11072. inline VGCore::IVGPalettesPtr VGCore::IVGApplication::GetPalettes ( ) {
  11073. struct IVGPalettes * _result = 0;
  11074. HRESULT _hr = get_Palettes(&_result);
  11075. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11076. return IVGPalettesPtr(_result, false);
  11077. }
  11078. #pragma implementation_key(1698)
  11079. inline HRESULT VGCore::IVGApplication::Quit ( ) {
  11080. HRESULT _hr = raw_Quit();
  11081. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11082. return _hr;
  11083. }
  11084. #pragma implementation_key(1699)
  11085. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateColor ( _bstr_t ColorString ) {
  11086. struct IVGColor * _result = 0;
  11087. HRESULT _hr = raw_CreateColor(ColorString, &_result);
  11088. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11089. return IVGColorPtr(_result, false);
  11090. }
  11091. #pragma implementation_key(1700)
  11092. inline VGCore::IVGFontListPtr VGCore::IVGApplication::GetFontList ( ) {
  11093. struct IVGFontList * _result = 0;
  11094. HRESULT _hr = get_FontList(&_result);
  11095. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11096. return IVGFontListPtr(_result, false);
  11097. }
  11098. #pragma implementation_key(1701)
  11099. inline VGCore::IVGAppWindowPtr VGCore::IVGApplication::GetAppWindow ( ) {
  11100. struct IVGAppWindow * _result = 0;
  11101. HRESULT _hr = get_AppWindow(&_result);
  11102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11103. return IVGAppWindowPtr(_result, false);
  11104. }
  11105. #pragma implementation_key(1702)
  11106. inline VGCore::IVGRecentFilesPtr VGCore::IVGApplication::GetRecentFiles ( ) {
  11107. struct IVGRecentFiles * _result = 0;
  11108. HRESULT _hr = get_RecentFiles(&_result);
  11109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11110. return IVGRecentFilesPtr(_result, false);
  11111. }
  11112. #pragma implementation_key(1703)
  11113. inline IDispatchPtr VGCore::IVGApplication::GetVBE ( ) {
  11114. IDispatch * _result = 0;
  11115. HRESULT _hr = get_VBE(&_result);
  11116. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11117. return IDispatchPtr(_result, false);
  11118. }
  11119. #pragma implementation_key(1704)
  11120. inline double VGCore::IVGApplication::cdrMixedDouble ( ) {
  11121. double _result = 0;
  11122. HRESULT _hr = raw_cdrMixedDouble(&_result);
  11123. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11124. return _result;
  11125. }
  11126. #pragma implementation_key(1705)
  11127. inline float VGCore::IVGApplication::cdrMixedSingle ( ) {
  11128. float _result = 0;
  11129. HRESULT _hr = raw_cdrMixedSingle(&_result);
  11130. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11131. return _result;
  11132. }
  11133. #pragma implementation_key(1706)
  11134. inline long VGCore::IVGApplication::cdrMixedLong ( ) {
  11135. long _result = 0;
  11136. HRESULT _hr = raw_cdrMixedLong(&_result);
  11137. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11138. return _result;
  11139. }
  11140. #pragma implementation_key(1707)
  11141. inline VARIANT_BOOL VGCore::IVGApplication::GetEventsEnabled ( ) {
  11142. VARIANT_BOOL _result = 0;
  11143. HRESULT _hr = get_EventsEnabled(&_result);
  11144. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11145. return _result;
  11146. }
  11147. #pragma implementation_key(1708)
  11148. inline void VGCore::IVGApplication::PutEventsEnabled ( VARIANT_BOOL pVal ) {
  11149. HRESULT _hr = put_EventsEnabled(pVal);
  11150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11151. }
  11152. #pragma implementation_key(1709)
  11153. inline VGCore::IVGDocumentPtr VGCore::IVGApplication::OpenDocument ( _bstr_t FileName, long CodePage ) {
  11154. struct IVGDocument * _result = 0;
  11155. HRESULT _hr = raw_OpenDocument(FileName, CodePage, &_result);
  11156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11157. return IVGDocumentPtr(_result, false);
  11158. }
  11159. #pragma implementation_key(1710)
  11160. inline VGCore::IVGDocumentPtr VGCore::IVGApplication::CreateDocument ( ) {
  11161. struct IVGDocument * _result = 0;
  11162. HRESULT _hr = raw_CreateDocument(&_result);
  11163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11164. return IVGDocumentPtr(_result, false);
  11165. }
  11166. #pragma implementation_key(1711)
  11167. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateColorEx ( long ColorModel, long V1, long V2, long V3, long V4, long V5, long V6, long V7 ) {
  11168. struct IVGColor * _result = 0;
  11169. HRESULT _hr = raw_CreateColorEx(ColorModel, V1, V2, V3, V4, V5, V6, V7, &_result);
  11170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11171. return IVGColorPtr(_result, false);
  11172. }
  11173. #pragma implementation_key(1712)
  11174. inline VGCore::IVGArrowHeadsPtr VGCore::IVGApplication::GetArrowHeads ( ) {
  11175. struct IVGArrowHeads * _result = 0;
  11176. HRESULT _hr = get_ArrowHeads(&_result);
  11177. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11178. return IVGArrowHeadsPtr(_result, false);
  11179. }
  11180. #pragma implementation_key(1713)
  11181. inline VGCore::IVGOutlineStylesPtr VGCore::IVGApplication::GetOutlineStyles ( ) {
  11182. struct IVGOutlineStyles * _result = 0;
  11183. HRESULT _hr = get_OutlineStyles(&_result);
  11184. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11185. return IVGOutlineStylesPtr(_result, false);
  11186. }
  11187. #pragma implementation_key(1714)
  11188. inline _bstr_t VGCore::IVGApplication::GetVersion ( ) {
  11189. BSTR _result = 0;
  11190. HRESULT _hr = get_Version(&_result);
  11191. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11192. return _bstr_t(_result, false);
  11193. }
  11194. #pragma implementation_key(1715)
  11195. inline long VGCore::IVGApplication::GetVersionMajor ( ) {
  11196. long _result = 0;
  11197. HRESULT _hr = get_VersionMajor(&_result);
  11198. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11199. return _result;
  11200. }
  11201. #pragma implementation_key(1716)
  11202. inline long VGCore::IVGApplication::GetVersionMinor ( ) {
  11203. long _result = 0;
  11204. HRESULT _hr = get_VersionMinor(&_result);
  11205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11206. return _result;
  11207. }
  11208. #pragma implementation_key(1717)
  11209. inline long VGCore::IVGApplication::GetVersionBuild ( ) {
  11210. long _result = 0;
  11211. HRESULT _hr = get_VersionBuild(&_result);
  11212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11213. return _result;
  11214. }
  11215. #pragma implementation_key(1718)
  11216. inline _bstr_t VGCore::IVGApplication::GetPath ( ) {
  11217. BSTR _result = 0;
  11218. HRESULT _hr = get_Path(&_result);
  11219. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11220. return _bstr_t(_result, false);
  11221. }
  11222. #pragma implementation_key(1719)
  11223. inline _bstr_t VGCore::IVGApplication::GetConfigPath ( ) {
  11224. BSTR _result = 0;
  11225. HRESULT _hr = get_ConfigPath(&_result);
  11226. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11227. return _bstr_t(_result, false);
  11228. }
  11229. #pragma implementation_key(1720)
  11230. inline _bstr_t VGCore::IVGApplication::GetSetupPath ( ) {
  11231. BSTR _result = 0;
  11232. HRESULT _hr = get_SetupPath(&_result);
  11233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11234. return _bstr_t(_result, false);
  11235. }
  11236. #pragma implementation_key(1721)
  11237. inline VGCore::IVGLayerPtr VGCore::IVGApplication::GetActiveLayer ( ) {
  11238. struct IVGLayer * _result = 0;
  11239. HRESULT _hr = get_ActiveLayer(&_result);
  11240. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11241. return IVGLayerPtr(_result, false);
  11242. }
  11243. #pragma implementation_key(1722)
  11244. inline VGCore::IVGShapePtr VGCore::IVGApplication::GetActiveSelection ( ) {
  11245. struct IVGShape * _result = 0;
  11246. HRESULT _hr = get_ActiveSelection(&_result);
  11247. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11248. return IVGShapePtr(_result, false);
  11249. }
  11250. #pragma implementation_key(1723)
  11251. inline VGCore::IVGPatternCanvasesPtr VGCore::IVGApplication::GetPatternCanvases ( ) {
  11252. struct IVGPatternCanvases * _result = 0;
  11253. HRESULT _hr = get_PatternCanvases(&_result);
  11254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11255. return IVGPatternCanvasesPtr(_result, false);
  11256. }
  11257. #pragma implementation_key(1724)
  11258. inline VGCore::IVGClipboardPtr VGCore::IVGApplication::GetClipboard ( ) {
  11259. struct IVGClipboard * _result = 0;
  11260. HRESULT _hr = get_Clipboard(&_result);
  11261. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11262. return IVGClipboardPtr(_result, false);
  11263. }
  11264. #pragma implementation_key(1725)
  11265. inline VGCore::IVGShapeRangePtr VGCore::IVGApplication::GetActiveSelectionRange ( ) {
  11266. struct IVGShapeRange * _result = 0;
  11267. HRESULT _hr = get_ActiveSelectionRange(&_result);
  11268. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11269. return IVGShapeRangePtr(_result, false);
  11270. }
  11271. #pragma implementation_key(1726)
  11272. inline enum VGCore::cdrTools VGCore::IVGApplication::GetActiveTool ( ) {
  11273. enum cdrTools _result;
  11274. HRESULT _hr = get_ActiveTool(&_result);
  11275. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11276. return _result;
  11277. }
  11278. #pragma implementation_key(1727)
  11279. inline void VGCore::IVGApplication::PutActiveTool ( enum cdrTools pTool ) {
  11280. HRESULT _hr = put_ActiveTool(pTool);
  11281. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11282. }
  11283. #pragma implementation_key(1728)
  11284. inline VGCore::IVGShapePtr VGCore::IVGApplication::GetActiveShape ( ) {
  11285. struct IVGShape * _result = 0;
  11286. HRESULT _hr = get_ActiveShape(&_result);
  11287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11288. return IVGShapePtr(_result, false);
  11289. }
  11290. #pragma implementation_key(1729)
  11291. inline VARIANT_BOOL VGCore::IVGApplication::GetOptimization ( ) {
  11292. VARIANT_BOOL _result = 0;
  11293. HRESULT _hr = get_Optimization(&_result);
  11294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11295. return _result;
  11296. }
  11297. #pragma implementation_key(1730)
  11298. inline void VGCore::IVGApplication::PutOptimization ( VARIANT_BOOL pVal ) {
  11299. HRESULT _hr = put_Optimization(pVal);
  11300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11301. }
  11302. #pragma implementation_key(1731)
  11303. inline enum VGCore::cdrPanoseMatchingType VGCore::IVGApplication::GetPanoseMatching ( ) {
  11304. enum cdrPanoseMatchingType _result;
  11305. HRESULT _hr = get_PanoseMatching(&_result);
  11306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11307. return _result;
  11308. }
  11309. #pragma implementation_key(1732)
  11310. inline void VGCore::IVGApplication::PutPanoseMatching ( enum cdrPanoseMatchingType pVal ) {
  11311. HRESULT _hr = put_PanoseMatching(pVal);
  11312. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11313. }
  11314. #pragma implementation_key(1733)
  11315. inline IDispatchPtr VGCore::IVGApplication::GetAddIns ( ) {
  11316. IDispatch * _result = 0;
  11317. HRESULT _hr = get_AddIns(&_result);
  11318. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11319. return IDispatchPtr(_result, false);
  11320. }
  11321. #pragma implementation_key(1734)
  11322. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateRGBColor ( long Red, long Green, long Blue ) {
  11323. struct IVGColor * _result = 0;
  11324. HRESULT _hr = raw_CreateRGBColor(Red, Green, Blue, &_result);
  11325. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11326. return IVGColorPtr(_result, false);
  11327. }
  11328. #pragma implementation_key(1735)
  11329. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateCMYColor ( long Cyan, long Magenta, long Yellow ) {
  11330. struct IVGColor * _result = 0;
  11331. HRESULT _hr = raw_CreateCMYColor(Cyan, Magenta, Yellow, &_result);
  11332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11333. return IVGColorPtr(_result, false);
  11334. }
  11335. #pragma implementation_key(1736)
  11336. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateCMYKColor ( long Cyan, long Magenta, long Yellow, long Black ) {
  11337. struct IVGColor * _result = 0;
  11338. HRESULT _hr = raw_CreateCMYKColor(Cyan, Magenta, Yellow, Black, &_result);
  11339. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11340. return IVGColorPtr(_result, false);
  11341. }
  11342. #pragma implementation_key(1737)
  11343. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateGrayColor ( long GrayValue ) {
  11344. struct IVGColor * _result = 0;
  11345. HRESULT _hr = raw_CreateGrayColor(GrayValue, &_result);
  11346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11347. return IVGColorPtr(_result, false);
  11348. }
  11349. #pragma implementation_key(1738)
  11350. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateHLSColor ( long Hue, long Lightness, long Saturation ) {
  11351. struct IVGColor * _result = 0;
  11352. HRESULT _hr = raw_CreateHLSColor(Hue, Lightness, Saturation, &_result);
  11353. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11354. return IVGColorPtr(_result, false);
  11355. }
  11356. #pragma implementation_key(1739)
  11357. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateHSBColor ( long Hue, long Saturation, long Brightness ) {
  11358. struct IVGColor * _result = 0;
  11359. HRESULT _hr = raw_CreateHSBColor(Hue, Saturation, Brightness, &_result);
  11360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11361. return IVGColorPtr(_result, false);
  11362. }
  11363. #pragma implementation_key(1740)
  11364. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateBWColor ( VARIANT_BOOL White ) {
  11365. struct IVGColor * _result = 0;
  11366. HRESULT _hr = raw_CreateBWColor(White, &_result);
  11367. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11368. return IVGColorPtr(_result, false);
  11369. }
  11370. #pragma implementation_key(1741)
  11371. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateYIQColor ( long y, long I, long Q ) {
  11372. struct IVGColor * _result = 0;
  11373. HRESULT _hr = raw_CreateYIQColor(y, I, Q, &_result);
  11374. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11375. return IVGColorPtr(_result, false);
  11376. }
  11377. #pragma implementation_key(1742)
  11378. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateLabColor ( long L, long A, long B ) {
  11379. struct IVGColor * _result = 0;
  11380. HRESULT _hr = raw_CreateLabColor(L, A, B, &_result);
  11381. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11382. return IVGColorPtr(_result, false);
  11383. }
  11384. #pragma implementation_key(1743)
  11385. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateFixedColor ( enum cdrPaletteID PaletteID, long PaletteIndex, long Tint ) {
  11386. struct IVGColor * _result = 0;
  11387. HRESULT _hr = raw_CreateFixedColor(PaletteID, PaletteIndex, Tint, &_result);
  11388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11389. return IVGColorPtr(_result, false);
  11390. }
  11391. #pragma implementation_key(1744)
  11392. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateRegistrationColor ( ) {
  11393. struct IVGColor * _result = 0;
  11394. HRESULT _hr = raw_CreateRegistrationColor(&_result);
  11395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11396. return IVGColorPtr(_result, false);
  11397. }
  11398. #pragma implementation_key(1745)
  11399. inline VGCore::IVGSnapPointPtr VGCore::IVGApplication::CreateSnapPoint ( double PositionX, double PositionY ) {
  11400. struct IVGSnapPoint * _result = 0;
  11401. HRESULT _hr = raw_CreateSnapPoint(PositionX, PositionY, &_result);
  11402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11403. return IVGSnapPointPtr(_result, false);
  11404. }
  11405. #pragma implementation_key(1746)
  11406. inline VGCore::IVGDocumentPtr VGCore::IVGApplication::CreateDocumentFromTemplate ( _bstr_t Template, VARIANT_BOOL IncludeGraphics ) {
  11407. struct IVGDocument * _result = 0;
  11408. HRESULT _hr = raw_CreateDocumentFromTemplate(Template, IncludeGraphics, &_result);
  11409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11410. return IVGDocumentPtr(_result, false);
  11411. }
  11412. #pragma implementation_key(1747)
  11413. inline VGCore::IPrnVBAPrintersPtr VGCore::IVGApplication::GetPrinters ( ) {
  11414. struct IPrnVBAPrinters * _result = 0;
  11415. HRESULT _hr = get_Printers(&_result);
  11416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11417. return IPrnVBAPrintersPtr(_result, false);
  11418. }
  11419. #pragma implementation_key(1748)
  11420. inline VGCore::IPrnVBAPrintJobPtr VGCore::IVGApplication::GetPrintJob ( ) {
  11421. struct IPrnVBAPrintJob * _result = 0;
  11422. HRESULT _hr = get_PrintJob(&_result);
  11423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11424. return IPrnVBAPrintJobPtr(_result, false);
  11425. }
  11426. #pragma implementation_key(1749)
  11427. inline VGCore::ICUICommandBarsPtr VGCore::IVGApplication::GetCommandBars ( ) {
  11428. struct ICUICommandBars * _result = 0;
  11429. HRESULT _hr = get_CommandBars(&_result);
  11430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11431. return ICUICommandBarsPtr(_result, false);
  11432. }
  11433. #pragma implementation_key(1750)
  11434. inline VGCore::ICUICommandBarPtr VGCore::IVGApplication::GetStatusBar ( ) {
  11435. struct ICUICommandBar * _result = 0;
  11436. HRESULT _hr = get_StatusBar(&_result);
  11437. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11438. return ICUICommandBarPtr(_result, false);
  11439. }
  11440. #pragma implementation_key(1751)
  11441. inline VGCore::ICUICommandBarPtr VGCore::IVGApplication::GetMainMenu ( ) {
  11442. struct ICUICommandBar * _result = 0;
  11443. HRESULT _hr = get_MainMenu(&_result);
  11444. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11445. return ICUICommandBarPtr(_result, false);
  11446. }
  11447. #pragma implementation_key(1752)
  11448. inline VGCore::IVGGMSManagerPtr VGCore::IVGApplication::GetGMSManager ( ) {
  11449. struct IVGGMSManager * _result = 0;
  11450. HRESULT _hr = get_GMSManager(&_result);
  11451. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11452. return IVGGMSManagerPtr(_result, false);
  11453. }
  11454. #pragma implementation_key(1753)
  11455. inline HRESULT VGCore::IVGApplication::ImportWorkspace ( _bstr_t FileName ) {
  11456. HRESULT _hr = raw_ImportWorkspace(FileName);
  11457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11458. return _hr;
  11459. }
  11460. #pragma implementation_key(1754)
  11461. inline HRESULT VGCore::IVGApplication::Refresh ( ) {
  11462. HRESULT _hr = raw_Refresh();
  11463. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11464. return _hr;
  11465. }
  11466. #pragma implementation_key(1755)
  11467. inline VGCore::IVGStructSaveAsOptionsPtr VGCore::IVGApplication::CreateStructSaveAsOptions ( ) {
  11468. struct IVGStructSaveAsOptions * _result = 0;
  11469. HRESULT _hr = raw_CreateStructSaveAsOptions(&_result);
  11470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11471. return IVGStructSaveAsOptionsPtr(_result, false);
  11472. }
  11473. #pragma implementation_key(1756)
  11474. inline VGCore::IVGStructExportOptionsPtr VGCore::IVGApplication::CreateStructExportOptions ( ) {
  11475. struct IVGStructExportOptions * _result = 0;
  11476. HRESULT _hr = raw_CreateStructExportOptions(&_result);
  11477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11478. return IVGStructExportOptionsPtr(_result, false);
  11479. }
  11480. #pragma implementation_key(1757)
  11481. inline VGCore::IVGStructImportOptionsPtr VGCore::IVGApplication::CreateStructImportOptions ( ) {
  11482. struct IVGStructImportOptions * _result = 0;
  11483. HRESULT _hr = raw_CreateStructImportOptions(&_result);
  11484. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11485. return IVGStructImportOptionsPtr(_result, false);
  11486. }
  11487. #pragma implementation_key(1758)
  11488. inline VGCore::IVGStructPaletteOptionsPtr VGCore::IVGApplication::CreateStructPaletteOptions ( ) {
  11489. struct IVGStructPaletteOptions * _result = 0;
  11490. HRESULT _hr = raw_CreateStructPaletteOptions(&_result);
  11491. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11492. return IVGStructPaletteOptionsPtr(_result, false);
  11493. }
  11494. #pragma implementation_key(1759)
  11495. inline VGCore::IVGNodeRangePtr VGCore::IVGApplication::CreateNodeRange ( ) {
  11496. struct IVGNodeRange * _result = 0;
  11497. HRESULT _hr = raw_CreateNodeRange(&_result);
  11498. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11499. return IVGNodeRangePtr(_result, false);
  11500. }
  11501. #pragma implementation_key(1760)
  11502. inline VGCore::IVGSegmentRangePtr VGCore::IVGApplication::CreateSegmentRange ( ) {
  11503. struct IVGSegmentRange * _result = 0;
  11504. HRESULT _hr = raw_CreateSegmentRange(&_result);
  11505. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11506. return IVGSegmentRangePtr(_result, false);
  11507. }
  11508. #pragma implementation_key(1761)
  11509. inline VGCore::IVGShapeRangePtr VGCore::IVGApplication::CreateShapeRange ( ) {
  11510. struct IVGShapeRange * _result = 0;
  11511. HRESULT _hr = raw_CreateShapeRange(&_result);
  11512. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11513. return IVGShapeRangePtr(_result, false);
  11514. }
  11515. #pragma implementation_key(1762)
  11516. inline VGCore::IVGPatternCanvasPtr VGCore::IVGApplication::CreatePatternCanvas ( ) {
  11517. struct IVGPatternCanvas * _result = 0;
  11518. HRESULT _hr = raw_CreatePatternCanvas(&_result);
  11519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11520. return IVGPatternCanvasPtr(_result, false);
  11521. }
  11522. #pragma implementation_key(1763)
  11523. inline VGCore::IVGCurvePtr VGCore::IVGApplication::CreateCurve ( struct IVGDocument * Document ) {
  11524. struct IVGCurve * _result = 0;
  11525. HRESULT _hr = raw_CreateCurve(Document, &_result);
  11526. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11527. return IVGCurvePtr(_result, false);
  11528. }
  11529. #pragma implementation_key(1764)
  11530. inline _bstr_t VGCore::IVGApplication::GetUserDataPath ( ) {
  11531. BSTR _result = 0;
  11532. HRESULT _hr = get_UserDataPath(&_result);
  11533. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11534. return _bstr_t(_result, false);
  11535. }
  11536. #pragma implementation_key(1765)
  11537. inline VARIANT_BOOL VGCore::IVGApplication::InitializeVBA ( ) {
  11538. VARIANT_BOOL _result = 0;
  11539. HRESULT _hr = raw_InitializeVBA(&_result);
  11540. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11541. return _result;
  11542. }
  11543. #pragma implementation_key(1766)
  11544. inline _bstr_t VGCore::IVGApplication::GetHelpFile ( ) {
  11545. BSTR _result = 0;
  11546. HRESULT _hr = get_HelpFile(&_result);
  11547. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11548. return _bstr_t(_result, false);
  11549. }
  11550. #pragma implementation_key(1767)
  11551. inline VGCore::ICUIFrameWorkPtr VGCore::IVGApplication::GetFrameWork ( ) {
  11552. struct ICUIFrameWork * _result = 0;
  11553. HRESULT _hr = get_FrameWork(&_result);
  11554. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11555. return ICUIFrameWorkPtr(_result, false);
  11556. }
  11557. #pragma implementation_key(1768)
  11558. inline VGCore::IVGStructFontPropertiesPtr VGCore::IVGApplication::CreateStructFontProperties ( ) {
  11559. struct IVGStructFontProperties * _result = 0;
  11560. HRESULT _hr = raw_CreateStructFontProperties(&_result);
  11561. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11562. return IVGStructFontPropertiesPtr(_result, false);
  11563. }
  11564. #pragma implementation_key(1769)
  11565. inline VGCore::IVGStructAlignPropertiesPtr VGCore::IVGApplication::CreateStructAlignProperties ( ) {
  11566. struct IVGStructAlignProperties * _result = 0;
  11567. HRESULT _hr = raw_CreateStructAlignProperties(&_result);
  11568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11569. return IVGStructAlignPropertiesPtr(_result, false);
  11570. }
  11571. #pragma implementation_key(1770)
  11572. inline VGCore::IVGStructSpacePropertiesPtr VGCore::IVGApplication::CreateStructSpaceProperties ( ) {
  11573. struct IVGStructSpaceProperties * _result = 0;
  11574. HRESULT _hr = raw_CreateStructSpaceProperties(&_result);
  11575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11576. return IVGStructSpacePropertiesPtr(_result, false);
  11577. }
  11578. #pragma implementation_key(1771)
  11579. inline VGCore::IVGStructHyphenationSettingsPtr VGCore::IVGApplication::CreateStructHyphenationSettings ( ) {
  11580. struct IVGStructHyphenationSettings * _result = 0;
  11581. HRESULT _hr = raw_CreateStructHyphenationSettings(&_result);
  11582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11583. return IVGStructHyphenationSettingsPtr(_result, false);
  11584. }
  11585. #pragma implementation_key(1772)
  11586. inline VGCore::IVGComponentsPtr VGCore::IVGApplication::GetComponents ( ) {
  11587. struct IVGComponents * _result = 0;
  11588. HRESULT _hr = get_Components(&_result);
  11589. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11590. return IVGComponentsPtr(_result, false);
  11591. }
  11592. #pragma implementation_key(1773)
  11593. inline VGCore::IVGSymbolLibrariesPtr VGCore::IVGApplication::GetSymbolLibraries ( ) {
  11594. struct IVGSymbolLibraries * _result = 0;
  11595. HRESULT _hr = get_SymbolLibraries(&_result);
  11596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11597. return IVGSymbolLibrariesPtr(_result, false);
  11598. }
  11599. #pragma implementation_key(1774)
  11600. inline long VGCore::IVGApplication::AdviseEvents ( IDispatch * EventSink ) {
  11601. long _result = 0;
  11602. HRESULT _hr = raw_AdviseEvents(EventSink, &_result);
  11603. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11604. return _result;
  11605. }
  11606. #pragma implementation_key(1775)
  11607. inline HRESULT VGCore::IVGApplication::UnadviseEvents ( long Cookie ) {
  11608. HRESULT _hr = raw_UnadviseEvents(Cookie);
  11609. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11610. return _hr;
  11611. }
  11612. #pragma implementation_key(1776)
  11613. inline enum VGCore::cdrApplicationID VGCore::IVGApplication::GetID ( ) {
  11614. enum cdrApplicationID _result;
  11615. HRESULT _hr = get_ID(&_result);
  11616. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11617. return _result;
  11618. }
  11619. #pragma implementation_key(1777)
  11620. inline _bstr_t VGCore::IVGApplication::GetName ( ) {
  11621. BSTR _result = 0;
  11622. HRESULT _hr = get_Name(&_result);
  11623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11624. return _bstr_t(_result, false);
  11625. }
  11626. #pragma implementation_key(1778)
  11627. inline enum VGCore::cdrApplicationClass VGCore::IVGApplication::GetClass ( ) {
  11628. enum cdrApplicationClass _result;
  11629. HRESULT _hr = get_Class(&_result);
  11630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11631. return _result;
  11632. }
  11633. #pragma implementation_key(1779)
  11634. inline long VGCore::IVGApplication::GetPlatformVersionMajor ( ) {
  11635. long _result = 0;
  11636. HRESULT _hr = get_PlatformVersionMajor(&_result);
  11637. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11638. return _result;
  11639. }
  11640. #pragma implementation_key(1780)
  11641. inline long VGCore::IVGApplication::GetPlatformVersionMinor ( ) {
  11642. long _result = 0;
  11643. HRESULT _hr = get_PlatformVersionMinor(&_result);
  11644. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11645. return _result;
  11646. }
  11647. #pragma implementation_key(1781)
  11648. inline long VGCore::IVGApplication::CheckPlatformVersion ( long VersionMajor, long VersionMinor ) {
  11649. long _result = 0;
  11650. HRESULT _hr = raw_CheckPlatformVersion(VersionMajor, VersionMinor, &_result);
  11651. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11652. return _result;
  11653. }
  11654. #pragma implementation_key(1782)
  11655. inline VGCore::IVGAppStatusPtr VGCore::IVGApplication::GetStatus ( ) {
  11656. struct IVGAppStatus * _result = 0;
  11657. HRESULT _hr = get_Status(&_result);
  11658. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11659. return IVGAppStatusPtr(_result, false);
  11660. }
  11661. #pragma implementation_key(1783)
  11662. inline double VGCore::IVGApplication::ConvertUnits ( double Value, enum cdrUnit FromUnit, enum cdrUnit ToUnit ) {
  11663. double _result = 0;
  11664. HRESULT _hr = raw_ConvertUnits(Value, FromUnit, ToUnit, &_result);
  11665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11666. return _result;
  11667. }
  11668. #pragma implementation_key(1784)
  11669. inline enum VGCore::cdrTextLanguage VGCore::IVGApplication::GetUILanguage ( ) {
  11670. enum cdrTextLanguage _result;
  11671. HRESULT _hr = get_UILanguage(&_result);
  11672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11673. return _result;
  11674. }
  11675. #pragma implementation_key(1785)
  11676. inline VARIANT_BOOL VGCore::IVGApplication::IsUILanguageAvailable ( enum cdrTextLanguage Language ) {
  11677. VARIANT_BOOL _result = 0;
  11678. HRESULT _hr = raw_IsUILanguageAvailable(Language, &_result);
  11679. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11680. return _result;
  11681. }
  11682. #pragma implementation_key(1786)
  11683. inline VGCore::IVGPageSizesPtr VGCore::IVGApplication::GetPageSizes ( ) {
  11684. struct IVGPageSizes * _result = 0;
  11685. HRESULT _hr = get_PageSizes(&_result);
  11686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11687. return IVGPageSizesPtr(_result, false);
  11688. }
  11689. #pragma implementation_key(1787)
  11690. inline enum VGCore::cdrUnit VGCore::IVGApplication::GetUnit ( ) {
  11691. enum cdrUnit _result;
  11692. HRESULT _hr = get_Unit(&_result);
  11693. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11694. return _result;
  11695. }
  11696. #pragma implementation_key(1788)
  11697. inline void VGCore::IVGApplication::PutUnit ( enum cdrUnit pVal ) {
  11698. HRESULT _hr = put_Unit(pVal);
  11699. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11700. }
  11701. #pragma implementation_key(1789)
  11702. inline _bstr_t VGCore::IVGApplication::ConvertToUnicode ( _bstr_t String, long CodePage ) {
  11703. BSTR _result = 0;
  11704. HRESULT _hr = raw_ConvertToUnicode(String, CodePage, &_result);
  11705. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11706. return _bstr_t(_result, false);
  11707. }
  11708. #pragma implementation_key(1790)
  11709. inline _bstr_t VGCore::IVGApplication::ConvertFromUnicode ( _bstr_t String, long CodePage ) {
  11710. BSTR _result = 0;
  11711. HRESULT _hr = raw_ConvertFromUnicode(String, CodePage, &_result);
  11712. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11713. return _bstr_t(_result, false);
  11714. }
  11715. #pragma implementation_key(1791)
  11716. inline _bstr_t VGCore::IVGApplication::GetUserWorkspacePath ( ) {
  11717. BSTR _result = 0;
  11718. HRESULT _hr = get_UserWorkspacePath(&_result);
  11719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11720. return _bstr_t(_result, false);
  11721. }
  11722. #pragma implementation_key(1792)
  11723. inline _bstr_t VGCore::IVGApplication::GetLanguagePath ( ) {
  11724. BSTR _result = 0;
  11725. HRESULT _hr = get_LanguagePath(&_result);
  11726. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11727. return _bstr_t(_result, false);
  11728. }
  11729. #pragma implementation_key(1793)
  11730. inline VGCore::IVGTreeManagerPtr VGCore::IVGApplication::GetActiveTreeManager ( ) {
  11731. struct IVGTreeManager * _result = 0;
  11732. HRESULT _hr = get_ActiveTreeManager(&_result);
  11733. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11734. return IVGTreeManagerPtr(_result, false);
  11735. }
  11736. #pragma implementation_key(1794)
  11737. inline VGCore::IVGLayerPtr VGCore::IVGApplication::GetActiveVirtualLayer ( ) {
  11738. struct IVGLayer * _result = 0;
  11739. HRESULT _hr = get_ActiveVirtualLayer(&_result);
  11740. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11741. return IVGLayerPtr(_result, false);
  11742. }
  11743. #pragma implementation_key(1795)
  11744. inline VGCore::IVGDuotonePtr VGCore::IVGApplication::CreateDuotone ( ) {
  11745. struct IVGDuotone * _result = 0;
  11746. HRESULT _hr = raw_CreateDuotone(&_result);
  11747. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11748. return IVGDuotonePtr(_result, false);
  11749. }
  11750. #pragma implementation_key(1796)
  11751. inline VGCore::IVGColorManagerPtr VGCore::IVGApplication::GetColorManager ( ) {
  11752. struct IVGColorManager * _result = 0;
  11753. HRESULT _hr = get_ColorManager(&_result);
  11754. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11755. return IVGColorManagerPtr(_result, false);
  11756. }
  11757. #pragma implementation_key(1797)
  11758. inline VGCore::IVGOutlineStylesPtr VGCore::IVGApplication::GetEnhancedOutlines ( ) {
  11759. struct IVGOutlineStyles * _result = 0;
  11760. HRESULT _hr = get_EnhancedOutlines(&_result);
  11761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11762. return IVGOutlineStylesPtr(_result, false);
  11763. }
  11764. #pragma implementation_key(1798)
  11765. inline VARIANT_BOOL VGCore::IVGApplication::AddPluginCommand ( _bstr_t CommandID, _bstr_t Caption, _bstr_t Tooltip ) {
  11766. VARIANT_BOOL _result = 0;
  11767. HRESULT _hr = raw_AddPluginCommand(CommandID, Caption, Tooltip, &_result);
  11768. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11769. return _result;
  11770. }
  11771. #pragma implementation_key(1799)
  11772. inline VARIANT_BOOL VGCore::IVGApplication::RemovePluginCommand ( _bstr_t CommandID ) {
  11773. VARIANT_BOOL _result = 0;
  11774. HRESULT _hr = raw_RemovePluginCommand(CommandID, &_result);
  11775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11776. return _result;
  11777. }
  11778. #pragma implementation_key(1800)
  11779. inline VGCore::IVGOutlineStylePtr VGCore::IVGApplication::CreateOutlineStyle ( long DashDotCount, SAFEARRAY * * DashDotLengths ) {
  11780. struct IVGOutlineStyle * _result = 0;
  11781. HRESULT _hr = raw_CreateOutlineStyle(DashDotCount, DashDotLengths, &_result);
  11782. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11783. return IVGOutlineStylePtr(_result, false);
  11784. }
  11785. #pragma implementation_key(1801)
  11786. inline enum VGCore::cdrAppStartupMode VGCore::IVGApplication::GetStartupMode ( ) {
  11787. enum cdrAppStartupMode _result;
  11788. HRESULT _hr = get_StartupMode(&_result);
  11789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11790. return _result;
  11791. }
  11792. #pragma implementation_key(1802)
  11793. inline void VGCore::IVGApplication::PutStartupMode ( enum cdrAppStartupMode pVal ) {
  11794. HRESULT _hr = put_StartupMode(pVal);
  11795. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11796. }
  11797. #pragma implementation_key(1803)
  11798. inline VGCore::IVGPropertiesPtr VGCore::IVGApplication::GetGlobalUserData ( ) {
  11799. struct IVGProperties * _result = 0;
  11800. HRESULT _hr = get_GlobalUserData(&_result);
  11801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11802. return IVGPropertiesPtr(_result, false);
  11803. }
  11804. #pragma implementation_key(1804)
  11805. inline VGCore::IVGPropertiesPtr VGCore::IVGApplication::GetSessionUserData ( ) {
  11806. struct IVGProperties * _result = 0;
  11807. HRESULT _hr = get_SessionUserData(&_result);
  11808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11809. return IVGPropertiesPtr(_result, false);
  11810. }
  11811. #pragma implementation_key(1805)
  11812. inline _variant_t VGCore::IVGApplication::Evaluate ( _bstr_t Expression ) {
  11813. VARIANT _result;
  11814. VariantInit(&_result);
  11815. HRESULT _hr = raw_Evaluate(Expression, &_result);
  11816. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11817. return _variant_t(_result, false);
  11818. }
  11819. #pragma implementation_key(1806)
  11820. inline VGCore::IVGRectPtr VGCore::IVGApplication::CreateRect ( double x, double y, double Width, double Height ) {
  11821. struct IVGRect * _result = 0;
  11822. HRESULT _hr = raw_CreateRect(x, y, Width, Height, &_result);
  11823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11824. return IVGRectPtr(_result, false);
  11825. }
  11826. #pragma implementation_key(1807)
  11827. inline HRESULT VGCore::IVGApplication::ForceUpdateFontTable ( ) {
  11828. HRESULT _hr = raw_ForceUpdateFontTable();
  11829. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11830. return _hr;
  11831. }
  11832. #pragma implementation_key(1808)
  11833. inline VGCore::IVGSpreadPtr VGCore::IVGApplication::GetActiveSpread ( ) {
  11834. struct IVGSpread * _result = 0;
  11835. HRESULT _hr = get_ActiveSpread(&_result);
  11836. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11837. return IVGSpreadPtr(_result, false);
  11838. }
  11839. #pragma implementation_key(1809)
  11840. inline VGCore::IVGDocumentPtr VGCore::IVGApplication::OpenDocumentAsCopy ( _bstr_t FileName, struct IVGStructOpenOptions * Options ) {
  11841. struct IVGDocument * _result = 0;
  11842. HRESULT _hr = raw_OpenDocumentAsCopy(FileName, Options, &_result);
  11843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11844. return IVGDocumentPtr(_result, false);
  11845. }
  11846. #pragma implementation_key(1810)
  11847. inline VGCore::IVGColorContextPtr VGCore::IVGApplication::GetDefaultColorContext ( ) {
  11848. struct IVGColorContext * _result = 0;
  11849. HRESULT _hr = get_DefaultColorContext(&_result);
  11850. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11851. return IVGColorContextPtr(_result, false);
  11852. }
  11853. #pragma implementation_key(1811)
  11854. inline VGCore::IVGColorContextPtr VGCore::IVGApplication::CreateColorContext ( struct IVGColorProfile * RGBProfile, struct IVGColorProfile * CMYKProfile, struct IVGColorProfile * GrayscaleProfile, enum clrRenderingIntent RenderingIntent, enum clrColorModel BlendingColorModel ) {
  11855. struct IVGColorContext * _result = 0;
  11856. HRESULT _hr = raw_CreateColorContext(RGBProfile, CMYKProfile, GrayscaleProfile, RenderingIntent, BlendingColorModel, &_result);
  11857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11858. return IVGColorContextPtr(_result, false);
  11859. }
  11860. #pragma implementation_key(1812)
  11861. inline VGCore::IVGColorContextPtr VGCore::IVGApplication::CreateColorContext2 ( _bstr_t ColorProfileList, enum clrRenderingIntent RenderingIntent, enum clrColorModel BlendingColorModel ) {
  11862. struct IVGColorContext * _result = 0;
  11863. HRESULT _hr = raw_CreateColorContext2(ColorProfileList, RenderingIntent, BlendingColorModel, &_result);
  11864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11865. return IVGColorContextPtr(_result, false);
  11866. }
  11867. #pragma implementation_key(1813)
  11868. inline VGCore::IVGDocumentPtr VGCore::IVGApplication::CreateDocumentEx ( struct IVGStructCreateOptions * Options ) {
  11869. struct IVGDocument * _result = 0;
  11870. HRESULT _hr = raw_CreateDocumentEx(Options, &_result);
  11871. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11872. return IVGDocumentPtr(_result, false);
  11873. }
  11874. #pragma implementation_key(1814)
  11875. inline VGCore::IVGDocumentPtr VGCore::IVGApplication::OpenDocumentEx ( _bstr_t FileName, struct IVGStructOpenOptions * Options ) {
  11876. struct IVGDocument * _result = 0;
  11877. HRESULT _hr = raw_OpenDocumentEx(FileName, Options, &_result);
  11878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11879. return IVGDocumentPtr(_result, false);
  11880. }
  11881. #pragma implementation_key(1815)
  11882. inline VGCore::IVGStructOpenOptionsPtr VGCore::IVGApplication::CreateStructOpenOptions ( ) {
  11883. struct IVGStructOpenOptions * _result = 0;
  11884. HRESULT _hr = raw_CreateStructOpenOptions(&_result);
  11885. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11886. return IVGStructOpenOptionsPtr(_result, false);
  11887. }
  11888. #pragma implementation_key(1816)
  11889. inline VGCore::IVGStructCreateOptionsPtr VGCore::IVGApplication::CreateStructCreateOptions ( ) {
  11890. struct IVGStructCreateOptions * _result = 0;
  11891. HRESULT _hr = raw_CreateStructCreateOptions(&_result);
  11892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11893. return IVGStructCreateOptionsPtr(_result, false);
  11894. }
  11895. #pragma implementation_key(1817)
  11896. inline VGCore::IVGStructPasteOptionsPtr VGCore::IVGApplication::CreateStructPasteOptions ( ) {
  11897. struct IVGStructPasteOptions * _result = 0;
  11898. HRESULT _hr = raw_CreateStructPasteOptions(&_result);
  11899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11900. return IVGStructPasteOptionsPtr(_result, false);
  11901. }
  11902. #pragma implementation_key(1818)
  11903. inline VGCore::IVGProofColorSettingsPtr VGCore::IVGApplication::CreateProofColorSettings ( _bstr_t ProfileName, enum clrRenderingIntent RenderingIntent, VARIANT_BOOL PreserveColorValues ) {
  11904. struct IVGProofColorSettings * _result = 0;
  11905. HRESULT _hr = raw_CreateProofColorSettings(ProfileName, RenderingIntent, PreserveColorValues, &_result);
  11906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11907. return IVGProofColorSettingsPtr(_result, false);
  11908. }
  11909. #pragma implementation_key(1819)
  11910. inline VGCore::IVGPaletteManagerPtr VGCore::IVGApplication::GetPaletteManager ( ) {
  11911. struct IVGPaletteManager * _result = 0;
  11912. HRESULT _hr = get_PaletteManager(&_result);
  11913. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11914. return IVGPaletteManagerPtr(_result, false);
  11915. }
  11916. #pragma implementation_key(1820)
  11917. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateSpotColor ( _bstr_t PaletteIdentifier, long SpotColorID, long Tint ) {
  11918. struct IVGColor * _result = 0;
  11919. HRESULT _hr = raw_CreateSpotColor(PaletteIdentifier, SpotColorID, Tint, &_result);
  11920. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11921. return IVGColorPtr(_result, false);
  11922. }
  11923. #pragma implementation_key(1821)
  11924. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateSpotColorByName ( _bstr_t PaletteIdentifier, _bstr_t SpotColorName, long Tint ) {
  11925. struct IVGColor * _result = 0;
  11926. HRESULT _hr = raw_CreateSpotColorByName(PaletteIdentifier, SpotColorName, Tint, &_result);
  11927. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11928. return IVGColorPtr(_result, false);
  11929. }
  11930. #pragma implementation_key(1822)
  11931. inline VGCore::IVGColorPtr VGCore::IVGApplication::CreatePaletteColor ( _bstr_t PaletteIdentifier, long ColorIndex ) {
  11932. struct IVGColor * _result = 0;
  11933. HRESULT _hr = raw_CreatePaletteColor(PaletteIdentifier, ColorIndex, &_result);
  11934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11935. return IVGColorPtr(_result, false);
  11936. }
  11937. #pragma implementation_key(1823)
  11938. inline SAFEARRAY * VGCore::IVGApplication::GetSupportedOpenTypeFeatures ( ) {
  11939. SAFEARRAY * _result = 0;
  11940. HRESULT _hr = raw_GetSupportedOpenTypeFeatures(&_result);
  11941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11942. return _result;
  11943. }
  11944. #pragma implementation_key(1824)
  11945. inline VGCore::IVGFillMetadataPtr VGCore::IVGApplication::CreateFillMetadata ( ) {
  11946. struct IVGFillMetadata * _result = 0;
  11947. HRESULT _hr = raw_CreateFillMetadata(&_result);
  11948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11949. return IVGFillMetadataPtr(_result, false);
  11950. }
  11951. #pragma implementation_key(1825)
  11952. inline _bstr_t VGCore::IVGApplication::GetAddonPath ( ) {
  11953. BSTR _result = 0;
  11954. HRESULT _hr = get_AddonPath(&_result);
  11955. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11956. return _bstr_t(_result, false);
  11957. }
  11958. #pragma implementation_key(1826)
  11959. inline _bstr_t VGCore::IVGApplication::GetProgramPath ( ) {
  11960. BSTR _result = 0;
  11961. HRESULT _hr = get_ProgramPath(&_result);
  11962. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11963. return _bstr_t(_result, false);
  11964. }
  11965. #pragma implementation_key(1827)
  11966. inline _bstr_t VGCore::IVGApplication::GetActiveToolStateGuid ( ) {
  11967. BSTR _result = 0;
  11968. HRESULT _hr = get_ActiveToolStateGuid(&_result);
  11969. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11970. return _bstr_t(_result, false);
  11971. }
  11972. #pragma implementation_key(1828)
  11973. inline void VGCore::IVGApplication::PutActiveToolStateGuid ( _bstr_t pTool ) {
  11974. HRESULT _hr = put_ActiveToolStateGuid(pTool);
  11975. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11976. }
  11977. #pragma implementation_key(1829)
  11978. inline HRESULT VGCore::IVGApplication::RegisterToolState ( _bstr_t ToolStateGuid, _bstr_t ToolStateName, struct IVGToolState * ToolState ) {
  11979. HRESULT _hr = raw_RegisterToolState(ToolStateGuid, ToolStateName, ToolState);
  11980. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11981. return _hr;
  11982. }
  11983. #pragma implementation_key(1830)
  11984. inline VARIANT_BOOL VGCore::IVGApplication::UnregisterToolState ( _bstr_t ToolStateGuid ) {
  11985. VARIANT_BOOL _result = 0;
  11986. HRESULT _hr = raw_UnregisterToolState(ToolStateGuid, &_result);
  11987. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11988. return _result;
  11989. }
  11990. #pragma implementation_key(1831)
  11991. inline VGCore::IVGOnScreenCurvePtr VGCore::IVGApplication::CreateOnScreenCurve ( ) {
  11992. struct IVGOnScreenCurve * _result = 0;
  11993. HRESULT _hr = raw_CreateOnScreenCurve(&_result);
  11994. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  11995. return IVGOnScreenCurvePtr(_result, false);
  11996. }
  11997. #pragma implementation_key(1832)
  11998. inline VGCore::IVGOnScreenHandlePtr VGCore::IVGApplication::CreateOnScreenHandle ( ) {
  11999. struct IVGOnScreenHandle * _result = 0;
  12000. HRESULT _hr = raw_CreateOnScreenHandle(&_result);
  12001. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12002. return IVGOnScreenHandlePtr(_result, false);
  12003. }
  12004. #pragma implementation_key(1833)
  12005. inline VGCore::IVGOnScreenTextPtr VGCore::IVGApplication::CreateOnScreenText ( ) {
  12006. struct IVGOnScreenText * _result = 0;
  12007. HRESULT _hr = raw_CreateOnScreenText(&_result);
  12008. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12009. return IVGOnScreenTextPtr(_result, false);
  12010. }
  12011. #pragma implementation_key(1834)
  12012. inline VGCore::IVGMathUtilsPtr VGCore::IVGApplication::GetMath ( ) {
  12013. struct IVGMathUtils * _result = 0;
  12014. HRESULT _hr = get_Math(&_result);
  12015. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12016. return IVGMathUtilsPtr(_result, false);
  12017. }
  12018. #pragma implementation_key(1835)
  12019. inline HRESULT VGCore::IVGApplication::RegisterUserApplicationPreference ( _bstr_t GroupName, _bstr_t KeyName, const _variant_t & DefaultVal ) {
  12020. HRESULT _hr = raw_RegisterUserApplicationPreference(GroupName, KeyName, DefaultVal);
  12021. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12022. return _hr;
  12023. }
  12024. #pragma implementation_key(1836)
  12025. inline _variant_t VGCore::IVGApplication::GetApplicationPreferenceValue ( _bstr_t GroupName, _bstr_t KeyName ) {
  12026. VARIANT _result;
  12027. VariantInit(&_result);
  12028. HRESULT _hr = raw_GetApplicationPreferenceValue(GroupName, KeyName, &_result);
  12029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12030. return _variant_t(_result, false);
  12031. }
  12032. #pragma implementation_key(1837)
  12033. inline HRESULT VGCore::IVGApplication::SetApplicationPreferenceValue ( _bstr_t GroupName, _bstr_t KeyName, const _variant_t & newVal ) {
  12034. HRESULT _hr = raw_SetApplicationPreferenceValue(GroupName, KeyName, newVal);
  12035. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12036. return _hr;
  12037. }
  12038. #pragma implementation_key(1838)
  12039. inline VGCore::IVGPropertiesPtr VGCore::IVGApplication::CreateProperties ( ) {
  12040. struct IVGProperties * _result = 0;
  12041. HRESULT _hr = raw_CreateProperties(&_result);
  12042. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12043. return IVGPropertiesPtr(_result, false);
  12044. }
  12045. #pragma implementation_key(1839)
  12046. inline HRESULT VGCore::IVGApplication::RegisterToolShape ( _bstr_t ToolShapeGuid, struct IVGToolShapeAttributes * ToolShapeAttributes, struct IVGToolShape * ToolShape ) {
  12047. HRESULT _hr = raw_RegisterToolShape(ToolShapeGuid, ToolShapeAttributes, ToolShape);
  12048. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12049. return _hr;
  12050. }
  12051. #pragma implementation_key(1840)
  12052. inline VGCore::IVGToolShapeAttributesPtr VGCore::IVGApplication::CreateToolShapeAttributes ( ) {
  12053. struct IVGToolShapeAttributes * _result = 0;
  12054. HRESULT _hr = raw_CreateToolShapeAttributes(&_result);
  12055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12056. return IVGToolShapeAttributesPtr(_result, false);
  12057. }
  12058. #pragma implementation_key(1841)
  12059. inline _bstr_t VGCore::IVGApplication::GetUILanguageCode ( ) {
  12060. BSTR _result = 0;
  12061. HRESULT _hr = get_UILanguageCode(&_result);
  12062. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12063. return _bstr_t(_result, false);
  12064. }
  12065. #pragma implementation_key(1842)
  12066. inline HRESULT VGCore::IVGApplication::StartTemporaryToolState ( _bstr_t StateGuid ) {
  12067. HRESULT _hr = raw_StartTemporaryToolState(StateGuid);
  12068. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12069. return _hr;
  12070. }
  12071. #pragma implementation_key(1843)
  12072. inline HRESULT VGCore::IVGApplication::MarkupLogout ( ) {
  12073. HRESULT _hr = raw_MarkupLogout();
  12074. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12075. return _hr;
  12076. }
  12077. #pragma implementation_key(1844)
  12078. inline HRESULT VGCore::IVGApplication::MarkupLogin ( struct IVGCommentAuthor * Author ) {
  12079. HRESULT _hr = raw_MarkupLogin(Author);
  12080. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12081. return _hr;
  12082. }
  12083. #pragma implementation_key(1845)
  12084. inline VGCore::IVGCommentAuthorPtr VGCore::IVGApplication::CreateMarkupAuthor ( _bstr_t Name, _bstr_t Avatar, _bstr_t Email, enum cdrAuthorAuthentication Authentication ) {
  12085. struct IVGCommentAuthor * _result = 0;
  12086. HRESULT _hr = raw_CreateMarkupAuthor(Name, Avatar, Email, Authentication, &_result);
  12087. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12088. return IVGCommentAuthorPtr(_result, false);
  12089. }
  12090. //
  12091. // interface IVGDocuments wrapper method implementations
  12092. //
  12093. #pragma implementation_key(1846)
  12094. inline VGCore::IVGApplicationPtr VGCore::IVGDocuments::GetApplication ( ) {
  12095. struct IVGApplication * _result = 0;
  12096. HRESULT _hr = get_Application(&_result);
  12097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12098. return IVGApplicationPtr(_result, false);
  12099. }
  12100. #pragma implementation_key(1847)
  12101. inline VGCore::IVGApplicationPtr VGCore::IVGDocuments::GetParent ( ) {
  12102. struct IVGApplication * _result = 0;
  12103. HRESULT _hr = get_Parent(&_result);
  12104. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12105. return IVGApplicationPtr(_result, false);
  12106. }
  12107. #pragma implementation_key(1848)
  12108. inline VGCore::IVGDocumentPtr VGCore::IVGDocuments::GetItem ( long Index ) {
  12109. struct IVGDocument * _result = 0;
  12110. HRESULT _hr = get_Item(Index, &_result);
  12111. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12112. return IVGDocumentPtr(_result, false);
  12113. }
  12114. #pragma implementation_key(1849)
  12115. inline IUnknownPtr VGCore::IVGDocuments::Get_NewEnum ( ) {
  12116. IUnknown * _result = 0;
  12117. HRESULT _hr = get__NewEnum(&_result);
  12118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12119. return IUnknownPtr(_result, false);
  12120. }
  12121. #pragma implementation_key(1850)
  12122. inline long VGCore::IVGDocuments::GetCount ( ) {
  12123. long _result = 0;
  12124. HRESULT _hr = get_Count(&_result);
  12125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12126. return _result;
  12127. }
  12128. //
  12129. // interface IVGOutlineStyles wrapper method implementations
  12130. //
  12131. #pragma implementation_key(1851)
  12132. inline VGCore::IVGApplicationPtr VGCore::IVGOutlineStyles::GetApplication ( ) {
  12133. struct IVGApplication * _result = 0;
  12134. HRESULT _hr = get_Application(&_result);
  12135. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12136. return IVGApplicationPtr(_result, false);
  12137. }
  12138. #pragma implementation_key(1852)
  12139. inline VGCore::IVGApplicationPtr VGCore::IVGOutlineStyles::GetParent ( ) {
  12140. struct IVGApplication * _result = 0;
  12141. HRESULT _hr = get_Parent(&_result);
  12142. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12143. return IVGApplicationPtr(_result, false);
  12144. }
  12145. #pragma implementation_key(1853)
  12146. inline VGCore::IVGOutlineStylePtr VGCore::IVGOutlineStyles::GetItem ( long Index ) {
  12147. struct IVGOutlineStyle * _result = 0;
  12148. HRESULT _hr = get_Item(Index, &_result);
  12149. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12150. return IVGOutlineStylePtr(_result, false);
  12151. }
  12152. #pragma implementation_key(1854)
  12153. inline IUnknownPtr VGCore::IVGOutlineStyles::Get_NewEnum ( ) {
  12154. IUnknown * _result = 0;
  12155. HRESULT _hr = get__NewEnum(&_result);
  12156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12157. return IUnknownPtr(_result, false);
  12158. }
  12159. #pragma implementation_key(1855)
  12160. inline long VGCore::IVGOutlineStyles::GetCount ( ) {
  12161. long _result = 0;
  12162. HRESULT _hr = get_Count(&_result);
  12163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12164. return _result;
  12165. }
  12166. #pragma implementation_key(1856)
  12167. inline VGCore::IVGOutlineStylePtr VGCore::IVGOutlineStyles::Add ( ) {
  12168. struct IVGOutlineStyle * _result = 0;
  12169. HRESULT _hr = raw_Add(&_result);
  12170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12171. return IVGOutlineStylePtr(_result, false);
  12172. }
  12173. #pragma implementation_key(1857)
  12174. inline HRESULT VGCore::IVGOutlineStyles::Remove ( long Index ) {
  12175. HRESULT _hr = raw_Remove(Index);
  12176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12177. return _hr;
  12178. }
  12179. #pragma implementation_key(1858)
  12180. inline HRESULT VGCore::IVGOutlineStyles::Save ( ) {
  12181. HRESULT _hr = raw_Save();
  12182. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12183. return _hr;
  12184. }
  12185. #pragma implementation_key(1859)
  12186. inline VGCore::IVGOutlineStylePtr VGCore::IVGOutlineStyles::AddStyle ( struct IVGOutlineStyle * Style ) {
  12187. struct IVGOutlineStyle * _result = 0;
  12188. HRESULT _hr = raw_AddStyle(Style, &_result);
  12189. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12190. return IVGOutlineStylePtr(_result, false);
  12191. }
  12192. //
  12193. // interface IVGRulers wrapper method implementations
  12194. //
  12195. #pragma implementation_key(1860)
  12196. inline VGCore::IVGApplicationPtr VGCore::IVGRulers::GetApplication ( ) {
  12197. struct IVGApplication * _result = 0;
  12198. HRESULT _hr = get_Application(&_result);
  12199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12200. return IVGApplicationPtr(_result, false);
  12201. }
  12202. #pragma implementation_key(1861)
  12203. inline VGCore::IVGDocumentPtr VGCore::IVGRulers::GetParent ( ) {
  12204. struct IVGDocument * _result = 0;
  12205. HRESULT _hr = get_Parent(&_result);
  12206. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12207. return IVGDocumentPtr(_result, false);
  12208. }
  12209. #pragma implementation_key(1862)
  12210. inline enum VGCore::cdrUnit VGCore::IVGRulers::GetVUnits ( ) {
  12211. enum cdrUnit _result;
  12212. HRESULT _hr = get_VUnits(&_result);
  12213. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12214. return _result;
  12215. }
  12216. #pragma implementation_key(1863)
  12217. inline void VGCore::IVGRulers::PutVUnits ( enum cdrUnit pVal ) {
  12218. HRESULT _hr = put_VUnits(pVal);
  12219. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12220. }
  12221. #pragma implementation_key(1864)
  12222. inline enum VGCore::cdrUnit VGCore::IVGRulers::GetHUnits ( ) {
  12223. enum cdrUnit _result;
  12224. HRESULT _hr = get_HUnits(&_result);
  12225. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12226. return _result;
  12227. }
  12228. #pragma implementation_key(1865)
  12229. inline void VGCore::IVGRulers::PutHUnits ( enum cdrUnit pVal ) {
  12230. HRESULT _hr = put_HUnits(pVal);
  12231. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12232. }
  12233. //
  12234. // interface IVGGrid wrapper method implementations
  12235. //
  12236. #pragma implementation_key(1866)
  12237. inline VGCore::IVGApplicationPtr VGCore::IVGGrid::GetApplication ( ) {
  12238. struct IVGApplication * _result = 0;
  12239. HRESULT _hr = get_Application(&_result);
  12240. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12241. return IVGApplicationPtr(_result, false);
  12242. }
  12243. #pragma implementation_key(1867)
  12244. inline VGCore::IVGDocumentPtr VGCore::IVGGrid::GetParent ( ) {
  12245. struct IVGDocument * _result = 0;
  12246. HRESULT _hr = get_Parent(&_result);
  12247. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12248. return IVGDocumentPtr(_result, false);
  12249. }
  12250. #pragma implementation_key(1868)
  12251. inline VARIANT_BOOL VGCore::IVGGrid::GetVisible ( ) {
  12252. VARIANT_BOOL _result = 0;
  12253. HRESULT _hr = get_Visible(&_result);
  12254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12255. return _result;
  12256. }
  12257. #pragma implementation_key(1869)
  12258. inline void VGCore::IVGGrid::PutVisible ( VARIANT_BOOL pVal ) {
  12259. HRESULT _hr = put_Visible(pVal);
  12260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12261. }
  12262. #pragma implementation_key(1870)
  12263. inline enum VGCore::cdrGridType VGCore::IVGGrid::GetType ( ) {
  12264. enum cdrGridType _result;
  12265. HRESULT _hr = get_Type(&_result);
  12266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12267. return _result;
  12268. }
  12269. #pragma implementation_key(1871)
  12270. inline void VGCore::IVGGrid::PutType ( enum cdrGridType pVal ) {
  12271. HRESULT _hr = put_Type(pVal);
  12272. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12273. }
  12274. #pragma implementation_key(1872)
  12275. inline VARIANT_BOOL VGCore::IVGGrid::GetSnap ( ) {
  12276. VARIANT_BOOL _result = 0;
  12277. HRESULT _hr = get_Snap(&_result);
  12278. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12279. return _result;
  12280. }
  12281. #pragma implementation_key(1873)
  12282. inline void VGCore::IVGGrid::PutSnap ( VARIANT_BOOL pVal ) {
  12283. HRESULT _hr = put_Snap(pVal);
  12284. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12285. }
  12286. #pragma implementation_key(1874)
  12287. inline HRESULT VGCore::IVGGrid::SetFrequency ( double GridX, double GridY ) {
  12288. HRESULT _hr = raw_SetFrequency(GridX, GridY);
  12289. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12290. return _hr;
  12291. }
  12292. #pragma implementation_key(1875)
  12293. inline double VGCore::IVGGrid::GetSpacingX ( ) {
  12294. double _result = 0;
  12295. HRESULT _hr = get_SpacingX(&_result);
  12296. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12297. return _result;
  12298. }
  12299. #pragma implementation_key(1876)
  12300. inline void VGCore::IVGGrid::PutSpacingX ( double pVal ) {
  12301. HRESULT _hr = put_SpacingX(pVal);
  12302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12303. }
  12304. #pragma implementation_key(1877)
  12305. inline double VGCore::IVGGrid::GetSpacingY ( ) {
  12306. double _result = 0;
  12307. HRESULT _hr = get_SpacingY(&_result);
  12308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12309. return _result;
  12310. }
  12311. #pragma implementation_key(1878)
  12312. inline void VGCore::IVGGrid::PutSpacingY ( double pVal ) {
  12313. HRESULT _hr = put_SpacingY(pVal);
  12314. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12315. }
  12316. //
  12317. // interface IVGAppPlugin wrapper method implementations
  12318. //
  12319. #pragma implementation_key(1879)
  12320. inline HRESULT VGCore::IVGAppPlugin::OnLoad ( struct IVGApplication * Application ) {
  12321. HRESULT _hr = raw_OnLoad(Application);
  12322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12323. return _hr;
  12324. }
  12325. #pragma implementation_key(1880)
  12326. inline HRESULT VGCore::IVGAppPlugin::StartSession ( ) {
  12327. HRESULT _hr = raw_StartSession();
  12328. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12329. return _hr;
  12330. }
  12331. #pragma implementation_key(1881)
  12332. inline HRESULT VGCore::IVGAppPlugin::StopSession ( ) {
  12333. HRESULT _hr = raw_StopSession();
  12334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12335. return _hr;
  12336. }
  12337. #pragma implementation_key(1882)
  12338. inline HRESULT VGCore::IVGAppPlugin::OnUnload ( ) {
  12339. HRESULT _hr = raw_OnUnload();
  12340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12341. return _hr;
  12342. }
  12343. //
  12344. // interface IVGPage wrapper method implementations
  12345. //
  12346. #pragma implementation_key(1883)
  12347. inline _bstr_t VGCore::IVGPage::GetName ( ) {
  12348. BSTR _result = 0;
  12349. HRESULT _hr = get_Name(&_result);
  12350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12351. return _bstr_t(_result, false);
  12352. }
  12353. #pragma implementation_key(1884)
  12354. inline void VGCore::IVGPage::PutName ( _bstr_t pVal ) {
  12355. HRESULT _hr = put_Name(pVal);
  12356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12357. }
  12358. #pragma implementation_key(1885)
  12359. inline VGCore::IVGApplicationPtr VGCore::IVGPage::GetApplication ( ) {
  12360. struct IVGApplication * _result = 0;
  12361. HRESULT _hr = get_Application(&_result);
  12362. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12363. return IVGApplicationPtr(_result, false);
  12364. }
  12365. #pragma implementation_key(1886)
  12366. inline VGCore::IVGPagesPtr VGCore::IVGPage::GetParent ( ) {
  12367. struct IVGPages * _result = 0;
  12368. HRESULT _hr = get_Parent(&_result);
  12369. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12370. return IVGPagesPtr(_result, false);
  12371. }
  12372. #pragma implementation_key(1887)
  12373. inline VGCore::IVGLayersPtr VGCore::IVGPage::GetLayers ( ) {
  12374. struct IVGLayers * _result = 0;
  12375. HRESULT _hr = get_Layers(&_result);
  12376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12377. return IVGLayersPtr(_result, false);
  12378. }
  12379. #pragma implementation_key(1888)
  12380. inline VGCore::IVGShapesPtr VGCore::IVGPage::GetShapes ( ) {
  12381. struct IVGShapes * _result = 0;
  12382. HRESULT _hr = get_Shapes(&_result);
  12383. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12384. return IVGShapesPtr(_result, false);
  12385. }
  12386. #pragma implementation_key(1889)
  12387. inline VGCore::IVGLayerPtr VGCore::IVGPage::GetActiveLayer ( ) {
  12388. struct IVGLayer * _result = 0;
  12389. HRESULT _hr = get_ActiveLayer(&_result);
  12390. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12391. return IVGLayerPtr(_result, false);
  12392. }
  12393. #pragma implementation_key(1890)
  12394. inline _bstr_t VGCore::IVGPage::GetPaper ( ) {
  12395. BSTR _result = 0;
  12396. HRESULT _hr = get_Paper(&_result);
  12397. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12398. return _bstr_t(_result, false);
  12399. }
  12400. #pragma implementation_key(1891)
  12401. inline double VGCore::IVGPage::GetSizeWidth ( ) {
  12402. double _result = 0;
  12403. HRESULT _hr = get_SizeWidth(&_result);
  12404. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12405. return _result;
  12406. }
  12407. #pragma implementation_key(1892)
  12408. inline void VGCore::IVGPage::PutSizeWidth ( double pVal ) {
  12409. HRESULT _hr = put_SizeWidth(pVal);
  12410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12411. }
  12412. #pragma implementation_key(1893)
  12413. inline double VGCore::IVGPage::GetSizeHeight ( ) {
  12414. double _result = 0;
  12415. HRESULT _hr = get_SizeHeight(&_result);
  12416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12417. return _result;
  12418. }
  12419. #pragma implementation_key(1894)
  12420. inline void VGCore::IVGPage::PutSizeHeight ( double pVal ) {
  12421. HRESULT _hr = put_SizeHeight(pVal);
  12422. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12423. }
  12424. #pragma implementation_key(1895)
  12425. inline long VGCore::IVGPage::GetResolution ( ) {
  12426. long _result = 0;
  12427. HRESULT _hr = get_Resolution(&_result);
  12428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12429. return _result;
  12430. }
  12431. #pragma implementation_key(1896)
  12432. inline void VGCore::IVGPage::PutResolution ( long pVal ) {
  12433. HRESULT _hr = put_Resolution(pVal);
  12434. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12435. }
  12436. #pragma implementation_key(1897)
  12437. inline double VGCore::IVGPage::GetBleed ( ) {
  12438. double _result = 0;
  12439. HRESULT _hr = get_Bleed(&_result);
  12440. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12441. return _result;
  12442. }
  12443. #pragma implementation_key(1898)
  12444. inline void VGCore::IVGPage::PutBleed ( double pVal ) {
  12445. HRESULT _hr = put_Bleed(pVal);
  12446. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12447. }
  12448. #pragma implementation_key(1899)
  12449. inline enum VGCore::cdrPageOrientation VGCore::IVGPage::GetOrientation ( ) {
  12450. enum cdrPageOrientation _result;
  12451. HRESULT _hr = get_Orientation(&_result);
  12452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12453. return _result;
  12454. }
  12455. #pragma implementation_key(1900)
  12456. inline void VGCore::IVGPage::PutOrientation ( enum cdrPageOrientation pVal ) {
  12457. HRESULT _hr = put_Orientation(pVal);
  12458. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12459. }
  12460. #pragma implementation_key(1901)
  12461. inline long VGCore::IVGPage::GetIndex ( ) {
  12462. long _result = 0;
  12463. HRESULT _hr = get_Index(&_result);
  12464. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12465. return _result;
  12466. }
  12467. #pragma implementation_key(1902)
  12468. inline HRESULT VGCore::IVGPage::Activate ( ) {
  12469. HRESULT _hr = raw_Activate();
  12470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12471. return _hr;
  12472. }
  12473. #pragma implementation_key(1903)
  12474. inline HRESULT VGCore::IVGPage::Delete ( ) {
  12475. HRESULT _hr = raw_Delete();
  12476. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12477. return _hr;
  12478. }
  12479. #pragma implementation_key(1904)
  12480. inline VGCore::IVGLayerPtr VGCore::IVGPage::CreateLayer ( _bstr_t LayerName ) {
  12481. struct IVGLayer * _result = 0;
  12482. HRESULT _hr = raw_CreateLayer(LayerName, &_result);
  12483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12484. return IVGLayerPtr(_result, false);
  12485. }
  12486. #pragma implementation_key(1905)
  12487. inline VGCore::IVGShapePtr VGCore::IVGPage::TextFind ( _bstr_t Text, VARIANT_BOOL CaseSensitive ) {
  12488. struct IVGShape * _result = 0;
  12489. HRESULT _hr = raw_TextFind(Text, CaseSensitive, &_result);
  12490. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12491. return IVGShapePtr(_result, false);
  12492. }
  12493. #pragma implementation_key(1906)
  12494. inline HRESULT VGCore::IVGPage::TextReplace ( _bstr_t OldText, _bstr_t NewText, VARIANT_BOOL CaseSensitive, VARIANT_BOOL ReplaceSelectedOnly ) {
  12495. HRESULT _hr = raw_TextReplace(OldText, NewText, CaseSensitive, ReplaceSelectedOnly);
  12496. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12497. return _hr;
  12498. }
  12499. #pragma implementation_key(1907)
  12500. inline VGCore::IVGShapePtr VGCore::IVGPage::SelectShapesAtPoint ( double x, double y, VARIANT_BOOL SelectUnfilled, double HotArea ) {
  12501. struct IVGShape * _result = 0;
  12502. HRESULT _hr = raw_SelectShapesAtPoint(x, y, SelectUnfilled, HotArea, &_result);
  12503. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12504. return IVGShapePtr(_result, false);
  12505. }
  12506. #pragma implementation_key(1908)
  12507. inline VGCore::IVGShapePtr VGCore::IVGPage::SelectShapesFromRectangle ( double x1, double y1, double x2, double y2, VARIANT_BOOL Touch ) {
  12508. struct IVGShape * _result = 0;
  12509. HRESULT _hr = raw_SelectShapesFromRectangle(x1, y1, x2, y2, Touch, &_result);
  12510. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12511. return IVGShapePtr(_result, false);
  12512. }
  12513. #pragma implementation_key(1909)
  12514. inline enum VGCore::cdrPageBackground VGCore::IVGPage::GetBackground ( ) {
  12515. enum cdrPageBackground _result;
  12516. HRESULT _hr = get_Background(&_result);
  12517. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12518. return _result;
  12519. }
  12520. #pragma implementation_key(1910)
  12521. inline void VGCore::IVGPage::PutBackground ( enum cdrPageBackground pVal ) {
  12522. HRESULT _hr = put_Background(pVal);
  12523. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12524. }
  12525. #pragma implementation_key(1911)
  12526. inline VGCore::IVGColorPtr VGCore::IVGPage::GetColor ( ) {
  12527. struct IVGColor * _result = 0;
  12528. HRESULT _hr = get_Color(&_result);
  12529. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12530. return IVGColorPtr(_result, false);
  12531. }
  12532. #pragma implementation_key(1912)
  12533. inline void VGCore::IVGPage::PutColor ( struct IVGColor * pVal ) {
  12534. HRESULT _hr = put_Color(pVal);
  12535. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12536. }
  12537. #pragma implementation_key(1913)
  12538. inline VARIANT_BOOL VGCore::IVGPage::GetPrintExportBackground ( ) {
  12539. VARIANT_BOOL _result = 0;
  12540. HRESULT _hr = get_PrintExportBackground(&_result);
  12541. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12542. return _result;
  12543. }
  12544. #pragma implementation_key(1914)
  12545. inline void VGCore::IVGPage::PutPrintExportBackground ( VARIANT_BOOL pVal ) {
  12546. HRESULT _hr = put_PrintExportBackground(pVal);
  12547. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12548. }
  12549. #pragma implementation_key(1915)
  12550. inline VGCore::IVGShapeRangePtr VGCore::IVGPage::GetGuides ( enum cdrGuideType Type ) {
  12551. struct IVGShapeRange * _result = 0;
  12552. HRESULT _hr = get_Guides(Type, &_result);
  12553. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12554. return IVGShapeRangePtr(_result, false);
  12555. }
  12556. #pragma implementation_key(1916)
  12557. inline VGCore::IVGShapePtr VGCore::IVGPage::FindShape ( _bstr_t Name, enum cdrShapeType Type, long StaticID, VARIANT_BOOL Recursive ) {
  12558. struct IVGShape * _result = 0;
  12559. HRESULT _hr = raw_FindShape(Name, Type, StaticID, Recursive, &_result);
  12560. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12561. return IVGShapePtr(_result, false);
  12562. }
  12563. #pragma implementation_key(1917)
  12564. inline VGCore::IVGShapeRangePtr VGCore::IVGPage::FindShapes ( _bstr_t Name, enum cdrShapeType Type, VARIANT_BOOL Recursive ) {
  12565. struct IVGShapeRange * _result = 0;
  12566. HRESULT _hr = raw_FindShapes(Name, Type, Recursive, &_result);
  12567. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12568. return IVGShapeRangePtr(_result, false);
  12569. }
  12570. #pragma implementation_key(1918)
  12571. inline HRESULT VGCore::IVGPage::MoveTo ( long Index ) {
  12572. HRESULT _hr = raw_MoveTo(Index);
  12573. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12574. return _hr;
  12575. }
  12576. #pragma implementation_key(1919)
  12577. inline HRESULT VGCore::IVGPage::UnlockAllShapes ( ) {
  12578. HRESULT _hr = raw_UnlockAllShapes();
  12579. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12580. return _hr;
  12581. }
  12582. #pragma implementation_key(1920)
  12583. inline VGCore::IVGPropertiesPtr VGCore::IVGPage::GetProperties ( ) {
  12584. struct IVGProperties * _result = 0;
  12585. HRESULT _hr = get_Properties(&_result);
  12586. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12587. return IVGPropertiesPtr(_result, false);
  12588. }
  12589. #pragma implementation_key(1921)
  12590. inline HRESULT VGCore::IVGPage::GetSize ( double * Width, double * Height ) {
  12591. HRESULT _hr = raw_GetSize(Width, Height);
  12592. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12593. return _hr;
  12594. }
  12595. #pragma implementation_key(1922)
  12596. inline HRESULT VGCore::IVGPage::SetSize ( double Width, double Height ) {
  12597. HRESULT _hr = raw_SetSize(Width, Height);
  12598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12599. return _hr;
  12600. }
  12601. #pragma implementation_key(1923)
  12602. inline double VGCore::IVGPage::GetCenterX ( ) {
  12603. double _result = 0;
  12604. HRESULT _hr = get_CenterX(&_result);
  12605. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12606. return _result;
  12607. }
  12608. #pragma implementation_key(1924)
  12609. inline double VGCore::IVGPage::GetCenterY ( ) {
  12610. double _result = 0;
  12611. HRESULT _hr = get_CenterY(&_result);
  12612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12613. return _result;
  12614. }
  12615. #pragma implementation_key(1925)
  12616. inline _variant_t VGCore::IVGPage::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
  12617. VARIANT _result;
  12618. VariantInit(&_result);
  12619. HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
  12620. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12621. return _variant_t(_result, false);
  12622. }
  12623. #pragma implementation_key(1926)
  12624. inline VGCore::IVGPagePtr VGCore::IVGPage::GetPrevious ( ) {
  12625. struct IVGPage * _result = 0;
  12626. HRESULT _hr = get_Previous(&_result);
  12627. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12628. return IVGPagePtr(_result, false);
  12629. }
  12630. #pragma implementation_key(1927)
  12631. inline VGCore::IVGPagePtr VGCore::IVGPage::GetNext ( ) {
  12632. struct IVGPage * _result = 0;
  12633. HRESULT _hr = get_Next(&_result);
  12634. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12635. return IVGPagePtr(_result, false);
  12636. }
  12637. #pragma implementation_key(1928)
  12638. inline VGCore::IVGShapesPtr VGCore::IVGPage::GetSelectableShapes ( ) {
  12639. struct IVGShapes * _result = 0;
  12640. HRESULT _hr = get_SelectableShapes(&_result);
  12641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12642. return IVGShapesPtr(_result, false);
  12643. }
  12644. #pragma implementation_key(1929)
  12645. inline VGCore::IVGTreeNodePtr VGCore::IVGPage::GetTreeNode ( ) {
  12646. struct IVGTreeNode * _result = 0;
  12647. HRESULT _hr = get_TreeNode(&_result);
  12648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12649. return IVGTreeNodePtr(_result, false);
  12650. }
  12651. #pragma implementation_key(1930)
  12652. inline HRESULT VGCore::IVGPage::GetCenterPosition ( double * CenterX, double * CenterY ) {
  12653. HRESULT _hr = raw_GetCenterPosition(CenterX, CenterY);
  12654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12655. return _hr;
  12656. }
  12657. #pragma implementation_key(1931)
  12658. inline HRESULT VGCore::IVGPage::SelectSize ( _bstr_t PageSizeName, VARIANT_BOOL Landscape ) {
  12659. HRESULT _hr = raw_SelectSize(PageSizeName, Landscape);
  12660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12661. return _hr;
  12662. }
  12663. #pragma implementation_key(1932)
  12664. inline VGCore::IVGLayerPtr VGCore::IVGPage::GetGuidesLayer ( ) {
  12665. struct IVGLayer * _result = 0;
  12666. HRESULT _hr = get_GuidesLayer(&_result);
  12667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12668. return IVGLayerPtr(_result, false);
  12669. }
  12670. #pragma implementation_key(1933)
  12671. inline VGCore::IVGLayerPtr VGCore::IVGPage::GetDesktopLayer ( ) {
  12672. struct IVGLayer * _result = 0;
  12673. HRESULT _hr = get_DesktopLayer(&_result);
  12674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12675. return IVGLayerPtr(_result, false);
  12676. }
  12677. #pragma implementation_key(1934)
  12678. inline VGCore::IVGLayerPtr VGCore::IVGPage::GetGridLayer ( ) {
  12679. struct IVGLayer * _result = 0;
  12680. HRESULT _hr = get_GridLayer(&_result);
  12681. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12682. return IVGLayerPtr(_result, false);
  12683. }
  12684. #pragma implementation_key(1935)
  12685. inline HRESULT VGCore::IVGPage::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
  12686. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height);
  12687. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12688. return _hr;
  12689. }
  12690. #pragma implementation_key(1936)
  12691. inline double VGCore::IVGPage::GetLeftX ( ) {
  12692. double _result = 0;
  12693. HRESULT _hr = get_LeftX(&_result);
  12694. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12695. return _result;
  12696. }
  12697. #pragma implementation_key(1937)
  12698. inline double VGCore::IVGPage::GetRightX ( ) {
  12699. double _result = 0;
  12700. HRESULT _hr = get_RightX(&_result);
  12701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12702. return _result;
  12703. }
  12704. #pragma implementation_key(1938)
  12705. inline double VGCore::IVGPage::GetBottomY ( ) {
  12706. double _result = 0;
  12707. HRESULT _hr = get_BottomY(&_result);
  12708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12709. return _result;
  12710. }
  12711. #pragma implementation_key(1939)
  12712. inline double VGCore::IVGPage::GetTopY ( ) {
  12713. double _result = 0;
  12714. HRESULT _hr = get_TopY(&_result);
  12715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12716. return _result;
  12717. }
  12718. #pragma implementation_key(1940)
  12719. inline VGCore::IVGLayersPtr VGCore::IVGPage::GetAllLayers ( ) {
  12720. struct IVGLayers * _result = 0;
  12721. HRESULT _hr = get_AllLayers(&_result);
  12722. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12723. return IVGLayersPtr(_result, false);
  12724. }
  12725. #pragma implementation_key(1941)
  12726. inline VGCore::IVGRectPtr VGCore::IVGPage::GetBoundingBox ( ) {
  12727. struct IVGRect * _result = 0;
  12728. HRESULT _hr = get_BoundingBox(&_result);
  12729. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12730. return IVGRectPtr(_result, false);
  12731. }
  12732. #pragma implementation_key(1942)
  12733. inline VGCore::IVGSpreadPtr VGCore::IVGPage::GetSpread ( ) {
  12734. struct IVGSpread * _result = 0;
  12735. HRESULT _hr = get_Spread(&_result);
  12736. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12737. return IVGSpreadPtr(_result, false);
  12738. }
  12739. #pragma implementation_key(1943)
  12740. inline VGCore::IVGSnapPointPtr VGCore::IVGPage::FindClosestSnapPoint ( enum cdrPointType TypeSet, double PositionX, double PositionY, double HotArea ) {
  12741. struct IVGSnapPoint * _result = 0;
  12742. HRESULT _hr = raw_FindClosestSnapPoint(TypeSet, PositionX, PositionY, HotArea, &_result);
  12743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12744. return IVGSnapPointPtr(_result, false);
  12745. }
  12746. #pragma implementation_key(1944)
  12747. inline VGCore::IVGRectPtr VGCore::IVGPage::GetObjectsBoundingBox ( VARIANT_BOOL SelectedOnly, VARIANT_BOOL IncludeNonPrintable ) {
  12748. struct IVGRect * _result = 0;
  12749. HRESULT _hr = raw_GetObjectsBoundingBox(SelectedOnly, IncludeNonPrintable, &_result);
  12750. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12751. return IVGRectPtr(_result, false);
  12752. }
  12753. #pragma implementation_key(1945)
  12754. inline VGCore::IVGShapePtr VGCore::IVGPage::FindShapeAtPoint ( double x, double y, VARIANT_BOOL TreatAsFilled ) {
  12755. struct IVGShape * _result = 0;
  12756. HRESULT _hr = raw_FindShapeAtPoint(x, y, TreatAsFilled, &_result);
  12757. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12758. return IVGShapePtr(_result, false);
  12759. }
  12760. #pragma implementation_key(1946)
  12761. inline VGCore::IVGPageMarkupPtr VGCore::IVGPage::GetMarkup ( ) {
  12762. struct IVGPageMarkup * _result = 0;
  12763. HRESULT _hr = get_Markup(&_result);
  12764. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12765. return IVGPageMarkupPtr(_result, false);
  12766. }
  12767. //
  12768. // interface IVGPages wrapper method implementations
  12769. //
  12770. #pragma implementation_key(1947)
  12771. inline VGCore::IVGApplicationPtr VGCore::IVGPages::GetApplication ( ) {
  12772. struct IVGApplication * _result = 0;
  12773. HRESULT _hr = get_Application(&_result);
  12774. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12775. return IVGApplicationPtr(_result, false);
  12776. }
  12777. #pragma implementation_key(1948)
  12778. inline VGCore::IVGDocumentPtr VGCore::IVGPages::GetParent ( ) {
  12779. struct IVGDocument * _result = 0;
  12780. HRESULT _hr = get_Parent(&_result);
  12781. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12782. return IVGDocumentPtr(_result, false);
  12783. }
  12784. #pragma implementation_key(1949)
  12785. inline VGCore::IVGPagePtr VGCore::IVGPages::GetItem ( long Index ) {
  12786. struct IVGPage * _result = 0;
  12787. HRESULT _hr = get_Item(Index, &_result);
  12788. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12789. return IVGPagePtr(_result, false);
  12790. }
  12791. #pragma implementation_key(1950)
  12792. inline IUnknownPtr VGCore::IVGPages::Get_NewEnum ( ) {
  12793. IUnknown * _result = 0;
  12794. HRESULT _hr = get__NewEnum(&_result);
  12795. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12796. return IUnknownPtr(_result, false);
  12797. }
  12798. #pragma implementation_key(1951)
  12799. inline long VGCore::IVGPages::GetCount ( ) {
  12800. long _result = 0;
  12801. HRESULT _hr = get_Count(&_result);
  12802. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12803. return _result;
  12804. }
  12805. #pragma implementation_key(1952)
  12806. inline VGCore::IVGPagePtr VGCore::IVGPages::GetFirst ( ) {
  12807. struct IVGPage * _result = 0;
  12808. HRESULT _hr = get_First(&_result);
  12809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12810. return IVGPagePtr(_result, false);
  12811. }
  12812. #pragma implementation_key(1953)
  12813. inline VGCore::IVGPagePtr VGCore::IVGPages::GetLast ( ) {
  12814. struct IVGPage * _result = 0;
  12815. HRESULT _hr = get_Last(&_result);
  12816. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12817. return IVGPagePtr(_result, false);
  12818. }
  12819. //
  12820. // interface IVGLayers wrapper method implementations
  12821. //
  12822. #pragma implementation_key(1954)
  12823. inline VGCore::IVGApplicationPtr VGCore::IVGLayers::GetApplication ( ) {
  12824. struct IVGApplication * _result = 0;
  12825. HRESULT _hr = get_Application(&_result);
  12826. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12827. return IVGApplicationPtr(_result, false);
  12828. }
  12829. #pragma implementation_key(1955)
  12830. inline VGCore::IVGPagePtr VGCore::IVGLayers::GetParent ( ) {
  12831. struct IVGPage * _result = 0;
  12832. HRESULT _hr = get_Parent(&_result);
  12833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12834. return IVGPagePtr(_result, false);
  12835. }
  12836. #pragma implementation_key(1956)
  12837. inline VGCore::IVGLayerPtr VGCore::IVGLayers::GetItem ( const _variant_t & IndexOrName ) {
  12838. struct IVGLayer * _result = 0;
  12839. HRESULT _hr = get_Item(IndexOrName, &_result);
  12840. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12841. return IVGLayerPtr(_result, false);
  12842. }
  12843. #pragma implementation_key(1957)
  12844. inline IUnknownPtr VGCore::IVGLayers::Get_NewEnum ( ) {
  12845. IUnknown * _result = 0;
  12846. HRESULT _hr = get__NewEnum(&_result);
  12847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12848. return IUnknownPtr(_result, false);
  12849. }
  12850. #pragma implementation_key(1958)
  12851. inline long VGCore::IVGLayers::GetCount ( ) {
  12852. long _result = 0;
  12853. HRESULT _hr = get_Count(&_result);
  12854. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12855. return _result;
  12856. }
  12857. #pragma implementation_key(1959)
  12858. inline VGCore::IVGLayerPtr VGCore::IVGLayers::Find ( _bstr_t LayerName ) {
  12859. struct IVGLayer * _result = 0;
  12860. HRESULT _hr = raw_Find(LayerName, &_result);
  12861. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12862. return IVGLayerPtr(_result, false);
  12863. }
  12864. #pragma implementation_key(1960)
  12865. inline VGCore::IVGLayerPtr VGCore::IVGLayers::GetTop ( ) {
  12866. struct IVGLayer * _result = 0;
  12867. HRESULT _hr = get_Top(&_result);
  12868. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12869. return IVGLayerPtr(_result, false);
  12870. }
  12871. #pragma implementation_key(1961)
  12872. inline VGCore::IVGLayerPtr VGCore::IVGLayers::GetBottom ( ) {
  12873. struct IVGLayer * _result = 0;
  12874. HRESULT _hr = get_Bottom(&_result);
  12875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12876. return IVGLayerPtr(_result, false);
  12877. }
  12878. //
  12879. // interface IVGLayer wrapper method implementations
  12880. //
  12881. #pragma implementation_key(1962)
  12882. inline VGCore::IVGApplicationPtr VGCore::IVGLayer::GetApplication ( ) {
  12883. struct IVGApplication * _result = 0;
  12884. HRESULT _hr = get_Application(&_result);
  12885. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12886. return IVGApplicationPtr(_result, false);
  12887. }
  12888. #pragma implementation_key(1963)
  12889. inline VGCore::IVGLayersPtr VGCore::IVGLayer::GetParent ( ) {
  12890. struct IVGLayers * _result = 0;
  12891. HRESULT _hr = get_Parent(&_result);
  12892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12893. return IVGLayersPtr(_result, false);
  12894. }
  12895. #pragma implementation_key(1964)
  12896. inline _bstr_t VGCore::IVGLayer::GetName ( ) {
  12897. BSTR _result = 0;
  12898. HRESULT _hr = get_Name(&_result);
  12899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12900. return _bstr_t(_result, false);
  12901. }
  12902. #pragma implementation_key(1965)
  12903. inline void VGCore::IVGLayer::PutName ( _bstr_t pVal ) {
  12904. HRESULT _hr = put_Name(pVal);
  12905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12906. }
  12907. #pragma implementation_key(1966)
  12908. inline VGCore::IVGShapesPtr VGCore::IVGLayer::GetShapes ( ) {
  12909. struct IVGShapes * _result = 0;
  12910. HRESULT _hr = get_Shapes(&_result);
  12911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12912. return IVGShapesPtr(_result, false);
  12913. }
  12914. #pragma implementation_key(1967)
  12915. inline HRESULT VGCore::IVGLayer::Activate ( ) {
  12916. HRESULT _hr = raw_Activate();
  12917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12918. return _hr;
  12919. }
  12920. #pragma implementation_key(1968)
  12921. inline VARIANT_BOOL VGCore::IVGLayer::GetVisible ( ) {
  12922. VARIANT_BOOL _result = 0;
  12923. HRESULT _hr = get_Visible(&_result);
  12924. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12925. return _result;
  12926. }
  12927. #pragma implementation_key(1969)
  12928. inline void VGCore::IVGLayer::PutVisible ( VARIANT_BOOL pVal ) {
  12929. HRESULT _hr = put_Visible(pVal);
  12930. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12931. }
  12932. #pragma implementation_key(1970)
  12933. inline VARIANT_BOOL VGCore::IVGLayer::GetPrintable ( ) {
  12934. VARIANT_BOOL _result = 0;
  12935. HRESULT _hr = get_Printable(&_result);
  12936. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12937. return _result;
  12938. }
  12939. #pragma implementation_key(1971)
  12940. inline void VGCore::IVGLayer::PutPrintable ( VARIANT_BOOL pVal ) {
  12941. HRESULT _hr = put_Printable(pVal);
  12942. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12943. }
  12944. #pragma implementation_key(1972)
  12945. inline VARIANT_BOOL VGCore::IVGLayer::GetEditable ( ) {
  12946. VARIANT_BOOL _result = 0;
  12947. HRESULT _hr = get_Editable(&_result);
  12948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12949. return _result;
  12950. }
  12951. #pragma implementation_key(1973)
  12952. inline void VGCore::IVGLayer::PutEditable ( VARIANT_BOOL pVal ) {
  12953. HRESULT _hr = put_Editable(pVal);
  12954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12955. }
  12956. #pragma implementation_key(1974)
  12957. inline VARIANT_BOOL VGCore::IVGLayer::GetMaster ( ) {
  12958. VARIANT_BOOL _result = 0;
  12959. HRESULT _hr = get_Master(&_result);
  12960. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12961. return _result;
  12962. }
  12963. #pragma implementation_key(1975)
  12964. inline void VGCore::IVGLayer::PutMaster ( VARIANT_BOOL pVal ) {
  12965. HRESULT _hr = put_Master(pVal);
  12966. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12967. }
  12968. #pragma implementation_key(1976)
  12969. inline VARIANT_BOOL VGCore::IVGLayer::GetOverrideColor ( ) {
  12970. VARIANT_BOOL _result = 0;
  12971. HRESULT _hr = get_OverrideColor(&_result);
  12972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12973. return _result;
  12974. }
  12975. #pragma implementation_key(1977)
  12976. inline void VGCore::IVGLayer::PutOverrideColor ( VARIANT_BOOL pVal ) {
  12977. HRESULT _hr = put_OverrideColor(pVal);
  12978. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12979. }
  12980. #pragma implementation_key(1978)
  12981. inline VGCore::IVGColorPtr VGCore::IVGLayer::GetColor ( ) {
  12982. struct IVGColor * _result = 0;
  12983. HRESULT _hr = get_Color(&_result);
  12984. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12985. return IVGColorPtr(_result, false);
  12986. }
  12987. #pragma implementation_key(1979)
  12988. inline void VGCore::IVGLayer::PutColor ( struct IVGColor * pVal ) {
  12989. HRESULT _hr = put_Color(pVal);
  12990. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12991. }
  12992. #pragma implementation_key(1980)
  12993. inline HRESULT VGCore::IVGLayer::Delete ( ) {
  12994. HRESULT _hr = raw_Delete();
  12995. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  12996. return _hr;
  12997. }
  12998. #pragma implementation_key(1981)
  12999. inline HRESULT VGCore::IVGLayer::MoveAbove ( struct IVGLayer * Layer ) {
  13000. HRESULT _hr = raw_MoveAbove(Layer);
  13001. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13002. return _hr;
  13003. }
  13004. #pragma implementation_key(1982)
  13005. inline HRESULT VGCore::IVGLayer::MoveBelow ( struct IVGLayer * Layer ) {
  13006. HRESULT _hr = raw_MoveBelow(Layer);
  13007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13008. return _hr;
  13009. }
  13010. #pragma implementation_key(1983)
  13011. inline HRESULT VGCore::IVGLayer::Import ( _bstr_t FileName, enum cdrFilter Filter, struct IVGStructImportOptions * Options ) {
  13012. HRESULT _hr = raw_Import(FileName, Filter, Options);
  13013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13014. return _hr;
  13015. }
  13016. #pragma implementation_key(1984)
  13017. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRectangle ( double Left, double Top, double Right, double Bottom, long CornerUL, long CornerUR, long CornerLR, long CornerLL ) {
  13018. struct IVGShape * _result = 0;
  13019. HRESULT _hr = raw_CreateRectangle(Left, Top, Right, Bottom, CornerUL, CornerUR, CornerLR, CornerLL, &_result);
  13020. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13021. return IVGShapePtr(_result, false);
  13022. }
  13023. #pragma implementation_key(1985)
  13024. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateEllipse ( double Left, double Top, double Right, double Bottom, double StartAngle, double EndAngle, VARIANT_BOOL Pie ) {
  13025. struct IVGShape * _result = 0;
  13026. HRESULT _hr = raw_CreateEllipse(Left, Top, Right, Bottom, StartAngle, EndAngle, Pie, &_result);
  13027. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13028. return IVGShapePtr(_result, false);
  13029. }
  13030. #pragma implementation_key(1986)
  13031. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreatePolygon ( double Left, double Top, double Right, double Bottom, long Sides, long SubPaths, long Complexity, VARIANT_BOOL Star, long StarComplexity, long MaxComplexity ) {
  13032. struct IVGShape * _result = 0;
  13033. HRESULT _hr = raw_CreatePolygon(Left, Top, Right, Bottom, Sides, SubPaths, Complexity, Star, StarComplexity, MaxComplexity, &_result);
  13034. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13035. return IVGShapePtr(_result, false);
  13036. }
  13037. #pragma implementation_key(1987)
  13038. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateGridBoxes ( double Left, double Top, double Right, double Bottom, long Wide, long High ) {
  13039. struct IVGShape * _result = 0;
  13040. HRESULT _hr = raw_CreateGridBoxes(Left, Top, Right, Bottom, Wide, High, &_result);
  13041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13042. return IVGShapePtr(_result, false);
  13043. }
  13044. #pragma implementation_key(1988)
  13045. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateSpiral ( double Left, double Top, double Right, double Bottom, long NumRevolutions, enum cdrSpiralType SpiralType, long GrowthRate ) {
  13046. struct IVGShape * _result = 0;
  13047. HRESULT _hr = raw_CreateSpiral(Left, Top, Right, Bottom, NumRevolutions, SpiralType, GrowthRate, &_result);
  13048. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13049. return IVGShapePtr(_result, false);
  13050. }
  13051. #pragma implementation_key(1989)
  13052. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateArtisticText ( double Left, double Bottom, _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font, float Size, enum cdrTriState Bold, enum cdrTriState Italic, enum cdrFontLine Underline, enum cdrAlignment Alignment ) {
  13053. struct IVGShape * _result = 0;
  13054. HRESULT _hr = raw_CreateArtisticText(Left, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
  13055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13056. return IVGShapePtr(_result, false);
  13057. }
  13058. #pragma implementation_key(1990)
  13059. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateParagraphText ( double Left, double Top, double Right, double Bottom, _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font, float Size, enum cdrTriState Bold, enum cdrTriState Italic, enum cdrFontLine Underline, enum cdrAlignment Alignment ) {
  13060. struct IVGShape * _result = 0;
  13061. HRESULT _hr = raw_CreateParagraphText(Left, Top, Right, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
  13062. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13063. return IVGShapePtr(_result, false);
  13064. }
  13065. #pragma implementation_key(1991)
  13066. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCurveSegment ( double StartX, double StartY, double EndX, double EndY, double StartingControlPointLength, double StartingControlPointAngle, double EndingControlPointLength, double EndingControlPointAngle ) {
  13067. struct IVGShape * _result = 0;
  13068. HRESULT _hr = raw_CreateCurveSegment(StartX, StartY, EndX, EndY, StartingControlPointLength, StartingControlPointAngle, EndingControlPointLength, EndingControlPointAngle, &_result);
  13069. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13070. return IVGShapePtr(_result, false);
  13071. }
  13072. #pragma implementation_key(1992)
  13073. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateLineSegment ( double StartX, double StartY, double EndX, double EndY ) {
  13074. struct IVGShape * _result = 0;
  13075. HRESULT _hr = raw_CreateLineSegment(StartX, StartY, EndX, EndY, &_result);
  13076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13077. return IVGShapePtr(_result, false);
  13078. }
  13079. #pragma implementation_key(1993)
  13080. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateConnector ( struct IVGSnapPoint * Start, struct IVGSnapPoint * End ) {
  13081. struct IVGShape * _result = 0;
  13082. HRESULT _hr = raw_CreateConnector(Start, End, &_result);
  13083. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13084. return IVGShapePtr(_result, false);
  13085. }
  13086. #pragma implementation_key(1994)
  13087. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCurve ( struct IVGCurve * Source ) {
  13088. struct IVGShape * _result = 0;
  13089. HRESULT _hr = raw_CreateCurve(Source, &_result);
  13090. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13091. return IVGShapePtr(_result, false);
  13092. }
  13093. #pragma implementation_key(1995)
  13094. inline VGCore::IVGShapePtr VGCore::IVGLayer::Paste ( ) {
  13095. struct IVGShape * _result = 0;
  13096. HRESULT _hr = raw_Paste(&_result);
  13097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13098. return IVGShapePtr(_result, false);
  13099. }
  13100. #pragma implementation_key(1996)
  13101. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateGuideAngle ( double x, double y, double Angle ) {
  13102. struct IVGShape * _result = 0;
  13103. HRESULT _hr = raw_CreateGuideAngle(x, y, Angle, &_result);
  13104. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13105. return IVGShapePtr(_result, false);
  13106. }
  13107. #pragma implementation_key(1997)
  13108. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateGuide ( double x1, double y1, double x2, double y2 ) {
  13109. struct IVGShape * _result = 0;
  13110. HRESULT _hr = raw_CreateGuide(x1, y1, x2, y2, &_result);
  13111. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13112. return IVGShapePtr(_result, false);
  13113. }
  13114. #pragma implementation_key(1998)
  13115. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateEllipse2 ( double CenterX, double CenterY, double Radius1, double Radius2, double StartAngle, double EndAngle, VARIANT_BOOL Pie ) {
  13116. struct IVGShape * _result = 0;
  13117. HRESULT _hr = raw_CreateEllipse2(CenterX, CenterY, Radius1, Radius2, StartAngle, EndAngle, Pie, &_result);
  13118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13119. return IVGShapePtr(_result, false);
  13120. }
  13121. #pragma implementation_key(1999)
  13122. inline VGCore::IVGShapePtr VGCore::IVGLayer::FindShape ( _bstr_t Name, enum cdrShapeType Type, long StaticID, VARIANT_BOOL Recursive ) {
  13123. struct IVGShape * _result = 0;
  13124. HRESULT _hr = raw_FindShape(Name, Type, StaticID, Recursive, &_result);
  13125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13126. return IVGShapePtr(_result, false);
  13127. }
  13128. #pragma implementation_key(2000)
  13129. inline VGCore::IVGShapeRangePtr VGCore::IVGLayer::FindShapes ( _bstr_t Name, enum cdrShapeType Type, VARIANT_BOOL Recursive ) {
  13130. struct IVGShapeRange * _result = 0;
  13131. HRESULT _hr = raw_FindShapes(Name, Type, Recursive, &_result);
  13132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13133. return IVGShapeRangePtr(_result, false);
  13134. }
  13135. #pragma implementation_key(2001)
  13136. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRectangle2 ( double x, double y, double Width, double Height, double RadiusUL, double RadiusUR, double RadiusLR, double RadiusLL ) {
  13137. struct IVGShape * _result = 0;
  13138. HRESULT _hr = raw_CreateRectangle2(x, y, Width, Height, RadiusUL, RadiusUR, RadiusLR, RadiusLL, &_result);
  13139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13140. return IVGShapePtr(_result, false);
  13141. }
  13142. #pragma implementation_key(2002)
  13143. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateFreeConnector ( double x1, double y1, double x2, double y2 ) {
  13144. struct IVGShape * _result = 0;
  13145. HRESULT _hr = raw_CreateFreeConnector(x1, y1, x2, y2, &_result);
  13146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13147. return IVGShapePtr(_result, false);
  13148. }
  13149. #pragma implementation_key(2003)
  13150. inline VGCore::IVGPropertiesPtr VGCore::IVGLayer::GetProperties ( ) {
  13151. struct IVGProperties * _result = 0;
  13152. HRESULT _hr = get_Properties(&_result);
  13153. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13154. return IVGPropertiesPtr(_result, false);
  13155. }
  13156. #pragma implementation_key(2004)
  13157. inline VGCore::IVGPropertiesPtr VGCore::IVGLayer::GetMasterProperties ( ) {
  13158. struct IVGProperties * _result = 0;
  13159. HRESULT _hr = get_MasterProperties(&_result);
  13160. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13161. return IVGPropertiesPtr(_result, false);
  13162. }
  13163. #pragma implementation_key(2005)
  13164. inline long VGCore::IVGLayer::GetIndex ( ) {
  13165. long _result = 0;
  13166. HRESULT _hr = get_Index(&_result);
  13167. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13168. return _result;
  13169. }
  13170. #pragma implementation_key(2006)
  13171. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCurveSegment2 ( double x1, double y1, double StartingControlPointX, double StartingControlPointY, double EndingControlPointX, double EndingControlPointY, double x2, double y2 ) {
  13172. struct IVGShape * _result = 0;
  13173. HRESULT _hr = raw_CreateCurveSegment2(x1, y1, StartingControlPointX, StartingControlPointY, EndingControlPointX, EndingControlPointY, x2, y2, &_result);
  13174. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13175. return IVGShapePtr(_result, false);
  13176. }
  13177. #pragma implementation_key(2007)
  13178. inline VGCore::ICorelImportFilterPtr VGCore::IVGLayer::ImportEx ( _bstr_t FileName, enum cdrFilter Filter, struct IVGStructImportOptions * Options ) {
  13179. struct ICorelImportFilter * _result = 0;
  13180. HRESULT _hr = raw_ImportEx(FileName, Filter, Options, &_result);
  13181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13182. return ICorelImportFilterPtr(_result, false);
  13183. }
  13184. #pragma implementation_key(2008)
  13185. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateArtisticTextWide ( double Left, double Bottom, _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font, float Size, enum cdrTriState Bold, enum cdrTriState Italic, enum cdrFontLine Underline, enum cdrAlignment Alignment ) {
  13186. struct IVGShape * _result = 0;
  13187. HRESULT _hr = raw_CreateArtisticTextWide(Left, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
  13188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13189. return IVGShapePtr(_result, false);
  13190. }
  13191. #pragma implementation_key(2009)
  13192. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateParagraphTextWide ( double Left, double Top, double Right, double Bottom, _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font, float Size, enum cdrTriState Bold, enum cdrTriState Italic, enum cdrFontLine Underline, enum cdrAlignment Alignment ) {
  13193. struct IVGShape * _result = 0;
  13194. HRESULT _hr = raw_CreateParagraphTextWide(Left, Top, Right, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
  13195. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13196. return IVGShapePtr(_result, false);
  13197. }
  13198. #pragma implementation_key(2010)
  13199. inline _variant_t VGCore::IVGLayer::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
  13200. VARIANT _result;
  13201. VariantInit(&_result);
  13202. HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
  13203. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13204. return _variant_t(_result, false);
  13205. }
  13206. #pragma implementation_key(2011)
  13207. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCustomShape ( _bstr_t TypeID, SAFEARRAY * * Parameters ) {
  13208. struct IVGShape * _result = 0;
  13209. HRESULT _hr = raw_CreateCustomShape(TypeID, Parameters, &_result);
  13210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13211. return IVGShapePtr(_result, false);
  13212. }
  13213. #pragma implementation_key(2012)
  13214. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateLinearDimension ( enum cdrLinearDimensionType Type, struct IVGSnapPoint * Point1, struct IVGSnapPoint * Point2, VARIANT_BOOL TextCentered, double TextX, double TextY, enum cdrDimensionStyle Style, long Precision, VARIANT_BOOL ShowUnits, enum cdrDimensionLinearUnits Units, enum cdrDimensionPlacement Placement, VARIANT_BOOL HorizontalText, VARIANT_BOOL BoxedText, VARIANT_BOOL LeadingZero, _bstr_t Prefix, _bstr_t Suffix, double OutlineWidth, struct IVGArrowHead * Arrows, struct IVGColor * OutlineColor, _bstr_t TextFont, double TextSize, struct IVGColor * TextColor ) {
  13215. struct IVGShape * _result = 0;
  13216. HRESULT _hr = raw_CreateLinearDimension(Type, Point1, Point2, TextCentered, TextX, TextY, Style, Precision, ShowUnits, Units, Placement, HorizontalText, BoxedText, LeadingZero, Prefix, Suffix, OutlineWidth, Arrows, OutlineColor, TextFont, TextSize, TextColor, &_result);
  13217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13218. return IVGShapePtr(_result, false);
  13219. }
  13220. #pragma implementation_key(2013)
  13221. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateAngularDimension ( struct IVGSnapPoint * Center, struct IVGSnapPoint * Point1, struct IVGSnapPoint * Point2, double TextX, double TextY, long Precision, VARIANT_BOOL ShowUnits, enum cdrDimensionAngularUnits Units, VARIANT_BOOL BoxedText, VARIANT_BOOL LeadingZero, _bstr_t Prefix, _bstr_t Suffix, double OutlineWidth, struct IVGArrowHead * Arrows, struct IVGColor * OutlineColor, _bstr_t TextFont, double TextSize, struct IVGColor * TextColor ) {
  13222. struct IVGShape * _result = 0;
  13223. HRESULT _hr = raw_CreateAngularDimension(Center, Point1, Point2, TextX, TextY, Precision, ShowUnits, Units, BoxedText, LeadingZero, Prefix, Suffix, OutlineWidth, Arrows, OutlineColor, TextFont, TextSize, TextColor, &_result);
  13224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13225. return IVGShapePtr(_result, false);
  13226. }
  13227. #pragma implementation_key(2014)
  13228. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateSymbol ( double x, double y, _bstr_t SymbolName, struct IVGSymbolLibrary * Library ) {
  13229. struct IVGShape * _result = 0;
  13230. HRESULT _hr = raw_CreateSymbol(x, y, SymbolName, Library, &_result);
  13231. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13232. return IVGShapePtr(_result, false);
  13233. }
  13234. #pragma implementation_key(2015)
  13235. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreatePolygon2 ( double CenterX, double CenterY, double Radius, long Sides, double Angle, double InnerRadius, VARIANT_BOOL Star, long Sharpness ) {
  13236. struct IVGShape * _result = 0;
  13237. HRESULT _hr = raw_CreatePolygon2(CenterX, CenterY, Radius, Sides, Angle, InnerRadius, Star, Sharpness, &_result);
  13238. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13239. return IVGShapePtr(_result, false);
  13240. }
  13241. #pragma implementation_key(2016)
  13242. inline VARIANT_BOOL VGCore::IVGLayer::PasteSpecial ( _bstr_t FormatName, VARIANT_BOOL PasteLink, VARIANT_BOOL DisplayAsIcon, _bstr_t Caption, const _variant_t & Icon ) {
  13243. VARIANT_BOOL _result = 0;
  13244. HRESULT _hr = raw_PasteSpecial(FormatName, PasteLink, DisplayAsIcon, Caption, Icon, &_result);
  13245. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13246. return _result;
  13247. }
  13248. #pragma implementation_key(2017)
  13249. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateOLEObject ( _bstr_t ObjectID, VARIANT_BOOL DisplayAsIcon, _bstr_t Caption, const _variant_t & Icon ) {
  13250. struct IVGShape * _result = 0;
  13251. HRESULT _hr = raw_CreateOLEObject(ObjectID, DisplayAsIcon, Caption, Icon, &_result);
  13252. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13253. return IVGShapePtr(_result, false);
  13254. }
  13255. #pragma implementation_key(2018)
  13256. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateOLEObjectFromFile ( _bstr_t FileName, VARIANT_BOOL Link, VARIANT_BOOL DisplayAsIcon, _bstr_t Caption, const _variant_t & Icon ) {
  13257. struct IVGShape * _result = 0;
  13258. HRESULT _hr = raw_CreateOLEObjectFromFile(FileName, Link, DisplayAsIcon, Caption, Icon, &_result);
  13259. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13260. return IVGShapePtr(_result, false);
  13261. }
  13262. #pragma implementation_key(2019)
  13263. inline VGCore::IVGShapesPtr VGCore::IVGLayer::GetSelectableShapes ( ) {
  13264. struct IVGShapes * _result = 0;
  13265. HRESULT _hr = get_SelectableShapes(&_result);
  13266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13267. return IVGShapesPtr(_result, false);
  13268. }
  13269. #pragma implementation_key(2020)
  13270. inline VGCore::IVGTreeNodePtr VGCore::IVGLayer::GetTreeNode ( ) {
  13271. struct IVGTreeNode * _result = 0;
  13272. HRESULT _hr = get_TreeNode(&_result);
  13273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13274. return IVGTreeNodePtr(_result, false);
  13275. }
  13276. #pragma implementation_key(2021)
  13277. inline VARIANT_BOOL VGCore::IVGLayer::GetIsGuidesLayer ( ) {
  13278. VARIANT_BOOL _result = 0;
  13279. HRESULT _hr = get_IsGuidesLayer(&_result);
  13280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13281. return _result;
  13282. }
  13283. #pragma implementation_key(2022)
  13284. inline VARIANT_BOOL VGCore::IVGLayer::GetIsDesktopLayer ( ) {
  13285. VARIANT_BOOL _result = 0;
  13286. HRESULT _hr = get_IsDesktopLayer(&_result);
  13287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13288. return _result;
  13289. }
  13290. #pragma implementation_key(2023)
  13291. inline VARIANT_BOOL VGCore::IVGLayer::GetIsGridLayer ( ) {
  13292. VARIANT_BOOL _result = 0;
  13293. HRESULT _hr = get_IsGridLayer(&_result);
  13294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13295. return _result;
  13296. }
  13297. #pragma implementation_key(2024)
  13298. inline VARIANT_BOOL VGCore::IVGLayer::GetIsSpecialLayer ( ) {
  13299. VARIANT_BOOL _result = 0;
  13300. HRESULT _hr = get_IsSpecialLayer(&_result);
  13301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13302. return _result;
  13303. }
  13304. #pragma implementation_key(2025)
  13305. inline VGCore::IVGLayerPtr VGCore::IVGLayer::GetMasterLayer ( ) {
  13306. struct IVGLayer * _result = 0;
  13307. HRESULT _hr = get_MasterLayer(&_result);
  13308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13309. return IVGLayerPtr(_result, false);
  13310. }
  13311. #pragma implementation_key(2026)
  13312. inline long VGCore::IVGLayer::GetAbsoluteIndex ( ) {
  13313. long _result = 0;
  13314. HRESULT _hr = get_AbsoluteIndex(&_result);
  13315. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13316. return _result;
  13317. }
  13318. #pragma implementation_key(2027)
  13319. inline VGCore::IVGPagePtr VGCore::IVGLayer::GetPage ( ) {
  13320. struct IVGPage * _result = 0;
  13321. HRESULT _hr = get_Page(&_result);
  13322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13323. return IVGPagePtr(_result, false);
  13324. }
  13325. #pragma implementation_key(2028)
  13326. inline VGCore::IVGLayerPtr VGCore::IVGLayer::GetAbove ( VARIANT_BOOL IgnoreMasters ) {
  13327. struct IVGLayer * _result = 0;
  13328. HRESULT _hr = get_Above(IgnoreMasters, &_result);
  13329. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13330. return IVGLayerPtr(_result, false);
  13331. }
  13332. #pragma implementation_key(2029)
  13333. inline VGCore::IVGLayerPtr VGCore::IVGLayer::GetBelow ( VARIANT_BOOL IgnoreMasters ) {
  13334. struct IVGLayer * _result = 0;
  13335. HRESULT _hr = get_Below(IgnoreMasters, &_result);
  13336. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13337. return IVGLayerPtr(_result, false);
  13338. }
  13339. #pragma implementation_key(2030)
  13340. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRectangleRect ( struct IVGRect * Rect, double RadiusUL, double RadiusUR, double RadiusLR, double RadiusLL ) {
  13341. struct IVGShape * _result = 0;
  13342. HRESULT _hr = raw_CreateRectangleRect(Rect, RadiusUL, RadiusUR, RadiusLR, RadiusLL, &_result);
  13343. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13344. return IVGShapePtr(_result, false);
  13345. }
  13346. #pragma implementation_key(2031)
  13347. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateEllipseRect ( struct IVGRect * Rect, double StartAngle, double EndAngle, VARIANT_BOOL Pie ) {
  13348. struct IVGShape * _result = 0;
  13349. HRESULT _hr = raw_CreateEllipseRect(Rect, StartAngle, EndAngle, Pie, &_result);
  13350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13351. return IVGShapePtr(_result, false);
  13352. }
  13353. #pragma implementation_key(2032)
  13354. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateConnectorEx ( enum cdrConnectorType Type, struct IVGSnapPoint * Start, struct IVGSnapPoint * End ) {
  13355. struct IVGShape * _result = 0;
  13356. HRESULT _hr = raw_CreateConnectorEx(Type, Start, End, &_result);
  13357. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13358. return IVGShapePtr(_result, false);
  13359. }
  13360. #pragma implementation_key(2033)
  13361. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRightAngleConnector ( struct IVGSnapPoint * Start, struct IVGSnapPoint * End, double CornerRadius ) {
  13362. struct IVGShape * _result = 0;
  13363. HRESULT _hr = raw_CreateRightAngleConnector(Start, End, CornerRadius, &_result);
  13364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13365. return IVGShapePtr(_result, false);
  13366. }
  13367. #pragma implementation_key(2034)
  13368. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBSpline ( struct IVGBSpline * Source ) {
  13369. struct IVGShape * _result = 0;
  13370. HRESULT _hr = raw_CreateBSpline(Source, &_result);
  13371. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13372. return IVGShapePtr(_result, false);
  13373. }
  13374. #pragma implementation_key(2035)
  13375. inline VGCore::IVGShapeRangePtr VGCore::IVGLayer::PasteEx ( struct IVGStructPasteOptions * Options ) {
  13376. struct IVGShapeRange * _result = 0;
  13377. HRESULT _hr = raw_PasteEx(Options, &_result);
  13378. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13379. return IVGShapeRangePtr(_result, false);
  13380. }
  13381. #pragma implementation_key(2036)
  13382. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateToolShape ( _bstr_t ToolShapeGuid, struct IVGProperties * ShapeProperties ) {
  13383. struct IVGShape * _result = 0;
  13384. HRESULT _hr = raw_CreateToolShape(ToolShapeGuid, ShapeProperties, &_result);
  13385. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13386. return IVGShapePtr(_result, false);
  13387. }
  13388. #pragma implementation_key(2037)
  13389. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBitmap ( double Left, double Top, double Right, double Bottom, struct IVGImage * Image, struct IVGImage * ImageAlpha ) {
  13390. struct IVGShape * _result = 0;
  13391. HRESULT _hr = raw_CreateBitmap(Left, Top, Right, Bottom, Image, ImageAlpha, &_result);
  13392. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13393. return IVGShapePtr(_result, false);
  13394. }
  13395. #pragma implementation_key(2038)
  13396. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBitmap2 ( double x, double y, double Width, double Height, struct IVGImage * Image, struct IVGImage * ImageAlpha ) {
  13397. struct IVGShape * _result = 0;
  13398. HRESULT _hr = raw_CreateBitmap2(x, y, Width, Height, Image, ImageAlpha, &_result);
  13399. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13400. return IVGShapePtr(_result, false);
  13401. }
  13402. #pragma implementation_key(2039)
  13403. inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBitmapRect ( struct IVGRect * Rect, struct IVGImage * Image, struct IVGImage * ImageAlpha ) {
  13404. struct IVGShape * _result = 0;
  13405. HRESULT _hr = raw_CreateBitmapRect(Rect, Image, ImageAlpha, &_result);
  13406. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13407. return IVGShapePtr(_result, false);
  13408. }
  13409. //
  13410. // interface IVGShapes wrapper method implementations
  13411. //
  13412. #pragma implementation_key(2040)
  13413. inline VGCore::IVGApplicationPtr VGCore::IVGShapes::GetApplication ( ) {
  13414. struct IVGApplication * _result = 0;
  13415. HRESULT _hr = get_Application(&_result);
  13416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13417. return IVGApplicationPtr(_result, false);
  13418. }
  13419. #pragma implementation_key(2041)
  13420. inline IDispatchPtr VGCore::IVGShapes::GetParent ( ) {
  13421. IDispatch * _result = 0;
  13422. HRESULT _hr = get_Parent(&_result);
  13423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13424. return IDispatchPtr(_result, false);
  13425. }
  13426. #pragma implementation_key(2042)
  13427. inline VGCore::IVGShapePtr VGCore::IVGShapes::GetItem ( const _variant_t & IndexOrName ) {
  13428. struct IVGShape * _result = 0;
  13429. HRESULT _hr = get_Item(IndexOrName, &_result);
  13430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13431. return IVGShapePtr(_result, false);
  13432. }
  13433. #pragma implementation_key(2043)
  13434. inline IUnknownPtr VGCore::IVGShapes::Get_NewEnum ( ) {
  13435. IUnknown * _result = 0;
  13436. HRESULT _hr = get__NewEnum(&_result);
  13437. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13438. return IUnknownPtr(_result, false);
  13439. }
  13440. #pragma implementation_key(2044)
  13441. inline long VGCore::IVGShapes::GetCount ( ) {
  13442. long _result = 0;
  13443. HRESULT _hr = get_Count(&_result);
  13444. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13445. return _result;
  13446. }
  13447. #pragma implementation_key(2045)
  13448. inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::Range ( SAFEARRAY * * IndexArray ) {
  13449. struct IVGShapeRange * _result = 0;
  13450. HRESULT _hr = raw_Range(IndexArray, &_result);
  13451. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13452. return IVGShapeRangePtr(_result, false);
  13453. }
  13454. #pragma implementation_key(2046)
  13455. inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::All ( ) {
  13456. struct IVGShapeRange * _result = 0;
  13457. HRESULT _hr = raw_All(&_result);
  13458. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13459. return IVGShapeRangePtr(_result, false);
  13460. }
  13461. #pragma implementation_key(2047)
  13462. inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::AllExcluding ( SAFEARRAY * * IndexArray ) {
  13463. struct IVGShapeRange * _result = 0;
  13464. HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
  13465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13466. return IVGShapeRangePtr(_result, false);
  13467. }
  13468. #pragma implementation_key(2048)
  13469. inline VGCore::IVGShapePtr VGCore::IVGShapes::FindShape ( _bstr_t Name, enum cdrShapeType Type, long StaticID, VARIANT_BOOL Recursive, _bstr_t Query ) {
  13470. struct IVGShape * _result = 0;
  13471. HRESULT _hr = raw_FindShape(Name, Type, StaticID, Recursive, Query, &_result);
  13472. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13473. return IVGShapePtr(_result, false);
  13474. }
  13475. #pragma implementation_key(2049)
  13476. inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::FindShapes ( _bstr_t Name, enum cdrShapeType Type, VARIANT_BOOL Recursive, _bstr_t Query ) {
  13477. struct IVGShapeRange * _result = 0;
  13478. HRESULT _hr = raw_FindShapes(Name, Type, Recursive, Query, &_result);
  13479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13480. return IVGShapeRangePtr(_result, false);
  13481. }
  13482. #pragma implementation_key(2050)
  13483. inline VGCore::IVGShapePtr VGCore::IVGShapes::GetFirst ( ) {
  13484. struct IVGShape * _result = 0;
  13485. HRESULT _hr = get_First(&_result);
  13486. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13487. return IVGShapePtr(_result, false);
  13488. }
  13489. #pragma implementation_key(2051)
  13490. inline VGCore::IVGShapePtr VGCore::IVGShapes::GetLast ( ) {
  13491. struct IVGShape * _result = 0;
  13492. HRESULT _hr = get_Last(&_result);
  13493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13494. return IVGShapePtr(_result, false);
  13495. }
  13496. //
  13497. // interface IVGShape wrapper method implementations
  13498. //
  13499. #pragma implementation_key(2052)
  13500. inline VGCore::IVGApplicationPtr VGCore::IVGShape::GetApplication ( ) {
  13501. struct IVGApplication * _result = 0;
  13502. HRESULT _hr = get_Application(&_result);
  13503. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13504. return IVGApplicationPtr(_result, false);
  13505. }
  13506. #pragma implementation_key(2053)
  13507. inline IDispatchPtr VGCore::IVGShape::GetParent ( ) {
  13508. IDispatch * _result = 0;
  13509. HRESULT _hr = get_Parent(&_result);
  13510. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13511. return IDispatchPtr(_result, false);
  13512. }
  13513. #pragma implementation_key(2054)
  13514. inline long VGCore::IVGShape::GetStaticID ( ) {
  13515. long _result = 0;
  13516. HRESULT _hr = get_StaticID(&_result);
  13517. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13518. return _result;
  13519. }
  13520. #pragma implementation_key(2055)
  13521. inline HRESULT VGCore::IVGShape::ConvertToCurves ( ) {
  13522. HRESULT _hr = raw_ConvertToCurves();
  13523. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13524. return _hr;
  13525. }
  13526. #pragma implementation_key(2056)
  13527. inline _bstr_t VGCore::IVGShape::GetName ( ) {
  13528. BSTR _result = 0;
  13529. HRESULT _hr = get_Name(&_result);
  13530. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13531. return _bstr_t(_result, false);
  13532. }
  13533. #pragma implementation_key(2057)
  13534. inline void VGCore::IVGShape::PutName ( _bstr_t pVal ) {
  13535. HRESULT _hr = put_Name(pVal);
  13536. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13537. }
  13538. #pragma implementation_key(2058)
  13539. inline VGCore::IVGShapesPtr VGCore::IVGShape::GetShapes ( ) {
  13540. struct IVGShapes * _result = 0;
  13541. HRESULT _hr = get_Shapes(&_result);
  13542. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13543. return IVGShapesPtr(_result, false);
  13544. }
  13545. #pragma implementation_key(2059)
  13546. inline VGCore::IVGRectanglePtr VGCore::IVGShape::GetRectangle ( ) {
  13547. struct IVGRectangle * _result = 0;
  13548. HRESULT _hr = get_Rectangle(&_result);
  13549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13550. return IVGRectanglePtr(_result, false);
  13551. }
  13552. #pragma implementation_key(2060)
  13553. inline double VGCore::IVGShape::GetPositionX ( ) {
  13554. double _result = 0;
  13555. HRESULT _hr = get_PositionX(&_result);
  13556. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13557. return _result;
  13558. }
  13559. #pragma implementation_key(2061)
  13560. inline void VGCore::IVGShape::PutPositionX ( double pVal ) {
  13561. HRESULT _hr = put_PositionX(pVal);
  13562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13563. }
  13564. #pragma implementation_key(2062)
  13565. inline double VGCore::IVGShape::GetPositionY ( ) {
  13566. double _result = 0;
  13567. HRESULT _hr = get_PositionY(&_result);
  13568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13569. return _result;
  13570. }
  13571. #pragma implementation_key(2063)
  13572. inline void VGCore::IVGShape::PutPositionY ( double pVal ) {
  13573. HRESULT _hr = put_PositionY(pVal);
  13574. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13575. }
  13576. #pragma implementation_key(2064)
  13577. inline double VGCore::IVGShape::GetSizeWidth ( ) {
  13578. double _result = 0;
  13579. HRESULT _hr = get_SizeWidth(&_result);
  13580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13581. return _result;
  13582. }
  13583. #pragma implementation_key(2065)
  13584. inline void VGCore::IVGShape::PutSizeWidth ( double pVal ) {
  13585. HRESULT _hr = put_SizeWidth(pVal);
  13586. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13587. }
  13588. #pragma implementation_key(2066)
  13589. inline double VGCore::IVGShape::GetSizeHeight ( ) {
  13590. double _result = 0;
  13591. HRESULT _hr = get_SizeHeight(&_result);
  13592. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13593. return _result;
  13594. }
  13595. #pragma implementation_key(2067)
  13596. inline void VGCore::IVGShape::PutSizeHeight ( double pVal ) {
  13597. HRESULT _hr = put_SizeHeight(pVal);
  13598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13599. }
  13600. #pragma implementation_key(2068)
  13601. inline VGCore::IVGEllipsePtr VGCore::IVGShape::GetEllipse ( ) {
  13602. struct IVGEllipse * _result = 0;
  13603. HRESULT _hr = get_Ellipse(&_result);
  13604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13605. return IVGEllipsePtr(_result, false);
  13606. }
  13607. #pragma implementation_key(2069)
  13608. inline VGCore::IVGPolygonPtr VGCore::IVGShape::GetPolygon ( ) {
  13609. struct IVGPolygon * _result = 0;
  13610. HRESULT _hr = get_Polygon(&_result);
  13611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13612. return IVGPolygonPtr(_result, false);
  13613. }
  13614. #pragma implementation_key(2070)
  13615. inline VGCore::IVGCurvePtr VGCore::IVGShape::GetCurve ( ) {
  13616. struct IVGCurve * _result = 0;
  13617. HRESULT _hr = get_Curve(&_result);
  13618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13619. return IVGCurvePtr(_result, false);
  13620. }
  13621. #pragma implementation_key(2071)
  13622. inline VGCore::IVGBitmapPtr VGCore::IVGShape::GetBitmap ( ) {
  13623. struct IVGBitmap * _result = 0;
  13624. HRESULT _hr = get_Bitmap(&_result);
  13625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13626. return IVGBitmapPtr(_result, false);
  13627. }
  13628. #pragma implementation_key(2072)
  13629. inline enum VGCore::cdrShapeType VGCore::IVGShape::GetType ( ) {
  13630. enum cdrShapeType _result;
  13631. HRESULT _hr = get_Type(&_result);
  13632. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13633. return _result;
  13634. }
  13635. #pragma implementation_key(2073)
  13636. inline VGCore::IVGOutlinePtr VGCore::IVGShape::GetOutline ( ) {
  13637. struct IVGOutline * _result = 0;
  13638. HRESULT _hr = get_Outline(&_result);
  13639. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13640. return IVGOutlinePtr(_result, false);
  13641. }
  13642. #pragma implementation_key(2074)
  13643. inline VGCore::IVGFillPtr VGCore::IVGShape::GetFill ( ) {
  13644. struct IVGFill * _result = 0;
  13645. HRESULT _hr = get_Fill(&_result);
  13646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13647. return IVGFillPtr(_result, false);
  13648. }
  13649. #pragma implementation_key(2075)
  13650. inline VGCore::IVGTextPtr VGCore::IVGShape::GetText ( ) {
  13651. struct IVGText * _result = 0;
  13652. HRESULT _hr = get_Text(&_result);
  13653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13654. return IVGTextPtr(_result, false);
  13655. }
  13656. #pragma implementation_key(2076)
  13657. inline HRESULT VGCore::IVGShape::Delete ( ) {
  13658. HRESULT _hr = raw_Delete();
  13659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13660. return _hr;
  13661. }
  13662. #pragma implementation_key(2077)
  13663. inline VGCore::IVGShapePtr VGCore::IVGShape::Duplicate ( double OffsetX, double OffsetY ) {
  13664. struct IVGShape * _result = 0;
  13665. HRESULT _hr = raw_Duplicate(OffsetX, OffsetY, &_result);
  13666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13667. return IVGShapePtr(_result, false);
  13668. }
  13669. #pragma implementation_key(2078)
  13670. inline HRESULT VGCore::IVGShape::Skew ( double AngleX, double AngleY ) {
  13671. HRESULT _hr = raw_Skew(AngleX, AngleY);
  13672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13673. return _hr;
  13674. }
  13675. #pragma implementation_key(2079)
  13676. inline HRESULT VGCore::IVGShape::Move ( double DeltaX, double DeltaY ) {
  13677. HRESULT _hr = raw_Move(DeltaX, DeltaY);
  13678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13679. return _hr;
  13680. }
  13681. #pragma implementation_key(2080)
  13682. inline double VGCore::IVGShape::GetRotationAngle ( ) {
  13683. double _result = 0;
  13684. HRESULT _hr = get_RotationAngle(&_result);
  13685. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13686. return _result;
  13687. }
  13688. #pragma implementation_key(2081)
  13689. inline void VGCore::IVGShape::PutRotationAngle ( double pVal ) {
  13690. HRESULT _hr = put_RotationAngle(pVal);
  13691. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13692. }
  13693. #pragma implementation_key(2082)
  13694. inline double VGCore::IVGShape::GetRotationCenterX ( ) {
  13695. double _result = 0;
  13696. HRESULT _hr = get_RotationCenterX(&_result);
  13697. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13698. return _result;
  13699. }
  13700. #pragma implementation_key(2083)
  13701. inline void VGCore::IVGShape::PutRotationCenterX ( double pVal ) {
  13702. HRESULT _hr = put_RotationCenterX(pVal);
  13703. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13704. }
  13705. #pragma implementation_key(2084)
  13706. inline double VGCore::IVGShape::GetRotationCenterY ( ) {
  13707. double _result = 0;
  13708. HRESULT _hr = get_RotationCenterY(&_result);
  13709. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13710. return _result;
  13711. }
  13712. #pragma implementation_key(2085)
  13713. inline void VGCore::IVGShape::PutRotationCenterY ( double pVal ) {
  13714. HRESULT _hr = put_RotationCenterY(pVal);
  13715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13716. }
  13717. #pragma implementation_key(2086)
  13718. inline HRESULT VGCore::IVGShape::Rotate ( double Angle ) {
  13719. HRESULT _hr = raw_Rotate(Angle);
  13720. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13721. return _hr;
  13722. }
  13723. #pragma implementation_key(2087)
  13724. inline VGCore::IVGShapePtr VGCore::IVGShape::ConvertToBitmap ( long BitDepth, VARIANT_BOOL Grayscale, VARIANT_BOOL Dithered, VARIANT_BOOL TransparentBG, long Resolution, enum cdrAntiAliasingType AntiAliasing, VARIANT_BOOL UseColorProfile, VARIANT_BOOL MultiChannel, VARIANT_BOOL AlwaysOverprintBlack, long OverprintBlackLimit ) {
  13725. struct IVGShape * _result = 0;
  13726. HRESULT _hr = raw_ConvertToBitmap(BitDepth, Grayscale, Dithered, TransparentBG, Resolution, AntiAliasing, UseColorProfile, MultiChannel, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
  13727. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13728. return IVGShapePtr(_result, false);
  13729. }
  13730. #pragma implementation_key(2088)
  13731. inline VGCore::IVGShapePtr VGCore::IVGShape::Group ( ) {
  13732. struct IVGShape * _result = 0;
  13733. HRESULT _hr = raw_Group(&_result);
  13734. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13735. return IVGShapePtr(_result, false);
  13736. }
  13737. #pragma implementation_key(2089)
  13738. inline HRESULT VGCore::IVGShape::Ungroup ( ) {
  13739. HRESULT _hr = raw_Ungroup();
  13740. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13741. return _hr;
  13742. }
  13743. #pragma implementation_key(2090)
  13744. inline HRESULT VGCore::IVGShape::UngroupAll ( ) {
  13745. HRESULT _hr = raw_UngroupAll();
  13746. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13747. return _hr;
  13748. }
  13749. #pragma implementation_key(2091)
  13750. inline HRESULT VGCore::IVGShape::OrderToFront ( ) {
  13751. HRESULT _hr = raw_OrderToFront();
  13752. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13753. return _hr;
  13754. }
  13755. #pragma implementation_key(2092)
  13756. inline HRESULT VGCore::IVGShape::OrderToBack ( ) {
  13757. HRESULT _hr = raw_OrderToBack();
  13758. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13759. return _hr;
  13760. }
  13761. #pragma implementation_key(2093)
  13762. inline HRESULT VGCore::IVGShape::OrderForwardOne ( ) {
  13763. HRESULT _hr = raw_OrderForwardOne();
  13764. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13765. return _hr;
  13766. }
  13767. #pragma implementation_key(2094)
  13768. inline HRESULT VGCore::IVGShape::OrderBackOne ( ) {
  13769. HRESULT _hr = raw_OrderBackOne();
  13770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13771. return _hr;
  13772. }
  13773. #pragma implementation_key(2095)
  13774. inline HRESULT VGCore::IVGShape::OrderFrontOf ( struct IVGShape * Shape ) {
  13775. HRESULT _hr = raw_OrderFrontOf(Shape);
  13776. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13777. return _hr;
  13778. }
  13779. #pragma implementation_key(2096)
  13780. inline HRESULT VGCore::IVGShape::OrderBackOf ( struct IVGShape * Shape ) {
  13781. HRESULT _hr = raw_OrderBackOf(Shape);
  13782. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13783. return _hr;
  13784. }
  13785. #pragma implementation_key(2097)
  13786. inline VARIANT_BOOL VGCore::IVGShape::OrderIsInFrontOf ( struct IVGShape * Shape ) {
  13787. VARIANT_BOOL _result = 0;
  13788. HRESULT _hr = raw_OrderIsInFrontOf(Shape, &_result);
  13789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13790. return _result;
  13791. }
  13792. #pragma implementation_key(2098)
  13793. inline HRESULT VGCore::IVGShape::AddToSelection ( ) {
  13794. HRESULT _hr = raw_AddToSelection();
  13795. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13796. return _hr;
  13797. }
  13798. #pragma implementation_key(2099)
  13799. inline HRESULT VGCore::IVGShape::RemoveFromSelection ( ) {
  13800. HRESULT _hr = raw_RemoveFromSelection();
  13801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13802. return _hr;
  13803. }
  13804. #pragma implementation_key(2100)
  13805. inline HRESULT VGCore::IVGShape::Separate ( ) {
  13806. HRESULT _hr = raw_Separate();
  13807. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13808. return _hr;
  13809. }
  13810. #pragma implementation_key(2101)
  13811. inline VGCore::IVGLayerPtr VGCore::IVGShape::GetLayer ( ) {
  13812. struct IVGLayer * _result = 0;
  13813. HRESULT _hr = get_Layer(&_result);
  13814. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13815. return IVGLayerPtr(_result, false);
  13816. }
  13817. #pragma implementation_key(2102)
  13818. inline void VGCore::IVGShape::PutLayer ( struct IVGLayer * ppVal ) {
  13819. HRESULT _hr = put_Layer(ppVal);
  13820. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13821. }
  13822. #pragma implementation_key(2103)
  13823. inline VGCore::IVGSnapPointsPtr VGCore::IVGShape::GetSnapPoints ( ) {
  13824. struct IVGSnapPoints * _result = 0;
  13825. HRESULT _hr = get_SnapPoints(&_result);
  13826. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13827. return IVGSnapPointsPtr(_result, false);
  13828. }
  13829. #pragma implementation_key(2104)
  13830. inline VGCore::IVGConnectorPtr VGCore::IVGShape::GetConnector ( ) {
  13831. struct IVGConnector * _result = 0;
  13832. HRESULT _hr = get_Connector(&_result);
  13833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13834. return IVGConnectorPtr(_result, false);
  13835. }
  13836. #pragma implementation_key(2105)
  13837. inline enum VGCore::cdrPositionOfPointOverShape VGCore::IVGShape::IsOnShape ( double x, double y, double HotArea ) {
  13838. enum cdrPositionOfPointOverShape _result;
  13839. HRESULT _hr = raw_IsOnShape(x, y, HotArea, &_result);
  13840. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13841. return _result;
  13842. }
  13843. #pragma implementation_key(2106)
  13844. inline VGCore::IVGArrowHeadPtr VGCore::IVGShape::CreateArrowHead ( ) {
  13845. struct IVGArrowHead * _result = 0;
  13846. HRESULT _hr = raw_CreateArrowHead(&_result);
  13847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13848. return IVGArrowHeadPtr(_result, false);
  13849. }
  13850. #pragma implementation_key(2107)
  13851. inline HRESULT VGCore::IVGShape::Copy ( ) {
  13852. HRESULT _hr = raw_Copy();
  13853. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13854. return _hr;
  13855. }
  13856. #pragma implementation_key(2108)
  13857. inline HRESULT VGCore::IVGShape::Cut ( ) {
  13858. HRESULT _hr = raw_Cut();
  13859. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13860. return _hr;
  13861. }
  13862. #pragma implementation_key(2109)
  13863. inline VGCore::IVGShapePtr VGCore::IVGShape::Clone ( double OffsetX, double OffsetY ) {
  13864. struct IVGShape * _result = 0;
  13865. HRESULT _hr = raw_Clone(OffsetX, OffsetY, &_result);
  13866. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13867. return IVGShapePtr(_result, false);
  13868. }
  13869. #pragma implementation_key(2110)
  13870. inline HRESULT VGCore::IVGShape::Stretch ( double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
  13871. HRESULT _hr = raw_Stretch(StretchX, StretchY, StretchCharactersSize);
  13872. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13873. return _hr;
  13874. }
  13875. #pragma implementation_key(2111)
  13876. inline HRESULT VGCore::IVGShape::SetPosition ( double PositionX, double PositionY ) {
  13877. HRESULT _hr = raw_SetPosition(PositionX, PositionY);
  13878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13879. return _hr;
  13880. }
  13881. #pragma implementation_key(2112)
  13882. inline HRESULT VGCore::IVGShape::SetSize ( double Width, double Height ) {
  13883. HRESULT _hr = raw_SetSize(Width, Height);
  13884. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13885. return _hr;
  13886. }
  13887. #pragma implementation_key(2113)
  13888. inline HRESULT VGCore::IVGShape::GetPosition ( double * PositionX, double * PositionY ) {
  13889. HRESULT _hr = raw_GetPosition(PositionX, PositionY);
  13890. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13891. return _hr;
  13892. }
  13893. #pragma implementation_key(2114)
  13894. inline HRESULT VGCore::IVGShape::GetSize ( double * Width, double * Height ) {
  13895. HRESULT _hr = raw_GetSize(Width, Height);
  13896. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13897. return _hr;
  13898. }
  13899. #pragma implementation_key(2115)
  13900. inline VGCore::IVGPropertiesPtr VGCore::IVGShape::GetProperties ( ) {
  13901. struct IVGProperties * _result = 0;
  13902. HRESULT _hr = get_Properties(&_result);
  13903. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13904. return IVGPropertiesPtr(_result, false);
  13905. }
  13906. #pragma implementation_key(2116)
  13907. inline HRESULT VGCore::IVGShape::OrderReverse ( ) {
  13908. HRESULT _hr = raw_OrderReverse();
  13909. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13910. return _hr;
  13911. }
  13912. #pragma implementation_key(2117)
  13913. inline VGCore::IVGShapePtr VGCore::IVGShape::Combine ( ) {
  13914. struct IVGShape * _result = 0;
  13915. HRESULT _hr = raw_Combine(&_result);
  13916. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13917. return IVGShapePtr(_result, false);
  13918. }
  13919. #pragma implementation_key(2118)
  13920. inline HRESULT VGCore::IVGShape::BreakApart ( ) {
  13921. HRESULT _hr = raw_BreakApart();
  13922. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13923. return _hr;
  13924. }
  13925. #pragma implementation_key(2119)
  13926. inline void VGCore::IVGShape::PutFill ( struct IVGFill * ppVal ) {
  13927. HRESULT _hr = put_Fill(ppVal);
  13928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13929. }
  13930. #pragma implementation_key(2120)
  13931. inline VGCore::IVGShapePtr VGCore::IVGShape::Weld ( struct IVGShape * TargetShape, VARIANT_BOOL LeaveSource, VARIANT_BOOL LeaveTarget ) {
  13932. struct IVGShape * _result = 0;
  13933. HRESULT _hr = raw_Weld(TargetShape, LeaveSource, LeaveTarget, &_result);
  13934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13935. return IVGShapePtr(_result, false);
  13936. }
  13937. #pragma implementation_key(2121)
  13938. inline VGCore::IVGShapePtr VGCore::IVGShape::Trim ( struct IVGShape * TargetShape, VARIANT_BOOL LeaveSource, VARIANT_BOOL LeaveTarget ) {
  13939. struct IVGShape * _result = 0;
  13940. HRESULT _hr = raw_Trim(TargetShape, LeaveSource, LeaveTarget, &_result);
  13941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13942. return IVGShapePtr(_result, false);
  13943. }
  13944. #pragma implementation_key(2122)
  13945. inline VGCore::IVGShapePtr VGCore::IVGShape::Intersect ( struct IVGShape * TargetShape, VARIANT_BOOL LeaveSource, VARIANT_BOOL LeaveTarget ) {
  13946. struct IVGShape * _result = 0;
  13947. HRESULT _hr = raw_Intersect(TargetShape, LeaveSource, LeaveTarget, &_result);
  13948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13949. return IVGShapePtr(_result, false);
  13950. }
  13951. #pragma implementation_key(2123)
  13952. inline VGCore::IVGEffectsPtr VGCore::IVGShape::GetEffects ( ) {
  13953. struct IVGEffects * _result = 0;
  13954. HRESULT _hr = get_Effects(&_result);
  13955. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13956. return IVGEffectsPtr(_result, false);
  13957. }
  13958. #pragma implementation_key(2124)
  13959. inline VGCore::IVGEffectPtr VGCore::IVGShape::GetEffect ( ) {
  13960. struct IVGEffect * _result = 0;
  13961. HRESULT _hr = get_Effect(&_result);
  13962. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13963. return IVGEffectPtr(_result, false);
  13964. }
  13965. #pragma implementation_key(2125)
  13966. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateDropShadow ( enum cdrDropShadowType Type, long Opacity, long Feather, double OffsetX, double OffsetY, struct IVGColor * Color, enum cdrFeatherType FeatherType, enum cdrEdgeType FeatherEdge, double PerspectiveAngle, double PerspectiveStretch, long Fade, enum cdrMergeMode MergeMode ) {
  13967. struct IVGEffect * _result = 0;
  13968. HRESULT _hr = raw_CreateDropShadow(Type, Opacity, Feather, OffsetX, OffsetY, Color, FeatherType, FeatherEdge, PerspectiveAngle, PerspectiveStretch, Fade, MergeMode, &_result);
  13969. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13970. return IVGEffectPtr(_result, false);
  13971. }
  13972. #pragma implementation_key(2126)
  13973. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateBlend ( struct IVGShape * Shape, int Steps, enum cdrFountainFillBlendType ColorBlendType, enum cdrBlendMode Mode, double Spacing, double Angle, VARIANT_BOOL Loop, struct IVGShape * Path, VARIANT_BOOL RotateShapes, long SpacingAccel, long ColorAccel, VARIANT_BOOL AccelSize ) {
  13974. struct IVGEffect * _result = 0;
  13975. HRESULT _hr = raw_CreateBlend(Shape, Steps, ColorBlendType, Mode, Spacing, Angle, Loop, Path, RotateShapes, SpacingAccel, ColorAccel, AccelSize, &_result);
  13976. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13977. return IVGEffectPtr(_result, false);
  13978. }
  13979. #pragma implementation_key(2127)
  13980. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateExtrude ( enum cdrExtrudeType Type, enum cdrExtrudeVPType VPType, double VPX, double VPY, double Depth, enum cdrExtrudeShading Shading, struct IVGColor * BaseColor, struct IVGColor * ShadingColor, double BevelDepth, double BevelAngle, struct IVGColor * BevelColor, VARIANT_BOOL BevelOnly ) {
  13981. struct IVGEffect * _result = 0;
  13982. HRESULT _hr = raw_CreateExtrude(Type, VPType, VPX, VPY, Depth, Shading, BaseColor, ShadingColor, BevelDepth, BevelAngle, BevelColor, BevelOnly, &_result);
  13983. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13984. return IVGEffectPtr(_result, false);
  13985. }
  13986. #pragma implementation_key(2128)
  13987. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateEnvelope ( long PresetIndex, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines ) {
  13988. struct IVGEffect * _result = 0;
  13989. HRESULT _hr = raw_CreateEnvelope(PresetIndex, Mode, KeepLines, &_result);
  13990. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13991. return IVGEffectPtr(_result, false);
  13992. }
  13993. #pragma implementation_key(2129)
  13994. inline HRESULT VGCore::IVGShape::Flip ( enum cdrFlipAxes Axes ) {
  13995. HRESULT _hr = raw_Flip(Axes);
  13996. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  13997. return _hr;
  13998. }
  13999. #pragma implementation_key(2130)
  14000. inline VARIANT_BOOL VGCore::IVGShape::GetLocked ( ) {
  14001. VARIANT_BOOL _result = 0;
  14002. HRESULT _hr = get_Locked(&_result);
  14003. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14004. return _result;
  14005. }
  14006. #pragma implementation_key(2131)
  14007. inline void VGCore::IVGShape::PutLocked ( VARIANT_BOOL pVal ) {
  14008. HRESULT _hr = put_Locked(pVal);
  14009. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14010. }
  14011. #pragma implementation_key(2132)
  14012. inline double VGCore::IVGShape::GetOriginalWidth ( ) {
  14013. double _result = 0;
  14014. HRESULT _hr = get_OriginalWidth(&_result);
  14015. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14016. return _result;
  14017. }
  14018. #pragma implementation_key(2133)
  14019. inline double VGCore::IVGShape::GetOriginalHeight ( ) {
  14020. double _result = 0;
  14021. HRESULT _hr = get_OriginalHeight(&_result);
  14022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14023. return _result;
  14024. }
  14025. #pragma implementation_key(2134)
  14026. inline VARIANT_BOOL VGCore::IVGShape::GetSelected ( ) {
  14027. VARIANT_BOOL _result = 0;
  14028. HRESULT _hr = get_Selected(&_result);
  14029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14030. return _result;
  14031. }
  14032. #pragma implementation_key(2135)
  14033. inline void VGCore::IVGShape::PutSelected ( VARIANT_BOOL pVal ) {
  14034. HRESULT _hr = put_Selected(pVal);
  14035. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14036. }
  14037. #pragma implementation_key(2136)
  14038. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateLens ( enum cdrLensType Type, double RateOrMagnification, struct IVGColor * Color1, struct IVGColor * Color2, enum cdrFountainFillBlendType ColorMapPalette ) {
  14039. struct IVGEffect * _result = 0;
  14040. HRESULT _hr = raw_CreateLens(Type, RateOrMagnification, Color1, Color2, ColorMapPalette, &_result);
  14041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14042. return IVGEffectPtr(_result, false);
  14043. }
  14044. #pragma implementation_key(2137)
  14045. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreatePerspective ( const _variant_t & HorizVanishPointX, const _variant_t & HorizVanishPointY, const _variant_t & VertVanishPointX, const _variant_t & VertVanishPointY ) {
  14046. struct IVGEffect * _result = 0;
  14047. HRESULT _hr = raw_CreatePerspective(HorizVanishPointX, HorizVanishPointY, VertVanishPointX, VertVanishPointY, &_result);
  14048. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14049. return IVGEffectPtr(_result, false);
  14050. }
  14051. #pragma implementation_key(2138)
  14052. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateContour ( enum cdrContourDirection Direction, double Offset, long Steps, enum cdrFountainFillBlendType BlendType, struct IVGColor * OutlineColor, struct IVGColor * FillColor, struct IVGColor * FillColor2, long SpacingAccel, long ColorAccel, enum cdrContourEndCapType EndCapType, enum cdrContourCornerType CornerType, double MiterLimit ) {
  14053. struct IVGEffect * _result = 0;
  14054. HRESULT _hr = raw_CreateContour(Direction, Offset, Steps, BlendType, OutlineColor, FillColor, FillColor2, SpacingAccel, ColorAccel, EndCapType, CornerType, MiterLimit, &_result);
  14055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14056. return IVGEffectPtr(_result, false);
  14057. }
  14058. #pragma implementation_key(2139)
  14059. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreatePushPullDistortion ( double OriginX, double OriginY, long Amplitude ) {
  14060. struct IVGEffect * _result = 0;
  14061. HRESULT _hr = raw_CreatePushPullDistortion(OriginX, OriginY, Amplitude, &_result);
  14062. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14063. return IVGEffectPtr(_result, false);
  14064. }
  14065. #pragma implementation_key(2140)
  14066. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateZipperDistortion ( double OriginX, double OriginY, long Amplitude, long Frequency, VARIANT_BOOL Random, VARIANT_BOOL Smooth, VARIANT_BOOL Local ) {
  14067. struct IVGEffect * _result = 0;
  14068. HRESULT _hr = raw_CreateZipperDistortion(OriginX, OriginY, Amplitude, Frequency, Random, Smooth, Local, &_result);
  14069. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14070. return IVGEffectPtr(_result, false);
  14071. }
  14072. #pragma implementation_key(2141)
  14073. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateTwisterDistortion ( double OriginX, double OriginY, double Angle ) {
  14074. struct IVGEffect * _result = 0;
  14075. HRESULT _hr = raw_CreateTwisterDistortion(OriginX, OriginY, Angle, &_result);
  14076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14077. return IVGEffectPtr(_result, false);
  14078. }
  14079. #pragma implementation_key(2142)
  14080. inline VGCore::IVGGuidePtr VGCore::IVGShape::GetGuide ( ) {
  14081. struct IVGGuide * _result = 0;
  14082. HRESULT _hr = get_Guide(&_result);
  14083. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14084. return IVGGuidePtr(_result, false);
  14085. }
  14086. #pragma implementation_key(2143)
  14087. inline HRESULT VGCore::IVGShape::AddToPowerClip ( struct IVGShape * Shape, enum cdrTriState CenterInContainer ) {
  14088. HRESULT _hr = raw_AddToPowerClip(Shape, CenterInContainer);
  14089. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14090. return _hr;
  14091. }
  14092. #pragma implementation_key(2144)
  14093. inline HRESULT VGCore::IVGShape::RemoveFromContainer ( long Level ) {
  14094. HRESULT _hr = raw_RemoveFromContainer(Level);
  14095. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14096. return _hr;
  14097. }
  14098. #pragma implementation_key(2145)
  14099. inline VGCore::IVGPowerClipPtr VGCore::IVGShape::GetPowerClip ( ) {
  14100. struct IVGPowerClip * _result = 0;
  14101. HRESULT _hr = get_PowerClip(&_result);
  14102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14103. return IVGPowerClipPtr(_result, false);
  14104. }
  14105. #pragma implementation_key(2146)
  14106. inline VGCore::IVGShapePtr VGCore::IVGShape::GetPowerClipParent ( ) {
  14107. struct IVGShape * _result = 0;
  14108. HRESULT _hr = get_PowerClipParent(&_result);
  14109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14110. return IVGShapePtr(_result, false);
  14111. }
  14112. #pragma implementation_key(2147)
  14113. inline VARIANT_BOOL VGCore::IVGShape::GetDrapeFill ( ) {
  14114. VARIANT_BOOL _result = 0;
  14115. HRESULT _hr = get_DrapeFill(&_result);
  14116. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14117. return _result;
  14118. }
  14119. #pragma implementation_key(2148)
  14120. inline void VGCore::IVGShape::PutDrapeFill ( VARIANT_BOOL pVal ) {
  14121. HRESULT _hr = put_DrapeFill(pVal);
  14122. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14123. }
  14124. #pragma implementation_key(2149)
  14125. inline VARIANT_BOOL VGCore::IVGShape::GetOverprintFill ( ) {
  14126. VARIANT_BOOL _result = 0;
  14127. HRESULT _hr = get_OverprintFill(&_result);
  14128. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14129. return _result;
  14130. }
  14131. #pragma implementation_key(2150)
  14132. inline void VGCore::IVGShape::PutOverprintFill ( VARIANT_BOOL pVal ) {
  14133. HRESULT _hr = put_OverprintFill(pVal);
  14134. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14135. }
  14136. #pragma implementation_key(2151)
  14137. inline VARIANT_BOOL VGCore::IVGShape::GetOverprintOutline ( ) {
  14138. VARIANT_BOOL _result = 0;
  14139. HRESULT _hr = get_OverprintOutline(&_result);
  14140. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14141. return _result;
  14142. }
  14143. #pragma implementation_key(2152)
  14144. inline void VGCore::IVGShape::PutOverprintOutline ( VARIANT_BOOL pVal ) {
  14145. HRESULT _hr = put_OverprintOutline(pVal);
  14146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14147. }
  14148. #pragma implementation_key(2153)
  14149. inline VGCore::IVGURLPtr VGCore::IVGShape::GetURL ( ) {
  14150. struct IVGURL * _result = 0;
  14151. HRESULT _hr = get_URL(&_result);
  14152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14153. return IVGURLPtr(_result, false);
  14154. }
  14155. #pragma implementation_key(2154)
  14156. inline VGCore::IVGDataItemsPtr VGCore::IVGShape::GetObjectData ( ) {
  14157. struct IVGDataItems * _result = 0;
  14158. HRESULT _hr = get_ObjectData(&_result);
  14159. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14160. return IVGDataItemsPtr(_result, false);
  14161. }
  14162. #pragma implementation_key(2155)
  14163. inline VGCore::IVGCloneLinkPtr VGCore::IVGShape::GetCloneLink ( ) {
  14164. struct IVGCloneLink * _result = 0;
  14165. HRESULT _hr = get_CloneLink(&_result);
  14166. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14167. return IVGCloneLinkPtr(_result, false);
  14168. }
  14169. #pragma implementation_key(2156)
  14170. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::GetClones ( ) {
  14171. struct IVGShapeRange * _result = 0;
  14172. HRESULT _hr = get_Clones(&_result);
  14173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14174. return IVGShapeRangePtr(_result, false);
  14175. }
  14176. #pragma implementation_key(2157)
  14177. inline double VGCore::IVGShape::GetAbsoluteHScale ( ) {
  14178. double _result = 0;
  14179. HRESULT _hr = get_AbsoluteHScale(&_result);
  14180. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14181. return _result;
  14182. }
  14183. #pragma implementation_key(2158)
  14184. inline double VGCore::IVGShape::GetAbsoluteVScale ( ) {
  14185. double _result = 0;
  14186. HRESULT _hr = get_AbsoluteVScale(&_result);
  14187. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14188. return _result;
  14189. }
  14190. #pragma implementation_key(2159)
  14191. inline double VGCore::IVGShape::GetAbsoluteSkew ( ) {
  14192. double _result = 0;
  14193. HRESULT _hr = get_AbsoluteSkew(&_result);
  14194. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14195. return _result;
  14196. }
  14197. #pragma implementation_key(2160)
  14198. inline VGCore::IVGTransparencyPtr VGCore::IVGShape::GetTransparency ( ) {
  14199. struct IVGTransparency * _result = 0;
  14200. HRESULT _hr = get_Transparency(&_result);
  14201. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14202. return IVGTransparencyPtr(_result, false);
  14203. }
  14204. #pragma implementation_key(2161)
  14205. inline HRESULT VGCore::IVGShape::GetMatrix ( double * d11, double * d12, double * d21, double * d22, double * tx, double * ty ) {
  14206. HRESULT _hr = raw_GetMatrix(d11, d12, d21, d22, tx, ty);
  14207. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14208. return _hr;
  14209. }
  14210. #pragma implementation_key(2162)
  14211. inline HRESULT VGCore::IVGShape::SetMatrix ( double d11, double d12, double d21, double d22, double tx, double ty ) {
  14212. HRESULT _hr = raw_SetMatrix(d11, d12, d21, d22, tx, ty);
  14213. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14214. return _hr;
  14215. }
  14216. #pragma implementation_key(2163)
  14217. inline VGCore::IVGShapePtr VGCore::IVGShape::ConvertToBitmapEx ( enum cdrImageType Mode, VARIANT_BOOL Dithered, VARIANT_BOOL Transparent, long Resolution, enum cdrAntiAliasingType AntiAliasing, VARIANT_BOOL UseColorProfile, VARIANT_BOOL AlwaysOverprintBlack, long OverprintBlackLimit ) {
  14218. struct IVGShape * _result = 0;
  14219. HRESULT _hr = raw_ConvertToBitmapEx(Mode, Dithered, Transparent, Resolution, AntiAliasing, UseColorProfile, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
  14220. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14221. return IVGShapePtr(_result, false);
  14222. }
  14223. #pragma implementation_key(2164)
  14224. inline HRESULT VGCore::IVGShape::SkewEx ( double AngleX, double AngleY, double CenterX, double CenterY ) {
  14225. HRESULT _hr = raw_SkewEx(AngleX, AngleY, CenterX, CenterY);
  14226. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14227. return _hr;
  14228. }
  14229. #pragma implementation_key(2165)
  14230. inline HRESULT VGCore::IVGShape::RotateEx ( double Angle, double CenterX, double CenterY ) {
  14231. HRESULT _hr = raw_RotateEx(Angle, CenterX, CenterY);
  14232. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14233. return _hr;
  14234. }
  14235. #pragma implementation_key(2166)
  14236. inline VGCore::IVGShapePtr VGCore::IVGShape::GetParentGroup ( ) {
  14237. struct IVGShape * _result = 0;
  14238. HRESULT _hr = get_ParentGroup(&_result);
  14239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14240. return IVGShapePtr(_result, false);
  14241. }
  14242. #pragma implementation_key(2167)
  14243. inline HRESULT VGCore::IVGShape::SetBoundingBox ( double x, double y, double Width, double Height, VARIANT_BOOL KeepAspect, enum cdrReferencePoint ReferencePoint ) {
  14244. HRESULT _hr = raw_SetBoundingBox(x, y, Width, Height, KeepAspect, ReferencePoint);
  14245. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14246. return _hr;
  14247. }
  14248. #pragma implementation_key(2168)
  14249. inline HRESULT VGCore::IVGShape::CreateSelection ( ) {
  14250. HRESULT _hr = raw_CreateSelection();
  14251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14252. return _hr;
  14253. }
  14254. #pragma implementation_key(2169)
  14255. inline HRESULT VGCore::IVGShape::SetRotationCenter ( double x, double y ) {
  14256. HRESULT _hr = raw_SetRotationCenter(x, y);
  14257. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14258. return _hr;
  14259. }
  14260. #pragma implementation_key(2170)
  14261. inline HRESULT VGCore::IVGShape::ClearEffect ( enum cdrEffectType Type ) {
  14262. HRESULT _hr = raw_ClearEffect(Type);
  14263. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14264. return _hr;
  14265. }
  14266. #pragma implementation_key(2171)
  14267. inline VGCore::IVGShapePtr VGCore::IVGShape::GetNext ( enum cdrShapeLevel Level, VARIANT_BOOL EnterGroups, VARIANT_BOOL Loop ) {
  14268. struct IVGShape * _result = 0;
  14269. HRESULT _hr = get_Next(Level, EnterGroups, Loop, &_result);
  14270. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14271. return IVGShapePtr(_result, false);
  14272. }
  14273. #pragma implementation_key(2172)
  14274. inline VGCore::IVGShapePtr VGCore::IVGShape::GetPrevious ( enum cdrShapeLevel Level, VARIANT_BOOL EnterGroups, VARIANT_BOOL Loop ) {
  14275. struct IVGShape * _result = 0;
  14276. HRESULT _hr = get_Previous(Level, EnterGroups, Loop, &_result);
  14277. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14278. return IVGShapePtr(_result, false);
  14279. }
  14280. #pragma implementation_key(2173)
  14281. inline HRESULT VGCore::IVGShape::StretchEx ( double CenterX, double CenterY, double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
  14282. HRESULT _hr = raw_StretchEx(CenterX, CenterY, StretchX, StretchY, StretchCharactersSize);
  14283. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14284. return _hr;
  14285. }
  14286. #pragma implementation_key(2174)
  14287. inline HRESULT VGCore::IVGShape::SetSizeEx ( double CenterX, double CenterY, double Width, double Height ) {
  14288. HRESULT _hr = raw_SetSizeEx(CenterX, CenterY, Width, Height);
  14289. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14290. return _hr;
  14291. }
  14292. #pragma implementation_key(2175)
  14293. inline HRESULT VGCore::IVGShape::GetBoundingBox ( double * x, double * y, double * Width, double * Height, VARIANT_BOOL UseOutline ) {
  14294. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, UseOutline);
  14295. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14296. return _hr;
  14297. }
  14298. #pragma implementation_key(2176)
  14299. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::UngroupEx ( ) {
  14300. struct IVGShapeRange * _result = 0;
  14301. HRESULT _hr = raw_UngroupEx(&_result);
  14302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14303. return IVGShapeRangePtr(_result, false);
  14304. }
  14305. #pragma implementation_key(2177)
  14306. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::UngroupAllEx ( ) {
  14307. struct IVGShapeRange * _result = 0;
  14308. HRESULT _hr = raw_UngroupAllEx(&_result);
  14309. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14310. return IVGShapeRangePtr(_result, false);
  14311. }
  14312. #pragma implementation_key(2178)
  14313. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::BreakApartEx ( ) {
  14314. struct IVGShapeRange * _result = 0;
  14315. HRESULT _hr = raw_BreakApartEx(&_result);
  14316. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14317. return IVGShapeRangePtr(_result, false);
  14318. }
  14319. #pragma implementation_key(2179)
  14320. inline HRESULT VGCore::IVGShape::ApplyStyle ( _bstr_t StyleName ) {
  14321. HRESULT _hr = raw_ApplyStyle(StyleName);
  14322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14323. return _hr;
  14324. }
  14325. #pragma implementation_key(2180)
  14326. inline enum VGCore::cdrWrapStyle VGCore::IVGShape::GetWrapText ( ) {
  14327. enum cdrWrapStyle _result;
  14328. HRESULT _hr = get_WrapText(&_result);
  14329. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14330. return _result;
  14331. }
  14332. #pragma implementation_key(2181)
  14333. inline void VGCore::IVGShape::PutWrapText ( enum cdrWrapStyle pVal ) {
  14334. HRESULT _hr = put_WrapText(pVal);
  14335. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14336. }
  14337. #pragma implementation_key(2182)
  14338. inline double VGCore::IVGShape::GetTextWrapOffset ( ) {
  14339. double _result = 0;
  14340. HRESULT _hr = get_TextWrapOffset(&_result);
  14341. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14342. return _result;
  14343. }
  14344. #pragma implementation_key(2183)
  14345. inline void VGCore::IVGShape::PutTextWrapOffset ( double pVal ) {
  14346. HRESULT _hr = put_TextWrapOffset(pVal);
  14347. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14348. }
  14349. #pragma implementation_key(2184)
  14350. inline VGCore::IVGShapePtr VGCore::IVGShape::PlaceTextInside ( struct IVGShape * TextShape ) {
  14351. struct IVGShape * _result = 0;
  14352. HRESULT _hr = raw_PlaceTextInside(TextShape, &_result);
  14353. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14354. return IVGShapePtr(_result, false);
  14355. }
  14356. #pragma implementation_key(2185)
  14357. inline VGCore::IVGCurvePtr VGCore::IVGShape::GetDisplayCurve ( ) {
  14358. struct IVGCurve * _result = 0;
  14359. HRESULT _hr = get_DisplayCurve(&_result);
  14360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14361. return IVGCurvePtr(_result, false);
  14362. }
  14363. #pragma implementation_key(2186)
  14364. inline _variant_t VGCore::IVGShape::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
  14365. VARIANT _result;
  14366. VariantInit(&_result);
  14367. HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
  14368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14369. return _variant_t(_result, false);
  14370. }
  14371. #pragma implementation_key(2187)
  14372. inline VGCore::IVGCustomShapePtr VGCore::IVGShape::GetCustom ( ) {
  14373. struct IVGCustomShape * _result = 0;
  14374. HRESULT _hr = get_Custom(&_result);
  14375. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14376. return IVGCustomShapePtr(_result, false);
  14377. }
  14378. #pragma implementation_key(2188)
  14379. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateCustomEffect ( _bstr_t EffectID, SAFEARRAY * * Parameters ) {
  14380. struct IVGEffect * _result = 0;
  14381. HRESULT _hr = raw_CreateCustomEffect(EffectID, Parameters, &_result);
  14382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14383. return IVGEffectPtr(_result, false);
  14384. }
  14385. #pragma implementation_key(2189)
  14386. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateCustomDistortion ( _bstr_t DistortionID, SAFEARRAY * * Parameters ) {
  14387. struct IVGEffect * _result = 0;
  14388. HRESULT _hr = raw_CreateCustomDistortion(DistortionID, Parameters, &_result);
  14389. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14390. return IVGEffectPtr(_result, false);
  14391. }
  14392. #pragma implementation_key(2190)
  14393. inline HRESULT VGCore::IVGShape::AlignToShape ( enum cdrAlignType Type, struct IVGShape * Shape, enum cdrTextAlignOrigin TextAlignOrigin ) {
  14394. HRESULT _hr = raw_AlignToShape(Type, Shape, TextAlignOrigin);
  14395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14396. return _hr;
  14397. }
  14398. #pragma implementation_key(2191)
  14399. inline HRESULT VGCore::IVGShape::AlignToShapeRange ( enum cdrAlignType Type, struct IVGShapeRange * ShapeRange, enum cdrTextAlignOrigin TextAlignOrigin ) {
  14400. HRESULT _hr = raw_AlignToShapeRange(Type, ShapeRange, TextAlignOrigin);
  14401. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14402. return _hr;
  14403. }
  14404. #pragma implementation_key(2192)
  14405. inline HRESULT VGCore::IVGShape::AlignToPage ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
  14406. HRESULT _hr = raw_AlignToPage(Type, TextAlignOrigin);
  14407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14408. return _hr;
  14409. }
  14410. #pragma implementation_key(2193)
  14411. inline HRESULT VGCore::IVGShape::AlignToPageCenter ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
  14412. HRESULT _hr = raw_AlignToPageCenter(Type, TextAlignOrigin);
  14413. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14414. return _hr;
  14415. }
  14416. #pragma implementation_key(2194)
  14417. inline HRESULT VGCore::IVGShape::AlignToGrid ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
  14418. HRESULT _hr = raw_AlignToGrid(Type, TextAlignOrigin);
  14419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14420. return _hr;
  14421. }
  14422. #pragma implementation_key(2195)
  14423. inline HRESULT VGCore::IVGShape::AlignToPoint ( enum cdrAlignType Type, double x, double y, enum cdrTextAlignOrigin TextAlignOrigin ) {
  14424. HRESULT _hr = raw_AlignToPoint(Type, x, y, TextAlignOrigin);
  14425. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14426. return _hr;
  14427. }
  14428. #pragma implementation_key(2196)
  14429. inline VGCore::IVGDimensionPtr VGCore::IVGShape::GetDimension ( ) {
  14430. struct IVGDimension * _result = 0;
  14431. HRESULT _hr = get_Dimension(&_result);
  14432. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14433. return IVGDimensionPtr(_result, false);
  14434. }
  14435. #pragma implementation_key(2197)
  14436. inline VGCore::IVGSymbolPtr VGCore::IVGShape::GetSymbol ( ) {
  14437. struct IVGSymbol * _result = 0;
  14438. HRESULT _hr = get_Symbol(&_result);
  14439. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14440. return IVGSymbolPtr(_result, false);
  14441. }
  14442. #pragma implementation_key(2198)
  14443. inline VGCore::IVGShapePtr VGCore::IVGShape::ConvertToSymbol ( _bstr_t Name ) {
  14444. struct IVGShape * _result = 0;
  14445. HRESULT _hr = raw_ConvertToSymbol(Name, &_result);
  14446. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14447. return IVGShapePtr(_result, false);
  14448. }
  14449. #pragma implementation_key(2199)
  14450. inline VGCore::IVGOLEPtr VGCore::IVGShape::GetOLE ( ) {
  14451. struct IVGOLE * _result = 0;
  14452. HRESULT _hr = get_OLE(&_result);
  14453. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14454. return IVGOLEPtr(_result, false);
  14455. }
  14456. #pragma implementation_key(2200)
  14457. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::DuplicateAsRange ( double OffsetX, double OffsetY ) {
  14458. struct IVGShapeRange * _result = 0;
  14459. HRESULT _hr = raw_DuplicateAsRange(OffsetX, OffsetY, &_result);
  14460. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14461. return IVGShapeRangePtr(_result, false);
  14462. }
  14463. #pragma implementation_key(2201)
  14464. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::CloneAsRange ( double OffsetX, double OffsetY ) {
  14465. struct IVGShapeRange * _result = 0;
  14466. HRESULT _hr = raw_CloneAsRange(OffsetX, OffsetY, &_result);
  14467. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14468. return IVGShapeRangePtr(_result, false);
  14469. }
  14470. #pragma implementation_key(2202)
  14471. inline HRESULT VGCore::IVGShape::MoveToLayer ( struct IVGLayer * Layer ) {
  14472. HRESULT _hr = raw_MoveToLayer(Layer);
  14473. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14474. return _hr;
  14475. }
  14476. #pragma implementation_key(2203)
  14477. inline VGCore::IVGShapePtr VGCore::IVGShape::CopyToLayer ( struct IVGLayer * Layer ) {
  14478. struct IVGShape * _result = 0;
  14479. HRESULT _hr = raw_CopyToLayer(Layer, &_result);
  14480. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14481. return IVGShapePtr(_result, false);
  14482. }
  14483. #pragma implementation_key(2204)
  14484. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::CopyToLayerAsRange ( struct IVGLayer * Layer ) {
  14485. struct IVGShapeRange * _result = 0;
  14486. HRESULT _hr = raw_CopyToLayerAsRange(Layer, &_result);
  14487. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14488. return IVGShapeRangePtr(_result, false);
  14489. }
  14490. #pragma implementation_key(2205)
  14491. inline HRESULT VGCore::IVGShape::ClearTransformations ( ) {
  14492. HRESULT _hr = raw_ClearTransformations();
  14493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14494. return _hr;
  14495. }
  14496. #pragma implementation_key(2206)
  14497. inline HRESULT VGCore::IVGShape::Distribute ( enum cdrDistributeType Type, VARIANT_BOOL PageExtent ) {
  14498. HRESULT _hr = raw_Distribute(Type, PageExtent);
  14499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14500. return _hr;
  14501. }
  14502. #pragma implementation_key(2207)
  14503. inline VARIANT_BOOL VGCore::IVGShape::CompareTo ( struct IVGShape * Shape, enum cdrCompareType CompareType, enum cdrCompareCondition Condition ) {
  14504. VARIANT_BOOL _result = 0;
  14505. HRESULT _hr = raw_CompareTo(Shape, CompareType, Condition, &_result);
  14506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14507. return _result;
  14508. }
  14509. #pragma implementation_key(2208)
  14510. inline VARIANT_BOOL VGCore::IVGShape::GetSelectable ( ) {
  14511. VARIANT_BOOL _result = 0;
  14512. HRESULT _hr = get_Selectable(&_result);
  14513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14514. return _result;
  14515. }
  14516. #pragma implementation_key(2209)
  14517. inline HRESULT VGCore::IVGShape::ApplyEffectInvert ( ) {
  14518. HRESULT _hr = raw_ApplyEffectInvert();
  14519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14520. return _hr;
  14521. }
  14522. #pragma implementation_key(2210)
  14523. inline HRESULT VGCore::IVGShape::ApplyEffectPosterize ( long Level ) {
  14524. HRESULT _hr = raw_ApplyEffectPosterize(Level);
  14525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14526. return _hr;
  14527. }
  14528. #pragma implementation_key(2211)
  14529. inline HRESULT VGCore::IVGShape::ApplyEffectBCI ( long Brighness, long Contrast, long Intensity ) {
  14530. HRESULT _hr = raw_ApplyEffectBCI(Brighness, Contrast, Intensity);
  14531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14532. return _hr;
  14533. }
  14534. #pragma implementation_key(2212)
  14535. inline HRESULT VGCore::IVGShape::ApplyEffectColorBalance ( long CyanRed, long MagentaGreen, long YellowBlue, VARIANT_BOOL ApplyToShadows, VARIANT_BOOL ApplyToMidtones, VARIANT_BOOL ApplyToHighlights, VARIANT_BOOL PreserveLuminance ) {
  14536. HRESULT _hr = raw_ApplyEffectColorBalance(CyanRed, MagentaGreen, YellowBlue, ApplyToShadows, ApplyToMidtones, ApplyToHighlights, PreserveLuminance);
  14537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14538. return _hr;
  14539. }
  14540. #pragma implementation_key(2213)
  14541. inline HRESULT VGCore::IVGShape::ApplyEffectGamma ( double Gamma ) {
  14542. HRESULT _hr = raw_ApplyEffectGamma(Gamma);
  14543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14544. return _hr;
  14545. }
  14546. #pragma implementation_key(2214)
  14547. inline HRESULT VGCore::IVGShape::ApplyEffectHSL ( const _variant_t & Hue, const _variant_t & Saturation, const _variant_t & Lightness ) {
  14548. HRESULT _hr = raw_ApplyEffectHSL(Hue, Saturation, Lightness);
  14549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14550. return _hr;
  14551. }
  14552. #pragma implementation_key(2215)
  14553. inline HRESULT VGCore::IVGShape::TransformMatrix ( double d11, double d12, double d21, double d22, double tx, double ty ) {
  14554. HRESULT _hr = raw_TransformMatrix(d11, d12, d21, d22, tx, ty);
  14555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14556. return _hr;
  14557. }
  14558. #pragma implementation_key(2216)
  14559. inline HRESULT VGCore::IVGShape::AffineTransform ( double d11, double d12, double d21, double d22, double CenterX, double CenterY ) {
  14560. HRESULT _hr = raw_AffineTransform(d11, d12, d21, d22, CenterX, CenterY);
  14561. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14562. return _hr;
  14563. }
  14564. #pragma implementation_key(2217)
  14565. inline VGCore::IVGTreeNodePtr VGCore::IVGShape::GetTreeNode ( ) {
  14566. struct IVGTreeNode * _result = 0;
  14567. HRESULT _hr = get_TreeNode(&_result);
  14568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14569. return IVGTreeNodePtr(_result, false);
  14570. }
  14571. #pragma implementation_key(2218)
  14572. inline HRESULT VGCore::IVGShape::ReplaceWith ( struct IVGShape * VirtualShape ) {
  14573. HRESULT _hr = raw_ReplaceWith(VirtualShape);
  14574. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14575. return _hr;
  14576. }
  14577. #pragma implementation_key(2219)
  14578. inline VARIANT_BOOL VGCore::IVGShape::GetVirtual ( ) {
  14579. VARIANT_BOOL _result = 0;
  14580. HRESULT _hr = get_Virtual(&_result);
  14581. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14582. return _result;
  14583. }
  14584. #pragma implementation_key(2220)
  14585. inline VARIANT_BOOL VGCore::IVGShape::GetCanHaveFill ( ) {
  14586. VARIANT_BOOL _result = 0;
  14587. HRESULT _hr = get_CanHaveFill(&_result);
  14588. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14589. return _result;
  14590. }
  14591. #pragma implementation_key(2221)
  14592. inline VARIANT_BOOL VGCore::IVGShape::GetCanHaveOutline ( ) {
  14593. VARIANT_BOOL _result = 0;
  14594. HRESULT _hr = get_CanHaveOutline(&_result);
  14595. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14596. return _result;
  14597. }
  14598. #pragma implementation_key(2222)
  14599. inline VARIANT_BOOL VGCore::IVGShape::GetIsSimpleShape ( ) {
  14600. VARIANT_BOOL _result = 0;
  14601. HRESULT _hr = get_IsSimpleShape(&_result);
  14602. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14603. return _result;
  14604. }
  14605. #pragma implementation_key(2223)
  14606. inline HRESULT VGCore::IVGShape::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  14607. HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments);
  14608. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14609. return _hr;
  14610. }
  14611. #pragma implementation_key(2224)
  14612. inline HRESULT VGCore::IVGShape::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
  14613. HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments);
  14614. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14615. return _hr;
  14616. }
  14617. #pragma implementation_key(2225)
  14618. inline HRESULT VGCore::IVGShape::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  14619. HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments);
  14620. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14621. return _hr;
  14622. }
  14623. #pragma implementation_key(2226)
  14624. inline enum VGCore::cdrFillMode VGCore::IVGShape::GetFillMode ( ) {
  14625. enum cdrFillMode _result;
  14626. HRESULT _hr = get_FillMode(&_result);
  14627. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14628. return _result;
  14629. }
  14630. #pragma implementation_key(2227)
  14631. inline void VGCore::IVGShape::PutFillMode ( enum cdrFillMode pVal ) {
  14632. HRESULT _hr = put_FillMode(pVal);
  14633. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14634. }
  14635. #pragma implementation_key(2228)
  14636. inline double VGCore::IVGShape::GetLeftX ( ) {
  14637. double _result = 0;
  14638. HRESULT _hr = get_LeftX(&_result);
  14639. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14640. return _result;
  14641. }
  14642. #pragma implementation_key(2229)
  14643. inline double VGCore::IVGShape::GetRightX ( ) {
  14644. double _result = 0;
  14645. HRESULT _hr = get_RightX(&_result);
  14646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14647. return _result;
  14648. }
  14649. #pragma implementation_key(2230)
  14650. inline double VGCore::IVGShape::GetTopY ( ) {
  14651. double _result = 0;
  14652. HRESULT _hr = get_TopY(&_result);
  14653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14654. return _result;
  14655. }
  14656. #pragma implementation_key(2231)
  14657. inline double VGCore::IVGShape::GetBottomY ( ) {
  14658. double _result = 0;
  14659. HRESULT _hr = get_BottomY(&_result);
  14660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14661. return _result;
  14662. }
  14663. #pragma implementation_key(2232)
  14664. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::StepAndRepeat ( long NumCopies, double DistanceX, double DistanceY, enum cdrDistanceMode ModeX, enum cdrDirection DirectionX, enum cdrDistanceMode ModeY, enum cdrDirection DirectionY ) {
  14665. struct IVGShapeRange * _result = 0;
  14666. HRESULT _hr = raw_StepAndRepeat(NumCopies, DistanceX, DistanceY, ModeX, DirectionX, ModeY, DirectionY, &_result);
  14667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14668. return IVGShapeRangePtr(_result, false);
  14669. }
  14670. #pragma implementation_key(2233)
  14671. inline VARIANT_BOOL VGCore::IVGShape::GetOverprintBitmap ( ) {
  14672. VARIANT_BOOL _result = 0;
  14673. HRESULT _hr = get_OverprintBitmap(&_result);
  14674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14675. return _result;
  14676. }
  14677. #pragma implementation_key(2234)
  14678. inline void VGCore::IVGShape::PutOverprintBitmap ( VARIANT_BOOL pVal ) {
  14679. HRESULT _hr = put_OverprintBitmap(pVal);
  14680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14681. }
  14682. #pragma implementation_key(2235)
  14683. inline VARIANT_BOOL VGCore::IVGShape::IsTypeAnyOf ( SAFEARRAY * * TypeList ) {
  14684. VARIANT_BOOL _result = 0;
  14685. HRESULT _hr = raw_IsTypeAnyOf(TypeList, &_result);
  14686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14687. return _result;
  14688. }
  14689. #pragma implementation_key(2236)
  14690. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::GetLinkedShapes ( enum cdrShapeLinkType LinkType ) {
  14691. struct IVGShapeRange * _result = 0;
  14692. HRESULT _hr = raw_GetLinkedShapes(LinkType, &_result);
  14693. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14694. return IVGShapeRangePtr(_result, false);
  14695. }
  14696. #pragma implementation_key(2237)
  14697. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateEnvelopeFromShape ( struct IVGShape * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
  14698. struct IVGEffect * _result = 0;
  14699. HRESULT _hr = raw_CreateEnvelopeFromShape(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
  14700. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14701. return IVGEffectPtr(_result, false);
  14702. }
  14703. #pragma implementation_key(2238)
  14704. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateEnvelopeFromCurve ( struct IVGCurve * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
  14705. struct IVGEffect * _result = 0;
  14706. HRESULT _hr = raw_CreateEnvelopeFromCurve(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
  14707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14708. return IVGEffectPtr(_result, false);
  14709. }
  14710. #pragma implementation_key(2239)
  14711. inline VGCore::IVGEPSPtr VGCore::IVGShape::GetEPS ( ) {
  14712. struct IVGEPS * _result = 0;
  14713. HRESULT _hr = get_EPS(&_result);
  14714. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14715. return IVGEPSPtr(_result, false);
  14716. }
  14717. #pragma implementation_key(2240)
  14718. inline _variant_t VGCore::IVGShape::Evaluate ( _bstr_t Expression ) {
  14719. VARIANT _result;
  14720. VariantInit(&_result);
  14721. HRESULT _hr = raw_Evaluate(Expression, &_result);
  14722. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14723. return _variant_t(_result, false);
  14724. }
  14725. #pragma implementation_key(2241)
  14726. inline VGCore::IVGRectPtr VGCore::IVGShape::GetBoundingBox ( ) {
  14727. struct IVGRect * _result = 0;
  14728. HRESULT _hr = get_BoundingBox(&_result);
  14729. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14730. return IVGRectPtr(_result, false);
  14731. }
  14732. #pragma implementation_key(2242)
  14733. inline HRESULT VGCore::IVGShape::GetPositionEx ( enum cdrReferencePoint ReferencePoint, double * x, double * y ) {
  14734. HRESULT _hr = raw_GetPositionEx(ReferencePoint, x, y);
  14735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14736. return _hr;
  14737. }
  14738. #pragma implementation_key(2243)
  14739. inline HRESULT VGCore::IVGShape::SetPositionEx ( enum cdrReferencePoint ReferencePoint, double x, double y ) {
  14740. HRESULT _hr = raw_SetPositionEx(ReferencePoint, x, y);
  14741. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14742. return _hr;
  14743. }
  14744. #pragma implementation_key(2244)
  14745. inline double VGCore::IVGShape::GetCenterX ( ) {
  14746. double _result = 0;
  14747. HRESULT _hr = get_CenterX(&_result);
  14748. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14749. return _result;
  14750. }
  14751. #pragma implementation_key(2245)
  14752. inline void VGCore::IVGShape::PutCenterX ( double pVal ) {
  14753. HRESULT _hr = put_CenterX(pVal);
  14754. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14755. }
  14756. #pragma implementation_key(2246)
  14757. inline double VGCore::IVGShape::GetCenterY ( ) {
  14758. double _result = 0;
  14759. HRESULT _hr = get_CenterY(&_result);
  14760. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14761. return _result;
  14762. }
  14763. #pragma implementation_key(2247)
  14764. inline void VGCore::IVGShape::PutCenterY ( double pVal ) {
  14765. HRESULT _hr = put_CenterY(pVal);
  14766. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14767. }
  14768. #pragma implementation_key(2248)
  14769. inline void VGCore::IVGShape::PutLeftX ( double pVal ) {
  14770. HRESULT _hr = put_LeftX(pVal);
  14771. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14772. }
  14773. #pragma implementation_key(2249)
  14774. inline void VGCore::IVGShape::PutRightX ( double pVal ) {
  14775. HRESULT _hr = put_RightX(pVal);
  14776. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14777. }
  14778. #pragma implementation_key(2250)
  14779. inline void VGCore::IVGShape::PutTopY ( double pVal ) {
  14780. HRESULT _hr = put_TopY(pVal);
  14781. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14782. }
  14783. #pragma implementation_key(2251)
  14784. inline void VGCore::IVGShape::PutBottomY ( double pVal ) {
  14785. HRESULT _hr = put_BottomY(pVal);
  14786. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14787. }
  14788. #pragma implementation_key(2252)
  14789. inline long VGCore::IVGShape::GetZOrder ( ) {
  14790. long _result = 0;
  14791. HRESULT _hr = get_ZOrder(&_result);
  14792. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14793. return _result;
  14794. }
  14795. #pragma implementation_key(2253)
  14796. inline VARIANT_BOOL VGCore::IVGShape::CompareToEx ( struct IVGShape * Shape2, _bstr_t Condition, const _variant_t & Data ) {
  14797. VARIANT_BOOL _result = 0;
  14798. HRESULT _hr = raw_CompareToEx(Shape2, Condition, Data, &_result);
  14799. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14800. return _result;
  14801. }
  14802. #pragma implementation_key(2254)
  14803. inline VARIANT_BOOL VGCore::IVGShape::CopyPropertiesFrom ( struct IVGShape * Source, enum cdrCopyProperties Properties ) {
  14804. VARIANT_BOOL _result = 0;
  14805. HRESULT _hr = raw_CopyPropertiesFrom(Source, Properties, &_result);
  14806. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14807. return _result;
  14808. }
  14809. #pragma implementation_key(2255)
  14810. inline enum VGCore::cdrOverprintState VGCore::IVGShape::GetOverprintFillState ( ) {
  14811. enum cdrOverprintState _result;
  14812. HRESULT _hr = raw_GetOverprintFillState(&_result);
  14813. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14814. return _result;
  14815. }
  14816. #pragma implementation_key(2256)
  14817. inline enum VGCore::cdrOverprintState VGCore::IVGShape::GetOverprintOutlineState ( ) {
  14818. enum cdrOverprintState _result;
  14819. HRESULT _hr = raw_GetOverprintOutlineState(&_result);
  14820. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14821. return _result;
  14822. }
  14823. #pragma implementation_key(2257)
  14824. inline VGCore::IVGPagePtr VGCore::IVGShape::GetPage ( ) {
  14825. struct IVGPage * _result = 0;
  14826. HRESULT _hr = get_Page(&_result);
  14827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14828. return IVGPagePtr(_result, false);
  14829. }
  14830. #pragma implementation_key(2258)
  14831. inline VGCore::IVGSnapPointsPtr VGCore::IVGShape::SnapPointsOfType ( enum cdrPointType TypeSet ) {
  14832. struct IVGSnapPoints * _result = 0;
  14833. HRESULT _hr = raw_SnapPointsOfType(TypeSet, &_result);
  14834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14835. return IVGSnapPointsPtr(_result, false);
  14836. }
  14837. #pragma implementation_key(2259)
  14838. inline VGCore::IVGSnapPointPtr VGCore::IVGShape::FindSnapPoint ( _bstr_t ReferenceData ) {
  14839. struct IVGSnapPoint * _result = 0;
  14840. HRESULT _hr = raw_FindSnapPoint(ReferenceData, &_result);
  14841. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14842. return IVGSnapPointPtr(_result, false);
  14843. }
  14844. #pragma implementation_key(2260)
  14845. inline VGCore::IVGSpreadPtr VGCore::IVGShape::GetSpread ( ) {
  14846. struct IVGSpread * _result = 0;
  14847. HRESULT _hr = get_Spread(&_result);
  14848. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14849. return IVGSpreadPtr(_result, false);
  14850. }
  14851. #pragma implementation_key(2261)
  14852. inline VARIANT_BOOL VGCore::IVGShape::GetPixelAlignedRendering ( ) {
  14853. VARIANT_BOOL _result = 0;
  14854. HRESULT _hr = get_PixelAlignedRendering(&_result);
  14855. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14856. return _result;
  14857. }
  14858. #pragma implementation_key(2262)
  14859. inline void VGCore::IVGShape::PutPixelAlignedRendering ( VARIANT_BOOL pVal ) {
  14860. HRESULT _hr = put_PixelAlignedRendering(pVal);
  14861. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14862. }
  14863. #pragma implementation_key(2263)
  14864. inline VGCore::IVGBSplinePtr VGCore::IVGShape::GetBSpline ( ) {
  14865. struct IVGBSpline * _result = 0;
  14866. HRESULT _hr = get_BSpline(&_result);
  14867. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14868. return IVGBSplinePtr(_result, false);
  14869. }
  14870. #pragma implementation_key(2264)
  14871. inline VGCore::IVGDocumentPtr VGCore::IVGShape::CreateDocumentFrom ( VARIANT_BOOL TemporaryDocument ) {
  14872. struct IVGDocument * _result = 0;
  14873. HRESULT _hr = raw_CreateDocumentFrom(TemporaryDocument, &_result);
  14874. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14875. return IVGDocumentPtr(_result, false);
  14876. }
  14877. #pragma implementation_key(2265)
  14878. inline HRESULT VGCore::IVGShape::AlignAndDistribute ( enum cdrAlignDistributeH MethodH, enum cdrAlignDistributeV MethodV, enum cdrAlignShapesTo AlignTo, enum cdrDistributeArea DistributeArea, VARIANT_BOOL UseOutline, enum cdrTextAlignOrigin TextAlignOrigin, double PointX, double PointY, struct IVGRect * DistributeRect ) {
  14879. HRESULT _hr = raw_AlignAndDistribute(MethodH, MethodV, AlignTo, DistributeArea, UseOutline, TextAlignOrigin, PointX, PointY, DistributeRect);
  14880. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14881. return _hr;
  14882. }
  14883. #pragma implementation_key(2266)
  14884. inline VGCore::IVGStylePtr VGCore::IVGShape::GetStyle ( ) {
  14885. struct IVGStyle * _result = 0;
  14886. HRESULT _hr = get_Style(&_result);
  14887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14888. return IVGStylePtr(_result, false);
  14889. }
  14890. #pragma implementation_key(2267)
  14891. inline VGCore::IVGShapePtr VGCore::IVGShape::CreateBoundary ( double x, double y, VARIANT_BOOL PlaceOnTop, VARIANT_BOOL DeleteSource ) {
  14892. struct IVGShape * _result = 0;
  14893. HRESULT _hr = raw_CreateBoundary(x, y, PlaceOnTop, DeleteSource, &_result);
  14894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14895. return IVGShapePtr(_result, false);
  14896. }
  14897. #pragma implementation_key(2268)
  14898. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::EqualDivide ( long Divisions, double Gap, VARIANT_BOOL Group, VARIANT_BOOL Combine, VARIANT_BOOL DeleteSource ) {
  14899. struct IVGShapeRange * _result = 0;
  14900. HRESULT _hr = raw_EqualDivide(Divisions, Gap, Group, Combine, DeleteSource, &_result);
  14901. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14902. return IVGShapeRangePtr(_result, false);
  14903. }
  14904. #pragma implementation_key(2269)
  14905. inline VGCore::IVGShapePtr VGCore::IVGShape::Project ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
  14906. struct IVGShape * _result = 0;
  14907. HRESULT _hr = raw_Project(Plane, ReferencePoint, ApplyToDuplicate, &_result);
  14908. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14909. return IVGShapePtr(_result, false);
  14910. }
  14911. #pragma implementation_key(2270)
  14912. inline VGCore::IVGShapePtr VGCore::IVGShape::Unproject ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
  14913. struct IVGShape * _result = 0;
  14914. HRESULT _hr = raw_Unproject(Plane, ReferencePoint, ApplyToDuplicate, &_result);
  14915. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14916. return IVGShapePtr(_result, false);
  14917. }
  14918. #pragma implementation_key(2271)
  14919. inline VGCore::IVGTransformMatrixPtr VGCore::IVGShape::GetTransformationMatrix ( ) {
  14920. struct IVGTransformMatrix * _result = 0;
  14921. HRESULT _hr = get_TransformationMatrix(&_result);
  14922. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14923. return IVGTransformMatrixPtr(_result, false);
  14924. }
  14925. #pragma implementation_key(2272)
  14926. inline void VGCore::IVGShape::PutTransformationMatrix ( struct IVGTransformMatrix * TransformMatrix ) {
  14927. HRESULT _hr = put_TransformationMatrix(TransformMatrix);
  14928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14929. }
  14930. #pragma implementation_key(2273)
  14931. inline HRESULT VGCore::IVGShape::ApplyTransformMatrix ( struct IVGTransformMatrix * TransformMatrix ) {
  14932. HRESULT _hr = raw_ApplyTransformMatrix(TransformMatrix);
  14933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14934. return _hr;
  14935. }
  14936. #pragma implementation_key(2274)
  14937. inline VARIANT_BOOL VGCore::IVGShape::GetVisible ( ) {
  14938. VARIANT_BOOL _result = 0;
  14939. HRESULT _hr = get_Visible(&_result);
  14940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14941. return _result;
  14942. }
  14943. #pragma implementation_key(2275)
  14944. inline void VGCore::IVGShape::PutVisible ( VARIANT_BOOL pVal ) {
  14945. HRESULT _hr = put_Visible(pVal);
  14946. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14947. }
  14948. #pragma implementation_key(2276)
  14949. inline HRESULT VGCore::IVGShape::ModifyToolShapeProperties ( struct IVGProperties * ShapePropertiesToModify ) {
  14950. HRESULT _hr = raw_ModifyToolShapeProperties(ShapePropertiesToModify);
  14951. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14952. return _hr;
  14953. }
  14954. #pragma implementation_key(2277)
  14955. inline _bstr_t VGCore::IVGShape::GetToolShapeGuid ( ) {
  14956. BSTR _result = 0;
  14957. HRESULT _hr = raw_GetToolShapeGuid(&_result);
  14958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14959. return _bstr_t(_result, false);
  14960. }
  14961. #pragma implementation_key(2278)
  14962. inline VGCore::IVGShapeRangePtr VGCore::IVGShape::CreateParallelCurves ( long Count, double distanceBetweenCurves ) {
  14963. struct IVGShapeRange * _result = 0;
  14964. HRESULT _hr = raw_CreateParallelCurves(Count, distanceBetweenCurves, &_result);
  14965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14966. return IVGShapeRangePtr(_result, false);
  14967. }
  14968. #pragma implementation_key(2279)
  14969. inline VGCore::IVGShapePtr VGCore::IVGShape::FindShapeAtPoint ( double x, double y, VARIANT_BOOL TreatAsFilled ) {
  14970. struct IVGShape * _result = 0;
  14971. HRESULT _hr = raw_FindShapeAtPoint(x, y, TreatAsFilled, &_result);
  14972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14973. return IVGShapePtr(_result, false);
  14974. }
  14975. #pragma implementation_key(2280)
  14976. inline SAFEARRAY * VGCore::IVGShape::GetColorTypes ( ) {
  14977. SAFEARRAY * _result = 0;
  14978. HRESULT _hr = raw_GetColorTypes(&_result);
  14979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14980. return _result;
  14981. }
  14982. #pragma implementation_key(2281)
  14983. inline SAFEARRAY * VGCore::IVGShape::GetColors ( long MaxBitmapColors ) {
  14984. SAFEARRAY * _result = 0;
  14985. HRESULT _hr = raw_GetColors(MaxBitmapColors, &_result);
  14986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14987. return _result;
  14988. }
  14989. #pragma implementation_key(2282)
  14990. inline HRESULT VGCore::IVGShape::FlattenEffects ( ) {
  14991. HRESULT _hr = raw_FlattenEffects();
  14992. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  14993. return _hr;
  14994. }
  14995. #pragma implementation_key(2283)
  14996. inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateInnerShadow ( long Opacity, long Feather, double OffsetX, double OffsetY, struct IVGColor * Color, enum cdrFeatherType FeatherType, enum cdrEdgeType FeatherEdge, enum cdrMergeMode MergeMode, double Depth ) {
  14997. struct IVGEffect * _result = 0;
  14998. HRESULT _hr = raw_CreateInnerShadow(Opacity, Feather, OffsetX, OffsetY, Color, FeatherType, FeatherEdge, MergeMode, Depth, &_result);
  14999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15000. return IVGEffectPtr(_result, false);
  15001. }
  15002. //
  15003. // interface IVGCustomEffect wrapper method implementations
  15004. //
  15005. #pragma implementation_key(2284)
  15006. inline _bstr_t VGCore::IVGCustomEffect::GetEffectID ( ) {
  15007. BSTR _result = 0;
  15008. HRESULT _hr = get_EffectID(&_result);
  15009. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15010. return _bstr_t(_result, false);
  15011. }
  15012. #pragma implementation_key(2285)
  15013. inline VGCore::IVGShapePtr VGCore::IVGCustomEffect::GetEffectGroup ( ) {
  15014. struct IVGShape * _result = 0;
  15015. HRESULT _hr = get_EffectGroup(&_result);
  15016. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15017. return IVGShapePtr(_result, false);
  15018. }
  15019. //
  15020. // interface IVGCloneLink wrapper method implementations
  15021. //
  15022. #pragma implementation_key(2286)
  15023. inline VGCore::IVGApplicationPtr VGCore::IVGCloneLink::GetApplication ( ) {
  15024. struct IVGApplication * _result = 0;
  15025. HRESULT _hr = get_Application(&_result);
  15026. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15027. return IVGApplicationPtr(_result, false);
  15028. }
  15029. #pragma implementation_key(2287)
  15030. inline VGCore::IVGShapePtr VGCore::IVGCloneLink::GetParent ( ) {
  15031. struct IVGShape * _result = 0;
  15032. HRESULT _hr = get_Parent(&_result);
  15033. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15034. return IVGShapePtr(_result, false);
  15035. }
  15036. #pragma implementation_key(2288)
  15037. inline VGCore::IVGShapePtr VGCore::IVGCloneLink::GetCloneParent ( ) {
  15038. struct IVGShape * _result = 0;
  15039. HRESULT _hr = get_CloneParent(&_result);
  15040. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15041. return IVGShapePtr(_result, false);
  15042. }
  15043. #pragma implementation_key(2289)
  15044. inline VARIANT_BOOL VGCore::IVGCloneLink::GetFillLinked ( ) {
  15045. VARIANT_BOOL _result = 0;
  15046. HRESULT _hr = get_FillLinked(&_result);
  15047. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15048. return _result;
  15049. }
  15050. #pragma implementation_key(2290)
  15051. inline void VGCore::IVGCloneLink::PutFillLinked ( VARIANT_BOOL pVal ) {
  15052. HRESULT _hr = put_FillLinked(pVal);
  15053. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15054. }
  15055. #pragma implementation_key(2291)
  15056. inline VARIANT_BOOL VGCore::IVGCloneLink::GetOutlineLinked ( ) {
  15057. VARIANT_BOOL _result = 0;
  15058. HRESULT _hr = get_OutlineLinked(&_result);
  15059. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15060. return _result;
  15061. }
  15062. #pragma implementation_key(2292)
  15063. inline void VGCore::IVGCloneLink::PutOutlineLinked ( VARIANT_BOOL pVal ) {
  15064. HRESULT _hr = put_OutlineLinked(pVal);
  15065. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15066. }
  15067. #pragma implementation_key(2293)
  15068. inline VARIANT_BOOL VGCore::IVGCloneLink::GetShapeLinked ( ) {
  15069. VARIANT_BOOL _result = 0;
  15070. HRESULT _hr = get_ShapeLinked(&_result);
  15071. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15072. return _result;
  15073. }
  15074. #pragma implementation_key(2294)
  15075. inline void VGCore::IVGCloneLink::PutShapeLinked ( VARIANT_BOOL pVal ) {
  15076. HRESULT _hr = put_ShapeLinked(pVal);
  15077. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15078. }
  15079. #pragma implementation_key(2295)
  15080. inline VARIANT_BOOL VGCore::IVGCloneLink::GetTransformLinked ( ) {
  15081. VARIANT_BOOL _result = 0;
  15082. HRESULT _hr = get_TransformLinked(&_result);
  15083. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15084. return _result;
  15085. }
  15086. #pragma implementation_key(2296)
  15087. inline void VGCore::IVGCloneLink::PutTransformLinked ( VARIANT_BOOL pVal ) {
  15088. HRESULT _hr = put_TransformLinked(pVal);
  15089. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15090. }
  15091. #pragma implementation_key(2297)
  15092. inline VARIANT_BOOL VGCore::IVGCloneLink::GetBitmapColorMaskLinked ( ) {
  15093. VARIANT_BOOL _result = 0;
  15094. HRESULT _hr = get_BitmapColorMaskLinked(&_result);
  15095. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15096. return _result;
  15097. }
  15098. #pragma implementation_key(2298)
  15099. inline void VGCore::IVGCloneLink::PutBitmapColorMaskLinked ( VARIANT_BOOL pVal ) {
  15100. HRESULT _hr = put_BitmapColorMaskLinked(pVal);
  15101. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15102. }
  15103. #pragma implementation_key(2299)
  15104. inline HRESULT VGCore::IVGCloneLink::RestoreAllLinks ( ) {
  15105. HRESULT _hr = raw_RestoreAllLinks();
  15106. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15107. return _hr;
  15108. }
  15109. //
  15110. // interface IVGCommentTarget wrapper method implementations
  15111. //
  15112. #pragma implementation_key(2300)
  15113. inline VGCore::IVGShapePtr VGCore::IVGCommentTarget::GetShape ( ) {
  15114. struct IVGShape * _result = 0;
  15115. HRESULT _hr = get_Shape(&_result);
  15116. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15117. return IVGShapePtr(_result, false);
  15118. }
  15119. #pragma implementation_key(2301)
  15120. inline void VGCore::IVGCommentTarget::PutRefShape ( struct IVGShape * * pRet ) {
  15121. HRESULT _hr = putref_Shape(pRet);
  15122. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15123. }
  15124. #pragma implementation_key(2302)
  15125. inline _bstr_t VGCore::IVGCommentTarget::GetGuid ( ) {
  15126. BSTR _result = 0;
  15127. HRESULT _hr = get_Guid(&_result);
  15128. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15129. return _bstr_t(_result, false);
  15130. }
  15131. #pragma implementation_key(2303)
  15132. inline void VGCore::IVGCommentTarget::PutGuid ( _bstr_t pRet ) {
  15133. HRESULT _hr = put_Guid(pRet);
  15134. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15135. }
  15136. //
  15137. // interface IVGSelectionInformation wrapper method implementations
  15138. //
  15139. #pragma implementation_key(2304)
  15140. inline VGCore::IVGApplicationPtr VGCore::IVGSelectionInformation::GetApplication ( ) {
  15141. struct IVGApplication * _result = 0;
  15142. HRESULT _hr = get_Application(&_result);
  15143. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15144. return IVGApplicationPtr(_result, false);
  15145. }
  15146. #pragma implementation_key(2305)
  15147. inline VGCore::IVGDocumentPtr VGCore::IVGSelectionInformation::GetParent ( ) {
  15148. struct IVGDocument * _result = 0;
  15149. HRESULT _hr = get_Parent(&_result);
  15150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15151. return IVGDocumentPtr(_result, false);
  15152. }
  15153. #pragma implementation_key(2306)
  15154. inline long VGCore::IVGSelectionInformation::GetCount ( ) {
  15155. long _result = 0;
  15156. HRESULT _hr = get_Count(&_result);
  15157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15158. return _result;
  15159. }
  15160. #pragma implementation_key(2307)
  15161. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFirstShape ( ) {
  15162. struct IVGShape * _result = 0;
  15163. HRESULT _hr = get_FirstShape(&_result);
  15164. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15165. return IVGShapePtr(_result, false);
  15166. }
  15167. #pragma implementation_key(2308)
  15168. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetSecondShape ( ) {
  15169. struct IVGShape * _result = 0;
  15170. HRESULT _hr = get_SecondShape(&_result);
  15171. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15172. return IVGShapePtr(_result, false);
  15173. }
  15174. #pragma implementation_key(2309)
  15175. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetBlendTopShape ( ) {
  15176. struct IVGShape * _result = 0;
  15177. HRESULT _hr = get_BlendTopShape(&_result);
  15178. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15179. return IVGShapePtr(_result, false);
  15180. }
  15181. #pragma implementation_key(2310)
  15182. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetBlendBottomShape ( ) {
  15183. struct IVGShape * _result = 0;
  15184. HRESULT _hr = get_BlendBottomShape(&_result);
  15185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15186. return IVGShapePtr(_result, false);
  15187. }
  15188. #pragma implementation_key(2311)
  15189. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetBlendPath ( ) {
  15190. struct IVGShape * _result = 0;
  15191. HRESULT _hr = get_BlendPath(&_result);
  15192. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15193. return IVGShapePtr(_result, false);
  15194. }
  15195. #pragma implementation_key(2312)
  15196. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCreateBlend ( ) {
  15197. VARIANT_BOOL _result = 0;
  15198. HRESULT _hr = get_CanCreateBlend(&_result);
  15199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15200. return _result;
  15201. }
  15202. #pragma implementation_key(2313)
  15203. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDistortionShape ( ) {
  15204. struct IVGShape * _result = 0;
  15205. HRESULT _hr = get_DistortionShape(&_result);
  15206. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15207. return IVGShapePtr(_result, false);
  15208. }
  15209. #pragma implementation_key(2314)
  15210. inline enum VGCore::cdrDistortionType VGCore::IVGSelectionInformation::GetDistortionType ( ) {
  15211. enum cdrDistortionType _result;
  15212. HRESULT _hr = get_DistortionType(&_result);
  15213. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15214. return _result;
  15215. }
  15216. #pragma implementation_key(2315)
  15217. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetExtrudeFaceShape ( ) {
  15218. struct IVGShape * _result = 0;
  15219. HRESULT _hr = get_ExtrudeFaceShape(&_result);
  15220. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15221. return IVGShapePtr(_result, false);
  15222. }
  15223. #pragma implementation_key(2316)
  15224. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetExtrudeGroup ( ) {
  15225. struct IVGShape * _result = 0;
  15226. HRESULT _hr = get_ExtrudeGroup(&_result);
  15227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15228. return IVGShapePtr(_result, false);
  15229. }
  15230. #pragma implementation_key(2317)
  15231. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetExtrudeBevelGroup ( ) {
  15232. struct IVGShape * _result = 0;
  15233. HRESULT _hr = get_ExtrudeBevelGroup(&_result);
  15234. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15235. return IVGShapePtr(_result, false);
  15236. }
  15237. #pragma implementation_key(2318)
  15238. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetContourControlShape ( ) {
  15239. struct IVGShape * _result = 0;
  15240. HRESULT _hr = get_ContourControlShape(&_result);
  15241. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15242. return IVGShapePtr(_result, false);
  15243. }
  15244. #pragma implementation_key(2319)
  15245. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetContourGroup ( ) {
  15246. struct IVGShape * _result = 0;
  15247. HRESULT _hr = get_ContourGroup(&_result);
  15248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15249. return IVGShapePtr(_result, false);
  15250. }
  15251. #pragma implementation_key(2320)
  15252. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDropShadowControlShape ( ) {
  15253. struct IVGShape * _result = 0;
  15254. HRESULT _hr = get_DropShadowControlShape(&_result);
  15255. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15256. return IVGShapePtr(_result, false);
  15257. }
  15258. #pragma implementation_key(2321)
  15259. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDropShadowGroup ( ) {
  15260. struct IVGShape * _result = 0;
  15261. HRESULT _hr = get_DropShadowGroup(&_result);
  15262. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15263. return IVGShapePtr(_result, false);
  15264. }
  15265. #pragma implementation_key(2322)
  15266. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDimensionControlShape ( ) {
  15267. struct IVGShape * _result = 0;
  15268. HRESULT _hr = get_DimensionControlShape(&_result);
  15269. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15270. return IVGShapePtr(_result, false);
  15271. }
  15272. #pragma implementation_key(2323)
  15273. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDimensionGroup ( ) {
  15274. struct IVGShape * _result = 0;
  15275. HRESULT _hr = get_DimensionGroup(&_result);
  15276. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15277. return IVGShapePtr(_result, false);
  15278. }
  15279. #pragma implementation_key(2324)
  15280. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetConnectorLines ( ) {
  15281. struct IVGShape * _result = 0;
  15282. HRESULT _hr = get_ConnectorLines(&_result);
  15283. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15284. return IVGShapePtr(_result, false);
  15285. }
  15286. #pragma implementation_key(2325)
  15287. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFittedTextControlShape ( ) {
  15288. struct IVGShape * _result = 0;
  15289. HRESULT _hr = get_FittedTextControlShape(&_result);
  15290. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15291. return IVGShapePtr(_result, false);
  15292. }
  15293. #pragma implementation_key(2326)
  15294. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFittedText ( ) {
  15295. struct IVGShape * _result = 0;
  15296. HRESULT _hr = get_FittedText(&_result);
  15297. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15298. return IVGShapePtr(_result, false);
  15299. }
  15300. #pragma implementation_key(2327)
  15301. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFirstShapeWithOutline ( ) {
  15302. struct IVGShape * _result = 0;
  15303. HRESULT _hr = get_FirstShapeWithOutline(&_result);
  15304. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15305. return IVGShapePtr(_result, false);
  15306. }
  15307. #pragma implementation_key(2328)
  15308. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFirstShapeWithFill ( ) {
  15309. struct IVGShape * _result = 0;
  15310. HRESULT _hr = get_FirstShapeWithFill(&_result);
  15311. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15312. return IVGShapePtr(_result, false);
  15313. }
  15314. #pragma implementation_key(2329)
  15315. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetNaturalMediaControlShape ( ) {
  15316. struct IVGShape * _result = 0;
  15317. HRESULT _hr = get_NaturalMediaControlShape(&_result);
  15318. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15319. return IVGShapePtr(_result, false);
  15320. }
  15321. #pragma implementation_key(2330)
  15322. inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetNaturalMediaGroup ( ) {
  15323. struct IVGShape * _result = 0;
  15324. HRESULT _hr = get_NaturalMediaGroup(&_result);
  15325. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15326. return IVGShapePtr(_result, false);
  15327. }
  15328. #pragma implementation_key(2331)
  15329. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanPrint ( ) {
  15330. VARIANT_BOOL _result = 0;
  15331. HRESULT _hr = get_CanPrint(&_result);
  15332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15333. return _result;
  15334. }
  15335. #pragma implementation_key(2332)
  15336. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEditingText ( ) {
  15337. VARIANT_BOOL _result = 0;
  15338. HRESULT _hr = get_IsEditingText(&_result);
  15339. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15340. return _result;
  15341. }
  15342. #pragma implementation_key(2333)
  15343. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsTextSelection ( ) {
  15344. VARIANT_BOOL _result = 0;
  15345. HRESULT _hr = get_IsTextSelection(&_result);
  15346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15347. return _result;
  15348. }
  15349. #pragma implementation_key(2334)
  15350. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsOnPowerClipContents ( ) {
  15351. VARIANT_BOOL _result = 0;
  15352. HRESULT _hr = get_IsOnPowerClipContents(&_result);
  15353. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15354. return _result;
  15355. }
  15356. #pragma implementation_key(2335)
  15357. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEditingRollOver ( ) {
  15358. VARIANT_BOOL _result = 0;
  15359. HRESULT _hr = get_IsEditingRollOver(&_result);
  15360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15361. return _result;
  15362. }
  15363. #pragma implementation_key(2336)
  15364. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyFillOutline ( ) {
  15365. VARIANT_BOOL _result = 0;
  15366. HRESULT _hr = get_CanApplyFillOutline(&_result);
  15367. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15368. return _result;
  15369. }
  15370. #pragma implementation_key(2337)
  15371. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsControlSelected ( ) {
  15372. VARIANT_BOOL _result = 0;
  15373. HRESULT _hr = get_IsControlSelected(&_result);
  15374. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15375. return _result;
  15376. }
  15377. #pragma implementation_key(2338)
  15378. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanDeleteControl ( ) {
  15379. VARIANT_BOOL _result = 0;
  15380. HRESULT _hr = get_CanDeleteControl(&_result);
  15381. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15382. return _result;
  15383. }
  15384. #pragma implementation_key(2339)
  15385. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsGroup ( ) {
  15386. VARIANT_BOOL _result = 0;
  15387. HRESULT _hr = get_IsGroup(&_result);
  15388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15389. return _result;
  15390. }
  15391. #pragma implementation_key(2340)
  15392. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsRegularShape ( ) {
  15393. VARIANT_BOOL _result = 0;
  15394. HRESULT _hr = get_IsRegularShape(&_result);
  15395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15396. return _result;
  15397. }
  15398. #pragma implementation_key(2341)
  15399. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsControlShape ( ) {
  15400. VARIANT_BOOL _result = 0;
  15401. HRESULT _hr = get_IsControlShape(&_result);
  15402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15403. return _result;
  15404. }
  15405. #pragma implementation_key(2342)
  15406. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBlendControl ( ) {
  15407. VARIANT_BOOL _result = 0;
  15408. HRESULT _hr = get_IsBlendControl(&_result);
  15409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15410. return _result;
  15411. }
  15412. #pragma implementation_key(2343)
  15413. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBlendGroup ( ) {
  15414. VARIANT_BOOL _result = 0;
  15415. HRESULT _hr = get_IsBlendGroup(&_result);
  15416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15417. return _result;
  15418. }
  15419. #pragma implementation_key(2344)
  15420. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsCloneControl ( ) {
  15421. VARIANT_BOOL _result = 0;
  15422. HRESULT _hr = get_IsCloneControl(&_result);
  15423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15424. return _result;
  15425. }
  15426. #pragma implementation_key(2345)
  15427. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsContourControl ( ) {
  15428. VARIANT_BOOL _result = 0;
  15429. HRESULT _hr = get_IsContourControl(&_result);
  15430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15431. return _result;
  15432. }
  15433. #pragma implementation_key(2346)
  15434. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsContourGroup ( ) {
  15435. VARIANT_BOOL _result = 0;
  15436. HRESULT _hr = get_IsContourGroup(&_result);
  15437. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15438. return _result;
  15439. }
  15440. #pragma implementation_key(2347)
  15441. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDropShadowControl ( ) {
  15442. VARIANT_BOOL _result = 0;
  15443. HRESULT _hr = get_IsDropShadowControl(&_result);
  15444. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15445. return _result;
  15446. }
  15447. #pragma implementation_key(2348)
  15448. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDropShadowGroup ( ) {
  15449. VARIANT_BOOL _result = 0;
  15450. HRESULT _hr = get_IsDropShadowGroup(&_result);
  15451. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15452. return _result;
  15453. }
  15454. #pragma implementation_key(2349)
  15455. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDimensionControl ( ) {
  15456. VARIANT_BOOL _result = 0;
  15457. HRESULT _hr = get_IsDimensionControl(&_result);
  15458. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15459. return _result;
  15460. }
  15461. #pragma implementation_key(2350)
  15462. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsExtrudeControl ( ) {
  15463. VARIANT_BOOL _result = 0;
  15464. HRESULT _hr = get_IsExtrudeControl(&_result);
  15465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15466. return _result;
  15467. }
  15468. #pragma implementation_key(2351)
  15469. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsExtrudeGroup ( ) {
  15470. VARIANT_BOOL _result = 0;
  15471. HRESULT _hr = get_IsExtrudeGroup(&_result);
  15472. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15473. return _result;
  15474. }
  15475. #pragma implementation_key(2352)
  15476. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBevelGroup ( ) {
  15477. VARIANT_BOOL _result = 0;
  15478. HRESULT _hr = get_IsBevelGroup(&_result);
  15479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15480. return _result;
  15481. }
  15482. #pragma implementation_key(2353)
  15483. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetHasAutoLabelText ( ) {
  15484. VARIANT_BOOL _result = 0;
  15485. HRESULT _hr = get_HasAutoLabelText(&_result);
  15486. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15487. return _result;
  15488. }
  15489. #pragma implementation_key(2354)
  15490. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEnvelope ( ) {
  15491. VARIANT_BOOL _result = 0;
  15492. HRESULT _hr = get_IsEnvelope(&_result);
  15493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15494. return _result;
  15495. }
  15496. #pragma implementation_key(2355)
  15497. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsPerspective ( ) {
  15498. VARIANT_BOOL _result = 0;
  15499. HRESULT _hr = get_IsPerspective(&_result);
  15500. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15501. return _result;
  15502. }
  15503. #pragma implementation_key(2356)
  15504. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDistortion ( ) {
  15505. VARIANT_BOOL _result = 0;
  15506. HRESULT _hr = get_IsDistortion(&_result);
  15507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15508. return _result;
  15509. }
  15510. #pragma implementation_key(2357)
  15511. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnectorLine ( ) {
  15512. VARIANT_BOOL _result = 0;
  15513. HRESULT _hr = get_IsConnectorLine(&_result);
  15514. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15515. return _result;
  15516. }
  15517. #pragma implementation_key(2358)
  15518. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnector ( ) {
  15519. VARIANT_BOOL _result = 0;
  15520. HRESULT _hr = get_IsConnector(&_result);
  15521. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15522. return _result;
  15523. }
  15524. #pragma implementation_key(2359)
  15525. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsFittedText ( ) {
  15526. VARIANT_BOOL _result = 0;
  15527. HRESULT _hr = get_IsFittedText(&_result);
  15528. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15529. return _result;
  15530. }
  15531. #pragma implementation_key(2360)
  15532. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsFittedTextControl ( ) {
  15533. VARIANT_BOOL _result = 0;
  15534. HRESULT _hr = get_IsFittedTextControl(&_result);
  15535. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15536. return _result;
  15537. }
  15538. #pragma implementation_key(2361)
  15539. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsNaturalMediaControl ( ) {
  15540. VARIANT_BOOL _result = 0;
  15541. HRESULT _hr = get_IsNaturalMediaControl(&_result);
  15542. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15543. return _result;
  15544. }
  15545. #pragma implementation_key(2362)
  15546. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsNaturalMediaGroup ( ) {
  15547. VARIANT_BOOL _result = 0;
  15548. HRESULT _hr = get_IsNaturalMediaGroup(&_result);
  15549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15550. return _result;
  15551. }
  15552. #pragma implementation_key(2363)
  15553. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondExtrudeControl ( ) {
  15554. VARIANT_BOOL _result = 0;
  15555. HRESULT _hr = get_IsSecondExtrudeControl(&_result);
  15556. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15557. return _result;
  15558. }
  15559. #pragma implementation_key(2364)
  15560. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondContourControl ( ) {
  15561. VARIANT_BOOL _result = 0;
  15562. HRESULT _hr = get_IsSecondContourControl(&_result);
  15563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15564. return _result;
  15565. }
  15566. #pragma implementation_key(2365)
  15567. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondDropShadowControl ( ) {
  15568. VARIANT_BOOL _result = 0;
  15569. HRESULT _hr = get_IsSecondDropShadowControl(&_result);
  15570. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15571. return _result;
  15572. }
  15573. #pragma implementation_key(2366)
  15574. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondNaturalMediaControl ( ) {
  15575. VARIANT_BOOL _result = 0;
  15576. HRESULT _hr = get_IsSecondNaturalMediaControl(&_result);
  15577. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15578. return _result;
  15579. }
  15580. #pragma implementation_key(2367)
  15581. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsArtisticTextSelected ( ) {
  15582. VARIANT_BOOL _result = 0;
  15583. HRESULT _hr = get_IsArtisticTextSelected(&_result);
  15584. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15585. return _result;
  15586. }
  15587. #pragma implementation_key(2368)
  15588. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsParagraphTextSelected ( ) {
  15589. VARIANT_BOOL _result = 0;
  15590. HRESULT _hr = get_IsParagraphTextSelected(&_result);
  15591. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15592. return _result;
  15593. }
  15594. #pragma implementation_key(2369)
  15595. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsTextSelected ( ) {
  15596. VARIANT_BOOL _result = 0;
  15597. HRESULT _hr = get_IsTextSelected(&_result);
  15598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15599. return _result;
  15600. }
  15601. #pragma implementation_key(2370)
  15602. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsOLESelected ( ) {
  15603. VARIANT_BOOL _result = 0;
  15604. HRESULT _hr = get_IsOLESelected(&_result);
  15605. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15606. return _result;
  15607. }
  15608. #pragma implementation_key(2371)
  15609. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBitmapSelected ( ) {
  15610. VARIANT_BOOL _result = 0;
  15611. HRESULT _hr = get_IsBitmapSelected(&_result);
  15612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15613. return _result;
  15614. }
  15615. #pragma implementation_key(2372)
  15616. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBitmapPresent ( ) {
  15617. VARIANT_BOOL _result = 0;
  15618. HRESULT _hr = get_IsBitmapPresent(&_result);
  15619. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15620. return _result;
  15621. }
  15622. #pragma implementation_key(2373)
  15623. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsLensPresent ( ) {
  15624. VARIANT_BOOL _result = 0;
  15625. HRESULT _hr = get_IsLensPresent(&_result);
  15626. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15627. return _result;
  15628. }
  15629. #pragma implementation_key(2374)
  15630. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsMaskedBitmapPresent ( ) {
  15631. VARIANT_BOOL _result = 0;
  15632. HRESULT _hr = get_IsMaskedBitmapPresent(&_result);
  15633. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15634. return _result;
  15635. }
  15636. #pragma implementation_key(2375)
  15637. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsGroupSelected ( ) {
  15638. VARIANT_BOOL _result = 0;
  15639. HRESULT _hr = get_IsGroupSelected(&_result);
  15640. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15641. return _result;
  15642. }
  15643. #pragma implementation_key(2376)
  15644. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanUngroup ( ) {
  15645. VARIANT_BOOL _result = 0;
  15646. HRESULT _hr = get_CanUngroup(&_result);
  15647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15648. return _result;
  15649. }
  15650. #pragma implementation_key(2377)
  15651. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsLinkGroupSelected ( ) {
  15652. VARIANT_BOOL _result = 0;
  15653. HRESULT _hr = get_IsLinkGroupSelected(&_result);
  15654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15655. return _result;
  15656. }
  15657. #pragma implementation_key(2378)
  15658. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsLinkControlSelected ( ) {
  15659. VARIANT_BOOL _result = 0;
  15660. HRESULT _hr = get_IsLinkControlSelected(&_result);
  15661. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15662. return _result;
  15663. }
  15664. #pragma implementation_key(2379)
  15665. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsAttachedToDimension ( ) {
  15666. VARIANT_BOOL _result = 0;
  15667. HRESULT _hr = get_IsAttachedToDimension(&_result);
  15668. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15669. return _result;
  15670. }
  15671. #pragma implementation_key(2380)
  15672. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsFittedTextSelected ( ) {
  15673. VARIANT_BOOL _result = 0;
  15674. HRESULT _hr = get_IsFittedTextSelected(&_result);
  15675. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15676. return _result;
  15677. }
  15678. #pragma implementation_key(2381)
  15679. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnectorLineSelected ( ) {
  15680. VARIANT_BOOL _result = 0;
  15681. HRESULT _hr = get_IsConnectorLineSelected(&_result);
  15682. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15683. return _result;
  15684. }
  15685. #pragma implementation_key(2382)
  15686. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnectorSelected ( ) {
  15687. VARIANT_BOOL _result = 0;
  15688. HRESULT _hr = get_IsConnectorSelected(&_result);
  15689. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15690. return _result;
  15691. }
  15692. #pragma implementation_key(2383)
  15693. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsPerspectivePresent ( ) {
  15694. VARIANT_BOOL _result = 0;
  15695. HRESULT _hr = get_IsPerspectivePresent(&_result);
  15696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15697. return _result;
  15698. }
  15699. #pragma implementation_key(2384)
  15700. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEnvelopePresent ( ) {
  15701. VARIANT_BOOL _result = 0;
  15702. HRESULT _hr = get_IsEnvelopePresent(&_result);
  15703. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15704. return _result;
  15705. }
  15706. #pragma implementation_key(2385)
  15707. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDistortionPresent ( ) {
  15708. VARIANT_BOOL _result = 0;
  15709. HRESULT _hr = get_IsDistortionPresent(&_result);
  15710. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15711. return _result;
  15712. }
  15713. #pragma implementation_key(2386)
  15714. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsGuidelineSelected ( ) {
  15715. VARIANT_BOOL _result = 0;
  15716. HRESULT _hr = get_IsGuidelineSelected(&_result);
  15717. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15718. return _result;
  15719. }
  15720. #pragma implementation_key(2387)
  15721. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsInternetObjectSelected ( ) {
  15722. VARIANT_BOOL _result = 0;
  15723. HRESULT _hr = get_IsInternetObjectSelected(&_result);
  15724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15725. return _result;
  15726. }
  15727. #pragma implementation_key(2388)
  15728. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSoundObjectSelected ( ) {
  15729. VARIANT_BOOL _result = 0;
  15730. HRESULT _hr = get_IsSoundObjectSelected(&_result);
  15731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15732. return _result;
  15733. }
  15734. #pragma implementation_key(2389)
  15735. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsExternalBitmapSelected ( ) {
  15736. VARIANT_BOOL _result = 0;
  15737. HRESULT _hr = get_IsExternalBitmapSelected(&_result);
  15738. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15739. return _result;
  15740. }
  15741. #pragma implementation_key(2390)
  15742. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsNonExternalBitmapSelected ( ) {
  15743. VARIANT_BOOL _result = 0;
  15744. HRESULT _hr = get_IsNonExternalBitmapSelected(&_result);
  15745. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15746. return _result;
  15747. }
  15748. #pragma implementation_key(2391)
  15749. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsMeshFillSelected ( ) {
  15750. VARIANT_BOOL _result = 0;
  15751. HRESULT _hr = get_IsMeshFillSelected(&_result);
  15752. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15753. return _result;
  15754. }
  15755. #pragma implementation_key(2392)
  15756. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsMeshFillPresent ( ) {
  15757. VARIANT_BOOL _result = 0;
  15758. HRESULT _hr = get_IsMeshFillPresent(&_result);
  15759. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15760. return _result;
  15761. }
  15762. #pragma implementation_key(2393)
  15763. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsRollOverSelected ( ) {
  15764. VARIANT_BOOL _result = 0;
  15765. HRESULT _hr = get_IsRollOverSelected(&_result);
  15766. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15767. return _result;
  15768. }
  15769. #pragma implementation_key(2394)
  15770. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetContainsRollOverParent ( ) {
  15771. VARIANT_BOOL _result = 0;
  15772. HRESULT _hr = get_ContainsRollOverParent(&_result);
  15773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15774. return _result;
  15775. }
  15776. #pragma implementation_key(2395)
  15777. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanClone ( ) {
  15778. VARIANT_BOOL _result = 0;
  15779. HRESULT _hr = get_CanClone(&_result);
  15780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15781. return _result;
  15782. }
  15783. #pragma implementation_key(2396)
  15784. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyBlend ( ) {
  15785. VARIANT_BOOL _result = 0;
  15786. HRESULT _hr = get_CanApplyBlend(&_result);
  15787. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15788. return _result;
  15789. }
  15790. #pragma implementation_key(2397)
  15791. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyContour ( ) {
  15792. VARIANT_BOOL _result = 0;
  15793. HRESULT _hr = get_CanApplyContour(&_result);
  15794. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15795. return _result;
  15796. }
  15797. #pragma implementation_key(2398)
  15798. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyFill ( ) {
  15799. VARIANT_BOOL _result = 0;
  15800. HRESULT _hr = get_CanApplyFill(&_result);
  15801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15802. return _result;
  15803. }
  15804. #pragma implementation_key(2399)
  15805. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyOutline ( ) {
  15806. VARIANT_BOOL _result = 0;
  15807. HRESULT _hr = get_CanApplyOutline(&_result);
  15808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15809. return _result;
  15810. }
  15811. #pragma implementation_key(2400)
  15812. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyTransparency ( ) {
  15813. VARIANT_BOOL _result = 0;
  15814. HRESULT _hr = get_CanApplyTransparency(&_result);
  15815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15816. return _result;
  15817. }
  15818. #pragma implementation_key(2401)
  15819. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanAssignURL ( ) {
  15820. VARIANT_BOOL _result = 0;
  15821. HRESULT _hr = get_CanAssignURL(&_result);
  15822. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15823. return _result;
  15824. }
  15825. #pragma implementation_key(2402)
  15826. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyDistortion ( ) {
  15827. VARIANT_BOOL _result = 0;
  15828. HRESULT _hr = get_CanApplyDistortion(&_result);
  15829. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15830. return _result;
  15831. }
  15832. #pragma implementation_key(2403)
  15833. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyEnvelope ( ) {
  15834. VARIANT_BOOL _result = 0;
  15835. HRESULT _hr = get_CanApplyEnvelope(&_result);
  15836. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15837. return _result;
  15838. }
  15839. #pragma implementation_key(2404)
  15840. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyBlend ( ) {
  15841. VARIANT_BOOL _result = 0;
  15842. HRESULT _hr = get_CanCopyBlend(&_result);
  15843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15844. return _result;
  15845. }
  15846. #pragma implementation_key(2405)
  15847. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneBlend ( ) {
  15848. VARIANT_BOOL _result = 0;
  15849. HRESULT _hr = get_CanCloneBlend(&_result);
  15850. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15851. return _result;
  15852. }
  15853. #pragma implementation_key(2406)
  15854. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyExtrude ( ) {
  15855. VARIANT_BOOL _result = 0;
  15856. HRESULT _hr = get_CanCopyExtrude(&_result);
  15857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15858. return _result;
  15859. }
  15860. #pragma implementation_key(2407)
  15861. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneExtrude ( ) {
  15862. VARIANT_BOOL _result = 0;
  15863. HRESULT _hr = get_CanCloneExtrude(&_result);
  15864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15865. return _result;
  15866. }
  15867. #pragma implementation_key(2408)
  15868. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyContour ( ) {
  15869. VARIANT_BOOL _result = 0;
  15870. HRESULT _hr = get_CanCopyContour(&_result);
  15871. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15872. return _result;
  15873. }
  15874. #pragma implementation_key(2409)
  15875. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneContour ( ) {
  15876. VARIANT_BOOL _result = 0;
  15877. HRESULT _hr = get_CanCloneContour(&_result);
  15878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15879. return _result;
  15880. }
  15881. #pragma implementation_key(2410)
  15882. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyDropShadow ( ) {
  15883. VARIANT_BOOL _result = 0;
  15884. HRESULT _hr = get_CanCopyDropShadow(&_result);
  15885. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15886. return _result;
  15887. }
  15888. #pragma implementation_key(2411)
  15889. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneDropShadow ( ) {
  15890. VARIANT_BOOL _result = 0;
  15891. HRESULT _hr = get_CanCloneDropShadow(&_result);
  15892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15893. return _result;
  15894. }
  15895. #pragma implementation_key(2412)
  15896. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyLens ( ) {
  15897. VARIANT_BOOL _result = 0;
  15898. HRESULT _hr = get_CanCopyLens(&_result);
  15899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15900. return _result;
  15901. }
  15902. #pragma implementation_key(2413)
  15903. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyPerspective ( ) {
  15904. VARIANT_BOOL _result = 0;
  15905. HRESULT _hr = get_CanCopyPerspective(&_result);
  15906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15907. return _result;
  15908. }
  15909. #pragma implementation_key(2414)
  15910. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyEnvelope ( ) {
  15911. VARIANT_BOOL _result = 0;
  15912. HRESULT _hr = get_CanCopyEnvelope(&_result);
  15913. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15914. return _result;
  15915. }
  15916. #pragma implementation_key(2415)
  15917. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyPowerclip ( ) {
  15918. VARIANT_BOOL _result = 0;
  15919. HRESULT _hr = get_CanCopyPowerclip(&_result);
  15920. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15921. return _result;
  15922. }
  15923. #pragma implementation_key(2416)
  15924. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyDistortion ( ) {
  15925. VARIANT_BOOL _result = 0;
  15926. HRESULT _hr = get_CanCopyDistortion(&_result);
  15927. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15928. return _result;
  15929. }
  15930. #pragma implementation_key(2417)
  15931. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanLockShapes ( ) {
  15932. VARIANT_BOOL _result = 0;
  15933. HRESULT _hr = get_CanLockShapes(&_result);
  15934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15935. return _result;
  15936. }
  15937. #pragma implementation_key(2418)
  15938. inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanUnlockShapes ( ) {
  15939. VARIANT_BOOL _result = 0;
  15940. HRESULT _hr = get_CanUnlockShapes(&_result);
  15941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15942. return _result;
  15943. }
  15944. //
  15945. // interface IVGCurve wrapper method implementations
  15946. //
  15947. #pragma implementation_key(2419)
  15948. inline double VGCore::IVGCurve::GetLength ( ) {
  15949. double _result = 0;
  15950. HRESULT _hr = get_Length(&_result);
  15951. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15952. return _result;
  15953. }
  15954. #pragma implementation_key(2420)
  15955. inline VGCore::IVGSubPathsPtr VGCore::IVGCurve::GetSubPaths ( ) {
  15956. struct IVGSubPaths * _result = 0;
  15957. HRESULT _hr = get_SubPaths(&_result);
  15958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15959. return IVGSubPathsPtr(_result, false);
  15960. }
  15961. #pragma implementation_key(2421)
  15962. inline VGCore::IVGNodesPtr VGCore::IVGCurve::GetNodes ( ) {
  15963. struct IVGNodes * _result = 0;
  15964. HRESULT _hr = get_Nodes(&_result);
  15965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15966. return IVGNodesPtr(_result, false);
  15967. }
  15968. #pragma implementation_key(2422)
  15969. inline VGCore::IVGSegmentsPtr VGCore::IVGCurve::GetSegments ( ) {
  15970. struct IVGSegments * _result = 0;
  15971. HRESULT _hr = get_Segments(&_result);
  15972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15973. return IVGSegmentsPtr(_result, false);
  15974. }
  15975. #pragma implementation_key(2423)
  15976. inline VARIANT_BOOL VGCore::IVGCurve::GetClosed ( ) {
  15977. VARIANT_BOOL _result = 0;
  15978. HRESULT _hr = get_Closed(&_result);
  15979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15980. return _result;
  15981. }
  15982. #pragma implementation_key(2424)
  15983. inline void VGCore::IVGCurve::PutClosed ( VARIANT_BOOL pVal ) {
  15984. HRESULT _hr = put_Closed(pVal);
  15985. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15986. }
  15987. #pragma implementation_key(2425)
  15988. inline VGCore::IVGNodeRangePtr VGCore::IVGCurve::Selection ( ) {
  15989. struct IVGNodeRange * _result = 0;
  15990. HRESULT _hr = raw_Selection(&_result);
  15991. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15992. return IVGNodeRangePtr(_result, false);
  15993. }
  15994. #pragma implementation_key(2426)
  15995. inline VGCore::IVGSubPathPtr VGCore::IVGCurve::CreateSubPath ( double x, double y ) {
  15996. struct IVGSubPath * _result = 0;
  15997. HRESULT _hr = raw_CreateSubPath(x, y, &_result);
  15998. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15999. return IVGSubPathPtr(_result, false);
  16000. }
  16001. #pragma implementation_key(2427)
  16002. inline HRESULT VGCore::IVGCurve::ReverseDirection ( ) {
  16003. HRESULT _hr = raw_ReverseDirection();
  16004. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16005. return _hr;
  16006. }
  16007. #pragma implementation_key(2428)
  16008. inline enum VGCore::cdrPositionOfPointOverShape VGCore::IVGCurve::IsOnCurve ( double x, double y, double HotArea ) {
  16009. enum cdrPositionOfPointOverShape _result;
  16010. HRESULT _hr = raw_IsOnCurve(x, y, HotArea, &_result);
  16011. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16012. return _result;
  16013. }
  16014. #pragma implementation_key(2429)
  16015. inline HRESULT VGCore::IVGCurve::BindToDocument ( struct IVGDocument * Document ) {
  16016. HRESULT _hr = raw_BindToDocument(Document);
  16017. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16018. return _hr;
  16019. }
  16020. #pragma implementation_key(2430)
  16021. inline VGCore::IVGCurvePtr VGCore::IVGCurve::GetCopy ( ) {
  16022. struct IVGCurve * _result = 0;
  16023. HRESULT _hr = raw_GetCopy(&_result);
  16024. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16025. return IVGCurvePtr(_result, false);
  16026. }
  16027. #pragma implementation_key(2431)
  16028. inline HRESULT VGCore::IVGCurve::CopyAssign ( struct IVGCurve * Source ) {
  16029. HRESULT _hr = raw_CopyAssign(Source);
  16030. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16031. return _hr;
  16032. }
  16033. #pragma implementation_key(2432)
  16034. inline VGCore::IVGSubPathPtr VGCore::IVGCurve::CreateSubPathFromArray ( SAFEARRAY * * Source, VARIANT_BOOL Closed, long NumElements ) {
  16035. struct IVGSubPath * _result = 0;
  16036. HRESULT _hr = raw_CreateSubPathFromArray(Source, Closed, NumElements, &_result);
  16037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16038. return IVGSubPathPtr(_result, false);
  16039. }
  16040. #pragma implementation_key(2433)
  16041. inline HRESULT VGCore::IVGCurve::AppendCurve ( struct IVGCurve * Source ) {
  16042. HRESULT _hr = raw_AppendCurve(Source);
  16043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16044. return _hr;
  16045. }
  16046. #pragma implementation_key(2434)
  16047. inline SAFEARRAY * VGCore::IVGCurve::GetCurveInfo ( ) {
  16048. SAFEARRAY * _result = 0;
  16049. HRESULT _hr = raw_GetCurveInfo(&_result);
  16050. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16051. return _result;
  16052. }
  16053. #pragma implementation_key(2435)
  16054. inline long VGCore::IVGCurve::PutCurveInfo ( SAFEARRAY * * Source, long NumElements ) {
  16055. long _result = 0;
  16056. HRESULT _hr = raw_PutCurveInfo(Source, NumElements, &_result);
  16057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16058. return _result;
  16059. }
  16060. #pragma implementation_key(2436)
  16061. inline HRESULT VGCore::IVGCurve::ClearSelection ( ) {
  16062. HRESULT _hr = raw_ClearSelection();
  16063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16064. return _hr;
  16065. }
  16066. #pragma implementation_key(2437)
  16067. inline VGCore::IVGCurvePtr VGCore::IVGCurve::GetPolyline ( long CurvePrecision ) {
  16068. struct IVGCurve * _result = 0;
  16069. HRESULT _hr = raw_GetPolyline(CurvePrecision, &_result);
  16070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16071. return IVGCurvePtr(_result, false);
  16072. }
  16073. #pragma implementation_key(2438)
  16074. inline VGCore::IVGCurvePtr VGCore::IVGCurve::RemoveOverlaps ( ) {
  16075. struct IVGCurve * _result = 0;
  16076. HRESULT _hr = raw_RemoveOverlaps(&_result);
  16077. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16078. return IVGCurvePtr(_result, false);
  16079. }
  16080. #pragma implementation_key(2439)
  16081. inline VGCore::IVGCurvePtr VGCore::IVGCurve::Contour ( double Offset, enum cdrContourDirection Direction, enum cdrContourEndCapType EndCapType, enum cdrContourCornerType CornerType, double MiterLimit ) {
  16082. struct IVGCurve * _result = 0;
  16083. HRESULT _hr = raw_Contour(Offset, Direction, EndCapType, CornerType, MiterLimit, &_result);
  16084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16085. return IVGCurvePtr(_result, false);
  16086. }
  16087. #pragma implementation_key(2440)
  16088. inline VARIANT_BOOL VGCore::IVGCurve::IsPointInside ( double x, double y ) {
  16089. VARIANT_BOOL _result = 0;
  16090. HRESULT _hr = raw_IsPointInside(x, y, &_result);
  16091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16092. return _result;
  16093. }
  16094. #pragma implementation_key(2441)
  16095. inline VARIANT_BOOL VGCore::IVGCurve::IsRectOnEdge ( double x1, double y1, double x2, double y2 ) {
  16096. VARIANT_BOOL _result = 0;
  16097. HRESULT _hr = raw_IsRectOnEdge(x1, y1, x2, y2, &_result);
  16098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16099. return _result;
  16100. }
  16101. #pragma implementation_key(2442)
  16102. inline VGCore::IVGSegmentPtr VGCore::IVGCurve::FindClosestSegment ( double x, double y, double * ParamOffset ) {
  16103. struct IVGSegment * _result = 0;
  16104. HRESULT _hr = raw_FindClosestSegment(x, y, ParamOffset, &_result);
  16105. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16106. return IVGSegmentPtr(_result, false);
  16107. }
  16108. #pragma implementation_key(2443)
  16109. inline VGCore::IVGNodePtr VGCore::IVGCurve::FindNodeAtPoint ( double x, double y, double HotArea ) {
  16110. struct IVGNode * _result = 0;
  16111. HRESULT _hr = raw_FindNodeAtPoint(x, y, HotArea, &_result);
  16112. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16113. return IVGNodePtr(_result, false);
  16114. }
  16115. #pragma implementation_key(2444)
  16116. inline VGCore::IVGSegmentPtr VGCore::IVGCurve::FindSegmentAtPoint ( double x, double y, double * ParamOffset, double HotArea ) {
  16117. struct IVGSegment * _result = 0;
  16118. HRESULT _hr = raw_FindSegmentAtPoint(x, y, ParamOffset, HotArea, &_result);
  16119. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16120. return IVGSegmentPtr(_result, false);
  16121. }
  16122. #pragma implementation_key(2445)
  16123. inline VGCore::IVGCurvePtr VGCore::IVGCurve::WeldWith ( struct IVGCurve * Curve ) {
  16124. struct IVGCurve * _result = 0;
  16125. HRESULT _hr = raw_WeldWith(Curve, &_result);
  16126. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16127. return IVGCurvePtr(_result, false);
  16128. }
  16129. #pragma implementation_key(2446)
  16130. inline VARIANT_BOOL VGCore::IVGCurve::GetIsClockwise ( ) {
  16131. VARIANT_BOOL _result = 0;
  16132. HRESULT _hr = get_IsClockwise(&_result);
  16133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16134. return _result;
  16135. }
  16136. #pragma implementation_key(2447)
  16137. inline double VGCore::IVGCurve::GetArea ( ) {
  16138. double _result = 0;
  16139. HRESULT _hr = get_Area(&_result);
  16140. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16141. return _result;
  16142. }
  16143. #pragma implementation_key(2448)
  16144. inline VARIANT_BOOL VGCore::IVGCurve::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
  16145. VARIANT_BOOL _result = 0;
  16146. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
  16147. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16148. return _result;
  16149. }
  16150. #pragma implementation_key(2449)
  16151. inline VGCore::IVGRectPtr VGCore::IVGCurve::GetBoundingBox ( ) {
  16152. struct IVGRect * _result = 0;
  16153. HRESULT _hr = get_BoundingBox(&_result);
  16154. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16155. return IVGRectPtr(_result, false);
  16156. }
  16157. #pragma implementation_key(2450)
  16158. inline VARIANT_BOOL VGCore::IVGCurve::IntersectsWith ( struct IVGCurve * Curve ) {
  16159. VARIANT_BOOL _result = 0;
  16160. HRESULT _hr = raw_IntersectsWith(Curve, &_result);
  16161. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16162. return _result;
  16163. }
  16164. #pragma implementation_key(2451)
  16165. inline HRESULT VGCore::IVGCurve::AppendSubpathFitToPoints ( struct IVGPointRange * Points, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
  16166. HRESULT _hr = raw_AppendSubpathFitToPoints(Points, UseCurrentViewForTolerance, tolerance);
  16167. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16168. return _hr;
  16169. }
  16170. #pragma implementation_key(2452)
  16171. inline HRESULT VGCore::IVGCurve::AppendSubpathFitToPointsAndCusps ( struct IVGPointRange * Points, SAFEARRAY * * CuspIndexArray, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
  16172. HRESULT _hr = raw_AppendSubpathFitToPointsAndCusps(Points, CuspIndexArray, UseCurrentViewForTolerance, tolerance);
  16173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16174. return _hr;
  16175. }
  16176. #pragma implementation_key(2453)
  16177. inline HRESULT VGCore::IVGCurve::ApplyTransformMatrix ( struct IVGTransformMatrix * TransformMatrix ) {
  16178. HRESULT _hr = raw_ApplyTransformMatrix(TransformMatrix);
  16179. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16180. return _hr;
  16181. }
  16182. #pragma implementation_key(2454)
  16183. inline HRESULT VGCore::IVGCurve::AppendSubpathFromPoints ( struct IVGPointRange * Points, VARIANT_BOOL Close ) {
  16184. HRESULT _hr = raw_AppendSubpathFromPoints(Points, Close);
  16185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16186. return _hr;
  16187. }
  16188. #pragma implementation_key(2455)
  16189. inline VGCore::IVGCurvePtr VGCore::IVGCurve::CreateCurveMappedToStroke ( struct IVGSubPath * Stroke, double ScaleY, VARIANT_BOOL SelfWeld ) {
  16190. struct IVGCurve * _result = 0;
  16191. HRESULT _hr = raw_CreateCurveMappedToStroke(Stroke, ScaleY, SelfWeld, &_result);
  16192. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16193. return IVGCurvePtr(_result, false);
  16194. }
  16195. #pragma implementation_key(2456)
  16196. inline VGCore::IVGCurvePtr VGCore::IVGCurve::CreateCurveMappedToStrokeAndReferenceLine ( struct IVGSubPath * Stroke, struct IVGPoint * Start, struct IVGPoint * End, double ScaleY, VARIANT_BOOL SelfWeld ) {
  16197. struct IVGCurve * _result = 0;
  16198. HRESULT _hr = raw_CreateCurveMappedToStrokeAndReferenceLine(Stroke, Start, End, ScaleY, SelfWeld, &_result);
  16199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16200. return IVGCurvePtr(_result, false);
  16201. }
  16202. #pragma implementation_key(2457)
  16203. inline HRESULT VGCore::IVGCurve::AutoReduceNodes ( double AmountToReduce0To100, VARIANT_BOOL SelectedNodesOnly ) {
  16204. HRESULT _hr = raw_AutoReduceNodes(AmountToReduce0To100, SelectedNodesOnly);
  16205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16206. return _hr;
  16207. }
  16208. #pragma implementation_key(2458)
  16209. inline HRESULT VGCore::IVGCurve::JoinTouchingSubpaths ( VARIANT_BOOL AllowSubpathReversals, double tolerance ) {
  16210. HRESULT _hr = raw_JoinTouchingSubpaths(AllowSubpathReversals, tolerance);
  16211. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16212. return _hr;
  16213. }
  16214. #pragma implementation_key(2459)
  16215. inline HRESULT VGCore::IVGCurve::AppendSubpathCircle ( double CenterX, double CenterY, double Radius ) {
  16216. HRESULT _hr = raw_AppendSubpathCircle(CenterX, CenterY, Radius);
  16217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16218. return _hr;
  16219. }
  16220. #pragma implementation_key(2460)
  16221. inline HRESULT VGCore::IVGCurve::AppendSubpathRectangle ( double Left, double Top, double Right, double Bottom ) {
  16222. HRESULT _hr = raw_AppendSubpathRectangle(Left, Top, Right, Bottom);
  16223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16224. return _hr;
  16225. }
  16226. #pragma implementation_key(2461)
  16227. inline HRESULT VGCore::IVGCurve::AppendSubpathThreePointArc ( double StartX, double StartY, double EndX, double EndY, double ThirdX, double ThirdY ) {
  16228. HRESULT _hr = raw_AppendSubpathThreePointArc(StartX, StartY, EndX, EndY, ThirdX, ThirdY);
  16229. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16230. return _hr;
  16231. }
  16232. #pragma implementation_key(2462)
  16233. inline HRESULT VGCore::IVGCurve::SelfWeldClosedSubpaths ( ) {
  16234. HRESULT _hr = raw_SelfWeldClosedSubpaths();
  16235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16236. return _hr;
  16237. }
  16238. #pragma implementation_key(2463)
  16239. inline HRESULT VGCore::IVGCurve::AppendSubpathEllipse ( double CenterX, double CenterY, double RadiusH, double RadiusV ) {
  16240. HRESULT _hr = raw_AppendSubpathEllipse(CenterX, CenterY, RadiusH, RadiusV);
  16241. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16242. return _hr;
  16243. }
  16244. #pragma implementation_key(2464)
  16245. inline VGCore::IVGCurvePtr VGCore::IVGCurve::WeldEx ( struct IVGCurve * TargetCurve, enum cdrWeldMethod Method, VARIANT_BOOL WindingSource, VARIANT_BOOL WindingTarget, long Flags ) {
  16246. struct IVGCurve * _result = 0;
  16247. HRESULT _hr = raw_WeldEx(TargetCurve, Method, WindingSource, WindingTarget, Flags, &_result);
  16248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16249. return IVGCurvePtr(_result, false);
  16250. }
  16251. //
  16252. // interface IVGArrowHead wrapper method implementations
  16253. //
  16254. #pragma implementation_key(2465)
  16255. inline long VGCore::IVGArrowHead::GetIndex ( ) {
  16256. long _result = 0;
  16257. HRESULT _hr = get_Index(&_result);
  16258. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16259. return _result;
  16260. }
  16261. #pragma implementation_key(2466)
  16262. inline VGCore::IVGCurvePtr VGCore::IVGArrowHead::GetCurve ( ) {
  16263. struct IVGCurve * _result = 0;
  16264. HRESULT _hr = get_Curve(&_result);
  16265. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16266. return IVGCurvePtr(_result, false);
  16267. }
  16268. #pragma implementation_key(2467)
  16269. inline double VGCore::IVGArrowHead::GetBaseOutlineScale ( ) {
  16270. double _result = 0;
  16271. HRESULT _hr = get_BaseOutlineScale(&_result);
  16272. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16273. return _result;
  16274. }
  16275. #pragma implementation_key(2468)
  16276. inline double VGCore::IVGArrowHead::GetCenterX ( ) {
  16277. double _result = 0;
  16278. HRESULT _hr = get_CenterX(&_result);
  16279. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16280. return _result;
  16281. }
  16282. #pragma implementation_key(2469)
  16283. inline double VGCore::IVGArrowHead::GetCenterY ( ) {
  16284. double _result = 0;
  16285. HRESULT _hr = get_CenterY(&_result);
  16286. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16287. return _result;
  16288. }
  16289. #pragma implementation_key(2470)
  16290. inline double VGCore::IVGArrowHead::GetLineOffset ( ) {
  16291. double _result = 0;
  16292. HRESULT _hr = get_LineOffset(&_result);
  16293. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16294. return _result;
  16295. }
  16296. #pragma implementation_key(2471)
  16297. inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHead::BindToDocument ( struct IVGDocument * Document ) {
  16298. struct IVGArrowHead * _result = 0;
  16299. HRESULT _hr = raw_BindToDocument(Document, &_result);
  16300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16301. return IVGArrowHeadPtr(_result, false);
  16302. }
  16303. #pragma implementation_key(2472)
  16304. inline VARIANT_BOOL VGCore::IVGArrowHead::CompareWith ( struct IVGArrowHead * ArrowHead ) {
  16305. VARIANT_BOOL _result = 0;
  16306. HRESULT _hr = raw_CompareWith(ArrowHead, &_result);
  16307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16308. return _result;
  16309. }
  16310. #pragma implementation_key(2473)
  16311. inline _bstr_t VGCore::IVGArrowHead::GetName ( ) {
  16312. BSTR _result = 0;
  16313. HRESULT _hr = get_Name(&_result);
  16314. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16315. return _bstr_t(_result, false);
  16316. }
  16317. #pragma implementation_key(2474)
  16318. inline void VGCore::IVGArrowHead::PutName ( _bstr_t pVal ) {
  16319. HRESULT _hr = put_Name(pVal);
  16320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16321. }
  16322. #pragma implementation_key(2475)
  16323. inline _bstr_t VGCore::IVGArrowHead::GetDisplayName ( ) {
  16324. BSTR _result = 0;
  16325. HRESULT _hr = get_DisplayName(&_result);
  16326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16327. return _bstr_t(_result, false);
  16328. }
  16329. //
  16330. // interface IVGArrowHeads wrapper method implementations
  16331. //
  16332. #pragma implementation_key(2476)
  16333. inline VGCore::IVGApplicationPtr VGCore::IVGArrowHeads::GetApplication ( ) {
  16334. struct IVGApplication * _result = 0;
  16335. HRESULT _hr = get_Application(&_result);
  16336. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16337. return IVGApplicationPtr(_result, false);
  16338. }
  16339. #pragma implementation_key(2477)
  16340. inline VGCore::IVGApplicationPtr VGCore::IVGArrowHeads::GetParent ( ) {
  16341. struct IVGApplication * _result = 0;
  16342. HRESULT _hr = get_Parent(&_result);
  16343. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16344. return IVGApplicationPtr(_result, false);
  16345. }
  16346. #pragma implementation_key(2478)
  16347. inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHeads::GetItem ( long Index ) {
  16348. struct IVGArrowHead * _result = 0;
  16349. HRESULT _hr = get_Item(Index, &_result);
  16350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16351. return IVGArrowHeadPtr(_result, false);
  16352. }
  16353. #pragma implementation_key(2479)
  16354. inline IUnknownPtr VGCore::IVGArrowHeads::Get_NewEnum ( ) {
  16355. IUnknown * _result = 0;
  16356. HRESULT _hr = get__NewEnum(&_result);
  16357. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16358. return IUnknownPtr(_result, false);
  16359. }
  16360. #pragma implementation_key(2480)
  16361. inline long VGCore::IVGArrowHeads::GetCount ( ) {
  16362. long _result = 0;
  16363. HRESULT _hr = get_Count(&_result);
  16364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16365. return _result;
  16366. }
  16367. #pragma implementation_key(2481)
  16368. inline HRESULT VGCore::IVGArrowHeads::Remove ( long Index ) {
  16369. HRESULT _hr = raw_Remove(Index);
  16370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16371. return _hr;
  16372. }
  16373. #pragma implementation_key(2482)
  16374. inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHeads::Add ( struct IVGArrowHead * ArrowHead ) {
  16375. struct IVGArrowHead * _result = 0;
  16376. HRESULT _hr = raw_Add(ArrowHead, &_result);
  16377. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16378. return IVGArrowHeadPtr(_result, false);
  16379. }
  16380. #pragma implementation_key(2483)
  16381. inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHeads::Replace ( long Index, struct IVGArrowHead * ArrowHead ) {
  16382. struct IVGArrowHead * _result = 0;
  16383. HRESULT _hr = raw_Replace(Index, ArrowHead, &_result);
  16384. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16385. return IVGArrowHeadPtr(_result, false);
  16386. }
  16387. //
  16388. // interface IVGSubPaths wrapper method implementations
  16389. //
  16390. #pragma implementation_key(2484)
  16391. inline VGCore::IVGApplicationPtr VGCore::IVGSubPaths::GetApplication ( ) {
  16392. struct IVGApplication * _result = 0;
  16393. HRESULT _hr = get_Application(&_result);
  16394. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16395. return IVGApplicationPtr(_result, false);
  16396. }
  16397. #pragma implementation_key(2485)
  16398. inline VGCore::IVGCurvePtr VGCore::IVGSubPaths::GetParent ( ) {
  16399. struct IVGCurve * _result = 0;
  16400. HRESULT _hr = get_Parent(&_result);
  16401. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16402. return IVGCurvePtr(_result, false);
  16403. }
  16404. #pragma implementation_key(2486)
  16405. inline VGCore::IVGSubPathPtr VGCore::IVGSubPaths::GetItem ( long Index ) {
  16406. struct IVGSubPath * _result = 0;
  16407. HRESULT _hr = get_Item(Index, &_result);
  16408. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16409. return IVGSubPathPtr(_result, false);
  16410. }
  16411. #pragma implementation_key(2487)
  16412. inline IUnknownPtr VGCore::IVGSubPaths::Get_NewEnum ( ) {
  16413. IUnknown * _result = 0;
  16414. HRESULT _hr = get__NewEnum(&_result);
  16415. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16416. return IUnknownPtr(_result, false);
  16417. }
  16418. #pragma implementation_key(2488)
  16419. inline long VGCore::IVGSubPaths::GetCount ( ) {
  16420. long _result = 0;
  16421. HRESULT _hr = get_Count(&_result);
  16422. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16423. return _result;
  16424. }
  16425. #pragma implementation_key(2489)
  16426. inline VGCore::IVGSubPathPtr VGCore::IVGSubPaths::GetFirst ( ) {
  16427. struct IVGSubPath * _result = 0;
  16428. HRESULT _hr = get_First(&_result);
  16429. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16430. return IVGSubPathPtr(_result, false);
  16431. }
  16432. #pragma implementation_key(2490)
  16433. inline VGCore::IVGSubPathPtr VGCore::IVGSubPaths::GetLast ( ) {
  16434. struct IVGSubPath * _result = 0;
  16435. HRESULT _hr = get_Last(&_result);
  16436. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16437. return IVGSubPathPtr(_result, false);
  16438. }
  16439. //
  16440. // interface IVGSubPath wrapper method implementations
  16441. //
  16442. #pragma implementation_key(2491)
  16443. inline VGCore::IVGApplicationPtr VGCore::IVGSubPath::GetApplication ( ) {
  16444. struct IVGApplication * _result = 0;
  16445. HRESULT _hr = get_Application(&_result);
  16446. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16447. return IVGApplicationPtr(_result, false);
  16448. }
  16449. #pragma implementation_key(2492)
  16450. inline VGCore::IVGCurvePtr VGCore::IVGSubPath::GetParent ( ) {
  16451. struct IVGCurve * _result = 0;
  16452. HRESULT _hr = get_Parent(&_result);
  16453. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16454. return IVGCurvePtr(_result, false);
  16455. }
  16456. #pragma implementation_key(2493)
  16457. inline VGCore::IVGNodesPtr VGCore::IVGSubPath::GetNodes ( ) {
  16458. struct IVGNodes * _result = 0;
  16459. HRESULT _hr = get_Nodes(&_result);
  16460. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16461. return IVGNodesPtr(_result, false);
  16462. }
  16463. #pragma implementation_key(2494)
  16464. inline VGCore::IVGSegmentsPtr VGCore::IVGSubPath::GetSegments ( ) {
  16465. struct IVGSegments * _result = 0;
  16466. HRESULT _hr = get_Segments(&_result);
  16467. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16468. return IVGSegmentsPtr(_result, false);
  16469. }
  16470. #pragma implementation_key(2495)
  16471. inline long VGCore::IVGSubPath::GetIndex ( ) {
  16472. long _result = 0;
  16473. HRESULT _hr = get_Index(&_result);
  16474. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16475. return _result;
  16476. }
  16477. #pragma implementation_key(2496)
  16478. inline double VGCore::IVGSubPath::GetLength ( ) {
  16479. double _result = 0;
  16480. HRESULT _hr = get_Length(&_result);
  16481. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16482. return _result;
  16483. }
  16484. #pragma implementation_key(2497)
  16485. inline VARIANT_BOOL VGCore::IVGSubPath::GetClosed ( ) {
  16486. VARIANT_BOOL _result = 0;
  16487. HRESULT _hr = get_Closed(&_result);
  16488. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16489. return _result;
  16490. }
  16491. #pragma implementation_key(2498)
  16492. inline void VGCore::IVGSubPath::PutClosed ( VARIANT_BOOL pVal ) {
  16493. HRESULT _hr = put_Closed(pVal);
  16494. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16495. }
  16496. #pragma implementation_key(2499)
  16497. inline double VGCore::IVGSubPath::GetPositionX ( ) {
  16498. double _result = 0;
  16499. HRESULT _hr = get_PositionX(&_result);
  16500. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16501. return _result;
  16502. }
  16503. #pragma implementation_key(2500)
  16504. inline void VGCore::IVGSubPath::PutPositionX ( double pVal ) {
  16505. HRESULT _hr = put_PositionX(pVal);
  16506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16507. }
  16508. #pragma implementation_key(2501)
  16509. inline double VGCore::IVGSubPath::GetPositionY ( ) {
  16510. double _result = 0;
  16511. HRESULT _hr = get_PositionY(&_result);
  16512. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16513. return _result;
  16514. }
  16515. #pragma implementation_key(2502)
  16516. inline void VGCore::IVGSubPath::PutPositionY ( double pVal ) {
  16517. HRESULT _hr = put_PositionY(pVal);
  16518. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16519. }
  16520. #pragma implementation_key(2503)
  16521. inline double VGCore::IVGSubPath::GetSizeWidth ( ) {
  16522. double _result = 0;
  16523. HRESULT _hr = get_SizeWidth(&_result);
  16524. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16525. return _result;
  16526. }
  16527. #pragma implementation_key(2504)
  16528. inline double VGCore::IVGSubPath::GetSizeHeight ( ) {
  16529. double _result = 0;
  16530. HRESULT _hr = get_SizeHeight(&_result);
  16531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16532. return _result;
  16533. }
  16534. #pragma implementation_key(2505)
  16535. inline VGCore::IVGNodeRangePtr VGCore::IVGSubPath::Selection ( ) {
  16536. struct IVGNodeRange * _result = 0;
  16537. HRESULT _hr = raw_Selection(&_result);
  16538. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16539. return IVGNodeRangePtr(_result, false);
  16540. }
  16541. #pragma implementation_key(2506)
  16542. inline HRESULT VGCore::IVGSubPath::ReverseDirection ( ) {
  16543. HRESULT _hr = raw_ReverseDirection();
  16544. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16545. return _hr;
  16546. }
  16547. #pragma implementation_key(2507)
  16548. inline VGCore::IVGShapePtr VGCore::IVGSubPath::Extract ( struct IVGShape * * OldCurve ) {
  16549. struct IVGShape * _result = 0;
  16550. HRESULT _hr = raw_Extract(OldCurve, &_result);
  16551. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16552. return IVGShapePtr(_result, false);
  16553. }
  16554. #pragma implementation_key(2508)
  16555. inline HRESULT VGCore::IVGSubPath::Delete ( ) {
  16556. HRESULT _hr = raw_Delete();
  16557. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16558. return _hr;
  16559. }
  16560. #pragma implementation_key(2509)
  16561. inline HRESULT VGCore::IVGSubPath::GetPosition ( double * PositionX, double * PositionY ) {
  16562. HRESULT _hr = raw_GetPosition(PositionX, PositionY);
  16563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16564. return _hr;
  16565. }
  16566. #pragma implementation_key(2510)
  16567. inline HRESULT VGCore::IVGSubPath::SetPosition ( double PositionX, double PositionY ) {
  16568. HRESULT _hr = raw_SetPosition(PositionX, PositionY);
  16569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16570. return _hr;
  16571. }
  16572. #pragma implementation_key(2511)
  16573. inline HRESULT VGCore::IVGSubPath::Move ( double DeltaX, double DeltaY ) {
  16574. HRESULT _hr = raw_Move(DeltaX, DeltaY);
  16575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16576. return _hr;
  16577. }
  16578. #pragma implementation_key(2512)
  16579. inline enum VGCore::cdrPositionOfPointOverShape VGCore::IVGSubPath::IsOnSubPath ( double x, double y, double HotArea ) {
  16580. enum cdrPositionOfPointOverShape _result;
  16581. HRESULT _hr = raw_IsOnSubPath(x, y, HotArea, &_result);
  16582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16583. return _result;
  16584. }
  16585. #pragma implementation_key(2513)
  16586. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::AppendLineSegment ( double x, double y, VARIANT_BOOL AppendAtBeginning ) {
  16587. struct IVGSegment * _result = 0;
  16588. HRESULT _hr = raw_AppendLineSegment(x, y, AppendAtBeginning, &_result);
  16589. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16590. return IVGSegmentPtr(_result, false);
  16591. }
  16592. #pragma implementation_key(2514)
  16593. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::AppendCurveSegment ( double x, double y, double StartingControlPointLength, double StartingControlPointAngle, double EndingControlPointLength, double EndingControlPointAngle, VARIANT_BOOL AppendAtBeginning ) {
  16594. struct IVGSegment * _result = 0;
  16595. HRESULT _hr = raw_AppendCurveSegment(x, y, StartingControlPointLength, StartingControlPointAngle, EndingControlPointLength, EndingControlPointAngle, AppendAtBeginning, &_result);
  16596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16597. return IVGSegmentPtr(_result, false);
  16598. }
  16599. #pragma implementation_key(2515)
  16600. inline HRESULT VGCore::IVGSubPath::GetPointPositionAt ( double * x, double * y, double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16601. HRESULT _hr = raw_GetPointPositionAt(x, y, Offset, OffsetType);
  16602. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16603. return _hr;
  16604. }
  16605. #pragma implementation_key(2516)
  16606. inline VGCore::IVGNodePtr VGCore::IVGSubPath::BreakApartAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16607. struct IVGNode * _result = 0;
  16608. HRESULT _hr = raw_BreakApartAt(Offset, OffsetType, &_result);
  16609. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16610. return IVGNodePtr(_result, false);
  16611. }
  16612. #pragma implementation_key(2517)
  16613. inline VGCore::IVGNodePtr VGCore::IVGSubPath::AddNodeAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16614. struct IVGNode * _result = 0;
  16615. HRESULT _hr = raw_AddNodeAt(Offset, OffsetType, &_result);
  16616. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16617. return IVGNodePtr(_result, false);
  16618. }
  16619. #pragma implementation_key(2518)
  16620. inline double VGCore::IVGSubPath::GetPerpendicularAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16621. double _result = 0;
  16622. HRESULT _hr = raw_GetPerpendicularAt(Offset, OffsetType, &_result);
  16623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16624. return _result;
  16625. }
  16626. #pragma implementation_key(2519)
  16627. inline double VGCore::IVGSubPath::GetTangentAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16628. double _result = 0;
  16629. HRESULT _hr = raw_GetTangentAt(Offset, OffsetType, &_result);
  16630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16631. return _result;
  16632. }
  16633. #pragma implementation_key(2520)
  16634. inline VGCore::IVGCrossPointsPtr VGCore::IVGSubPath::GetIntersections ( struct IVGSubPath * Target, enum cdrSegmentOffsetType OffsetType ) {
  16635. struct IVGCrossPoints * _result = 0;
  16636. HRESULT _hr = raw_GetIntersections(Target, OffsetType, &_result);
  16637. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16638. return IVGCrossPointsPtr(_result, false);
  16639. }
  16640. #pragma implementation_key(2521)
  16641. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::GetSegmentAt ( double Offset, enum cdrSegmentOffsetType OffsetType, double * SegmentOffset ) {
  16642. struct IVGSegment * _result = 0;
  16643. HRESULT _hr = raw_GetSegmentAt(Offset, OffsetType, SegmentOffset, &_result);
  16644. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16645. return IVGSegmentPtr(_result, false);
  16646. }
  16647. #pragma implementation_key(2522)
  16648. inline VGCore::IVGSubPathPtr VGCore::IVGSubPath::Next ( ) {
  16649. struct IVGSubPath * _result = 0;
  16650. HRESULT _hr = raw_Next(&_result);
  16651. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16652. return IVGSubPathPtr(_result, false);
  16653. }
  16654. #pragma implementation_key(2523)
  16655. inline VGCore::IVGSubPathPtr VGCore::IVGSubPath::Previous ( ) {
  16656. struct IVGSubPath * _result = 0;
  16657. HRESULT _hr = raw_Previous(&_result);
  16658. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16659. return IVGSubPathPtr(_result, false);
  16660. }
  16661. #pragma implementation_key(2524)
  16662. inline double VGCore::IVGSubPath::GetCurvatureAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16663. double _result = 0;
  16664. HRESULT _hr = raw_GetCurvatureAt(Offset, OffsetType, &_result);
  16665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16666. return _result;
  16667. }
  16668. #pragma implementation_key(2525)
  16669. inline double VGCore::IVGSubPath::GetCurveSpeedAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16670. double _result = 0;
  16671. HRESULT _hr = raw_GetCurveSpeedAt(Offset, OffsetType, &_result);
  16672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16673. return _result;
  16674. }
  16675. #pragma implementation_key(2526)
  16676. inline VGCore::IVGNodePtr VGCore::IVGSubPath::GetStartNode ( ) {
  16677. struct IVGNode * _result = 0;
  16678. HRESULT _hr = get_StartNode(&_result);
  16679. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16680. return IVGNodePtr(_result, false);
  16681. }
  16682. #pragma implementation_key(2527)
  16683. inline VGCore::IVGNodePtr VGCore::IVGSubPath::GetEndNode ( ) {
  16684. struct IVGNode * _result = 0;
  16685. HRESULT _hr = get_EndNode(&_result);
  16686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16687. return IVGNodePtr(_result, false);
  16688. }
  16689. #pragma implementation_key(2528)
  16690. inline VARIANT_BOOL VGCore::IVGSubPath::FindSegmentOffset ( double AbsoluteOffset, struct IVGSegment * * Segment, double * ParamOffset, double * Remainder ) {
  16691. VARIANT_BOOL _result = 0;
  16692. HRESULT _hr = raw_FindSegmentOffset(AbsoluteOffset, Segment, ParamOffset, Remainder, &_result);
  16693. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16694. return _result;
  16695. }
  16696. #pragma implementation_key(2529)
  16697. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::GetFirstSegment ( ) {
  16698. struct IVGSegment * _result = 0;
  16699. HRESULT _hr = get_FirstSegment(&_result);
  16700. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16701. return IVGSegmentPtr(_result, false);
  16702. }
  16703. #pragma implementation_key(2530)
  16704. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::GetLastSegment ( ) {
  16705. struct IVGSegment * _result = 0;
  16706. HRESULT _hr = get_LastSegment(&_result);
  16707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16708. return IVGSegmentPtr(_result, false);
  16709. }
  16710. #pragma implementation_key(2531)
  16711. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::AppendCurveSegment2 ( double x, double y, double StartingControlPointX, double StartingControlPointY, double EndingControlPointX, double EndingControlPointY, VARIANT_BOOL AppendAtBeginning ) {
  16712. struct IVGSegment * _result = 0;
  16713. HRESULT _hr = raw_AppendCurveSegment2(x, y, StartingControlPointX, StartingControlPointY, EndingControlPointX, EndingControlPointY, AppendAtBeginning, &_result);
  16714. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16715. return IVGSegmentPtr(_result, false);
  16716. }
  16717. #pragma implementation_key(2532)
  16718. inline VGCore::IVGCurvePtr VGCore::IVGSubPath::GetCopy ( ) {
  16719. struct IVGCurve * _result = 0;
  16720. HRESULT _hr = raw_GetCopy(&_result);
  16721. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16722. return IVGCurvePtr(_result, false);
  16723. }
  16724. #pragma implementation_key(2533)
  16725. inline SAFEARRAY * VGCore::IVGSubPath::GetCurveInfo ( ) {
  16726. SAFEARRAY * _result = 0;
  16727. HRESULT _hr = raw_GetCurveInfo(&_result);
  16728. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16729. return _result;
  16730. }
  16731. #pragma implementation_key(2534)
  16732. inline long VGCore::IVGSubPath::PutCurveInfo ( SAFEARRAY * * Source, long NumElements ) {
  16733. long _result = 0;
  16734. HRESULT _hr = raw_PutCurveInfo(Source, NumElements, &_result);
  16735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16736. return _result;
  16737. }
  16738. #pragma implementation_key(2535)
  16739. inline VGCore::IVGCurvePtr VGCore::IVGSubPath::GetPolyline ( long CurvePrecision ) {
  16740. struct IVGCurve * _result = 0;
  16741. HRESULT _hr = raw_GetPolyline(CurvePrecision, &_result);
  16742. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16743. return IVGCurvePtr(_result, false);
  16744. }
  16745. #pragma implementation_key(2536)
  16746. inline VARIANT_BOOL VGCore::IVGSubPath::IsPointInside ( double x, double y ) {
  16747. VARIANT_BOOL _result = 0;
  16748. HRESULT _hr = raw_IsPointInside(x, y, &_result);
  16749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16750. return _result;
  16751. }
  16752. #pragma implementation_key(2537)
  16753. inline VARIANT_BOOL VGCore::IVGSubPath::IsRectOnEdge ( double x1, double y1, double x2, double y2 ) {
  16754. VARIANT_BOOL _result = 0;
  16755. HRESULT _hr = raw_IsRectOnEdge(x1, y1, x2, y2, &_result);
  16756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16757. return _result;
  16758. }
  16759. #pragma implementation_key(2538)
  16760. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::FindClosestSegment ( double x, double y, double * ParamOffset ) {
  16761. struct IVGSegment * _result = 0;
  16762. HRESULT _hr = raw_FindClosestSegment(x, y, ParamOffset, &_result);
  16763. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16764. return IVGSegmentPtr(_result, false);
  16765. }
  16766. #pragma implementation_key(2539)
  16767. inline VGCore::IVGNodePtr VGCore::IVGSubPath::FindNodeAtPoint ( double x, double y, double HotArea ) {
  16768. struct IVGNode * _result = 0;
  16769. HRESULT _hr = raw_FindNodeAtPoint(x, y, HotArea, &_result);
  16770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16771. return IVGNodePtr(_result, false);
  16772. }
  16773. #pragma implementation_key(2540)
  16774. inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::FindSegmentAtPoint ( double x, double y, double * ParamOffset, double HotArea ) {
  16775. struct IVGSegment * _result = 0;
  16776. HRESULT _hr = raw_FindSegmentAtPoint(x, y, ParamOffset, HotArea, &_result);
  16777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16778. return IVGSegmentPtr(_result, false);
  16779. }
  16780. #pragma implementation_key(2541)
  16781. inline VARIANT_BOOL VGCore::IVGSubPath::GetIsClockwise ( ) {
  16782. VARIANT_BOOL _result = 0;
  16783. HRESULT _hr = get_IsClockwise(&_result);
  16784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16785. return _result;
  16786. }
  16787. #pragma implementation_key(2542)
  16788. inline double VGCore::IVGSubPath::GetArea ( ) {
  16789. double _result = 0;
  16790. HRESULT _hr = get_Area(&_result);
  16791. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16792. return _result;
  16793. }
  16794. #pragma implementation_key(2543)
  16795. inline VARIANT_BOOL VGCore::IVGSubPath::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
  16796. VARIANT_BOOL _result = 0;
  16797. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
  16798. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16799. return _result;
  16800. }
  16801. #pragma implementation_key(2544)
  16802. inline VGCore::IVGRectPtr VGCore::IVGSubPath::GetBoundingBox ( ) {
  16803. struct IVGRect * _result = 0;
  16804. HRESULT _hr = get_BoundingBox(&_result);
  16805. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16806. return IVGRectPtr(_result, false);
  16807. }
  16808. #pragma implementation_key(2545)
  16809. inline HRESULT VGCore::IVGSubPath::EqualDivide ( long Divisions, double Gap ) {
  16810. HRESULT _hr = raw_EqualDivide(Divisions, Gap);
  16811. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16812. return _hr;
  16813. }
  16814. #pragma implementation_key(2546)
  16815. inline VGCore::IVGPointRangePtr VGCore::IVGSubPath::GetEvenlySpacedPoints ( double DistanceBetweenPointsAlongCurve, VARIANT_BOOL ScaleDistanceToFit ) {
  16816. struct IVGPointRange * _result = 0;
  16817. HRESULT _hr = raw_GetEvenlySpacedPoints(DistanceBetweenPointsAlongCurve, ScaleDistanceToFit, &_result);
  16818. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16819. return IVGPointRangePtr(_result, false);
  16820. }
  16821. #pragma implementation_key(2547)
  16822. inline VGCore::IVGVectorPtr VGCore::IVGSubPath::GetPerpendicularVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
  16823. struct IVGVector * _result = 0;
  16824. HRESULT _hr = raw_GetPerpendicularVectorAt(Offset, OffsetType, Normalize, &_result);
  16825. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16826. return IVGVectorPtr(_result, false);
  16827. }
  16828. #pragma implementation_key(2548)
  16829. inline VGCore::IVGVectorPtr VGCore::IVGSubPath::GetTangentVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
  16830. struct IVGVector * _result = 0;
  16831. HRESULT _hr = raw_GetTangentVectorAt(Offset, OffsetType, Normalize, &_result);
  16832. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16833. return IVGVectorPtr(_result, false);
  16834. }
  16835. #pragma implementation_key(2549)
  16836. inline VGCore::IVGPointPtr VGCore::IVGSubPath::GetPointAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  16837. struct IVGPoint * _result = 0;
  16838. HRESULT _hr = raw_GetPointAt(Offset, OffsetType, &_result);
  16839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16840. return IVGPointPtr(_result, false);
  16841. }
  16842. //
  16843. // interface IVGNodes wrapper method implementations
  16844. //
  16845. #pragma implementation_key(2550)
  16846. inline VGCore::IVGApplicationPtr VGCore::IVGNodes::GetApplication ( ) {
  16847. struct IVGApplication * _result = 0;
  16848. HRESULT _hr = get_Application(&_result);
  16849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16850. return IVGApplicationPtr(_result, false);
  16851. }
  16852. #pragma implementation_key(2551)
  16853. inline VGCore::IVGCurvePtr VGCore::IVGNodes::GetParent ( ) {
  16854. struct IVGCurve * _result = 0;
  16855. HRESULT _hr = get_Parent(&_result);
  16856. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16857. return IVGCurvePtr(_result, false);
  16858. }
  16859. #pragma implementation_key(2552)
  16860. inline VGCore::IVGNodePtr VGCore::IVGNodes::GetItem ( long Index ) {
  16861. struct IVGNode * _result = 0;
  16862. HRESULT _hr = get_Item(Index, &_result);
  16863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16864. return IVGNodePtr(_result, false);
  16865. }
  16866. #pragma implementation_key(2553)
  16867. inline IUnknownPtr VGCore::IVGNodes::Get_NewEnum ( ) {
  16868. IUnknown * _result = 0;
  16869. HRESULT _hr = get__NewEnum(&_result);
  16870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16871. return IUnknownPtr(_result, false);
  16872. }
  16873. #pragma implementation_key(2554)
  16874. inline long VGCore::IVGNodes::GetCount ( ) {
  16875. long _result = 0;
  16876. HRESULT _hr = get_Count(&_result);
  16877. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16878. return _result;
  16879. }
  16880. #pragma implementation_key(2555)
  16881. inline VGCore::IVGNodeRangePtr VGCore::IVGNodes::Range ( SAFEARRAY * * IndexArray ) {
  16882. struct IVGNodeRange * _result = 0;
  16883. HRESULT _hr = raw_Range(IndexArray, &_result);
  16884. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16885. return IVGNodeRangePtr(_result, false);
  16886. }
  16887. #pragma implementation_key(2556)
  16888. inline VGCore::IVGNodeRangePtr VGCore::IVGNodes::All ( ) {
  16889. struct IVGNodeRange * _result = 0;
  16890. HRESULT _hr = raw_All(&_result);
  16891. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16892. return IVGNodeRangePtr(_result, false);
  16893. }
  16894. #pragma implementation_key(2557)
  16895. inline VGCore::IVGNodeRangePtr VGCore::IVGNodes::AllExcluding ( SAFEARRAY * * IndexArray ) {
  16896. struct IVGNodeRange * _result = 0;
  16897. HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
  16898. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16899. return IVGNodeRangePtr(_result, false);
  16900. }
  16901. #pragma implementation_key(2558)
  16902. inline VGCore::IVGNodePtr VGCore::IVGNodes::GetFirst ( ) {
  16903. struct IVGNode * _result = 0;
  16904. HRESULT _hr = get_First(&_result);
  16905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16906. return IVGNodePtr(_result, false);
  16907. }
  16908. #pragma implementation_key(2559)
  16909. inline VGCore::IVGNodePtr VGCore::IVGNodes::GetLast ( ) {
  16910. struct IVGNode * _result = 0;
  16911. HRESULT _hr = get_Last(&_result);
  16912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16913. return IVGNodePtr(_result, false);
  16914. }
  16915. //
  16916. // interface IVGNode wrapper method implementations
  16917. //
  16918. #pragma implementation_key(2560)
  16919. inline VGCore::IVGApplicationPtr VGCore::IVGNode::GetApplication ( ) {
  16920. struct IVGApplication * _result = 0;
  16921. HRESULT _hr = get_Application(&_result);
  16922. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16923. return IVGApplicationPtr(_result, false);
  16924. }
  16925. #pragma implementation_key(2561)
  16926. inline VGCore::IVGCurvePtr VGCore::IVGNode::GetParent ( ) {
  16927. struct IVGCurve * _result = 0;
  16928. HRESULT _hr = get_Parent(&_result);
  16929. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16930. return IVGCurvePtr(_result, false);
  16931. }
  16932. #pragma implementation_key(2562)
  16933. inline double VGCore::IVGNode::GetPositionX ( ) {
  16934. double _result = 0;
  16935. HRESULT _hr = get_PositionX(&_result);
  16936. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16937. return _result;
  16938. }
  16939. #pragma implementation_key(2563)
  16940. inline void VGCore::IVGNode::PutPositionX ( double pVal ) {
  16941. HRESULT _hr = put_PositionX(pVal);
  16942. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16943. }
  16944. #pragma implementation_key(2564)
  16945. inline double VGCore::IVGNode::GetPositionY ( ) {
  16946. double _result = 0;
  16947. HRESULT _hr = get_PositionY(&_result);
  16948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16949. return _result;
  16950. }
  16951. #pragma implementation_key(2565)
  16952. inline void VGCore::IVGNode::PutPositionY ( double pVal ) {
  16953. HRESULT _hr = put_PositionY(pVal);
  16954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16955. }
  16956. #pragma implementation_key(2566)
  16957. inline enum VGCore::cdrNodeType VGCore::IVGNode::GetType ( ) {
  16958. enum cdrNodeType _result;
  16959. HRESULT _hr = get_Type(&_result);
  16960. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16961. return _result;
  16962. }
  16963. #pragma implementation_key(2567)
  16964. inline void VGCore::IVGNode::PutType ( enum cdrNodeType pVal ) {
  16965. HRESULT _hr = put_Type(pVal);
  16966. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16967. }
  16968. #pragma implementation_key(2568)
  16969. inline VGCore::IVGSubPathPtr VGCore::IVGNode::GetSubPath ( ) {
  16970. struct IVGSubPath * _result = 0;
  16971. HRESULT _hr = get_SubPath(&_result);
  16972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16973. return IVGSubPathPtr(_result, false);
  16974. }
  16975. #pragma implementation_key(2569)
  16976. inline long VGCore::IVGNode::GetIndex ( ) {
  16977. long _result = 0;
  16978. HRESULT _hr = get_Index(&_result);
  16979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16980. return _result;
  16981. }
  16982. #pragma implementation_key(2570)
  16983. inline long VGCore::IVGNode::GetSubPathIndex ( ) {
  16984. long _result = 0;
  16985. HRESULT _hr = get_SubPathIndex(&_result);
  16986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16987. return _result;
  16988. }
  16989. #pragma implementation_key(2571)
  16990. inline long VGCore::IVGNode::GetAbsoluteIndex ( ) {
  16991. long _result = 0;
  16992. HRESULT _hr = get_AbsoluteIndex(&_result);
  16993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  16994. return _result;
  16995. }
  16996. #pragma implementation_key(2572)
  16997. inline VARIANT_BOOL VGCore::IVGNode::GetIsEnding ( ) {
  16998. VARIANT_BOOL _result = 0;
  16999. HRESULT _hr = get_IsEnding(&_result);
  17000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17001. return _result;
  17002. }
  17003. #pragma implementation_key(2573)
  17004. inline HRESULT VGCore::IVGNode::JoinWith ( struct IVGNode * Target ) {
  17005. HRESULT _hr = raw_JoinWith(Target);
  17006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17007. return _hr;
  17008. }
  17009. #pragma implementation_key(2574)
  17010. inline HRESULT VGCore::IVGNode::ConnectWith ( struct IVGNode * Target ) {
  17011. HRESULT _hr = raw_ConnectWith(Target);
  17012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17013. return _hr;
  17014. }
  17015. #pragma implementation_key(2575)
  17016. inline HRESULT VGCore::IVGNode::BreakApart ( ) {
  17017. HRESULT _hr = raw_BreakApart();
  17018. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17019. return _hr;
  17020. }
  17021. #pragma implementation_key(2576)
  17022. inline HRESULT VGCore::IVGNode::Delete ( ) {
  17023. HRESULT _hr = raw_Delete();
  17024. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17025. return _hr;
  17026. }
  17027. #pragma implementation_key(2577)
  17028. inline HRESULT VGCore::IVGNode::GetPosition ( double * PositionX, double * PositionY ) {
  17029. HRESULT _hr = raw_GetPosition(PositionX, PositionY);
  17030. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17031. return _hr;
  17032. }
  17033. #pragma implementation_key(2578)
  17034. inline HRESULT VGCore::IVGNode::SetPosition ( double PositionX, double PositionY ) {
  17035. HRESULT _hr = raw_SetPosition(PositionX, PositionY);
  17036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17037. return _hr;
  17038. }
  17039. #pragma implementation_key(2579)
  17040. inline HRESULT VGCore::IVGNode::Move ( double DeltaX, double DeltaY ) {
  17041. HRESULT _hr = raw_Move(DeltaX, DeltaY);
  17042. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17043. return _hr;
  17044. }
  17045. #pragma implementation_key(2580)
  17046. inline VGCore::IVGNodePtr VGCore::IVGNode::Next ( ) {
  17047. struct IVGNode * _result = 0;
  17048. HRESULT _hr = raw_Next(&_result);
  17049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17050. return IVGNodePtr(_result, false);
  17051. }
  17052. #pragma implementation_key(2581)
  17053. inline VGCore::IVGNodePtr VGCore::IVGNode::Previous ( ) {
  17054. struct IVGNode * _result = 0;
  17055. HRESULT _hr = raw_Previous(&_result);
  17056. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17057. return IVGNodePtr(_result, false);
  17058. }
  17059. #pragma implementation_key(2582)
  17060. inline double VGCore::IVGNode::GetDistanceFrom ( struct IVGNode * Node ) {
  17061. double _result = 0;
  17062. HRESULT _hr = raw_GetDistanceFrom(Node, &_result);
  17063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17064. return _result;
  17065. }
  17066. #pragma implementation_key(2583)
  17067. inline VGCore::IVGSegmentPtr VGCore::IVGNode::GetSegment ( ) {
  17068. struct IVGSegment * _result = 0;
  17069. HRESULT _hr = get_Segment(&_result);
  17070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17071. return IVGSegmentPtr(_result, false);
  17072. }
  17073. #pragma implementation_key(2584)
  17074. inline VGCore::IVGSegmentPtr VGCore::IVGNode::GetPrevSegment ( ) {
  17075. struct IVGSegment * _result = 0;
  17076. HRESULT _hr = get_PrevSegment(&_result);
  17077. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17078. return IVGSegmentPtr(_result, false);
  17079. }
  17080. #pragma implementation_key(2585)
  17081. inline VGCore::IVGSegmentPtr VGCore::IVGNode::GetNextSegment ( ) {
  17082. struct IVGSegment * _result = 0;
  17083. HRESULT _hr = get_NextSegment(&_result);
  17084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17085. return IVGSegmentPtr(_result, false);
  17086. }
  17087. #pragma implementation_key(2586)
  17088. inline VARIANT_BOOL VGCore::IVGNode::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  17089. VARIANT_BOOL _result = 0;
  17090. HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments, &_result);
  17091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17092. return _result;
  17093. }
  17094. #pragma implementation_key(2587)
  17095. inline VARIANT_BOOL VGCore::IVGNode::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
  17096. VARIANT_BOOL _result = 0;
  17097. HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments, &_result);
  17098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17099. return _result;
  17100. }
  17101. #pragma implementation_key(2588)
  17102. inline VARIANT_BOOL VGCore::IVGNode::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  17103. VARIANT_BOOL _result = 0;
  17104. HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments, &_result);
  17105. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17106. return _result;
  17107. }
  17108. #pragma implementation_key(2589)
  17109. inline VARIANT_BOOL VGCore::IVGNode::GetSelected ( ) {
  17110. VARIANT_BOOL _result = 0;
  17111. HRESULT _hr = get_Selected(&_result);
  17112. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17113. return _result;
  17114. }
  17115. #pragma implementation_key(2590)
  17116. inline void VGCore::IVGNode::PutSelected ( VARIANT_BOOL pVal ) {
  17117. HRESULT _hr = put_Selected(pVal);
  17118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17119. }
  17120. #pragma implementation_key(2591)
  17121. inline HRESULT VGCore::IVGNode::CreateSelection ( ) {
  17122. HRESULT _hr = raw_CreateSelection();
  17123. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17124. return _hr;
  17125. }
  17126. #pragma implementation_key(2592)
  17127. inline VARIANT_BOOL VGCore::IVGNode::ExtendSubPaths ( struct IVGNode * Node2, VARIANT_BOOL JoinPaths ) {
  17128. VARIANT_BOOL _result = 0;
  17129. HRESULT _hr = raw_ExtendSubPaths(Node2, JoinPaths, &_result);
  17130. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17131. return _result;
  17132. }
  17133. #pragma implementation_key(2593)
  17134. inline HRESULT VGCore::IVGNode::AveragePositionWith ( struct IVGNode * Node2, VARIANT_BOOL JoinPaths ) {
  17135. HRESULT _hr = raw_AveragePositionWith(Node2, JoinPaths);
  17136. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17137. return _hr;
  17138. }
  17139. #pragma implementation_key(2594)
  17140. inline HRESULT VGCore::IVGNode::GetPoint ( struct IVGPoint * * ppVal ) {
  17141. HRESULT _hr = raw_GetPoint(ppVal);
  17142. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17143. return _hr;
  17144. }
  17145. #pragma implementation_key(2595)
  17146. inline HRESULT VGCore::IVGNode::SetPoint ( struct IVGPoint * ppVal ) {
  17147. HRESULT _hr = raw_SetPoint(ppVal);
  17148. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17149. return _hr;
  17150. }
  17151. //
  17152. // interface IVGSnapPoint wrapper method implementations
  17153. //
  17154. #pragma implementation_key(2596)
  17155. inline VGCore::IVGApplicationPtr VGCore::IVGSnapPoint::GetApplication ( ) {
  17156. struct IVGApplication * _result = 0;
  17157. HRESULT _hr = get_Application(&_result);
  17158. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17159. return IVGApplicationPtr(_result, false);
  17160. }
  17161. #pragma implementation_key(2597)
  17162. inline VGCore::IVGShapePtr VGCore::IVGSnapPoint::GetParent ( ) {
  17163. struct IVGShape * _result = 0;
  17164. HRESULT _hr = get_Parent(&_result);
  17165. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17166. return IVGShapePtr(_result, false);
  17167. }
  17168. #pragma implementation_key(2598)
  17169. inline double VGCore::IVGSnapPoint::GetPositionX ( ) {
  17170. double _result = 0;
  17171. HRESULT _hr = get_PositionX(&_result);
  17172. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17173. return _result;
  17174. }
  17175. #pragma implementation_key(2599)
  17176. inline void VGCore::IVGSnapPoint::PutPositionX ( double pVal ) {
  17177. HRESULT _hr = put_PositionX(pVal);
  17178. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17179. }
  17180. #pragma implementation_key(2600)
  17181. inline double VGCore::IVGSnapPoint::GetPositionY ( ) {
  17182. double _result = 0;
  17183. HRESULT _hr = get_PositionY(&_result);
  17184. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17185. return _result;
  17186. }
  17187. #pragma implementation_key(2601)
  17188. inline void VGCore::IVGSnapPoint::PutPositionY ( double pVal ) {
  17189. HRESULT _hr = put_PositionY(pVal);
  17190. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17191. }
  17192. #pragma implementation_key(2602)
  17193. inline enum VGCore::cdrPointType VGCore::IVGSnapPoint::GetType ( ) {
  17194. enum cdrPointType _result;
  17195. HRESULT _hr = get_Type(&_result);
  17196. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17197. return _result;
  17198. }
  17199. #pragma implementation_key(2603)
  17200. inline VGCore::IVGNodePtr VGCore::IVGSnapPoint::GetNode ( ) {
  17201. struct IVGNode * _result = 0;
  17202. HRESULT _hr = get_Node(&_result);
  17203. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17204. return IVGNodePtr(_result, false);
  17205. }
  17206. #pragma implementation_key(2604)
  17207. inline VARIANT_BOOL VGCore::IVGSnapPoint::GetIsDeletable ( ) {
  17208. VARIANT_BOOL _result = 0;
  17209. HRESULT _hr = get_IsDeletable(&_result);
  17210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17211. return _result;
  17212. }
  17213. #pragma implementation_key(2605)
  17214. inline VARIANT_BOOL VGCore::IVGSnapPoint::GetIsMovable ( ) {
  17215. VARIANT_BOOL _result = 0;
  17216. HRESULT _hr = get_IsMovable(&_result);
  17217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17218. return _result;
  17219. }
  17220. #pragma implementation_key(2606)
  17221. inline VARIANT_BOOL VGCore::IVGSnapPoint::GetCanChangeDirection ( ) {
  17222. VARIANT_BOOL _result = 0;
  17223. HRESULT _hr = get_CanChangeDirection(&_result);
  17224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17225. return _result;
  17226. }
  17227. #pragma implementation_key(2607)
  17228. inline HRESULT VGCore::IVGSnapPoint::GetPosition ( double * PositionX, double * PositionY ) {
  17229. HRESULT _hr = raw_GetPosition(PositionX, PositionY);
  17230. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17231. return _hr;
  17232. }
  17233. #pragma implementation_key(2608)
  17234. inline VARIANT_BOOL VGCore::IVGSnapPoint::GetUsesDirection ( ) {
  17235. VARIANT_BOOL _result = 0;
  17236. HRESULT _hr = get_UsesDirection(&_result);
  17237. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17238. return _result;
  17239. }
  17240. #pragma implementation_key(2609)
  17241. inline void VGCore::IVGSnapPoint::PutUsesDirection ( VARIANT_BOOL pVal ) {
  17242. HRESULT _hr = put_UsesDirection(pVal);
  17243. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17244. }
  17245. #pragma implementation_key(2610)
  17246. inline VARIANT_BOOL VGCore::IVGSnapPoint::GetIsSelectable ( ) {
  17247. VARIANT_BOOL _result = 0;
  17248. HRESULT _hr = get_IsSelectable(&_result);
  17249. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17250. return _result;
  17251. }
  17252. #pragma implementation_key(2611)
  17253. inline double VGCore::IVGSnapPoint::GetDirection ( ) {
  17254. double _result = 0;
  17255. HRESULT _hr = get_Direction(&_result);
  17256. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17257. return _result;
  17258. }
  17259. #pragma implementation_key(2612)
  17260. inline void VGCore::IVGSnapPoint::PutDirection ( double pVal ) {
  17261. HRESULT _hr = put_Direction(pVal);
  17262. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17263. }
  17264. #pragma implementation_key(2613)
  17265. inline HRESULT VGCore::IVGSnapPoint::SetPosition ( double PositionX, double PositionY ) {
  17266. HRESULT _hr = raw_SetPosition(PositionX, PositionY);
  17267. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17268. return _hr;
  17269. }
  17270. #pragma implementation_key(2614)
  17271. inline VARIANT_BOOL VGCore::IVGSnapPoint::GetSelected ( ) {
  17272. VARIANT_BOOL _result = 0;
  17273. HRESULT _hr = get_Selected(&_result);
  17274. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17275. return _result;
  17276. }
  17277. #pragma implementation_key(2615)
  17278. inline void VGCore::IVGSnapPoint::PutSelected ( VARIANT_BOOL pVal ) {
  17279. HRESULT _hr = put_Selected(pVal);
  17280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17281. }
  17282. #pragma implementation_key(2616)
  17283. inline HRESULT VGCore::IVGSnapPoint::CreateSelection ( ) {
  17284. HRESULT _hr = raw_CreateSelection();
  17285. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17286. return _hr;
  17287. }
  17288. #pragma implementation_key(2617)
  17289. inline VGCore::IVGUserSnapPointPtr VGCore::IVGSnapPoint::GetUser ( ) {
  17290. struct IVGUserSnapPoint * _result = 0;
  17291. HRESULT _hr = get_User(&_result);
  17292. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17293. return IVGUserSnapPointPtr(_result, false);
  17294. }
  17295. #pragma implementation_key(2618)
  17296. inline VGCore::IVGObjectSnapPointPtr VGCore::IVGSnapPoint::GetObject ( ) {
  17297. struct IVGObjectSnapPoint * _result = 0;
  17298. HRESULT _hr = get_Object(&_result);
  17299. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17300. return IVGObjectSnapPointPtr(_result, false);
  17301. }
  17302. #pragma implementation_key(2619)
  17303. inline VGCore::IVGShapePtr VGCore::IVGSnapPoint::GetShape ( ) {
  17304. struct IVGShape * _result = 0;
  17305. HRESULT _hr = get_Shape(&_result);
  17306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17307. return IVGShapePtr(_result, false);
  17308. }
  17309. #pragma implementation_key(2620)
  17310. inline VGCore::IVGBBoxSnapPointPtr VGCore::IVGSnapPoint::GetBBox ( ) {
  17311. struct IVGBBoxSnapPoint * _result = 0;
  17312. HRESULT _hr = get_BBox(&_result);
  17313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17314. return IVGBBoxSnapPointPtr(_result, false);
  17315. }
  17316. #pragma implementation_key(2621)
  17317. inline _bstr_t VGCore::IVGSnapPoint::GetReferenceData ( ) {
  17318. BSTR _result = 0;
  17319. HRESULT _hr = get_ReferenceData(&_result);
  17320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17321. return _bstr_t(_result, false);
  17322. }
  17323. #pragma implementation_key(2622)
  17324. inline HRESULT VGCore::IVGSnapPoint::Delete ( ) {
  17325. HRESULT _hr = raw_Delete();
  17326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17327. return _hr;
  17328. }
  17329. #pragma implementation_key(2623)
  17330. inline HRESULT VGCore::IVGSnapPoint::Move ( double OffsetX, double OffsetY ) {
  17331. HRESULT _hr = raw_Move(OffsetX, OffsetY);
  17332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17333. return _hr;
  17334. }
  17335. #pragma implementation_key(2624)
  17336. inline VGCore::IVGEdgeSnapPointPtr VGCore::IVGSnapPoint::GetEdge ( ) {
  17337. struct IVGEdgeSnapPoint * _result = 0;
  17338. HRESULT _hr = get_Edge(&_result);
  17339. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17340. return IVGEdgeSnapPointPtr(_result, false);
  17341. }
  17342. //
  17343. // interface IVGSnapPointRange wrapper method implementations
  17344. //
  17345. #pragma implementation_key(2625)
  17346. inline long VGCore::IVGSnapPointRange::GetCount ( ) {
  17347. long _result = 0;
  17348. HRESULT _hr = get_Count(&_result);
  17349. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17350. return _result;
  17351. }
  17352. #pragma implementation_key(2626)
  17353. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPointRange::GetItem ( long Index ) {
  17354. struct IVGSnapPoint * _result = 0;
  17355. HRESULT _hr = get_Item(Index, &_result);
  17356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17357. return IVGSnapPointPtr(_result, false);
  17358. }
  17359. #pragma implementation_key(2627)
  17360. inline HRESULT VGCore::IVGSnapPointRange::Move ( double OffsetX, double OffsetY ) {
  17361. HRESULT _hr = raw_Move(OffsetX, OffsetY);
  17362. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17363. return _hr;
  17364. }
  17365. #pragma implementation_key(2628)
  17366. inline HRESULT VGCore::IVGSnapPointRange::Delete ( ) {
  17367. HRESULT _hr = raw_Delete();
  17368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17369. return _hr;
  17370. }
  17371. #pragma implementation_key(2629)
  17372. inline IUnknownPtr VGCore::IVGSnapPointRange::Get_NewEnum ( ) {
  17373. IUnknown * _result = 0;
  17374. HRESULT _hr = get__NewEnum(&_result);
  17375. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17376. return IUnknownPtr(_result, false);
  17377. }
  17378. #pragma implementation_key(2630)
  17379. inline VARIANT_BOOL VGCore::IVGSnapPointRange::Add ( struct IVGSnapPoint * SnapPoint ) {
  17380. VARIANT_BOOL _result = 0;
  17381. HRESULT _hr = raw_Add(SnapPoint, &_result);
  17382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17383. return _result;
  17384. }
  17385. #pragma implementation_key(2631)
  17386. inline VARIANT_BOOL VGCore::IVGSnapPointRange::Remove ( long Index ) {
  17387. VARIANT_BOOL _result = 0;
  17388. HRESULT _hr = raw_Remove(Index, &_result);
  17389. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17390. return _result;
  17391. }
  17392. #pragma implementation_key(2632)
  17393. inline VARIANT_BOOL VGCore::IVGSnapPointRange::RemoveByReference ( _bstr_t ReferenceData ) {
  17394. VARIANT_BOOL _result = 0;
  17395. HRESULT _hr = raw_RemoveByReference(ReferenceData, &_result);
  17396. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17397. return _result;
  17398. }
  17399. #pragma implementation_key(2633)
  17400. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPointRange::Find ( _bstr_t ReferenceData ) {
  17401. struct IVGSnapPoint * _result = 0;
  17402. HRESULT _hr = raw_Find(ReferenceData, &_result);
  17403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17404. return IVGSnapPointPtr(_result, false);
  17405. }
  17406. #pragma implementation_key(2634)
  17407. inline HRESULT VGCore::IVGSnapPointRange::CreateSelection ( ) {
  17408. HRESULT _hr = raw_CreateSelection();
  17409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17410. return _hr;
  17411. }
  17412. #pragma implementation_key(2635)
  17413. inline HRESULT VGCore::IVGSnapPointRange::AddToSelection ( ) {
  17414. HRESULT _hr = raw_AddToSelection();
  17415. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17416. return _hr;
  17417. }
  17418. #pragma implementation_key(2636)
  17419. inline HRESULT VGCore::IVGSnapPointRange::RemoveFromSelection ( ) {
  17420. HRESULT _hr = raw_RemoveFromSelection();
  17421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17422. return _hr;
  17423. }
  17424. #pragma implementation_key(2637)
  17425. inline HRESULT VGCore::IVGSnapPointRange::ChangeDirection ( double Direction, enum cdrTriState UsesDirection ) {
  17426. HRESULT _hr = raw_ChangeDirection(Direction, UsesDirection);
  17427. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17428. return _hr;
  17429. }
  17430. #pragma implementation_key(2638)
  17431. inline HRESULT VGCore::IVGSnapPointRange::SetAutoSnap ( VARIANT_BOOL AutoSnap ) {
  17432. HRESULT _hr = raw_SetAutoSnap(AutoSnap);
  17433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17434. return _hr;
  17435. }
  17436. //
  17437. // interface IVGSnapPoints wrapper method implementations
  17438. //
  17439. #pragma implementation_key(2639)
  17440. inline VGCore::IVGApplicationPtr VGCore::IVGSnapPoints::GetApplication ( ) {
  17441. struct IVGApplication * _result = 0;
  17442. HRESULT _hr = get_Application(&_result);
  17443. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17444. return IVGApplicationPtr(_result, false);
  17445. }
  17446. #pragma implementation_key(2640)
  17447. inline VGCore::IVGShapePtr VGCore::IVGSnapPoints::GetParent ( ) {
  17448. struct IVGShape * _result = 0;
  17449. HRESULT _hr = get_Parent(&_result);
  17450. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17451. return IVGShapePtr(_result, false);
  17452. }
  17453. #pragma implementation_key(2641)
  17454. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::GetItem ( long Index ) {
  17455. struct IVGSnapPoint * _result = 0;
  17456. HRESULT _hr = get_Item(Index, &_result);
  17457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17458. return IVGSnapPointPtr(_result, false);
  17459. }
  17460. #pragma implementation_key(2642)
  17461. inline IUnknownPtr VGCore::IVGSnapPoints::Get_NewEnum ( ) {
  17462. IUnknown * _result = 0;
  17463. HRESULT _hr = get__NewEnum(&_result);
  17464. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17465. return IUnknownPtr(_result, false);
  17466. }
  17467. #pragma implementation_key(2643)
  17468. inline long VGCore::IVGSnapPoints::GetCount ( ) {
  17469. long _result = 0;
  17470. HRESULT _hr = get_Count(&_result);
  17471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17472. return _result;
  17473. }
  17474. #pragma implementation_key(2644)
  17475. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::User ( _bstr_t ID ) {
  17476. struct IVGSnapPoint * _result = 0;
  17477. HRESULT _hr = raw_User(ID, &_result);
  17478. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17479. return IVGSnapPointPtr(_result, false);
  17480. }
  17481. #pragma implementation_key(2645)
  17482. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::BBox ( enum cdrReferencePoint Type ) {
  17483. struct IVGSnapPoint * _result = 0;
  17484. HRESULT _hr = raw_BBox(Type, &_result);
  17485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17486. return IVGSnapPointPtr(_result, false);
  17487. }
  17488. #pragma implementation_key(2646)
  17489. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::Object ( enum cdrObjectSnapPointType Type ) {
  17490. struct IVGSnapPoint * _result = 0;
  17491. HRESULT _hr = raw_Object(Type, &_result);
  17492. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17493. return IVGSnapPointPtr(_result, false);
  17494. }
  17495. #pragma implementation_key(2647)
  17496. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::FindClosest ( enum cdrPointType TypeSet, double PositionX, double PositionY ) {
  17497. struct IVGSnapPoint * _result = 0;
  17498. HRESULT _hr = raw_FindClosest(TypeSet, PositionX, PositionY, &_result);
  17499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17500. return IVGSnapPointPtr(_result, false);
  17501. }
  17502. #pragma implementation_key(2648)
  17503. inline VGCore::IVGSnapPointRangePtr VGCore::IVGSnapPoints::Range ( SAFEARRAY * * References ) {
  17504. struct IVGSnapPointRange * _result = 0;
  17505. HRESULT _hr = raw_Range(References, &_result);
  17506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17507. return IVGSnapPointRangePtr(_result, false);
  17508. }
  17509. #pragma implementation_key(2649)
  17510. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::AddUserSnapPoint ( double PositionX, double PositionY, double Direction, VARIANT_BOOL UseDirection ) {
  17511. struct IVGSnapPoint * _result = 0;
  17512. HRESULT _hr = raw_AddUserSnapPoint(PositionX, PositionY, Direction, UseDirection, &_result);
  17513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17514. return IVGSnapPointPtr(_result, false);
  17515. }
  17516. #pragma implementation_key(2650)
  17517. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::AddUserSnapPointEx ( _bstr_t ID, double PositionX, double PositionY, double Direction, VARIANT_BOOL UseDirection ) {
  17518. struct IVGSnapPoint * _result = 0;
  17519. HRESULT _hr = raw_AddUserSnapPointEx(ID, PositionX, PositionY, Direction, UseDirection, &_result);
  17520. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17521. return IVGSnapPointPtr(_result, false);
  17522. }
  17523. #pragma implementation_key(2651)
  17524. inline VGCore::IVGSnapPointRangePtr VGCore::IVGSnapPoints::GetSelection ( ) {
  17525. struct IVGSnapPointRange * _result = 0;
  17526. HRESULT _hr = get_Selection(&_result);
  17527. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17528. return IVGSnapPointRangePtr(_result, false);
  17529. }
  17530. #pragma implementation_key(2652)
  17531. inline HRESULT VGCore::IVGSnapPoints::ClearSelection ( ) {
  17532. HRESULT _hr = raw_ClearSelection();
  17533. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17534. return _hr;
  17535. }
  17536. #pragma implementation_key(2653)
  17537. inline VGCore::IVGSnapPointRangePtr VGCore::IVGSnapPoints::GetAll ( ) {
  17538. struct IVGSnapPointRange * _result = 0;
  17539. HRESULT _hr = get_All(&_result);
  17540. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17541. return IVGSnapPointRangePtr(_result, false);
  17542. }
  17543. #pragma implementation_key(2654)
  17544. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::Edge ( long SegmentIndex, double SegmentOffset ) {
  17545. struct IVGSnapPoint * _result = 0;
  17546. HRESULT _hr = raw_Edge(SegmentIndex, SegmentOffset, &_result);
  17547. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17548. return IVGSnapPointPtr(_result, false);
  17549. }
  17550. #pragma implementation_key(2655)
  17551. inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::Auto ( ) {
  17552. struct IVGSnapPoint * _result = 0;
  17553. HRESULT _hr = raw_Auto(&_result);
  17554. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17555. return IVGSnapPointPtr(_result, false);
  17556. }
  17557. //
  17558. // interface IVGConnector wrapper method implementations
  17559. //
  17560. #pragma implementation_key(2656)
  17561. inline VGCore::IVGSnapPointPtr VGCore::IVGConnector::GetStartPoint ( ) {
  17562. struct IVGSnapPoint * _result = 0;
  17563. HRESULT _hr = get_StartPoint(&_result);
  17564. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17565. return IVGSnapPointPtr(_result, false);
  17566. }
  17567. #pragma implementation_key(2657)
  17568. inline void VGCore::IVGConnector::PutStartPoint ( struct IVGSnapPoint * ppVal ) {
  17569. HRESULT _hr = put_StartPoint(ppVal);
  17570. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17571. }
  17572. #pragma implementation_key(2658)
  17573. inline VGCore::IVGSnapPointPtr VGCore::IVGConnector::GetEndPoint ( ) {
  17574. struct IVGSnapPoint * _result = 0;
  17575. HRESULT _hr = get_EndPoint(&_result);
  17576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17577. return IVGSnapPointPtr(_result, false);
  17578. }
  17579. #pragma implementation_key(2659)
  17580. inline void VGCore::IVGConnector::PutEndPoint ( struct IVGSnapPoint * ppVal ) {
  17581. HRESULT _hr = put_EndPoint(ppVal);
  17582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17583. }
  17584. #pragma implementation_key(2660)
  17585. inline enum VGCore::cdrConnectorType VGCore::IVGConnector::GetType ( ) {
  17586. enum cdrConnectorType _result;
  17587. HRESULT _hr = get_Type(&_result);
  17588. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17589. return _result;
  17590. }
  17591. //
  17592. // interface IVGDimensionLinear wrapper method implementations
  17593. //
  17594. #pragma implementation_key(2661)
  17595. inline enum VGCore::cdrLinearDimensionType VGCore::IVGDimensionLinear::GetType ( ) {
  17596. enum cdrLinearDimensionType _result;
  17597. HRESULT _hr = get_Type(&_result);
  17598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17599. return _result;
  17600. }
  17601. #pragma implementation_key(2662)
  17602. inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionLinear::GetPoint1 ( ) {
  17603. struct IVGSnapPoint * _result = 0;
  17604. HRESULT _hr = get_Point1(&_result);
  17605. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17606. return IVGSnapPointPtr(_result, false);
  17607. }
  17608. #pragma implementation_key(2663)
  17609. inline void VGCore::IVGDimensionLinear::PutPoint1 ( struct IVGSnapPoint * ppVal ) {
  17610. HRESULT _hr = put_Point1(ppVal);
  17611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17612. }
  17613. #pragma implementation_key(2664)
  17614. inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionLinear::GetPoint2 ( ) {
  17615. struct IVGSnapPoint * _result = 0;
  17616. HRESULT _hr = get_Point2(&_result);
  17617. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17618. return IVGSnapPointPtr(_result, false);
  17619. }
  17620. #pragma implementation_key(2665)
  17621. inline void VGCore::IVGDimensionLinear::PutPoint2 ( struct IVGSnapPoint * ppVal ) {
  17622. HRESULT _hr = put_Point2(ppVal);
  17623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17624. }
  17625. #pragma implementation_key(2666)
  17626. inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetTextCentered ( ) {
  17627. VARIANT_BOOL _result = 0;
  17628. HRESULT _hr = get_TextCentered(&_result);
  17629. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17630. return _result;
  17631. }
  17632. #pragma implementation_key(2667)
  17633. inline void VGCore::IVGDimensionLinear::PutTextCentered ( VARIANT_BOOL pVal ) {
  17634. HRESULT _hr = put_TextCentered(pVal);
  17635. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17636. }
  17637. #pragma implementation_key(2668)
  17638. inline double VGCore::IVGDimensionLinear::GetTextX ( ) {
  17639. double _result = 0;
  17640. HRESULT _hr = get_TextX(&_result);
  17641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17642. return _result;
  17643. }
  17644. #pragma implementation_key(2669)
  17645. inline void VGCore::IVGDimensionLinear::PutTextX ( double pVal ) {
  17646. HRESULT _hr = put_TextX(pVal);
  17647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17648. }
  17649. #pragma implementation_key(2670)
  17650. inline double VGCore::IVGDimensionLinear::GetTextY ( ) {
  17651. double _result = 0;
  17652. HRESULT _hr = get_TextY(&_result);
  17653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17654. return _result;
  17655. }
  17656. #pragma implementation_key(2671)
  17657. inline void VGCore::IVGDimensionLinear::PutTextY ( double pVal ) {
  17658. HRESULT _hr = put_TextY(pVal);
  17659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17660. }
  17661. #pragma implementation_key(2672)
  17662. inline enum VGCore::cdrDimensionStyle VGCore::IVGDimensionLinear::GetStyle ( ) {
  17663. enum cdrDimensionStyle _result;
  17664. HRESULT _hr = get_Style(&_result);
  17665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17666. return _result;
  17667. }
  17668. #pragma implementation_key(2673)
  17669. inline void VGCore::IVGDimensionLinear::PutStyle ( enum cdrDimensionStyle pVal ) {
  17670. HRESULT _hr = put_Style(pVal);
  17671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17672. }
  17673. #pragma implementation_key(2674)
  17674. inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetShowUnits ( ) {
  17675. VARIANT_BOOL _result = 0;
  17676. HRESULT _hr = get_ShowUnits(&_result);
  17677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17678. return _result;
  17679. }
  17680. #pragma implementation_key(2675)
  17681. inline void VGCore::IVGDimensionLinear::PutShowUnits ( VARIANT_BOOL pVal ) {
  17682. HRESULT _hr = put_ShowUnits(pVal);
  17683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17684. }
  17685. #pragma implementation_key(2676)
  17686. inline enum VGCore::cdrDimensionLinearUnits VGCore::IVGDimensionLinear::GetUnits ( ) {
  17687. enum cdrDimensionLinearUnits _result;
  17688. HRESULT _hr = get_Units(&_result);
  17689. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17690. return _result;
  17691. }
  17692. #pragma implementation_key(2677)
  17693. inline void VGCore::IVGDimensionLinear::PutUnits ( enum cdrDimensionLinearUnits pVal ) {
  17694. HRESULT _hr = put_Units(pVal);
  17695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17696. }
  17697. #pragma implementation_key(2678)
  17698. inline enum VGCore::cdrDimensionPlacement VGCore::IVGDimensionLinear::GetPlacement ( ) {
  17699. enum cdrDimensionPlacement _result;
  17700. HRESULT _hr = get_Placement(&_result);
  17701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17702. return _result;
  17703. }
  17704. #pragma implementation_key(2679)
  17705. inline void VGCore::IVGDimensionLinear::PutPlacement ( enum cdrDimensionPlacement pVal ) {
  17706. HRESULT _hr = put_Placement(pVal);
  17707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17708. }
  17709. #pragma implementation_key(2680)
  17710. inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetHorizontalText ( ) {
  17711. VARIANT_BOOL _result = 0;
  17712. HRESULT _hr = get_HorizontalText(&_result);
  17713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17714. return _result;
  17715. }
  17716. #pragma implementation_key(2681)
  17717. inline void VGCore::IVGDimensionLinear::PutHorizontalText ( VARIANT_BOOL pVal ) {
  17718. HRESULT _hr = put_HorizontalText(pVal);
  17719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17720. }
  17721. #pragma implementation_key(2682)
  17722. inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetReverseTerminators ( ) {
  17723. VARIANT_BOOL _result = 0;
  17724. HRESULT _hr = get_ReverseTerminators(&_result);
  17725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17726. return _result;
  17727. }
  17728. #pragma implementation_key(2683)
  17729. inline void VGCore::IVGDimensionLinear::PutReverseTerminators ( VARIANT_BOOL pVal ) {
  17730. HRESULT _hr = put_ReverseTerminators(pVal);
  17731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17732. }
  17733. #pragma implementation_key(2684)
  17734. inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetAutoReverseTerminators ( ) {
  17735. VARIANT_BOOL _result = 0;
  17736. HRESULT _hr = get_AutoReverseTerminators(&_result);
  17737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17738. return _result;
  17739. }
  17740. #pragma implementation_key(2685)
  17741. inline void VGCore::IVGDimensionLinear::PutAutoReverseTerminators ( VARIANT_BOOL pVal ) {
  17742. HRESULT _hr = put_AutoReverseTerminators(pVal);
  17743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17744. }
  17745. #pragma implementation_key(2686)
  17746. inline double VGCore::IVGDimensionLinear::GetReverseTerminatorLength ( ) {
  17747. double _result = 0;
  17748. HRESULT _hr = get_ReverseTerminatorLength(&_result);
  17749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17750. return _result;
  17751. }
  17752. #pragma implementation_key(2687)
  17753. inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetUseReverseTerminatorLength ( ) {
  17754. VARIANT_BOOL _result = 0;
  17755. HRESULT _hr = get_UseReverseTerminatorLength(&_result);
  17756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17757. return _result;
  17758. }
  17759. #pragma implementation_key(2688)
  17760. inline void VGCore::IVGDimensionLinear::PutUseReverseTerminatorLength ( VARIANT_BOOL pVal ) {
  17761. HRESULT _hr = put_UseReverseTerminatorLength(pVal);
  17762. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17763. }
  17764. #pragma implementation_key(2689)
  17765. inline HRESULT VGCore::IVGDimensionLinear::SetReverseTerminatorLength ( double Length ) {
  17766. HRESULT _hr = raw_SetReverseTerminatorLength(Length);
  17767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17768. return _hr;
  17769. }
  17770. #pragma implementation_key(2690)
  17771. inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetInnerDimensionLineVisible ( ) {
  17772. VARIANT_BOOL _result = 0;
  17773. HRESULT _hr = get_InnerDimensionLineVisible(&_result);
  17774. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17775. return _result;
  17776. }
  17777. #pragma implementation_key(2691)
  17778. inline void VGCore::IVGDimensionLinear::PutInnerDimensionLineVisible ( VARIANT_BOOL pVal ) {
  17779. HRESULT _hr = put_InnerDimensionLineVisible(pVal);
  17780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17781. }
  17782. //
  17783. // interface IVGDimensionAngular wrapper method implementations
  17784. //
  17785. #pragma implementation_key(2692)
  17786. inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionAngular::GetCenter ( ) {
  17787. struct IVGSnapPoint * _result = 0;
  17788. HRESULT _hr = get_Center(&_result);
  17789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17790. return IVGSnapPointPtr(_result, false);
  17791. }
  17792. #pragma implementation_key(2693)
  17793. inline void VGCore::IVGDimensionAngular::PutCenter ( struct IVGSnapPoint * ppVal ) {
  17794. HRESULT _hr = put_Center(ppVal);
  17795. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17796. }
  17797. #pragma implementation_key(2694)
  17798. inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionAngular::GetPoint1 ( ) {
  17799. struct IVGSnapPoint * _result = 0;
  17800. HRESULT _hr = get_Point1(&_result);
  17801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17802. return IVGSnapPointPtr(_result, false);
  17803. }
  17804. #pragma implementation_key(2695)
  17805. inline void VGCore::IVGDimensionAngular::PutPoint1 ( struct IVGSnapPoint * ppVal ) {
  17806. HRESULT _hr = put_Point1(ppVal);
  17807. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17808. }
  17809. #pragma implementation_key(2696)
  17810. inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionAngular::GetPoint2 ( ) {
  17811. struct IVGSnapPoint * _result = 0;
  17812. HRESULT _hr = get_Point2(&_result);
  17813. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17814. return IVGSnapPointPtr(_result, false);
  17815. }
  17816. #pragma implementation_key(2697)
  17817. inline void VGCore::IVGDimensionAngular::PutPoint2 ( struct IVGSnapPoint * ppVal ) {
  17818. HRESULT _hr = put_Point2(ppVal);
  17819. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17820. }
  17821. #pragma implementation_key(2698)
  17822. inline double VGCore::IVGDimensionAngular::GetTextX ( ) {
  17823. double _result = 0;
  17824. HRESULT _hr = get_TextX(&_result);
  17825. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17826. return _result;
  17827. }
  17828. #pragma implementation_key(2699)
  17829. inline void VGCore::IVGDimensionAngular::PutTextX ( double pVal ) {
  17830. HRESULT _hr = put_TextX(pVal);
  17831. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17832. }
  17833. #pragma implementation_key(2700)
  17834. inline double VGCore::IVGDimensionAngular::GetTextY ( ) {
  17835. double _result = 0;
  17836. HRESULT _hr = get_TextY(&_result);
  17837. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17838. return _result;
  17839. }
  17840. #pragma implementation_key(2701)
  17841. inline void VGCore::IVGDimensionAngular::PutTextY ( double pVal ) {
  17842. HRESULT _hr = put_TextY(pVal);
  17843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17844. }
  17845. #pragma implementation_key(2702)
  17846. inline VARIANT_BOOL VGCore::IVGDimensionAngular::GetShowUnits ( ) {
  17847. VARIANT_BOOL _result = 0;
  17848. HRESULT _hr = get_ShowUnits(&_result);
  17849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17850. return _result;
  17851. }
  17852. #pragma implementation_key(2703)
  17853. inline void VGCore::IVGDimensionAngular::PutShowUnits ( VARIANT_BOOL pVal ) {
  17854. HRESULT _hr = put_ShowUnits(pVal);
  17855. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17856. }
  17857. #pragma implementation_key(2704)
  17858. inline enum VGCore::cdrDimensionAngularUnits VGCore::IVGDimensionAngular::GetUnits ( ) {
  17859. enum cdrDimensionAngularUnits _result;
  17860. HRESULT _hr = get_Units(&_result);
  17861. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17862. return _result;
  17863. }
  17864. #pragma implementation_key(2705)
  17865. inline void VGCore::IVGDimensionAngular::PutUnits ( enum cdrDimensionAngularUnits pVal ) {
  17866. HRESULT _hr = put_Units(pVal);
  17867. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17868. }
  17869. #pragma implementation_key(2706)
  17870. inline VARIANT_BOOL VGCore::IVGDimensionAngular::GetClockwise ( ) {
  17871. VARIANT_BOOL _result = 0;
  17872. HRESULT _hr = get_Clockwise(&_result);
  17873. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17874. return _result;
  17875. }
  17876. #pragma implementation_key(2707)
  17877. inline void VGCore::IVGDimensionAngular::PutClockwise ( VARIANT_BOOL pVal ) {
  17878. HRESULT _hr = put_Clockwise(pVal);
  17879. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17880. }
  17881. #pragma implementation_key(2708)
  17882. inline VARIANT_BOOL VGCore::IVGDimensionAngular::GetInnerExtensionLinesVisible ( ) {
  17883. VARIANT_BOOL _result = 0;
  17884. HRESULT _hr = get_InnerExtensionLinesVisible(&_result);
  17885. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17886. return _result;
  17887. }
  17888. #pragma implementation_key(2709)
  17889. inline void VGCore::IVGDimensionAngular::PutInnerExtensionLinesVisible ( VARIANT_BOOL pVal ) {
  17890. HRESULT _hr = put_InnerExtensionLinesVisible(pVal);
  17891. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17892. }
  17893. //
  17894. // interface IVGSegment wrapper method implementations
  17895. //
  17896. #pragma implementation_key(2710)
  17897. inline VGCore::IVGApplicationPtr VGCore::IVGSegment::GetApplication ( ) {
  17898. struct IVGApplication * _result = 0;
  17899. HRESULT _hr = get_Application(&_result);
  17900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17901. return IVGApplicationPtr(_result, false);
  17902. }
  17903. #pragma implementation_key(2711)
  17904. inline VGCore::IVGCurvePtr VGCore::IVGSegment::GetParent ( ) {
  17905. struct IVGCurve * _result = 0;
  17906. HRESULT _hr = get_Parent(&_result);
  17907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17908. return IVGCurvePtr(_result, false);
  17909. }
  17910. #pragma implementation_key(2712)
  17911. inline enum VGCore::cdrSegmentType VGCore::IVGSegment::GetType ( ) {
  17912. enum cdrSegmentType _result;
  17913. HRESULT _hr = get_Type(&_result);
  17914. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17915. return _result;
  17916. }
  17917. #pragma implementation_key(2713)
  17918. inline void VGCore::IVGSegment::PutType ( enum cdrSegmentType pVal ) {
  17919. HRESULT _hr = put_Type(pVal);
  17920. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17921. }
  17922. #pragma implementation_key(2714)
  17923. inline VGCore::IVGSubPathPtr VGCore::IVGSegment::GetSubPath ( ) {
  17924. struct IVGSubPath * _result = 0;
  17925. HRESULT _hr = get_SubPath(&_result);
  17926. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17927. return IVGSubPathPtr(_result, false);
  17928. }
  17929. #pragma implementation_key(2715)
  17930. inline double VGCore::IVGSegment::GetLength ( ) {
  17931. double _result = 0;
  17932. HRESULT _hr = get_Length(&_result);
  17933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17934. return _result;
  17935. }
  17936. #pragma implementation_key(2716)
  17937. inline long VGCore::IVGSegment::GetIndex ( ) {
  17938. long _result = 0;
  17939. HRESULT _hr = get_Index(&_result);
  17940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17941. return _result;
  17942. }
  17943. #pragma implementation_key(2717)
  17944. inline long VGCore::IVGSegment::GetSubPathIndex ( ) {
  17945. long _result = 0;
  17946. HRESULT _hr = get_SubPathIndex(&_result);
  17947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17948. return _result;
  17949. }
  17950. #pragma implementation_key(2718)
  17951. inline long VGCore::IVGSegment::GetAbsoluteIndex ( ) {
  17952. long _result = 0;
  17953. HRESULT _hr = get_AbsoluteIndex(&_result);
  17954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17955. return _result;
  17956. }
  17957. #pragma implementation_key(2719)
  17958. inline double VGCore::IVGSegment::GetStartingControlPointLength ( ) {
  17959. double _result = 0;
  17960. HRESULT _hr = get_StartingControlPointLength(&_result);
  17961. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17962. return _result;
  17963. }
  17964. #pragma implementation_key(2720)
  17965. inline void VGCore::IVGSegment::PutStartingControlPointLength ( double pVal ) {
  17966. HRESULT _hr = put_StartingControlPointLength(pVal);
  17967. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17968. }
  17969. #pragma implementation_key(2721)
  17970. inline double VGCore::IVGSegment::GetStartingControlPointAngle ( ) {
  17971. double _result = 0;
  17972. HRESULT _hr = get_StartingControlPointAngle(&_result);
  17973. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17974. return _result;
  17975. }
  17976. #pragma implementation_key(2722)
  17977. inline void VGCore::IVGSegment::PutStartingControlPointAngle ( double pVal ) {
  17978. HRESULT _hr = put_StartingControlPointAngle(pVal);
  17979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17980. }
  17981. #pragma implementation_key(2723)
  17982. inline double VGCore::IVGSegment::GetEndingControlPointLength ( ) {
  17983. double _result = 0;
  17984. HRESULT _hr = get_EndingControlPointLength(&_result);
  17985. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17986. return _result;
  17987. }
  17988. #pragma implementation_key(2724)
  17989. inline void VGCore::IVGSegment::PutEndingControlPointLength ( double pVal ) {
  17990. HRESULT _hr = put_EndingControlPointLength(pVal);
  17991. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17992. }
  17993. #pragma implementation_key(2725)
  17994. inline double VGCore::IVGSegment::GetEndingControlPointAngle ( ) {
  17995. double _result = 0;
  17996. HRESULT _hr = get_EndingControlPointAngle(&_result);
  17997. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  17998. return _result;
  17999. }
  18000. #pragma implementation_key(2726)
  18001. inline void VGCore::IVGSegment::PutEndingControlPointAngle ( double pVal ) {
  18002. HRESULT _hr = put_EndingControlPointAngle(pVal);
  18003. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18004. }
  18005. #pragma implementation_key(2727)
  18006. inline HRESULT VGCore::IVGSegment::GetPointPositionAt ( double * x, double * y, double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18007. HRESULT _hr = raw_GetPointPositionAt(x, y, Offset, OffsetType);
  18008. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18009. return _hr;
  18010. }
  18011. #pragma implementation_key(2728)
  18012. inline VGCore::IVGNodePtr VGCore::IVGSegment::BreakApartAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18013. struct IVGNode * _result = 0;
  18014. HRESULT _hr = raw_BreakApartAt(Offset, OffsetType, &_result);
  18015. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18016. return IVGNodePtr(_result, false);
  18017. }
  18018. #pragma implementation_key(2729)
  18019. inline VGCore::IVGNodePtr VGCore::IVGSegment::AddNodeAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18020. struct IVGNode * _result = 0;
  18021. HRESULT _hr = raw_AddNodeAt(Offset, OffsetType, &_result);
  18022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18023. return IVGNodePtr(_result, false);
  18024. }
  18025. #pragma implementation_key(2730)
  18026. inline double VGCore::IVGSegment::GetPerpendicularAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18027. double _result = 0;
  18028. HRESULT _hr = raw_GetPerpendicularAt(Offset, OffsetType, &_result);
  18029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18030. return _result;
  18031. }
  18032. #pragma implementation_key(2731)
  18033. inline double VGCore::IVGSegment::GetTangentAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18034. double _result = 0;
  18035. HRESULT _hr = raw_GetTangentAt(Offset, OffsetType, &_result);
  18036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18037. return _result;
  18038. }
  18039. #pragma implementation_key(2732)
  18040. inline VGCore::IVGCrossPointsPtr VGCore::IVGSegment::GetIntersections ( struct IVGSegment * Target, enum cdrSegmentOffsetType OffsetType ) {
  18041. struct IVGCrossPoints * _result = 0;
  18042. HRESULT _hr = raw_GetIntersections(Target, OffsetType, &_result);
  18043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18044. return IVGCrossPointsPtr(_result, false);
  18045. }
  18046. #pragma implementation_key(2733)
  18047. inline VGCore::IVGSegmentPtr VGCore::IVGSegment::Next ( ) {
  18048. struct IVGSegment * _result = 0;
  18049. HRESULT _hr = raw_Next(&_result);
  18050. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18051. return IVGSegmentPtr(_result, false);
  18052. }
  18053. #pragma implementation_key(2734)
  18054. inline VGCore::IVGSegmentPtr VGCore::IVGSegment::Previous ( ) {
  18055. struct IVGSegment * _result = 0;
  18056. HRESULT _hr = raw_Previous(&_result);
  18057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18058. return IVGSegmentPtr(_result, false);
  18059. }
  18060. #pragma implementation_key(2735)
  18061. inline VGCore::IVGNodePtr VGCore::IVGSegment::GetStartNode ( ) {
  18062. struct IVGNode * _result = 0;
  18063. HRESULT _hr = get_StartNode(&_result);
  18064. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18065. return IVGNodePtr(_result, false);
  18066. }
  18067. #pragma implementation_key(2736)
  18068. inline VGCore::IVGNodePtr VGCore::IVGSegment::GetEndNode ( ) {
  18069. struct IVGNode * _result = 0;
  18070. HRESULT _hr = get_EndNode(&_result);
  18071. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18072. return IVGNodePtr(_result, false);
  18073. }
  18074. #pragma implementation_key(2737)
  18075. inline double VGCore::IVGSegment::GetStartingControlPointX ( ) {
  18076. double _result = 0;
  18077. HRESULT _hr = get_StartingControlPointX(&_result);
  18078. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18079. return _result;
  18080. }
  18081. #pragma implementation_key(2738)
  18082. inline void VGCore::IVGSegment::PutStartingControlPointX ( double pVal ) {
  18083. HRESULT _hr = put_StartingControlPointX(pVal);
  18084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18085. }
  18086. #pragma implementation_key(2739)
  18087. inline double VGCore::IVGSegment::GetStartingControlPointY ( ) {
  18088. double _result = 0;
  18089. HRESULT _hr = get_StartingControlPointY(&_result);
  18090. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18091. return _result;
  18092. }
  18093. #pragma implementation_key(2740)
  18094. inline void VGCore::IVGSegment::PutStartingControlPointY ( double pVal ) {
  18095. HRESULT _hr = put_StartingControlPointY(pVal);
  18096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18097. }
  18098. #pragma implementation_key(2741)
  18099. inline double VGCore::IVGSegment::GetEndingControlPointX ( ) {
  18100. double _result = 0;
  18101. HRESULT _hr = get_EndingControlPointX(&_result);
  18102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18103. return _result;
  18104. }
  18105. #pragma implementation_key(2742)
  18106. inline void VGCore::IVGSegment::PutEndingControlPointX ( double pVal ) {
  18107. HRESULT _hr = put_EndingControlPointX(pVal);
  18108. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18109. }
  18110. #pragma implementation_key(2743)
  18111. inline double VGCore::IVGSegment::GetEndingControlPointY ( ) {
  18112. double _result = 0;
  18113. HRESULT _hr = get_EndingControlPointY(&_result);
  18114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18115. return _result;
  18116. }
  18117. #pragma implementation_key(2744)
  18118. inline void VGCore::IVGSegment::PutEndingControlPointY ( double pVal ) {
  18119. HRESULT _hr = put_EndingControlPointY(pVal);
  18120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18121. }
  18122. #pragma implementation_key(2745)
  18123. inline long VGCore::IVGSegment::GetPeaks ( double Angle, double * Offset1, double * Offset2, enum cdrSegmentOffsetType OffsetType ) {
  18124. long _result = 0;
  18125. HRESULT _hr = raw_GetPeaks(Angle, Offset1, Offset2, OffsetType, &_result);
  18126. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18127. return _result;
  18128. }
  18129. #pragma implementation_key(2746)
  18130. inline long VGCore::IVGSegment::GetBendPoints ( double * Offset1, double * Offset2, enum cdrSegmentOffsetType OffsetType ) {
  18131. long _result = 0;
  18132. HRESULT _hr = raw_GetBendPoints(Offset1, Offset2, OffsetType, &_result);
  18133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18134. return _result;
  18135. }
  18136. #pragma implementation_key(2747)
  18137. inline double VGCore::IVGSegment::GetCurvatureAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18138. double _result = 0;
  18139. HRESULT _hr = raw_GetCurvatureAt(Offset, OffsetType, &_result);
  18140. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18141. return _result;
  18142. }
  18143. #pragma implementation_key(2748)
  18144. inline double VGCore::IVGSegment::GetCurveSpeedAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18145. double _result = 0;
  18146. HRESULT _hr = raw_GetCurveSpeedAt(Offset, OffsetType, &_result);
  18147. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18148. return _result;
  18149. }
  18150. #pragma implementation_key(2749)
  18151. inline VARIANT_BOOL VGCore::IVGSegment::FindParamOffset ( double AbsoluteOffset, double * ParamOffset, double * Remainder ) {
  18152. VARIANT_BOOL _result = 0;
  18153. HRESULT _hr = raw_FindParamOffset(AbsoluteOffset, ParamOffset, Remainder, &_result);
  18154. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18155. return _result;
  18156. }
  18157. #pragma implementation_key(2750)
  18158. inline double VGCore::IVGSegment::GetAbsoluteOffset ( double ParamOffset ) {
  18159. double _result = 0;
  18160. HRESULT _hr = raw_GetAbsoluteOffset(ParamOffset, &_result);
  18161. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18162. return _result;
  18163. }
  18164. #pragma implementation_key(2751)
  18165. inline HRESULT VGCore::IVGSegment::GetStartingControlPointPosition ( double * PositionX, double * PositionY ) {
  18166. HRESULT _hr = raw_GetStartingControlPointPosition(PositionX, PositionY);
  18167. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18168. return _hr;
  18169. }
  18170. #pragma implementation_key(2752)
  18171. inline HRESULT VGCore::IVGSegment::SetStartingControlPointPosition ( double PositionX, double PositionY ) {
  18172. HRESULT _hr = raw_SetStartingControlPointPosition(PositionX, PositionY);
  18173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18174. return _hr;
  18175. }
  18176. #pragma implementation_key(2753)
  18177. inline HRESULT VGCore::IVGSegment::GetEndingControlPointPosition ( double * PositionX, double * PositionY ) {
  18178. HRESULT _hr = raw_GetEndingControlPointPosition(PositionX, PositionY);
  18179. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18180. return _hr;
  18181. }
  18182. #pragma implementation_key(2754)
  18183. inline HRESULT VGCore::IVGSegment::SetEndingControlPointPosition ( double PositionX, double PositionY ) {
  18184. HRESULT _hr = raw_SetEndingControlPointPosition(PositionX, PositionY);
  18185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18186. return _hr;
  18187. }
  18188. #pragma implementation_key(2755)
  18189. inline VGCore::IVGCurvePtr VGCore::IVGSegment::GetCopy ( ) {
  18190. struct IVGCurve * _result = 0;
  18191. HRESULT _hr = raw_GetCopy(&_result);
  18192. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18193. return IVGCurvePtr(_result, false);
  18194. }
  18195. #pragma implementation_key(2756)
  18196. inline VARIANT_BOOL VGCore::IVGSegment::GetSelected ( ) {
  18197. VARIANT_BOOL _result = 0;
  18198. HRESULT _hr = get_Selected(&_result);
  18199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18200. return _result;
  18201. }
  18202. #pragma implementation_key(2757)
  18203. inline void VGCore::IVGSegment::PutSelected ( VARIANT_BOOL pVal ) {
  18204. HRESULT _hr = put_Selected(pVal);
  18205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18206. }
  18207. #pragma implementation_key(2758)
  18208. inline HRESULT VGCore::IVGSegment::CreateSelection ( ) {
  18209. HRESULT _hr = raw_CreateSelection();
  18210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18211. return _hr;
  18212. }
  18213. #pragma implementation_key(2759)
  18214. inline VGCore::IVGCurvePtr VGCore::IVGSegment::GetPolyline ( long CurvePrecision ) {
  18215. struct IVGCurve * _result = 0;
  18216. HRESULT _hr = raw_GetPolyline(CurvePrecision, &_result);
  18217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18218. return IVGCurvePtr(_result, false);
  18219. }
  18220. #pragma implementation_key(2760)
  18221. inline VARIANT_BOOL VGCore::IVGSegment::IsRectOnEdge ( double x1, double y1, double x2, double y2 ) {
  18222. VARIANT_BOOL _result = 0;
  18223. HRESULT _hr = raw_IsRectOnEdge(x1, y1, x2, y2, &_result);
  18224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18225. return _result;
  18226. }
  18227. #pragma implementation_key(2761)
  18228. inline VARIANT_BOOL VGCore::IVGSegment::FindClosestPoint ( double x, double y, double * ParamOffset ) {
  18229. VARIANT_BOOL _result = 0;
  18230. HRESULT _hr = raw_FindClosestPoint(x, y, ParamOffset, &_result);
  18231. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18232. return _result;
  18233. }
  18234. #pragma implementation_key(2762)
  18235. inline VARIANT_BOOL VGCore::IVGSegment::FindParamOffsetAtPoint ( double x, double y, double * ParamOffset, double HotArea ) {
  18236. VARIANT_BOOL _result = 0;
  18237. HRESULT _hr = raw_FindParamOffsetAtPoint(x, y, ParamOffset, HotArea, &_result);
  18238. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18239. return _result;
  18240. }
  18241. #pragma implementation_key(2763)
  18242. inline VARIANT_BOOL VGCore::IVGSegment::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
  18243. VARIANT_BOOL _result = 0;
  18244. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
  18245. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18246. return _result;
  18247. }
  18248. #pragma implementation_key(2764)
  18249. inline VGCore::IVGRectPtr VGCore::IVGSegment::GetBoundingBox ( ) {
  18250. struct IVGRect * _result = 0;
  18251. HRESULT _hr = get_BoundingBox(&_result);
  18252. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18253. return IVGRectPtr(_result, false);
  18254. }
  18255. #pragma implementation_key(2765)
  18256. inline VGCore::IVGVectorPtr VGCore::IVGSegment::GetPerpendicularVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
  18257. struct IVGVector * _result = 0;
  18258. HRESULT _hr = raw_GetPerpendicularVectorAt(Offset, OffsetType, Normalize, &_result);
  18259. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18260. return IVGVectorPtr(_result, false);
  18261. }
  18262. #pragma implementation_key(2766)
  18263. inline VGCore::IVGVectorPtr VGCore::IVGSegment::GetTangentVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
  18264. struct IVGVector * _result = 0;
  18265. HRESULT _hr = raw_GetTangentVectorAt(Offset, OffsetType, Normalize, &_result);
  18266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18267. return IVGVectorPtr(_result, false);
  18268. }
  18269. #pragma implementation_key(2767)
  18270. inline VGCore::IVGPointPtr VGCore::IVGSegment::GetPointAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
  18271. struct IVGPoint * _result = 0;
  18272. HRESULT _hr = raw_GetPointAt(Offset, OffsetType, &_result);
  18273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18274. return IVGPointPtr(_result, false);
  18275. }
  18276. //
  18277. // interface IVGVector wrapper method implementations
  18278. //
  18279. #pragma implementation_key(2768)
  18280. inline double VGCore::IVGVector::Getx ( ) {
  18281. double _result = 0;
  18282. HRESULT _hr = get_x(&_result);
  18283. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18284. return _result;
  18285. }
  18286. #pragma implementation_key(2769)
  18287. inline void VGCore::IVGVector::Putx ( double pVal ) {
  18288. HRESULT _hr = put_x(pVal);
  18289. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18290. }
  18291. #pragma implementation_key(2770)
  18292. inline double VGCore::IVGVector::Gety ( ) {
  18293. double _result = 0;
  18294. HRESULT _hr = get_y(&_result);
  18295. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18296. return _result;
  18297. }
  18298. #pragma implementation_key(2771)
  18299. inline void VGCore::IVGVector::Puty ( double pVal ) {
  18300. HRESULT _hr = put_y(pVal);
  18301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18302. }
  18303. #pragma implementation_key(2772)
  18304. inline double VGCore::IVGVector::GetLength ( ) {
  18305. double _result = 0;
  18306. HRESULT _hr = get_Length(&_result);
  18307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18308. return _result;
  18309. }
  18310. #pragma implementation_key(2773)
  18311. inline void VGCore::IVGVector::PutLength ( double pVal ) {
  18312. HRESULT _hr = put_Length(pVal);
  18313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18314. }
  18315. #pragma implementation_key(2774)
  18316. inline double VGCore::IVGVector::GetAngle ( ) {
  18317. double _result = 0;
  18318. HRESULT _hr = get_Angle(&_result);
  18319. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18320. return _result;
  18321. }
  18322. #pragma implementation_key(2775)
  18323. inline void VGCore::IVGVector::PutAngle ( double pVal ) {
  18324. HRESULT _hr = put_Angle(pVal);
  18325. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18326. }
  18327. #pragma implementation_key(2776)
  18328. inline VGCore::IVGPointPtr VGCore::IVGVector::GetOffsettedPoint ( struct IVGPoint * Origin, double Distance ) {
  18329. struct IVGPoint * _result = 0;
  18330. HRESULT _hr = raw_GetOffsettedPoint(Origin, Distance, &_result);
  18331. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18332. return IVGPointPtr(_result, false);
  18333. }
  18334. #pragma implementation_key(2777)
  18335. inline HRESULT VGCore::IVGVector::Add ( struct IVGVector * Vector ) {
  18336. HRESULT _hr = raw_Add(Vector);
  18337. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18338. return _hr;
  18339. }
  18340. #pragma implementation_key(2778)
  18341. inline HRESULT VGCore::IVGVector::Subtract ( struct IVGVector * Vector ) {
  18342. HRESULT _hr = raw_Subtract(Vector);
  18343. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18344. return _hr;
  18345. }
  18346. #pragma implementation_key(2779)
  18347. inline HRESULT VGCore::IVGVector::MultiplyBy ( double Multiplier ) {
  18348. HRESULT _hr = raw_MultiplyBy(Multiplier);
  18349. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18350. return _hr;
  18351. }
  18352. #pragma implementation_key(2780)
  18353. inline HRESULT VGCore::IVGVector::Negate ( ) {
  18354. HRESULT _hr = raw_Negate();
  18355. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18356. return _hr;
  18357. }
  18358. #pragma implementation_key(2781)
  18359. inline HRESULT VGCore::IVGVector::Normalize ( ) {
  18360. HRESULT _hr = raw_Normalize();
  18361. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18362. return _hr;
  18363. }
  18364. #pragma implementation_key(2782)
  18365. inline double VGCore::IVGVector::AngleBetween ( struct IVGVector * Vector ) {
  18366. double _result = 0;
  18367. HRESULT _hr = raw_AngleBetween(Vector, &_result);
  18368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18369. return _result;
  18370. }
  18371. #pragma implementation_key(2783)
  18372. inline double VGCore::IVGVector::SmallAngleBetween ( struct IVGVector * Vector ) {
  18373. double _result = 0;
  18374. HRESULT _hr = raw_SmallAngleBetween(Vector, &_result);
  18375. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18376. return _result;
  18377. }
  18378. #pragma implementation_key(2784)
  18379. inline double VGCore::IVGVector::DotProduct ( struct IVGVector * Vector ) {
  18380. double _result = 0;
  18381. HRESULT _hr = raw_DotProduct(Vector, &_result);
  18382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18383. return _result;
  18384. }
  18385. #pragma implementation_key(2785)
  18386. inline double VGCore::IVGVector::CrossProduct ( struct IVGVector * Vector ) {
  18387. double _result = 0;
  18388. HRESULT _hr = raw_CrossProduct(Vector, &_result);
  18389. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18390. return _result;
  18391. }
  18392. #pragma implementation_key(2786)
  18393. inline HRESULT VGCore::IVGVector::SetFromPoints ( struct IVGPoint * Start, struct IVGPoint * End ) {
  18394. HRESULT _hr = raw_SetFromPoints(Start, End);
  18395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18396. return _hr;
  18397. }
  18398. #pragma implementation_key(2787)
  18399. inline VGCore::IVGVectorPtr VGCore::IVGVector::ProjectOnto ( struct IVGVector * Vector ) {
  18400. struct IVGVector * _result = 0;
  18401. HRESULT _hr = raw_ProjectOnto(Vector, &_result);
  18402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18403. return IVGVectorPtr(_result, false);
  18404. }
  18405. #pragma implementation_key(2788)
  18406. inline VGCore::IVGVectorPtr VGCore::IVGVector::GetCopy ( ) {
  18407. struct IVGVector * _result = 0;
  18408. HRESULT _hr = raw_GetCopy(&_result);
  18409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18410. return IVGVectorPtr(_result, false);
  18411. }
  18412. #pragma implementation_key(2789)
  18413. inline HRESULT VGCore::IVGVector::BindToDocument ( struct IVGDocument * Document ) {
  18414. HRESULT _hr = raw_BindToDocument(Document);
  18415. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18416. return _hr;
  18417. }
  18418. //
  18419. // interface IVGPoint wrapper method implementations
  18420. //
  18421. #pragma implementation_key(2790)
  18422. inline double VGCore::IVGPoint::Getx ( ) {
  18423. double _result = 0;
  18424. HRESULT _hr = get_x(&_result);
  18425. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18426. return _result;
  18427. }
  18428. #pragma implementation_key(2791)
  18429. inline void VGCore::IVGPoint::Putx ( double pVal ) {
  18430. HRESULT _hr = put_x(pVal);
  18431. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18432. }
  18433. #pragma implementation_key(2792)
  18434. inline double VGCore::IVGPoint::Gety ( ) {
  18435. double _result = 0;
  18436. HRESULT _hr = get_y(&_result);
  18437. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18438. return _result;
  18439. }
  18440. #pragma implementation_key(2793)
  18441. inline void VGCore::IVGPoint::Puty ( double pVal ) {
  18442. HRESULT _hr = put_y(pVal);
  18443. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18444. }
  18445. #pragma implementation_key(2794)
  18446. inline HRESULT VGCore::IVGPoint::Add ( struct IVGVector * Vector ) {
  18447. HRESULT _hr = raw_Add(Vector);
  18448. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18449. return _hr;
  18450. }
  18451. #pragma implementation_key(2795)
  18452. inline HRESULT VGCore::IVGPoint::Subtract ( struct IVGVector * Vector ) {
  18453. HRESULT _hr = raw_Subtract(Vector);
  18454. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18455. return _hr;
  18456. }
  18457. #pragma implementation_key(2796)
  18458. inline double VGCore::IVGPoint::DistanceTo ( struct IVGPoint * Point ) {
  18459. double _result = 0;
  18460. HRESULT _hr = raw_DistanceTo(Point, &_result);
  18461. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18462. return _result;
  18463. }
  18464. #pragma implementation_key(2797)
  18465. inline VGCore::IVGPointPtr VGCore::IVGPoint::GetCopy ( ) {
  18466. struct IVGPoint * _result = 0;
  18467. HRESULT _hr = raw_GetCopy(&_result);
  18468. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18469. return IVGPointPtr(_result, false);
  18470. }
  18471. #pragma implementation_key(2798)
  18472. inline HRESULT VGCore::IVGPoint::BindToDocument ( struct IVGDocument * Document ) {
  18473. HRESULT _hr = raw_BindToDocument(Document);
  18474. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18475. return _hr;
  18476. }
  18477. //
  18478. // interface IVGPointRange wrapper method implementations
  18479. //
  18480. #pragma implementation_key(2799)
  18481. inline VGCore::IVGPointPtr VGCore::IVGPointRange::GetItem ( long Index ) {
  18482. struct IVGPoint * _result = 0;
  18483. HRESULT _hr = get_Item(Index, &_result);
  18484. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18485. return IVGPointPtr(_result, false);
  18486. }
  18487. #pragma implementation_key(2800)
  18488. inline void VGCore::IVGPointRange::PutItem ( long Index, struct IVGPoint * ppVal ) {
  18489. HRESULT _hr = put_Item(Index, ppVal);
  18490. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18491. }
  18492. #pragma implementation_key(2801)
  18493. inline IUnknownPtr VGCore::IVGPointRange::Get_NewEnum ( ) {
  18494. IUnknown * _result = 0;
  18495. HRESULT _hr = get__NewEnum(&_result);
  18496. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18497. return IUnknownPtr(_result, false);
  18498. }
  18499. #pragma implementation_key(2802)
  18500. inline VGCore::IVGPointPtr VGCore::IVGPointRange::GetFirst ( ) {
  18501. struct IVGPoint * _result = 0;
  18502. HRESULT _hr = get_First(&_result);
  18503. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18504. return IVGPointPtr(_result, false);
  18505. }
  18506. #pragma implementation_key(2803)
  18507. inline VGCore::IVGPointPtr VGCore::IVGPointRange::GetLast ( ) {
  18508. struct IVGPoint * _result = 0;
  18509. HRESULT _hr = get_Last(&_result);
  18510. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18511. return IVGPointPtr(_result, false);
  18512. }
  18513. #pragma implementation_key(2804)
  18514. inline long VGCore::IVGPointRange::GetCount ( ) {
  18515. long _result = 0;
  18516. HRESULT _hr = get_Count(&_result);
  18517. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18518. return _result;
  18519. }
  18520. #pragma implementation_key(2805)
  18521. inline HRESULT VGCore::IVGPointRange::AddPoint ( struct IVGPoint * Point ) {
  18522. HRESULT _hr = raw_AddPoint(Point);
  18523. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18524. return _hr;
  18525. }
  18526. #pragma implementation_key(2806)
  18527. inline HRESULT VGCore::IVGPointRange::AddPointXY ( double x, double y ) {
  18528. HRESULT _hr = raw_AddPointXY(x, y);
  18529. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18530. return _hr;
  18531. }
  18532. #pragma implementation_key(2807)
  18533. inline HRESULT VGCore::IVGPointRange::InsertPoint ( long Index, struct IVGPoint * Point ) {
  18534. HRESULT _hr = raw_InsertPoint(Index, Point);
  18535. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18536. return _hr;
  18537. }
  18538. #pragma implementation_key(2808)
  18539. inline HRESULT VGCore::IVGPointRange::AddPoints ( struct IVGPointRange * Points ) {
  18540. HRESULT _hr = raw_AddPoints(Points);
  18541. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18542. return _hr;
  18543. }
  18544. #pragma implementation_key(2809)
  18545. inline HRESULT VGCore::IVGPointRange::InsertPoints ( long Index, struct IVGPointRange * Points ) {
  18546. HRESULT _hr = raw_InsertPoints(Index, Points);
  18547. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18548. return _hr;
  18549. }
  18550. #pragma implementation_key(2810)
  18551. inline HRESULT VGCore::IVGPointRange::Remove ( long Index ) {
  18552. HRESULT _hr = raw_Remove(Index);
  18553. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18554. return _hr;
  18555. }
  18556. #pragma implementation_key(2811)
  18557. inline HRESULT VGCore::IVGPointRange::RemoveRange ( long StartIndex, long EndIndex ) {
  18558. HRESULT _hr = raw_RemoveRange(StartIndex, EndIndex);
  18559. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18560. return _hr;
  18561. }
  18562. #pragma implementation_key(2812)
  18563. inline HRESULT VGCore::IVGPointRange::RemoveAll ( ) {
  18564. HRESULT _hr = raw_RemoveAll();
  18565. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18566. return _hr;
  18567. }
  18568. #pragma implementation_key(2813)
  18569. inline HRESULT VGCore::IVGPointRange::RemoveAdjacentDuplicates ( ) {
  18570. HRESULT _hr = raw_RemoveAdjacentDuplicates();
  18571. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18572. return _hr;
  18573. }
  18574. #pragma implementation_key(2814)
  18575. inline HRESULT VGCore::IVGPointRange::Reverse ( ) {
  18576. HRESULT _hr = raw_Reverse();
  18577. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18578. return _hr;
  18579. }
  18580. #pragma implementation_key(2815)
  18581. inline HRESULT VGCore::IVGPointRange::Smoothen ( double NumberOfPointsToSmoothAcross, VARIANT_BOOL Closed ) {
  18582. HRESULT _hr = raw_Smoothen(NumberOfPointsToSmoothAcross, Closed);
  18583. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18584. return _hr;
  18585. }
  18586. #pragma implementation_key(2816)
  18587. inline VGCore::IVGPointRangePtr VGCore::IVGPointRange::GetCopy ( ) {
  18588. struct IVGPointRange * _result = 0;
  18589. HRESULT _hr = raw_GetCopy(&_result);
  18590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18591. return IVGPointRangePtr(_result, false);
  18592. }
  18593. #pragma implementation_key(2817)
  18594. inline HRESULT VGCore::IVGPointRange::BindToDocument ( struct IVGDocument * Document ) {
  18595. HRESULT _hr = raw_BindToDocument(Document);
  18596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18597. return _hr;
  18598. }
  18599. //
  18600. // interface IVGTransformMatrix wrapper method implementations
  18601. //
  18602. #pragma implementation_key(2818)
  18603. inline double VGCore::IVGTransformMatrix::Getd11 ( ) {
  18604. double _result = 0;
  18605. HRESULT _hr = get_d11(&_result);
  18606. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18607. return _result;
  18608. }
  18609. #pragma implementation_key(2819)
  18610. inline void VGCore::IVGTransformMatrix::Putd11 ( double pVal ) {
  18611. HRESULT _hr = put_d11(pVal);
  18612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18613. }
  18614. #pragma implementation_key(2820)
  18615. inline double VGCore::IVGTransformMatrix::Getd12 ( ) {
  18616. double _result = 0;
  18617. HRESULT _hr = get_d12(&_result);
  18618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18619. return _result;
  18620. }
  18621. #pragma implementation_key(2821)
  18622. inline void VGCore::IVGTransformMatrix::Putd12 ( double pVal ) {
  18623. HRESULT _hr = put_d12(pVal);
  18624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18625. }
  18626. #pragma implementation_key(2822)
  18627. inline double VGCore::IVGTransformMatrix::Getd21 ( ) {
  18628. double _result = 0;
  18629. HRESULT _hr = get_d21(&_result);
  18630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18631. return _result;
  18632. }
  18633. #pragma implementation_key(2823)
  18634. inline void VGCore::IVGTransformMatrix::Putd21 ( double pVal ) {
  18635. HRESULT _hr = put_d21(pVal);
  18636. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18637. }
  18638. #pragma implementation_key(2824)
  18639. inline double VGCore::IVGTransformMatrix::Getd22 ( ) {
  18640. double _result = 0;
  18641. HRESULT _hr = get_d22(&_result);
  18642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18643. return _result;
  18644. }
  18645. #pragma implementation_key(2825)
  18646. inline void VGCore::IVGTransformMatrix::Putd22 ( double pVal ) {
  18647. HRESULT _hr = put_d22(pVal);
  18648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18649. }
  18650. #pragma implementation_key(2826)
  18651. inline double VGCore::IVGTransformMatrix::GetTranslationX ( ) {
  18652. double _result = 0;
  18653. HRESULT _hr = get_TranslationX(&_result);
  18654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18655. return _result;
  18656. }
  18657. #pragma implementation_key(2827)
  18658. inline void VGCore::IVGTransformMatrix::PutTranslationX ( double pVal ) {
  18659. HRESULT _hr = put_TranslationX(pVal);
  18660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18661. }
  18662. #pragma implementation_key(2828)
  18663. inline double VGCore::IVGTransformMatrix::GetTranslationY ( ) {
  18664. double _result = 0;
  18665. HRESULT _hr = get_TranslationY(&_result);
  18666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18667. return _result;
  18668. }
  18669. #pragma implementation_key(2829)
  18670. inline void VGCore::IVGTransformMatrix::PutTranslationY ( double pVal ) {
  18671. HRESULT _hr = put_TranslationY(pVal);
  18672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18673. }
  18674. #pragma implementation_key(2830)
  18675. inline VGCore::IVGVectorPtr VGCore::IVGTransformMatrix::GetTranslation ( ) {
  18676. struct IVGVector * _result = 0;
  18677. HRESULT _hr = get_Translation(&_result);
  18678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18679. return IVGVectorPtr(_result, false);
  18680. }
  18681. #pragma implementation_key(2831)
  18682. inline void VGCore::IVGTransformMatrix::PutTranslation ( struct IVGVector * ppVal ) {
  18683. HRESULT _hr = put_Translation(ppVal);
  18684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18685. }
  18686. #pragma implementation_key(2832)
  18687. inline HRESULT VGCore::IVGTransformMatrix::SetToIdentity ( ) {
  18688. HRESULT _hr = raw_SetToIdentity();
  18689. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18690. return _hr;
  18691. }
  18692. #pragma implementation_key(2833)
  18693. inline HRESULT VGCore::IVGTransformMatrix::Invert ( ) {
  18694. HRESULT _hr = raw_Invert();
  18695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18696. return _hr;
  18697. }
  18698. #pragma implementation_key(2834)
  18699. inline HRESULT VGCore::IVGTransformMatrix::TranslateBy ( double x, double y ) {
  18700. HRESULT _hr = raw_TranslateBy(x, y);
  18701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18702. return _hr;
  18703. }
  18704. #pragma implementation_key(2835)
  18705. inline HRESULT VGCore::IVGTransformMatrix::TranslateByVector ( struct IVGVector * Vector ) {
  18706. HRESULT _hr = raw_TranslateByVector(Vector);
  18707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18708. return _hr;
  18709. }
  18710. #pragma implementation_key(2836)
  18711. inline HRESULT VGCore::IVGTransformMatrix::SetTranslation ( double x, double y ) {
  18712. HRESULT _hr = raw_SetTranslation(x, y);
  18713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18714. return _hr;
  18715. }
  18716. #pragma implementation_key(2837)
  18717. inline HRESULT VGCore::IVGTransformMatrix::Rotate ( double Angle ) {
  18718. HRESULT _hr = raw_Rotate(Angle);
  18719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18720. return _hr;
  18721. }
  18722. #pragma implementation_key(2838)
  18723. inline HRESULT VGCore::IVGTransformMatrix::RotateAround ( double Angle, double x, double y ) {
  18724. HRESULT _hr = raw_RotateAround(Angle, x, y);
  18725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18726. return _hr;
  18727. }
  18728. #pragma implementation_key(2839)
  18729. inline HRESULT VGCore::IVGTransformMatrix::Scale ( double ScaleX, double ScaleY ) {
  18730. HRESULT _hr = raw_Scale(ScaleX, ScaleY);
  18731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18732. return _hr;
  18733. }
  18734. #pragma implementation_key(2840)
  18735. inline HRESULT VGCore::IVGTransformMatrix::ScaleAround ( double ScaleX, double ScaleY, double x, double y ) {
  18736. HRESULT _hr = raw_ScaleAround(ScaleX, ScaleY, x, y);
  18737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18738. return _hr;
  18739. }
  18740. #pragma implementation_key(2841)
  18741. inline HRESULT VGCore::IVGTransformMatrix::Transform ( struct IVGTransformMatrix * TransformMatrix ) {
  18742. HRESULT _hr = raw_Transform(TransformMatrix);
  18743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18744. return _hr;
  18745. }
  18746. #pragma implementation_key(2842)
  18747. inline HRESULT VGCore::IVGTransformMatrix::TransformAround ( struct IVGTransformMatrix * TransformMatrix, double x, double y ) {
  18748. HRESULT _hr = raw_TransformAround(TransformMatrix, x, y);
  18749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18750. return _hr;
  18751. }
  18752. #pragma implementation_key(2843)
  18753. inline HRESULT VGCore::IVGTransformMatrix::TransformPoint ( struct IVGPoint * Point ) {
  18754. HRESULT _hr = raw_TransformPoint(Point);
  18755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18756. return _hr;
  18757. }
  18758. #pragma implementation_key(2844)
  18759. inline HRESULT VGCore::IVGTransformMatrix::TransformPoints ( struct IVGPointRange * Points ) {
  18760. HRESULT _hr = raw_TransformPoints(Points);
  18761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18762. return _hr;
  18763. }
  18764. #pragma implementation_key(2845)
  18765. inline HRESULT VGCore::IVGTransformMatrix::TransformVector ( struct IVGVector * Vector ) {
  18766. HRESULT _hr = raw_TransformVector(Vector);
  18767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18768. return _hr;
  18769. }
  18770. #pragma implementation_key(2846)
  18771. inline HRESULT VGCore::IVGTransformMatrix::UntransformPoint ( struct IVGPoint * Point ) {
  18772. HRESULT _hr = raw_UntransformPoint(Point);
  18773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18774. return _hr;
  18775. }
  18776. #pragma implementation_key(2847)
  18777. inline HRESULT VGCore::IVGTransformMatrix::UntransformPoints ( struct IVGPointRange * Points ) {
  18778. HRESULT _hr = raw_UntransformPoints(Points);
  18779. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18780. return _hr;
  18781. }
  18782. #pragma implementation_key(2848)
  18783. inline HRESULT VGCore::IVGTransformMatrix::UntransformVector ( struct IVGVector * Vector ) {
  18784. HRESULT _hr = raw_UntransformVector(Vector);
  18785. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18786. return _hr;
  18787. }
  18788. #pragma implementation_key(2849)
  18789. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsIdentity ( ) {
  18790. VARIANT_BOOL _result = 0;
  18791. HRESULT _hr = get_IsIdentity(&_result);
  18792. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18793. return _result;
  18794. }
  18795. #pragma implementation_key(2850)
  18796. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsSkewedOrRotatedOrMirrored ( ) {
  18797. VARIANT_BOOL _result = 0;
  18798. HRESULT _hr = get_IsSkewedOrRotatedOrMirrored(&_result);
  18799. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18800. return _result;
  18801. }
  18802. #pragma implementation_key(2851)
  18803. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetContainsOnlyTranslation ( ) {
  18804. VARIANT_BOOL _result = 0;
  18805. HRESULT _hr = get_ContainsOnlyTranslation(&_result);
  18806. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18807. return _result;
  18808. }
  18809. #pragma implementation_key(2852)
  18810. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsSkewedOrRotated ( ) {
  18811. VARIANT_BOOL _result = 0;
  18812. HRESULT _hr = get_IsSkewedOrRotated(&_result);
  18813. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18814. return _result;
  18815. }
  18816. #pragma implementation_key(2853)
  18817. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsScaledOrSkewedOrRotated ( ) {
  18818. VARIANT_BOOL _result = 0;
  18819. HRESULT _hr = get_IsScaledOrSkewedOrRotated(&_result);
  18820. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18821. return _result;
  18822. }
  18823. #pragma implementation_key(2854)
  18824. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsOrthogonal ( ) {
  18825. VARIANT_BOOL _result = 0;
  18826. HRESULT _hr = get_IsOrthogonal(&_result);
  18827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18828. return _result;
  18829. }
  18830. #pragma implementation_key(2855)
  18831. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsOrthonormalAxisAligned ( ) {
  18832. VARIANT_BOOL _result = 0;
  18833. HRESULT _hr = get_IsOrthonormalAxisAligned(&_result);
  18834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18835. return _result;
  18836. }
  18837. #pragma implementation_key(2856)
  18838. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsOrthonormal ( ) {
  18839. VARIANT_BOOL _result = 0;
  18840. HRESULT _hr = get_IsOrthonormal(&_result);
  18841. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18842. return _result;
  18843. }
  18844. #pragma implementation_key(2857)
  18845. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsMirrored ( ) {
  18846. VARIANT_BOOL _result = 0;
  18847. HRESULT _hr = get_IsMirrored(&_result);
  18848. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18849. return _result;
  18850. }
  18851. #pragma implementation_key(2858)
  18852. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsScaled ( ) {
  18853. VARIANT_BOOL _result = 0;
  18854. HRESULT _hr = get_IsScaled(&_result);
  18855. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18856. return _result;
  18857. }
  18858. #pragma implementation_key(2859)
  18859. inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsTranslated ( ) {
  18860. VARIANT_BOOL _result = 0;
  18861. HRESULT _hr = get_IsTranslated(&_result);
  18862. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18863. return _result;
  18864. }
  18865. #pragma implementation_key(2860)
  18866. inline VGCore::IVGTransformMatrixPtr VGCore::IVGTransformMatrix::GetCopy ( ) {
  18867. struct IVGTransformMatrix * _result = 0;
  18868. HRESULT _hr = raw_GetCopy(&_result);
  18869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18870. return IVGTransformMatrixPtr(_result, false);
  18871. }
  18872. #pragma implementation_key(2861)
  18873. inline HRESULT VGCore::IVGTransformMatrix::BindToDocument ( struct IVGDocument * Document ) {
  18874. HRESULT _hr = raw_BindToDocument(Document);
  18875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18876. return _hr;
  18877. }
  18878. //
  18879. // interface IVGProperties wrapper method implementations
  18880. //
  18881. #pragma implementation_key(2862)
  18882. inline _variant_t VGCore::IVGProperties::GetItem ( _bstr_t Name, long ID ) {
  18883. VARIANT _result;
  18884. VariantInit(&_result);
  18885. HRESULT _hr = get_Item(Name, ID, &_result);
  18886. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18887. return _variant_t(_result, false);
  18888. }
  18889. #pragma implementation_key(2863)
  18890. inline void VGCore::IVGProperties::PutItem ( _bstr_t Name, long ID, const _variant_t & pVal ) {
  18891. HRESULT _hr = put_Item(Name, ID, pVal);
  18892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18893. }
  18894. #pragma implementation_key(2864)
  18895. inline IUnknownPtr VGCore::IVGProperties::Get_NewEnum ( ) {
  18896. IUnknown * _result = 0;
  18897. HRESULT _hr = get__NewEnum(&_result);
  18898. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18899. return IUnknownPtr(_result, false);
  18900. }
  18901. #pragma implementation_key(2865)
  18902. inline long VGCore::IVGProperties::GetIndex ( _bstr_t Name, long ID ) {
  18903. long _result = 0;
  18904. HRESULT _hr = get_Index(Name, ID, &_result);
  18905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18906. return _result;
  18907. }
  18908. #pragma implementation_key(2866)
  18909. inline _variant_t VGCore::IVGProperties::GetItemByIndex ( long Index ) {
  18910. VARIANT _result;
  18911. VariantInit(&_result);
  18912. HRESULT _hr = get_ItemByIndex(Index, &_result);
  18913. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18914. return _variant_t(_result, false);
  18915. }
  18916. #pragma implementation_key(2867)
  18917. inline HRESULT VGCore::IVGProperties::Delete ( _bstr_t Name, long ID ) {
  18918. HRESULT _hr = raw_Delete(Name, ID);
  18919. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18920. return _hr;
  18921. }
  18922. #pragma implementation_key(2868)
  18923. inline HRESULT VGCore::IVGProperties::DeleteByIndex ( long Index ) {
  18924. HRESULT _hr = raw_DeleteByIndex(Index);
  18925. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18926. return _hr;
  18927. }
  18928. #pragma implementation_key(2869)
  18929. inline long VGCore::IVGProperties::GetCount ( ) {
  18930. long _result = 0;
  18931. HRESULT _hr = get_Count(&_result);
  18932. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18933. return _result;
  18934. }
  18935. #pragma implementation_key(2870)
  18936. inline HRESULT VGCore::IVGProperties::Description ( long Index, BSTR * Name, long * ID ) {
  18937. HRESULT _hr = raw_Description(Index, Name, ID);
  18938. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18939. return _hr;
  18940. }
  18941. #pragma implementation_key(2871)
  18942. inline HRESULT VGCore::IVGProperties::PutFile ( _bstr_t Name, long ID, _bstr_t FileName ) {
  18943. HRESULT _hr = raw_PutFile(Name, ID, FileName);
  18944. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18945. return _hr;
  18946. }
  18947. #pragma implementation_key(2872)
  18948. inline HRESULT VGCore::IVGProperties::GetFile ( _bstr_t Name, long ID, _bstr_t FileName ) {
  18949. HRESULT _hr = raw_GetFile(Name, ID, FileName);
  18950. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18951. return _hr;
  18952. }
  18953. #pragma implementation_key(2873)
  18954. inline VARIANT_BOOL VGCore::IVGProperties::Exists ( _bstr_t Name, long ID ) {
  18955. VARIANT_BOOL _result = 0;
  18956. HRESULT _hr = raw_Exists(Name, ID, &_result);
  18957. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18958. return _result;
  18959. }
  18960. #pragma implementation_key(2874)
  18961. inline VARIANT_BOOL VGCore::IVGProperties::DeleteAll ( _bstr_t Name ) {
  18962. VARIANT_BOOL _result = 0;
  18963. HRESULT _hr = raw_DeleteAll(Name, &_result);
  18964. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18965. return _result;
  18966. }
  18967. #pragma implementation_key(2875)
  18968. inline VGCore::IVGPointPtr VGCore::IVGProperties::GetPoint ( _bstr_t uuidName ) {
  18969. struct IVGPoint * _result = 0;
  18970. HRESULT _hr = raw_GetPoint(uuidName, &_result);
  18971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18972. return IVGPointPtr(_result, false);
  18973. }
  18974. #pragma implementation_key(2876)
  18975. inline HRESULT VGCore::IVGProperties::SetPoint ( _bstr_t uuidName, struct IVGPoint * pVal ) {
  18976. HRESULT _hr = raw_SetPoint(uuidName, pVal);
  18977. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18978. return _hr;
  18979. }
  18980. #pragma implementation_key(2877)
  18981. inline VGCore::IVGVectorPtr VGCore::IVGProperties::GetVector ( _bstr_t uuidName ) {
  18982. struct IVGVector * _result = 0;
  18983. HRESULT _hr = raw_GetVector(uuidName, &_result);
  18984. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18985. return IVGVectorPtr(_result, false);
  18986. }
  18987. #pragma implementation_key(2878)
  18988. inline HRESULT VGCore::IVGProperties::SetVector ( _bstr_t uuidName, struct IVGVector * pVal ) {
  18989. HRESULT _hr = raw_SetVector(uuidName, pVal);
  18990. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18991. return _hr;
  18992. }
  18993. #pragma implementation_key(2879)
  18994. inline VGCore::IVGCurvePtr VGCore::IVGProperties::GetCurve ( _bstr_t uuidName ) {
  18995. struct IVGCurve * _result = 0;
  18996. HRESULT _hr = raw_GetCurve(uuidName, &_result);
  18997. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  18998. return IVGCurvePtr(_result, false);
  18999. }
  19000. #pragma implementation_key(2880)
  19001. inline HRESULT VGCore::IVGProperties::SetCurve ( _bstr_t uuidName, struct IVGCurve * pVal ) {
  19002. HRESULT _hr = raw_SetCurve(uuidName, pVal);
  19003. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19004. return _hr;
  19005. }
  19006. //
  19007. // interface IVGToolStateAttributes wrapper method implementations
  19008. //
  19009. #pragma implementation_key(2881)
  19010. inline _bstr_t VGCore::IVGToolStateAttributes::GetPropertyBarGuid ( ) {
  19011. BSTR _result = 0;
  19012. HRESULT _hr = get_PropertyBarGuid(&_result);
  19013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19014. return _bstr_t(_result, false);
  19015. }
  19016. #pragma implementation_key(2882)
  19017. inline void VGCore::IVGToolStateAttributes::PutPropertyBarGuid ( _bstr_t pVal ) {
  19018. HRESULT _hr = put_PropertyBarGuid(pVal);
  19019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19020. }
  19021. #pragma implementation_key(2883)
  19022. inline _bstr_t VGCore::IVGToolStateAttributes::GetContextMenuGuid ( ) {
  19023. BSTR _result = 0;
  19024. HRESULT _hr = get_ContextMenuGuid(&_result);
  19025. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19026. return _bstr_t(_result, false);
  19027. }
  19028. #pragma implementation_key(2884)
  19029. inline void VGCore::IVGToolStateAttributes::PutContextMenuGuid ( _bstr_t pVal ) {
  19030. HRESULT _hr = put_ContextMenuGuid(pVal);
  19031. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19032. }
  19033. #pragma implementation_key(2885)
  19034. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetUseTabletPressure ( ) {
  19035. VARIANT_BOOL _result = 0;
  19036. HRESULT _hr = get_UseTabletPressure(&_result);
  19037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19038. return _result;
  19039. }
  19040. #pragma implementation_key(2886)
  19041. inline void VGCore::IVGToolStateAttributes::PutUseTabletPressure ( VARIANT_BOOL pVal ) {
  19042. HRESULT _hr = put_UseTabletPressure(pVal);
  19043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19044. }
  19045. #pragma implementation_key(2887)
  19046. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetAllowTempPickState ( ) {
  19047. VARIANT_BOOL _result = 0;
  19048. HRESULT _hr = get_AllowTempPickState(&_result);
  19049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19050. return _result;
  19051. }
  19052. #pragma implementation_key(2888)
  19053. inline void VGCore::IVGToolStateAttributes::PutAllowTempPickState ( VARIANT_BOOL pVal ) {
  19054. HRESULT _hr = put_AllowTempPickState(pVal);
  19055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19056. }
  19057. #pragma implementation_key(2889)
  19058. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetAllowAutopan ( ) {
  19059. VARIANT_BOOL _result = 0;
  19060. HRESULT _hr = get_AllowAutopan(&_result);
  19061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19062. return _result;
  19063. }
  19064. #pragma implementation_key(2890)
  19065. inline void VGCore::IVGToolStateAttributes::PutAllowAutopan ( VARIANT_BOOL pVal ) {
  19066. HRESULT _hr = put_AllowAutopan(pVal);
  19067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19068. }
  19069. #pragma implementation_key(2891)
  19070. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetAllowContextMenu ( ) {
  19071. VARIANT_BOOL _result = 0;
  19072. HRESULT _hr = get_AllowContextMenu(&_result);
  19073. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19074. return _result;
  19075. }
  19076. #pragma implementation_key(2892)
  19077. inline void VGCore::IVGToolStateAttributes::PutAllowContextMenu ( VARIANT_BOOL pVal ) {
  19078. HRESULT _hr = put_AllowContextMenu(pVal);
  19079. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19080. }
  19081. #pragma implementation_key(2893)
  19082. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetCanUpdateSelectionOnMouseClick ( ) {
  19083. VARIANT_BOOL _result = 0;
  19084. HRESULT _hr = get_CanUpdateSelectionOnMouseClick(&_result);
  19085. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19086. return _result;
  19087. }
  19088. #pragma implementation_key(2894)
  19089. inline void VGCore::IVGToolStateAttributes::PutCanUpdateSelectionOnMouseClick ( VARIANT_BOOL pVal ) {
  19090. HRESULT _hr = put_CanUpdateSelectionOnMouseClick(pVal);
  19091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19092. }
  19093. #pragma implementation_key(2895)
  19094. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetDeselectOnLButtonDown ( ) {
  19095. VARIANT_BOOL _result = 0;
  19096. HRESULT _hr = get_DeselectOnLButtonDown(&_result);
  19097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19098. return _result;
  19099. }
  19100. #pragma implementation_key(2896)
  19101. inline void VGCore::IVGToolStateAttributes::PutDeselectOnLButtonDown ( VARIANT_BOOL pVal ) {
  19102. HRESULT _hr = put_DeselectOnLButtonDown(pVal);
  19103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19104. }
  19105. #pragma implementation_key(2897)
  19106. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetEnterGraceStateOnLButtonDown ( ) {
  19107. VARIANT_BOOL _result = 0;
  19108. HRESULT _hr = get_EnterGraceStateOnLButtonDown(&_result);
  19109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19110. return _result;
  19111. }
  19112. #pragma implementation_key(2898)
  19113. inline void VGCore::IVGToolStateAttributes::PutEnterGraceStateOnLButtonDown ( VARIANT_BOOL pVal ) {
  19114. HRESULT _hr = put_EnterGraceStateOnLButtonDown(pVal);
  19115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19116. }
  19117. #pragma implementation_key(2899)
  19118. inline void VGCore::IVGToolStateAttributes::PutStatusInfo ( _bstr_t _arg1 ) {
  19119. HRESULT _hr = put_StatusInfo(_arg1);
  19120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19121. }
  19122. #pragma implementation_key(2900)
  19123. inline HRESULT VGCore::IVGToolStateAttributes::SetCursor ( enum cdrCursorShape CursorShape ) {
  19124. HRESULT _hr = raw_SetCursor(CursorShape);
  19125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19126. return _hr;
  19127. }
  19128. #pragma implementation_key(2901)
  19129. inline HRESULT VGCore::IVGToolStateAttributes::StartTimer ( long TimerId, long TimeToTick, VARIANT_BOOL OneTime ) {
  19130. HRESULT _hr = raw_StartTimer(TimerId, TimeToTick, OneTime);
  19131. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19132. return _hr;
  19133. }
  19134. #pragma implementation_key(2902)
  19135. inline HRESULT VGCore::IVGToolStateAttributes::StopTimer ( long TimerId ) {
  19136. HRESULT _hr = raw_StopTimer(TimerId);
  19137. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19138. return _hr;
  19139. }
  19140. #pragma implementation_key(2903)
  19141. inline HRESULT VGCore::IVGToolStateAttributes::SnapMouse ( struct IVGPoint * pt ) {
  19142. HRESULT _hr = raw_SnapMouse(pt);
  19143. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19144. return _hr;
  19145. }
  19146. #pragma implementation_key(2904)
  19147. inline HRESULT VGCore::IVGToolStateAttributes::AnchoredSnapMouse ( struct IVGPoint * pt, struct IVGPoint * AnchorPoint ) {
  19148. HRESULT _hr = raw_AnchoredSnapMouse(pt, AnchorPoint);
  19149. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19150. return _hr;
  19151. }
  19152. #pragma implementation_key(2905)
  19153. inline HRESULT VGCore::IVGToolStateAttributes::ConstrainMouse ( struct IVGPoint * pt, struct IVGPoint * AnchorPoint ) {
  19154. HRESULT _hr = raw_ConstrainMouse(pt, AnchorPoint);
  19155. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19156. return _hr;
  19157. }
  19158. #pragma implementation_key(2906)
  19159. inline VARIANT_BOOL VGCore::IVGToolStateAttributes::IsKeyDown ( long KeyCode ) {
  19160. VARIANT_BOOL _result = 0;
  19161. HRESULT _hr = raw_IsKeyDown(KeyCode, &_result);
  19162. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19163. return _result;
  19164. }
  19165. #pragma implementation_key(2907)
  19166. inline double VGCore::IVGToolStateAttributes::GetCurrentPressure ( ) {
  19167. double _result = 0;
  19168. HRESULT _hr = get_CurrentPressure(&_result);
  19169. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19170. return _result;
  19171. }
  19172. #pragma implementation_key(2908)
  19173. inline HRESULT VGCore::IVGToolStateAttributes::SetCursorGuid ( _bstr_t newVal ) {
  19174. HRESULT _hr = raw_SetCursorGuid(newVal);
  19175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19176. return _hr;
  19177. }
  19178. #pragma implementation_key(2909)
  19179. inline HRESULT VGCore::IVGToolStateAttributes::SetStateHintsPage ( _bstr_t newVal ) {
  19180. HRESULT _hr = raw_SetStateHintsPage(newVal);
  19181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19182. return _hr;
  19183. }
  19184. #pragma implementation_key(2910)
  19185. inline HRESULT VGCore::IVGToolStateAttributes::ExitTemporaryToolState ( ) {
  19186. HRESULT _hr = raw_ExitTemporaryToolState();
  19187. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19188. return _hr;
  19189. }
  19190. #pragma implementation_key(2911)
  19191. inline VGCore::IVGDocumentPtr VGCore::IVGToolStateAttributes::GetDocument ( ) {
  19192. struct IVGDocument * _result = 0;
  19193. HRESULT _hr = get_Document(&_result);
  19194. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19195. return IVGDocumentPtr(_result, false);
  19196. }
  19197. #pragma implementation_key(2912)
  19198. inline HRESULT VGCore::IVGToolStateAttributes::SetFocus ( ) {
  19199. HRESULT _hr = raw_SetFocus();
  19200. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19201. return _hr;
  19202. }
  19203. #pragma implementation_key(2913)
  19204. inline HRESULT VGCore::IVGToolStateAttributes::CaptureMouse ( ) {
  19205. HRESULT _hr = raw_CaptureMouse();
  19206. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19207. return _hr;
  19208. }
  19209. #pragma implementation_key(2914)
  19210. inline HRESULT VGCore::IVGToolStateAttributes::ReleaseMouse ( ) {
  19211. HRESULT _hr = raw_ReleaseMouse();
  19212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19213. return _hr;
  19214. }
  19215. //
  19216. // interface IVGToolState wrapper method implementations
  19217. //
  19218. #pragma implementation_key(2915)
  19219. inline HRESULT VGCore::IVGToolState::OnStartState ( struct IVGToolStateAttributes * StateAttributes ) {
  19220. HRESULT _hr = raw_OnStartState(StateAttributes);
  19221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19222. return _hr;
  19223. }
  19224. #pragma implementation_key(2916)
  19225. inline HRESULT VGCore::IVGToolState::OnExitState ( ) {
  19226. HRESULT _hr = raw_OnExitState();
  19227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19228. return _hr;
  19229. }
  19230. #pragma implementation_key(2917)
  19231. inline HRESULT VGCore::IVGToolState::OnMouseMove ( struct IVGPoint * pt ) {
  19232. HRESULT _hr = raw_OnMouseMove(pt);
  19233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19234. return _hr;
  19235. }
  19236. #pragma implementation_key(2918)
  19237. inline HRESULT VGCore::IVGToolState::OnLButtonDown ( struct IVGPoint * pt ) {
  19238. HRESULT _hr = raw_OnLButtonDown(pt);
  19239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19240. return _hr;
  19241. }
  19242. #pragma implementation_key(2919)
  19243. inline HRESULT VGCore::IVGToolState::OnLButtonDownLeaveGrace ( struct IVGPoint * pt ) {
  19244. HRESULT _hr = raw_OnLButtonDownLeaveGrace(pt);
  19245. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19246. return _hr;
  19247. }
  19248. #pragma implementation_key(2920)
  19249. inline HRESULT VGCore::IVGToolState::OnLButtonUp ( struct IVGPoint * pt ) {
  19250. HRESULT _hr = raw_OnLButtonUp(pt);
  19251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19252. return _hr;
  19253. }
  19254. #pragma implementation_key(2921)
  19255. inline HRESULT VGCore::IVGToolState::OnLButtonDblClick ( struct IVGPoint * pt ) {
  19256. HRESULT _hr = raw_OnLButtonDblClick(pt);
  19257. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19258. return _hr;
  19259. }
  19260. #pragma implementation_key(2922)
  19261. inline HRESULT VGCore::IVGToolState::OnClick ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
  19262. HRESULT _hr = raw_OnClick(pt, Handled);
  19263. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19264. return _hr;
  19265. }
  19266. #pragma implementation_key(2923)
  19267. inline HRESULT VGCore::IVGToolState::OnRButtonDown ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
  19268. HRESULT _hr = raw_OnRButtonDown(pt, Handled);
  19269. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19270. return _hr;
  19271. }
  19272. #pragma implementation_key(2924)
  19273. inline HRESULT VGCore::IVGToolState::OnRButtonUp ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
  19274. HRESULT _hr = raw_OnRButtonUp(pt, Handled);
  19275. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19276. return _hr;
  19277. }
  19278. #pragma implementation_key(2925)
  19279. inline HRESULT VGCore::IVGToolState::OnKeyDown ( long KeyCode, VARIANT_BOOL * Handled ) {
  19280. HRESULT _hr = raw_OnKeyDown(KeyCode, Handled);
  19281. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19282. return _hr;
  19283. }
  19284. #pragma implementation_key(2926)
  19285. inline HRESULT VGCore::IVGToolState::OnKeyUp ( long KeyCode, VARIANT_BOOL * Handled ) {
  19286. HRESULT _hr = raw_OnKeyUp(KeyCode, Handled);
  19287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19288. return _hr;
  19289. }
  19290. #pragma implementation_key(2927)
  19291. inline HRESULT VGCore::IVGToolState::OnDelete ( VARIANT_BOOL * Handled ) {
  19292. HRESULT _hr = raw_OnDelete(Handled);
  19293. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19294. return _hr;
  19295. }
  19296. #pragma implementation_key(2928)
  19297. inline HRESULT VGCore::IVGToolState::OnAbort ( ) {
  19298. HRESULT _hr = raw_OnAbort();
  19299. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19300. return _hr;
  19301. }
  19302. #pragma implementation_key(2929)
  19303. inline HRESULT VGCore::IVGToolState::OnCommit ( struct IVGPoint * pt ) {
  19304. HRESULT _hr = raw_OnCommit(pt);
  19305. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19306. return _hr;
  19307. }
  19308. #pragma implementation_key(2930)
  19309. inline HRESULT VGCore::IVGToolState::OnSnapMouse ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
  19310. HRESULT _hr = raw_OnSnapMouse(pt, Handled);
  19311. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19312. return _hr;
  19313. }
  19314. #pragma implementation_key(2931)
  19315. inline HRESULT VGCore::IVGToolState::OnTimer ( long TimerId, long TimeEllapsed ) {
  19316. HRESULT _hr = raw_OnTimer(TimerId, TimeEllapsed);
  19317. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19318. return _hr;
  19319. }
  19320. #pragma implementation_key(2932)
  19321. inline VARIANT_BOOL VGCore::IVGToolState::GetIsDrawing ( ) {
  19322. VARIANT_BOOL _result = 0;
  19323. HRESULT _hr = get_IsDrawing(&_result);
  19324. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19325. return _result;
  19326. }
  19327. //
  19328. // interface IVGOnScreenCurve wrapper method implementations
  19329. //
  19330. #pragma implementation_key(2933)
  19331. inline HRESULT VGCore::IVGOnScreenCurve::Show ( ) {
  19332. HRESULT _hr = raw_Show();
  19333. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19334. return _hr;
  19335. }
  19336. #pragma implementation_key(2934)
  19337. inline HRESULT VGCore::IVGOnScreenCurve::Hide ( ) {
  19338. HRESULT _hr = raw_Hide();
  19339. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19340. return _hr;
  19341. }
  19342. #pragma implementation_key(2935)
  19343. inline HRESULT VGCore::IVGOnScreenCurve::SetPen ( long Color, long WidthInPixels, enum cdrOnScreenCurvePenStyle Style ) {
  19344. HRESULT _hr = raw_SetPen(Color, WidthInPixels, Style);
  19345. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19346. return _hr;
  19347. }
  19348. #pragma implementation_key(2936)
  19349. inline HRESULT VGCore::IVGOnScreenCurve::SetNoPen ( ) {
  19350. HRESULT _hr = raw_SetNoPen();
  19351. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19352. return _hr;
  19353. }
  19354. #pragma implementation_key(2937)
  19355. inline HRESULT VGCore::IVGOnScreenCurve::SetBrush ( long Color ) {
  19356. HRESULT _hr = raw_SetBrush(Color);
  19357. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19358. return _hr;
  19359. }
  19360. #pragma implementation_key(2938)
  19361. inline HRESULT VGCore::IVGOnScreenCurve::SetNoBrush ( ) {
  19362. HRESULT _hr = raw_SetNoBrush();
  19363. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19364. return _hr;
  19365. }
  19366. #pragma implementation_key(2939)
  19367. inline HRESULT VGCore::IVGOnScreenCurve::SetCurve ( struct IVGCurve * Curve ) {
  19368. HRESULT _hr = raw_SetCurve(Curve);
  19369. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19370. return _hr;
  19371. }
  19372. #pragma implementation_key(2940)
  19373. inline HRESULT VGCore::IVGOnScreenCurve::SetLine ( double x1, double y1, double x2, double y2 ) {
  19374. HRESULT _hr = raw_SetLine(x1, y1, x2, y2);
  19375. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19376. return _hr;
  19377. }
  19378. #pragma implementation_key(2941)
  19379. inline HRESULT VGCore::IVGOnScreenCurve::SetRectangle ( double x1, double y1, double x2, double y2 ) {
  19380. HRESULT _hr = raw_SetRectangle(x1, y1, x2, y2);
  19381. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19382. return _hr;
  19383. }
  19384. #pragma implementation_key(2942)
  19385. inline HRESULT VGCore::IVGOnScreenCurve::SetCircle ( double CenterX, double CenterY, double Radius ) {
  19386. HRESULT _hr = raw_SetCircle(CenterX, CenterY, Radius);
  19387. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19388. return _hr;
  19389. }
  19390. #pragma implementation_key(2943)
  19391. inline HRESULT VGCore::IVGOnScreenCurve::SetPoints ( struct IVGPointRange * Points ) {
  19392. HRESULT _hr = raw_SetPoints(Points);
  19393. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19394. return _hr;
  19395. }
  19396. //
  19397. // interface IVGMathUtils wrapper method implementations
  19398. //
  19399. #pragma implementation_key(2944)
  19400. inline VGCore::IVGPointPtr VGCore::IVGMathUtils::Interpolate ( struct IVGPoint * S, struct IVGPoint * E, double t ) {
  19401. struct IVGPoint * _result = 0;
  19402. HRESULT _hr = raw_Interpolate(S, E, t, &_result);
  19403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19404. return IVGPointPtr(_result, false);
  19405. }
  19406. #pragma implementation_key(2945)
  19407. inline VARIANT_BOOL VGCore::IVGMathUtils::IntersectLineSegments ( struct IVGPoint * S1, struct IVGPoint * E1, struct IVGPoint * S2, struct IVGPoint * E2, struct IVGPoint * * ppVal ) {
  19408. VARIANT_BOOL _result = 0;
  19409. HRESULT _hr = raw_IntersectLineSegments(S1, E1, S2, E2, ppVal, &_result);
  19410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19411. return _result;
  19412. }
  19413. #pragma implementation_key(2946)
  19414. inline double VGCore::IVGMathUtils::DistanceToLineSegment ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
  19415. double _result = 0;
  19416. HRESULT _hr = raw_DistanceToLineSegment(S, E, Point, &_result);
  19417. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19418. return _result;
  19419. }
  19420. #pragma implementation_key(2947)
  19421. inline VGCore::IVGPointPtr VGCore::IVGMathUtils::ClosestPointToLineSegment ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
  19422. struct IVGPoint * _result = 0;
  19423. HRESULT _hr = raw_ClosestPointToLineSegment(S, E, Point, &_result);
  19424. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19425. return IVGPointPtr(_result, false);
  19426. }
  19427. #pragma implementation_key(2948)
  19428. inline VARIANT_BOOL VGCore::IVGMathUtils::IntersectInfiniteLines ( struct IVGPoint * S1, struct IVGPoint * E1, struct IVGPoint * S2, struct IVGPoint * E2, struct IVGPoint * * ppVal ) {
  19429. VARIANT_BOOL _result = 0;
  19430. HRESULT _hr = raw_IntersectInfiniteLines(S1, E1, S2, E2, ppVal, &_result);
  19431. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19432. return _result;
  19433. }
  19434. #pragma implementation_key(2949)
  19435. inline double VGCore::IVGMathUtils::DistanceToInfiniteLine ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
  19436. double _result = 0;
  19437. HRESULT _hr = raw_DistanceToInfiniteLine(S, E, Point, &_result);
  19438. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19439. return _result;
  19440. }
  19441. #pragma implementation_key(2950)
  19442. inline VGCore::IVGPointPtr VGCore::IVGMathUtils::ClosestPointToInfiniteLine ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
  19443. struct IVGPoint * _result = 0;
  19444. HRESULT _hr = raw_ClosestPointToInfiniteLine(S, E, Point, &_result);
  19445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19446. return IVGPointPtr(_result, false);
  19447. }
  19448. #pragma implementation_key(2951)
  19449. inline double VGCore::IVGMathUtils::GetRandomReal ( double low, double High ) {
  19450. double _result = 0;
  19451. HRESULT _hr = raw_GetRandomReal(low, High, &_result);
  19452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19453. return _result;
  19454. }
  19455. #pragma implementation_key(2952)
  19456. inline long VGCore::IVGMathUtils::GetRandomInteger ( long low, long High ) {
  19457. long _result = 0;
  19458. HRESULT _hr = raw_GetRandomInteger(low, High, &_result);
  19459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19460. return _result;
  19461. }
  19462. #pragma implementation_key(2953)
  19463. inline HRESULT VGCore::IVGMathUtils::FitLineToPoints ( struct IVGPointRange * Points, struct IVGPoint * * Origin, struct IVGVector * * Direction ) {
  19464. HRESULT _hr = raw_FitLineToPoints(Points, Origin, Direction);
  19465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19466. return _hr;
  19467. }
  19468. #pragma implementation_key(2954)
  19469. inline VGCore::IVGPointPtr VGCore::IVGMathUtils::MidPoint ( struct IVGPoint * S, struct IVGPoint * E ) {
  19470. struct IVGPoint * _result = 0;
  19471. HRESULT _hr = raw_MidPoint(S, E, &_result);
  19472. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19473. return IVGPointPtr(_result, false);
  19474. }
  19475. #pragma implementation_key(2955)
  19476. inline VGCore::IVGPointPtr VGCore::IVGMathUtils::CreatePoint ( double x, double y ) {
  19477. struct IVGPoint * _result = 0;
  19478. HRESULT _hr = raw_CreatePoint(x, y, &_result);
  19479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19480. return IVGPointPtr(_result, false);
  19481. }
  19482. #pragma implementation_key(2956)
  19483. inline VGCore::IVGVectorPtr VGCore::IVGMathUtils::CreateVector ( double x, double y ) {
  19484. struct IVGVector * _result = 0;
  19485. HRESULT _hr = raw_CreateVector(x, y, &_result);
  19486. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19487. return IVGVectorPtr(_result, false);
  19488. }
  19489. #pragma implementation_key(2957)
  19490. inline VGCore::IVGPointRangePtr VGCore::IVGMathUtils::CreatePointRange ( ) {
  19491. struct IVGPointRange * _result = 0;
  19492. HRESULT _hr = raw_CreatePointRange(&_result);
  19493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19494. return IVGPointRangePtr(_result, false);
  19495. }
  19496. #pragma implementation_key(2958)
  19497. inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateIdentityTransformMatrix ( ) {
  19498. struct IVGTransformMatrix * _result = 0;
  19499. HRESULT _hr = raw_CreateIdentityTransformMatrix(&_result);
  19500. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19501. return IVGTransformMatrixPtr(_result, false);
  19502. }
  19503. #pragma implementation_key(2959)
  19504. inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateRotationTransformMatrix ( double Angle, double OriginX, double OriginY ) {
  19505. struct IVGTransformMatrix * _result = 0;
  19506. HRESULT _hr = raw_CreateRotationTransformMatrix(Angle, OriginX, OriginY, &_result);
  19507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19508. return IVGTransformMatrixPtr(_result, false);
  19509. }
  19510. #pragma implementation_key(2960)
  19511. inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateTranslationTransformMatrix ( double TranslateX, double TranslateY ) {
  19512. struct IVGTransformMatrix * _result = 0;
  19513. HRESULT _hr = raw_CreateTranslationTransformMatrix(TranslateX, TranslateY, &_result);
  19514. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19515. return IVGTransformMatrixPtr(_result, false);
  19516. }
  19517. #pragma implementation_key(2961)
  19518. inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateScaleTransformMatrix ( double ScaleX, double ScaleY, double OriginX, double OriginY ) {
  19519. struct IVGTransformMatrix * _result = 0;
  19520. HRESULT _hr = raw_CreateScaleTransformMatrix(ScaleX, ScaleY, OriginX, OriginY, &_result);
  19521. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19522. return IVGTransformMatrixPtr(_result, false);
  19523. }
  19524. #pragma implementation_key(2962)
  19525. inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateLineSegmentTransformMatrix ( struct IVGPoint * FromStart, struct IVGPoint * FromEnd, struct IVGPoint * ToStart, struct IVGPoint * ToEnd ) {
  19526. struct IVGTransformMatrix * _result = 0;
  19527. HRESULT _hr = raw_CreateLineSegmentTransformMatrix(FromStart, FromEnd, ToStart, ToEnd, &_result);
  19528. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19529. return IVGTransformMatrixPtr(_result, false);
  19530. }
  19531. //
  19532. // interface IVGNodeRange wrapper method implementations
  19533. //
  19534. #pragma implementation_key(2963)
  19535. inline VGCore::IVGApplicationPtr VGCore::IVGNodeRange::GetApplication ( ) {
  19536. struct IVGApplication * _result = 0;
  19537. HRESULT _hr = get_Application(&_result);
  19538. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19539. return IVGApplicationPtr(_result, false);
  19540. }
  19541. #pragma implementation_key(2964)
  19542. inline VGCore::IVGCurvePtr VGCore::IVGNodeRange::GetParent ( ) {
  19543. struct IVGCurve * _result = 0;
  19544. HRESULT _hr = get_Parent(&_result);
  19545. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19546. return IVGCurvePtr(_result, false);
  19547. }
  19548. #pragma implementation_key(2965)
  19549. inline VGCore::IVGNodePtr VGCore::IVGNodeRange::GetItem ( long Index ) {
  19550. struct IVGNode * _result = 0;
  19551. HRESULT _hr = get_Item(Index, &_result);
  19552. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19553. return IVGNodePtr(_result, false);
  19554. }
  19555. #pragma implementation_key(2966)
  19556. inline long VGCore::IVGNodeRange::GetCount ( ) {
  19557. long _result = 0;
  19558. HRESULT _hr = get_Count(&_result);
  19559. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19560. return _result;
  19561. }
  19562. #pragma implementation_key(2967)
  19563. inline enum VGCore::cdrNodeType VGCore::IVGNodeRange::GetType ( ) {
  19564. enum cdrNodeType _result;
  19565. HRESULT _hr = get_Type(&_result);
  19566. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19567. return _result;
  19568. }
  19569. #pragma implementation_key(2968)
  19570. inline double VGCore::IVGNodeRange::GetPositionX ( ) {
  19571. double _result = 0;
  19572. HRESULT _hr = get_PositionX(&_result);
  19573. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19574. return _result;
  19575. }
  19576. #pragma implementation_key(2969)
  19577. inline double VGCore::IVGNodeRange::GetPositionY ( ) {
  19578. double _result = 0;
  19579. HRESULT _hr = get_PositionY(&_result);
  19580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19581. return _result;
  19582. }
  19583. #pragma implementation_key(2970)
  19584. inline double VGCore::IVGNodeRange::GetSizeWidth ( ) {
  19585. double _result = 0;
  19586. HRESULT _hr = get_SizeWidth(&_result);
  19587. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19588. return _result;
  19589. }
  19590. #pragma implementation_key(2971)
  19591. inline double VGCore::IVGNodeRange::GetSizeHeight ( ) {
  19592. double _result = 0;
  19593. HRESULT _hr = get_SizeHeight(&_result);
  19594. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19595. return _result;
  19596. }
  19597. #pragma implementation_key(2972)
  19598. inline HRESULT VGCore::IVGNodeRange::Add ( struct IVGNode * Node ) {
  19599. HRESULT _hr = raw_Add(Node);
  19600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19601. return _hr;
  19602. }
  19603. #pragma implementation_key(2973)
  19604. inline HRESULT VGCore::IVGNodeRange::Remove ( long Index ) {
  19605. HRESULT _hr = raw_Remove(Index);
  19606. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19607. return _hr;
  19608. }
  19609. #pragma implementation_key(2974)
  19610. inline HRESULT VGCore::IVGNodeRange::Move ( double DeltaX, double DeltaY, long AnchorIndex, VARIANT_BOOL ElasticMode ) {
  19611. HRESULT _hr = raw_Move(DeltaX, DeltaY, AnchorIndex, ElasticMode);
  19612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19613. return _hr;
  19614. }
  19615. #pragma implementation_key(2975)
  19616. inline HRESULT VGCore::IVGNodeRange::Delete ( ) {
  19617. HRESULT _hr = raw_Delete();
  19618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19619. return _hr;
  19620. }
  19621. #pragma implementation_key(2976)
  19622. inline HRESULT VGCore::IVGNodeRange::Stretch ( float RatioX, float RatioY, VARIANT_BOOL UseAnchorPoint, double StretchAnchorX, double StretchAnchorY ) {
  19623. HRESULT _hr = raw_Stretch(RatioX, RatioY, UseAnchorPoint, StretchAnchorX, StretchAnchorY);
  19624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19625. return _hr;
  19626. }
  19627. #pragma implementation_key(2977)
  19628. inline HRESULT VGCore::IVGNodeRange::Rotate ( double Angle, VARIANT_BOOL UseCenterPoint, double RotationCenterX, double RotationCenterY ) {
  19629. HRESULT _hr = raw_Rotate(Angle, UseCenterPoint, RotationCenterX, RotationCenterY);
  19630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19631. return _hr;
  19632. }
  19633. #pragma implementation_key(2978)
  19634. inline HRESULT VGCore::IVGNodeRange::Skew ( double AngleX, double AngleY, VARIANT_BOOL UseAnchorPoint, double SkewAnchorX, double SkewAnchorY ) {
  19635. HRESULT _hr = raw_Skew(AngleX, AngleY, UseAnchorPoint, SkewAnchorX, SkewAnchorY);
  19636. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19637. return _hr;
  19638. }
  19639. #pragma implementation_key(2979)
  19640. inline HRESULT VGCore::IVGNodeRange::AutoReduce ( double PrecisionMargin ) {
  19641. HRESULT _hr = raw_AutoReduce(PrecisionMargin);
  19642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19643. return _hr;
  19644. }
  19645. #pragma implementation_key(2980)
  19646. inline HRESULT VGCore::IVGNodeRange::RemoveAll ( ) {
  19647. HRESULT _hr = raw_RemoveAll();
  19648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19649. return _hr;
  19650. }
  19651. #pragma implementation_key(2981)
  19652. inline HRESULT VGCore::IVGNodeRange::SetType ( enum cdrNodeType Type ) {
  19653. HRESULT _hr = raw_SetType(Type);
  19654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19655. return _hr;
  19656. }
  19657. #pragma implementation_key(2982)
  19658. inline IUnknownPtr VGCore::IVGNodeRange::Get_NewEnum ( ) {
  19659. IUnknown * _result = 0;
  19660. HRESULT _hr = get__NewEnum(&_result);
  19661. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19662. return IUnknownPtr(_result, false);
  19663. }
  19664. #pragma implementation_key(2983)
  19665. inline HRESULT VGCore::IVGNodeRange::AddRange ( struct IVGNodeRange * NodeRange ) {
  19666. HRESULT _hr = raw_AddRange(NodeRange);
  19667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19668. return _hr;
  19669. }
  19670. #pragma implementation_key(2984)
  19671. inline VGCore::IVGSegmentRangePtr VGCore::IVGNodeRange::GetSegmentRange ( ) {
  19672. struct IVGSegmentRange * _result = 0;
  19673. HRESULT _hr = get_SegmentRange(&_result);
  19674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19675. return IVGSegmentRangePtr(_result, false);
  19676. }
  19677. #pragma implementation_key(2985)
  19678. inline HRESULT VGCore::IVGNodeRange::BreakApart ( ) {
  19679. HRESULT _hr = raw_BreakApart();
  19680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19681. return _hr;
  19682. }
  19683. #pragma implementation_key(2986)
  19684. inline HRESULT VGCore::IVGNodeRange::Smoothen ( long Smoothness ) {
  19685. HRESULT _hr = raw_Smoothen(Smoothness);
  19686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19687. return _hr;
  19688. }
  19689. #pragma implementation_key(2987)
  19690. inline HRESULT VGCore::IVGNodeRange::RemoveRange ( struct IVGNodeRange * NodeRange ) {
  19691. HRESULT _hr = raw_RemoveRange(NodeRange);
  19692. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19693. return _hr;
  19694. }
  19695. #pragma implementation_key(2988)
  19696. inline HRESULT VGCore::IVGNodeRange::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  19697. HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments);
  19698. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19699. return _hr;
  19700. }
  19701. #pragma implementation_key(2989)
  19702. inline HRESULT VGCore::IVGNodeRange::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
  19703. HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments);
  19704. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19705. return _hr;
  19706. }
  19707. #pragma implementation_key(2990)
  19708. inline HRESULT VGCore::IVGNodeRange::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  19709. HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments);
  19710. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19711. return _hr;
  19712. }
  19713. #pragma implementation_key(2991)
  19714. inline HRESULT VGCore::IVGNodeRange::CreateSelection ( ) {
  19715. HRESULT _hr = raw_CreateSelection();
  19716. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19717. return _hr;
  19718. }
  19719. #pragma implementation_key(2992)
  19720. inline HRESULT VGCore::IVGNodeRange::AddToSelection ( ) {
  19721. HRESULT _hr = raw_AddToSelection();
  19722. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19723. return _hr;
  19724. }
  19725. #pragma implementation_key(2993)
  19726. inline HRESULT VGCore::IVGNodeRange::RemoveFromSelection ( ) {
  19727. HRESULT _hr = raw_RemoveFromSelection();
  19728. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19729. return _hr;
  19730. }
  19731. #pragma implementation_key(2994)
  19732. inline VGCore::IVGNodePtr VGCore::IVGNodeRange::GetFirstNode ( ) {
  19733. struct IVGNode * _result = 0;
  19734. HRESULT _hr = get_FirstNode(&_result);
  19735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19736. return IVGNodePtr(_result, false);
  19737. }
  19738. #pragma implementation_key(2995)
  19739. inline VGCore::IVGNodePtr VGCore::IVGNodeRange::GetLastNode ( ) {
  19740. struct IVGNode * _result = 0;
  19741. HRESULT _hr = get_LastNode(&_result);
  19742. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19743. return IVGNodePtr(_result, false);
  19744. }
  19745. #pragma implementation_key(2996)
  19746. inline VARIANT_BOOL VGCore::IVGNodeRange::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
  19747. VARIANT_BOOL _result = 0;
  19748. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
  19749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19750. return _result;
  19751. }
  19752. #pragma implementation_key(2997)
  19753. inline VGCore::IVGRectPtr VGCore::IVGNodeRange::GetBoundingBox ( ) {
  19754. struct IVGRect * _result = 0;
  19755. HRESULT _hr = get_BoundingBox(&_result);
  19756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19757. return IVGRectPtr(_result, false);
  19758. }
  19759. //
  19760. // interface IVGSegmentRange wrapper method implementations
  19761. //
  19762. #pragma implementation_key(2998)
  19763. inline VGCore::IVGApplicationPtr VGCore::IVGSegmentRange::GetApplication ( ) {
  19764. struct IVGApplication * _result = 0;
  19765. HRESULT _hr = get_Application(&_result);
  19766. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19767. return IVGApplicationPtr(_result, false);
  19768. }
  19769. #pragma implementation_key(2999)
  19770. inline VGCore::IVGCurvePtr VGCore::IVGSegmentRange::GetParent ( ) {
  19771. struct IVGCurve * _result = 0;
  19772. HRESULT _hr = get_Parent(&_result);
  19773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19774. return IVGCurvePtr(_result, false);
  19775. }
  19776. #pragma implementation_key(3000)
  19777. inline VGCore::IVGSegmentPtr VGCore::IVGSegmentRange::GetItem ( long Index ) {
  19778. struct IVGSegment * _result = 0;
  19779. HRESULT _hr = get_Item(Index, &_result);
  19780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19781. return IVGSegmentPtr(_result, false);
  19782. }
  19783. #pragma implementation_key(3001)
  19784. inline long VGCore::IVGSegmentRange::GetCount ( ) {
  19785. long _result = 0;
  19786. HRESULT _hr = get_Count(&_result);
  19787. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19788. return _result;
  19789. }
  19790. #pragma implementation_key(3002)
  19791. inline enum VGCore::cdrSegmentType VGCore::IVGSegmentRange::GetType ( ) {
  19792. enum cdrSegmentType _result;
  19793. HRESULT _hr = get_Type(&_result);
  19794. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19795. return _result;
  19796. }
  19797. #pragma implementation_key(3003)
  19798. inline double VGCore::IVGSegmentRange::GetLength ( ) {
  19799. double _result = 0;
  19800. HRESULT _hr = get_Length(&_result);
  19801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19802. return _result;
  19803. }
  19804. #pragma implementation_key(3004)
  19805. inline HRESULT VGCore::IVGSegmentRange::Add ( struct IVGSegment * Segment ) {
  19806. HRESULT _hr = raw_Add(Segment);
  19807. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19808. return _hr;
  19809. }
  19810. #pragma implementation_key(3005)
  19811. inline HRESULT VGCore::IVGSegmentRange::Remove ( long Index ) {
  19812. HRESULT _hr = raw_Remove(Index);
  19813. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19814. return _hr;
  19815. }
  19816. #pragma implementation_key(3006)
  19817. inline HRESULT VGCore::IVGSegmentRange::AddNode ( ) {
  19818. HRESULT _hr = raw_AddNode();
  19819. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19820. return _hr;
  19821. }
  19822. #pragma implementation_key(3007)
  19823. inline HRESULT VGCore::IVGSegmentRange::RemoveAll ( ) {
  19824. HRESULT _hr = raw_RemoveAll();
  19825. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19826. return _hr;
  19827. }
  19828. #pragma implementation_key(3008)
  19829. inline HRESULT VGCore::IVGSegmentRange::SetType ( enum cdrSegmentType Type ) {
  19830. HRESULT _hr = raw_SetType(Type);
  19831. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19832. return _hr;
  19833. }
  19834. #pragma implementation_key(3009)
  19835. inline IUnknownPtr VGCore::IVGSegmentRange::Get_NewEnum ( ) {
  19836. IUnknown * _result = 0;
  19837. HRESULT _hr = get__NewEnum(&_result);
  19838. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19839. return IUnknownPtr(_result, false);
  19840. }
  19841. #pragma implementation_key(3010)
  19842. inline HRESULT VGCore::IVGSegmentRange::AddRange ( struct IVGSegmentRange * SegmentRange ) {
  19843. HRESULT _hr = raw_AddRange(SegmentRange);
  19844. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19845. return _hr;
  19846. }
  19847. #pragma implementation_key(3011)
  19848. inline VGCore::IVGNodeRangePtr VGCore::IVGSegmentRange::GetNodeRange ( ) {
  19849. struct IVGNodeRange * _result = 0;
  19850. HRESULT _hr = get_NodeRange(&_result);
  19851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19852. return IVGNodeRangePtr(_result, false);
  19853. }
  19854. #pragma implementation_key(3012)
  19855. inline HRESULT VGCore::IVGSegmentRange::RemoveRange ( struct IVGSegmentRange * SegmentRange ) {
  19856. HRESULT _hr = raw_RemoveRange(SegmentRange);
  19857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19858. return _hr;
  19859. }
  19860. #pragma implementation_key(3013)
  19861. inline VGCore::IVGSegmentPtr VGCore::IVGSegmentRange::GetFirstSegment ( ) {
  19862. struct IVGSegment * _result = 0;
  19863. HRESULT _hr = get_FirstSegment(&_result);
  19864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19865. return IVGSegmentPtr(_result, false);
  19866. }
  19867. #pragma implementation_key(3014)
  19868. inline VGCore::IVGSegmentPtr VGCore::IVGSegmentRange::GetLastSegment ( ) {
  19869. struct IVGSegment * _result = 0;
  19870. HRESULT _hr = get_LastSegment(&_result);
  19871. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19872. return IVGSegmentPtr(_result, false);
  19873. }
  19874. #pragma implementation_key(3015)
  19875. inline HRESULT VGCore::IVGSegmentRange::CreateSelection ( ) {
  19876. HRESULT _hr = raw_CreateSelection();
  19877. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19878. return _hr;
  19879. }
  19880. #pragma implementation_key(3016)
  19881. inline HRESULT VGCore::IVGSegmentRange::AddToSelection ( ) {
  19882. HRESULT _hr = raw_AddToSelection();
  19883. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19884. return _hr;
  19885. }
  19886. #pragma implementation_key(3017)
  19887. inline HRESULT VGCore::IVGSegmentRange::RemoveFromSelection ( ) {
  19888. HRESULT _hr = raw_RemoveFromSelection();
  19889. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19890. return _hr;
  19891. }
  19892. //
  19893. // interface IVGSegments wrapper method implementations
  19894. //
  19895. #pragma implementation_key(3018)
  19896. inline VGCore::IVGApplicationPtr VGCore::IVGSegments::GetApplication ( ) {
  19897. struct IVGApplication * _result = 0;
  19898. HRESULT _hr = get_Application(&_result);
  19899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19900. return IVGApplicationPtr(_result, false);
  19901. }
  19902. #pragma implementation_key(3019)
  19903. inline VGCore::IVGCurvePtr VGCore::IVGSegments::GetParent ( ) {
  19904. struct IVGCurve * _result = 0;
  19905. HRESULT _hr = get_Parent(&_result);
  19906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19907. return IVGCurvePtr(_result, false);
  19908. }
  19909. #pragma implementation_key(3020)
  19910. inline VGCore::IVGSegmentPtr VGCore::IVGSegments::GetItem ( long Index ) {
  19911. struct IVGSegment * _result = 0;
  19912. HRESULT _hr = get_Item(Index, &_result);
  19913. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19914. return IVGSegmentPtr(_result, false);
  19915. }
  19916. #pragma implementation_key(3021)
  19917. inline IUnknownPtr VGCore::IVGSegments::Get_NewEnum ( ) {
  19918. IUnknown * _result = 0;
  19919. HRESULT _hr = get__NewEnum(&_result);
  19920. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19921. return IUnknownPtr(_result, false);
  19922. }
  19923. #pragma implementation_key(3022)
  19924. inline long VGCore::IVGSegments::GetCount ( ) {
  19925. long _result = 0;
  19926. HRESULT _hr = get_Count(&_result);
  19927. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19928. return _result;
  19929. }
  19930. #pragma implementation_key(3023)
  19931. inline VGCore::IVGSegmentRangePtr VGCore::IVGSegments::Range ( SAFEARRAY * * IndexArray ) {
  19932. struct IVGSegmentRange * _result = 0;
  19933. HRESULT _hr = raw_Range(IndexArray, &_result);
  19934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19935. return IVGSegmentRangePtr(_result, false);
  19936. }
  19937. #pragma implementation_key(3024)
  19938. inline VGCore::IVGSegmentRangePtr VGCore::IVGSegments::All ( ) {
  19939. struct IVGSegmentRange * _result = 0;
  19940. HRESULT _hr = raw_All(&_result);
  19941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19942. return IVGSegmentRangePtr(_result, false);
  19943. }
  19944. #pragma implementation_key(3025)
  19945. inline VGCore::IVGSegmentRangePtr VGCore::IVGSegments::AllExcluding ( SAFEARRAY * * IndexArray ) {
  19946. struct IVGSegmentRange * _result = 0;
  19947. HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
  19948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19949. return IVGSegmentRangePtr(_result, false);
  19950. }
  19951. #pragma implementation_key(3026)
  19952. inline VGCore::IVGSegmentPtr VGCore::IVGSegments::GetFirst ( ) {
  19953. struct IVGSegment * _result = 0;
  19954. HRESULT _hr = get_First(&_result);
  19955. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19956. return IVGSegmentPtr(_result, false);
  19957. }
  19958. #pragma implementation_key(3027)
  19959. inline VGCore::IVGSegmentPtr VGCore::IVGSegments::GetLast ( ) {
  19960. struct IVGSegment * _result = 0;
  19961. HRESULT _hr = get_Last(&_result);
  19962. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19963. return IVGSegmentPtr(_result, false);
  19964. }
  19965. //
  19966. // interface IVGBitmap wrapper method implementations
  19967. //
  19968. #pragma implementation_key(3028)
  19969. inline long VGCore::IVGBitmap::GetSizeWidth ( ) {
  19970. long _result = 0;
  19971. HRESULT _hr = get_SizeWidth(&_result);
  19972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19973. return _result;
  19974. }
  19975. #pragma implementation_key(3029)
  19976. inline long VGCore::IVGBitmap::GetSizeHeight ( ) {
  19977. long _result = 0;
  19978. HRESULT _hr = get_SizeHeight(&_result);
  19979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19980. return _result;
  19981. }
  19982. #pragma implementation_key(3030)
  19983. inline long VGCore::IVGBitmap::GetResolutionX ( ) {
  19984. long _result = 0;
  19985. HRESULT _hr = get_ResolutionX(&_result);
  19986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19987. return _result;
  19988. }
  19989. #pragma implementation_key(3031)
  19990. inline long VGCore::IVGBitmap::GetResolutionY ( ) {
  19991. long _result = 0;
  19992. HRESULT _hr = get_ResolutionY(&_result);
  19993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  19994. return _result;
  19995. }
  19996. #pragma implementation_key(3032)
  19997. inline VARIANT_BOOL VGCore::IVGBitmap::GetExternallyLinked ( ) {
  19998. VARIANT_BOOL _result = 0;
  19999. HRESULT _hr = get_ExternallyLinked(&_result);
  20000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20001. return _result;
  20002. }
  20003. #pragma implementation_key(3033)
  20004. inline HRESULT VGCore::IVGBitmap::ResolveLink ( ) {
  20005. HRESULT _hr = raw_ResolveLink();
  20006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20007. return _hr;
  20008. }
  20009. #pragma implementation_key(3034)
  20010. inline HRESULT VGCore::IVGBitmap::UpdateLink ( ) {
  20011. HRESULT _hr = raw_UpdateLink();
  20012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20013. return _hr;
  20014. }
  20015. #pragma implementation_key(3035)
  20016. inline HRESULT VGCore::IVGBitmap::Inflate ( long Width, long Height ) {
  20017. HRESULT _hr = raw_Inflate(Width, Height);
  20018. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20019. return _hr;
  20020. }
  20021. #pragma implementation_key(3036)
  20022. inline _bstr_t VGCore::IVGBitmap::GetLinkFileName ( ) {
  20023. BSTR _result = 0;
  20024. HRESULT _hr = get_LinkFileName(&_result);
  20025. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20026. return _bstr_t(_result, false);
  20027. }
  20028. #pragma implementation_key(3037)
  20029. inline enum VGCore::cdrImageType VGCore::IVGBitmap::GetMode ( ) {
  20030. enum cdrImageType _result;
  20031. HRESULT _hr = get_Mode(&_result);
  20032. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20033. return _result;
  20034. }
  20035. #pragma implementation_key(3038)
  20036. inline VGCore::ICorelExportFilterPtr VGCore::IVGBitmap::SaveAs ( _bstr_t FileName, enum cdrFilter Filter, enum cdrCompressionType Compression ) {
  20037. struct ICorelExportFilter * _result = 0;
  20038. HRESULT _hr = raw_SaveAs(FileName, Filter, Compression, &_result);
  20039. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20040. return ICorelExportFilterPtr(_result, false);
  20041. }
  20042. #pragma implementation_key(3039)
  20043. inline HRESULT VGCore::IVGBitmap::Resample ( long Width, long Height, VARIANT_BOOL AntiAlias, double ResolutionX, double ResolutionY ) {
  20044. HRESULT _hr = raw_Resample(Width, Height, AntiAlias, ResolutionX, ResolutionY);
  20045. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20046. return _hr;
  20047. }
  20048. #pragma implementation_key(3040)
  20049. inline HRESULT VGCore::IVGBitmap::ConvertTo ( enum cdrImageType Mode ) {
  20050. HRESULT _hr = raw_ConvertTo(Mode);
  20051. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20052. return _hr;
  20053. }
  20054. #pragma implementation_key(3041)
  20055. inline HRESULT VGCore::IVGBitmap::ApplyBitmapEffect ( _bstr_t UndoString, _bstr_t Command ) {
  20056. HRESULT _hr = raw_ApplyBitmapEffect(UndoString, Command);
  20057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20058. return _hr;
  20059. }
  20060. #pragma implementation_key(3042)
  20061. inline HRESULT VGCore::IVGBitmap::Crop ( ) {
  20062. HRESULT _hr = raw_Crop();
  20063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20064. return _hr;
  20065. }
  20066. #pragma implementation_key(3043)
  20067. inline VARIANT_BOOL VGCore::IVGBitmap::GetTransparent ( ) {
  20068. VARIANT_BOOL _result = 0;
  20069. HRESULT _hr = get_Transparent(&_result);
  20070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20071. return _result;
  20072. }
  20073. #pragma implementation_key(3044)
  20074. inline VARIANT_BOOL VGCore::IVGBitmap::GetWatermarked ( ) {
  20075. VARIANT_BOOL _result = 0;
  20076. HRESULT _hr = get_Watermarked(&_result);
  20077. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20078. return _result;
  20079. }
  20080. #pragma implementation_key(3045)
  20081. inline VARIANT_BOOL VGCore::IVGBitmap::GetOPILinked ( ) {
  20082. VARIANT_BOOL _result = 0;
  20083. HRESULT _hr = get_OPILinked(&_result);
  20084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20085. return _result;
  20086. }
  20087. #pragma implementation_key(3046)
  20088. inline VARIANT_BOOL VGCore::IVGBitmap::GetIsEPS ( ) {
  20089. VARIANT_BOOL _result = 0;
  20090. HRESULT _hr = get_IsEPS(&_result);
  20091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20092. return _result;
  20093. }
  20094. #pragma implementation_key(3047)
  20095. inline DATE VGCore::IVGBitmap::GetExternalLinkTime ( ) {
  20096. DATE _result = 0;
  20097. HRESULT _hr = get_ExternalLinkTime(&_result);
  20098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20099. return _result;
  20100. }
  20101. #pragma implementation_key(3048)
  20102. inline HRESULT VGCore::IVGBitmap::ConvertToPaletted ( enum cdrImagePaletteType PaletteType, enum cdrDitherType DitherType, long DitherIntensity, long Smoothing, long NumColors, VARIANT_BOOL ColorSensitive, long TargetColor, long Importance, long Lightness, long ToleranceA, long ToleranceB, VARIANT * Palette ) {
  20103. HRESULT _hr = raw_ConvertToPaletted(PaletteType, DitherType, DitherIntensity, Smoothing, NumColors, ColorSensitive, TargetColor, Importance, Lightness, ToleranceA, ToleranceB, Palette);
  20104. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20105. return _hr;
  20106. }
  20107. #pragma implementation_key(3049)
  20108. inline HRESULT VGCore::IVGBitmap::ConvertToPaletted2 ( struct IVGStructPaletteOptions * Options ) {
  20109. HRESULT _hr = raw_ConvertToPaletted2(Options);
  20110. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20111. return _hr;
  20112. }
  20113. #pragma implementation_key(3050)
  20114. inline HRESULT VGCore::IVGBitmap::ConvertToBW ( enum cdrRenderType RenderType, long Intensity, long Threshold, enum cdrHalftoneType Halftone, long HalftoneAngle, long HalftoneSize ) {
  20115. HRESULT _hr = raw_ConvertToBW(RenderType, Intensity, Threshold, Halftone, HalftoneAngle, HalftoneSize);
  20116. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20117. return _hr;
  20118. }
  20119. #pragma implementation_key(3051)
  20120. inline HRESULT VGCore::IVGBitmap::ResetCropEnvelope ( ) {
  20121. HRESULT _hr = raw_ResetCropEnvelope();
  20122. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20123. return _hr;
  20124. }
  20125. #pragma implementation_key(3052)
  20126. inline VARIANT_BOOL VGCore::IVGBitmap::GetEmbedded ( ) {
  20127. VARIANT_BOOL _result = 0;
  20128. HRESULT _hr = get_Embedded(&_result);
  20129. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20130. return _result;
  20131. }
  20132. #pragma implementation_key(3053)
  20133. inline VARIANT_BOOL VGCore::IVGBitmap::GetCropped ( ) {
  20134. VARIANT_BOOL _result = 0;
  20135. HRESULT _hr = get_Cropped(&_result);
  20136. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20137. return _result;
  20138. }
  20139. #pragma implementation_key(3054)
  20140. inline VARIANT_BOOL VGCore::IVGBitmap::GetCropEnvelopeModified ( ) {
  20141. VARIANT_BOOL _result = 0;
  20142. HRESULT _hr = get_CropEnvelopeModified(&_result);
  20143. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20144. return _result;
  20145. }
  20146. #pragma implementation_key(3055)
  20147. inline VGCore::IVGCurvePtr VGCore::IVGBitmap::GetCropEnvelope ( ) {
  20148. struct IVGCurve * _result = 0;
  20149. HRESULT _hr = get_CropEnvelope(&_result);
  20150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20151. return IVGCurvePtr(_result, false);
  20152. }
  20153. #pragma implementation_key(3056)
  20154. inline VGCore::IVGCurvePtr VGCore::IVGBitmap::GetBoundingBoxPath ( ) {
  20155. struct IVGCurve * _result = 0;
  20156. HRESULT _hr = get_BoundingBoxPath(&_result);
  20157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20158. return IVGCurvePtr(_result, false);
  20159. }
  20160. #pragma implementation_key(3057)
  20161. inline HRESULT VGCore::IVGBitmap::ConvertToDuotone ( struct IVGDuotone * Duotone ) {
  20162. HRESULT _hr = raw_ConvertToDuotone(Duotone);
  20163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20164. return _hr;
  20165. }
  20166. #pragma implementation_key(3058)
  20167. inline VGCore::IVGDuotonePtr VGCore::IVGBitmap::GetDuotone ( ) {
  20168. struct IVGDuotone * _result = 0;
  20169. HRESULT _hr = get_Duotone(&_result);
  20170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20171. return IVGDuotonePtr(_result, false);
  20172. }
  20173. #pragma implementation_key(3059)
  20174. inline void VGCore::IVGBitmap::PutLinkFileName ( _bstr_t pVal ) {
  20175. HRESULT _hr = put_LinkFileName(pVal);
  20176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20177. }
  20178. #pragma implementation_key(3060)
  20179. inline VGCore::IVGTraceSettingsPtr VGCore::IVGBitmap::Trace ( enum cdrTraceType TraceType, short Smoothing, short DetailLevelPercent, enum cdrColorType ColorMode, enum cdrPaletteID PaletteID, long ColorCount, VARIANT_BOOL DeleteOriginalObject, VARIANT_BOOL RemoveBackground, VARIANT_BOOL RemoveEntireBackColor ) {
  20180. struct IVGTraceSettings * _result = 0;
  20181. HRESULT _hr = raw_Trace(TraceType, Smoothing, DetailLevelPercent, ColorMode, PaletteID, ColorCount, DeleteOriginalObject, RemoveBackground, RemoveEntireBackColor, &_result);
  20182. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20183. return IVGTraceSettingsPtr(_result, false);
  20184. }
  20185. #pragma implementation_key(3061)
  20186. inline VGCore::IVGImagePtr VGCore::IVGBitmap::GetImage ( ) {
  20187. struct IVGImage * _result = 0;
  20188. HRESULT _hr = get_Image(&_result);
  20189. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20190. return IVGImagePtr(_result, false);
  20191. }
  20192. #pragma implementation_key(3062)
  20193. inline VGCore::IVGImagePtr VGCore::IVGBitmap::GetImageAlpha ( ) {
  20194. struct IVGImage * _result = 0;
  20195. HRESULT _hr = get_ImageAlpha(&_result);
  20196. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20197. return IVGImagePtr(_result, false);
  20198. }
  20199. #pragma implementation_key(3063)
  20200. inline HRESULT VGCore::IVGBitmap::SetImageData ( struct IVGImage * Image, struct IVGImage * Alpha, long OffsetX, long OffsetY ) {
  20201. HRESULT _hr = raw_SetImageData(Image, Alpha, OffsetX, OffsetY);
  20202. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20203. return _hr;
  20204. }
  20205. //
  20206. // interface IVGEPS wrapper method implementations
  20207. //
  20208. #pragma implementation_key(3064)
  20209. inline VGCore::IVGBitmapPtr VGCore::IVGEPS::GetPreviewBitmap ( ) {
  20210. struct IVGBitmap * _result = 0;
  20211. HRESULT _hr = get_PreviewBitmap(&_result);
  20212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20213. return IVGBitmapPtr(_result, false);
  20214. }
  20215. #pragma implementation_key(3065)
  20216. inline SAFEARRAY * VGCore::IVGEPS::GetData ( ) {
  20217. SAFEARRAY * _result = 0;
  20218. HRESULT _hr = get_Data(&_result);
  20219. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20220. return _result;
  20221. }
  20222. #pragma implementation_key(3066)
  20223. inline _bstr_t VGCore::IVGEPS::GetDataAsString ( ) {
  20224. BSTR _result = 0;
  20225. HRESULT _hr = get_DataAsString(&_result);
  20226. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20227. return _bstr_t(_result, false);
  20228. }
  20229. #pragma implementation_key(3067)
  20230. inline VGCore::IVGCurvePtr VGCore::IVGEPS::GetCropEnvelope ( ) {
  20231. struct IVGCurve * _result = 0;
  20232. HRESULT _hr = get_CropEnvelope(&_result);
  20233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20234. return IVGCurvePtr(_result, false);
  20235. }
  20236. #pragma implementation_key(3068)
  20237. inline HRESULT VGCore::IVGEPS::ResetCropEnvelope ( ) {
  20238. HRESULT _hr = raw_ResetCropEnvelope();
  20239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20240. return _hr;
  20241. }
  20242. #pragma implementation_key(3069)
  20243. inline VARIANT_BOOL VGCore::IVGEPS::GetCropEnvelopeModified ( ) {
  20244. VARIANT_BOOL _result = 0;
  20245. HRESULT _hr = get_CropEnvelopeModified(&_result);
  20246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20247. return _result;
  20248. }
  20249. #pragma implementation_key(3070)
  20250. inline VGCore::IVGCurvePtr VGCore::IVGEPS::GetBoundingBoxPath ( ) {
  20251. struct IVGCurve * _result = 0;
  20252. HRESULT _hr = get_BoundingBoxPath(&_result);
  20253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20254. return IVGCurvePtr(_result, false);
  20255. }
  20256. #pragma implementation_key(3071)
  20257. inline _bstr_t VGCore::IVGEPS::GetLinkFileName ( ) {
  20258. BSTR _result = 0;
  20259. HRESULT _hr = get_LinkFileName(&_result);
  20260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20261. return _bstr_t(_result, false);
  20262. }
  20263. #pragma implementation_key(3072)
  20264. inline void VGCore::IVGEPS::PutLinkFileName ( _bstr_t pVal ) {
  20265. HRESULT _hr = put_LinkFileName(pVal);
  20266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20267. }
  20268. #pragma implementation_key(3073)
  20269. inline SAFEARRAY * VGCore::IVGEPS::GetDCSFileNames ( ) {
  20270. SAFEARRAY * _result = 0;
  20271. HRESULT _hr = get_DCSFileNames(&_result);
  20272. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20273. return _result;
  20274. }
  20275. //
  20276. // interface IVGDuotone wrapper method implementations
  20277. //
  20278. #pragma implementation_key(3074)
  20279. inline enum VGCore::cdrDuotoneType VGCore::IVGDuotone::GetType ( ) {
  20280. enum cdrDuotoneType _result;
  20281. HRESULT _hr = get_Type(&_result);
  20282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20283. return _result;
  20284. }
  20285. #pragma implementation_key(3075)
  20286. inline void VGCore::IVGDuotone::PutType ( enum cdrDuotoneType pVal ) {
  20287. HRESULT _hr = put_Type(pVal);
  20288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20289. }
  20290. #pragma implementation_key(3076)
  20291. inline VARIANT_BOOL VGCore::IVGDuotone::GetUseOverprints ( ) {
  20292. VARIANT_BOOL _result = 0;
  20293. HRESULT _hr = get_UseOverprints(&_result);
  20294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20295. return _result;
  20296. }
  20297. #pragma implementation_key(3077)
  20298. inline void VGCore::IVGDuotone::PutUseOverprints ( VARIANT_BOOL pVal ) {
  20299. HRESULT _hr = put_UseOverprints(pVal);
  20300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20301. }
  20302. #pragma implementation_key(3078)
  20303. inline long VGCore::IVGDuotone::GetOverprintCount ( ) {
  20304. long _result = 0;
  20305. HRESULT _hr = get_OverprintCount(&_result);
  20306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20307. return _result;
  20308. }
  20309. #pragma implementation_key(3079)
  20310. inline VGCore::IVGDuotoneOverprintPtr VGCore::IVGDuotone::GetOverprints ( long Index ) {
  20311. struct IVGDuotoneOverprint * _result = 0;
  20312. HRESULT _hr = get_Overprints(Index, &_result);
  20313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20314. return IVGDuotoneOverprintPtr(_result, false);
  20315. }
  20316. #pragma implementation_key(3080)
  20317. inline long VGCore::IVGDuotone::GetInkCount ( ) {
  20318. long _result = 0;
  20319. HRESULT _hr = get_InkCount(&_result);
  20320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20321. return _result;
  20322. }
  20323. #pragma implementation_key(3081)
  20324. inline VGCore::IVGDuotoneInkPtr VGCore::IVGDuotone::GetInks ( long Index ) {
  20325. struct IVGDuotoneInk * _result = 0;
  20326. HRESULT _hr = get_Inks(Index, &_result);
  20327. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20328. return IVGDuotoneInkPtr(_result, false);
  20329. }
  20330. #pragma implementation_key(3082)
  20331. inline VGCore::IVGDuotonePtr VGCore::IVGDuotone::GetCopy ( ) {
  20332. struct IVGDuotone * _result = 0;
  20333. HRESULT _hr = raw_GetCopy(&_result);
  20334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20335. return IVGDuotonePtr(_result, false);
  20336. }
  20337. #pragma implementation_key(3083)
  20338. inline HRESULT VGCore::IVGDuotone::CopyAssign ( struct IVGDuotone * Duotone ) {
  20339. HRESULT _hr = raw_CopyAssign(Duotone);
  20340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20341. return _hr;
  20342. }
  20343. #pragma implementation_key(3084)
  20344. inline HRESULT VGCore::IVGDuotone::ResetOverprints ( ) {
  20345. HRESULT _hr = raw_ResetOverprints();
  20346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20347. return _hr;
  20348. }
  20349. #pragma implementation_key(3085)
  20350. inline VARIANT_BOOL VGCore::IVGDuotone::Load ( _bstr_t FileName ) {
  20351. VARIANT_BOOL _result = 0;
  20352. HRESULT _hr = raw_Load(FileName, &_result);
  20353. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20354. return _result;
  20355. }
  20356. #pragma implementation_key(3086)
  20357. inline VARIANT_BOOL VGCore::IVGDuotone::Save ( _bstr_t FileName ) {
  20358. VARIANT_BOOL _result = 0;
  20359. HRESULT _hr = raw_Save(FileName, &_result);
  20360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20361. return _result;
  20362. }
  20363. //
  20364. // interface IVGDuotoneOverprint wrapper method implementations
  20365. //
  20366. #pragma implementation_key(3087)
  20367. inline long VGCore::IVGDuotoneOverprint::GetCyan ( ) {
  20368. long _result = 0;
  20369. HRESULT _hr = get_Cyan(&_result);
  20370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20371. return _result;
  20372. }
  20373. #pragma implementation_key(3088)
  20374. inline void VGCore::IVGDuotoneOverprint::PutCyan ( long pVal ) {
  20375. HRESULT _hr = put_Cyan(pVal);
  20376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20377. }
  20378. #pragma implementation_key(3089)
  20379. inline long VGCore::IVGDuotoneOverprint::GetMagenta ( ) {
  20380. long _result = 0;
  20381. HRESULT _hr = get_Magenta(&_result);
  20382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20383. return _result;
  20384. }
  20385. #pragma implementation_key(3090)
  20386. inline void VGCore::IVGDuotoneOverprint::PutMagenta ( long pVal ) {
  20387. HRESULT _hr = put_Magenta(pVal);
  20388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20389. }
  20390. #pragma implementation_key(3091)
  20391. inline long VGCore::IVGDuotoneOverprint::GetYellow ( ) {
  20392. long _result = 0;
  20393. HRESULT _hr = get_Yellow(&_result);
  20394. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20395. return _result;
  20396. }
  20397. #pragma implementation_key(3092)
  20398. inline void VGCore::IVGDuotoneOverprint::PutYellow ( long pVal ) {
  20399. HRESULT _hr = put_Yellow(pVal);
  20400. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20401. }
  20402. #pragma implementation_key(3093)
  20403. inline long VGCore::IVGDuotoneOverprint::GetBlack ( ) {
  20404. long _result = 0;
  20405. HRESULT _hr = get_Black(&_result);
  20406. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20407. return _result;
  20408. }
  20409. #pragma implementation_key(3094)
  20410. inline void VGCore::IVGDuotoneOverprint::PutBlack ( long pVal ) {
  20411. HRESULT _hr = put_Black(pVal);
  20412. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20413. }
  20414. #pragma implementation_key(3095)
  20415. inline VGCore::IVGColorPtr VGCore::IVGDuotoneOverprint::GetColor ( ) {
  20416. struct IVGColor * _result = 0;
  20417. HRESULT _hr = get_Color(&_result);
  20418. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20419. return IVGColorPtr(_result, false);
  20420. }
  20421. #pragma implementation_key(3096)
  20422. inline void VGCore::IVGDuotoneOverprint::PutColor ( struct IVGColor * ppVal ) {
  20423. HRESULT _hr = put_Color(ppVal);
  20424. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20425. }
  20426. #pragma implementation_key(3097)
  20427. inline HRESULT VGCore::IVGDuotoneOverprint::Reset ( ) {
  20428. HRESULT _hr = raw_Reset();
  20429. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20430. return _hr;
  20431. }
  20432. #pragma implementation_key(3098)
  20433. inline HRESULT VGCore::IVGDuotoneOverprint::SetValues ( long Cyan, long Magenta, long Yellow, long Black ) {
  20434. HRESULT _hr = raw_SetValues(Cyan, Magenta, Yellow, Black);
  20435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20436. return _hr;
  20437. }
  20438. //
  20439. // interface IVGColor wrapper method implementations
  20440. //
  20441. #pragma implementation_key(3099)
  20442. inline IDispatchPtr VGCore::IVGColor::GetApplication ( ) {
  20443. IDispatch * _result = 0;
  20444. HRESULT _hr = get_Application(&_result);
  20445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20446. return IDispatchPtr(_result, false);
  20447. }
  20448. #pragma implementation_key(3100)
  20449. inline IDispatchPtr VGCore::IVGColor::GetParent ( ) {
  20450. IDispatch * _result = 0;
  20451. HRESULT _hr = get_Parent(&_result);
  20452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20453. return IDispatchPtr(_result, false);
  20454. }
  20455. #pragma implementation_key(3101)
  20456. inline enum VGCore::cdrColorType VGCore::IVGColor::GetType ( ) {
  20457. enum cdrColorType _result;
  20458. HRESULT _hr = get_Type(&_result);
  20459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20460. return _result;
  20461. }
  20462. #pragma implementation_key(3102)
  20463. inline HRESULT VGCore::IVGColor::RGBAssign ( long Red, long Green, long Blue ) {
  20464. HRESULT _hr = raw_RGBAssign(Red, Green, Blue);
  20465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20466. return _hr;
  20467. }
  20468. #pragma implementation_key(3103)
  20469. inline long VGCore::IVGColor::GetRGBRed ( ) {
  20470. long _result = 0;
  20471. HRESULT _hr = get_RGBRed(&_result);
  20472. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20473. return _result;
  20474. }
  20475. #pragma implementation_key(3104)
  20476. inline void VGCore::IVGColor::PutRGBRed ( long pVal ) {
  20477. HRESULT _hr = put_RGBRed(pVal);
  20478. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20479. }
  20480. #pragma implementation_key(3105)
  20481. inline long VGCore::IVGColor::GetRGBGreen ( ) {
  20482. long _result = 0;
  20483. HRESULT _hr = get_RGBGreen(&_result);
  20484. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20485. return _result;
  20486. }
  20487. #pragma implementation_key(3106)
  20488. inline void VGCore::IVGColor::PutRGBGreen ( long pVal ) {
  20489. HRESULT _hr = put_RGBGreen(pVal);
  20490. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20491. }
  20492. #pragma implementation_key(3107)
  20493. inline long VGCore::IVGColor::GetRGBBlue ( ) {
  20494. long _result = 0;
  20495. HRESULT _hr = get_RGBBlue(&_result);
  20496. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20497. return _result;
  20498. }
  20499. #pragma implementation_key(3108)
  20500. inline void VGCore::IVGColor::PutRGBBlue ( long pVal ) {
  20501. HRESULT _hr = put_RGBBlue(pVal);
  20502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20503. }
  20504. #pragma implementation_key(3109)
  20505. inline HRESULT VGCore::IVGColor::ConvertToRGB ( ) {
  20506. HRESULT _hr = raw_ConvertToRGB();
  20507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20508. return _hr;
  20509. }
  20510. #pragma implementation_key(3110)
  20511. inline HRESULT VGCore::IVGColor::CMYKAssign ( long Cyan, long Magenta, long Yellow, long Black ) {
  20512. HRESULT _hr = raw_CMYKAssign(Cyan, Magenta, Yellow, Black);
  20513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20514. return _hr;
  20515. }
  20516. #pragma implementation_key(3111)
  20517. inline long VGCore::IVGColor::GetCMYKCyan ( ) {
  20518. long _result = 0;
  20519. HRESULT _hr = get_CMYKCyan(&_result);
  20520. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20521. return _result;
  20522. }
  20523. #pragma implementation_key(3112)
  20524. inline void VGCore::IVGColor::PutCMYKCyan ( long pVal ) {
  20525. HRESULT _hr = put_CMYKCyan(pVal);
  20526. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20527. }
  20528. #pragma implementation_key(3113)
  20529. inline long VGCore::IVGColor::GetCMYKYellow ( ) {
  20530. long _result = 0;
  20531. HRESULT _hr = get_CMYKYellow(&_result);
  20532. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20533. return _result;
  20534. }
  20535. #pragma implementation_key(3114)
  20536. inline void VGCore::IVGColor::PutCMYKYellow ( long pVal ) {
  20537. HRESULT _hr = put_CMYKYellow(pVal);
  20538. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20539. }
  20540. #pragma implementation_key(3115)
  20541. inline long VGCore::IVGColor::GetCMYKMagenta ( ) {
  20542. long _result = 0;
  20543. HRESULT _hr = get_CMYKMagenta(&_result);
  20544. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20545. return _result;
  20546. }
  20547. #pragma implementation_key(3116)
  20548. inline void VGCore::IVGColor::PutCMYKMagenta ( long pVal ) {
  20549. HRESULT _hr = put_CMYKMagenta(pVal);
  20550. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20551. }
  20552. #pragma implementation_key(3117)
  20553. inline long VGCore::IVGColor::GetCMYKBlack ( ) {
  20554. long _result = 0;
  20555. HRESULT _hr = get_CMYKBlack(&_result);
  20556. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20557. return _result;
  20558. }
  20559. #pragma implementation_key(3118)
  20560. inline void VGCore::IVGColor::PutCMYKBlack ( long pVal ) {
  20561. HRESULT _hr = put_CMYKBlack(pVal);
  20562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20563. }
  20564. #pragma implementation_key(3119)
  20565. inline HRESULT VGCore::IVGColor::ConvertToCMYK ( ) {
  20566. HRESULT _hr = raw_ConvertToCMYK();
  20567. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20568. return _hr;
  20569. }
  20570. #pragma implementation_key(3120)
  20571. inline HRESULT VGCore::IVGColor::CMYAssign ( long Cyan, long Magenta, long Yellow ) {
  20572. HRESULT _hr = raw_CMYAssign(Cyan, Magenta, Yellow);
  20573. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20574. return _hr;
  20575. }
  20576. #pragma implementation_key(3121)
  20577. inline long VGCore::IVGColor::GetCMYCyan ( ) {
  20578. long _result = 0;
  20579. HRESULT _hr = get_CMYCyan(&_result);
  20580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20581. return _result;
  20582. }
  20583. #pragma implementation_key(3122)
  20584. inline void VGCore::IVGColor::PutCMYCyan ( long pVal ) {
  20585. HRESULT _hr = put_CMYCyan(pVal);
  20586. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20587. }
  20588. #pragma implementation_key(3123)
  20589. inline long VGCore::IVGColor::GetCMYMagenta ( ) {
  20590. long _result = 0;
  20591. HRESULT _hr = get_CMYMagenta(&_result);
  20592. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20593. return _result;
  20594. }
  20595. #pragma implementation_key(3124)
  20596. inline void VGCore::IVGColor::PutCMYMagenta ( long pVal ) {
  20597. HRESULT _hr = put_CMYMagenta(pVal);
  20598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20599. }
  20600. #pragma implementation_key(3125)
  20601. inline long VGCore::IVGColor::GetCMYYellow ( ) {
  20602. long _result = 0;
  20603. HRESULT _hr = get_CMYYellow(&_result);
  20604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20605. return _result;
  20606. }
  20607. #pragma implementation_key(3126)
  20608. inline void VGCore::IVGColor::PutCMYYellow ( long pVal ) {
  20609. HRESULT _hr = put_CMYYellow(pVal);
  20610. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20611. }
  20612. #pragma implementation_key(3127)
  20613. inline HRESULT VGCore::IVGColor::ConvertToCMY ( ) {
  20614. HRESULT _hr = raw_ConvertToCMY();
  20615. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20616. return _hr;
  20617. }
  20618. #pragma implementation_key(3128)
  20619. inline HRESULT VGCore::IVGColor::HSBAssign ( long Hue, long Saturation, long Brightness ) {
  20620. HRESULT _hr = raw_HSBAssign(Hue, Saturation, Brightness);
  20621. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20622. return _hr;
  20623. }
  20624. #pragma implementation_key(3129)
  20625. inline long VGCore::IVGColor::GetHSBHue ( ) {
  20626. long _result = 0;
  20627. HRESULT _hr = get_HSBHue(&_result);
  20628. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20629. return _result;
  20630. }
  20631. #pragma implementation_key(3130)
  20632. inline void VGCore::IVGColor::PutHSBHue ( long pVal ) {
  20633. HRESULT _hr = put_HSBHue(pVal);
  20634. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20635. }
  20636. #pragma implementation_key(3131)
  20637. inline long VGCore::IVGColor::GetHSBSaturation ( ) {
  20638. long _result = 0;
  20639. HRESULT _hr = get_HSBSaturation(&_result);
  20640. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20641. return _result;
  20642. }
  20643. #pragma implementation_key(3132)
  20644. inline void VGCore::IVGColor::PutHSBSaturation ( long pVal ) {
  20645. HRESULT _hr = put_HSBSaturation(pVal);
  20646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20647. }
  20648. #pragma implementation_key(3133)
  20649. inline long VGCore::IVGColor::GetHSBBrightness ( ) {
  20650. long _result = 0;
  20651. HRESULT _hr = get_HSBBrightness(&_result);
  20652. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20653. return _result;
  20654. }
  20655. #pragma implementation_key(3134)
  20656. inline void VGCore::IVGColor::PutHSBBrightness ( long pVal ) {
  20657. HRESULT _hr = put_HSBBrightness(pVal);
  20658. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20659. }
  20660. #pragma implementation_key(3135)
  20661. inline HRESULT VGCore::IVGColor::ConvertToHSB ( ) {
  20662. HRESULT _hr = raw_ConvertToHSB();
  20663. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20664. return _hr;
  20665. }
  20666. #pragma implementation_key(3136)
  20667. inline HRESULT VGCore::IVGColor::HLSAssign ( long Hue, long Lightness, long Saturation ) {
  20668. HRESULT _hr = raw_HLSAssign(Hue, Lightness, Saturation);
  20669. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20670. return _hr;
  20671. }
  20672. #pragma implementation_key(3137)
  20673. inline long VGCore::IVGColor::GetHLSHue ( ) {
  20674. long _result = 0;
  20675. HRESULT _hr = get_HLSHue(&_result);
  20676. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20677. return _result;
  20678. }
  20679. #pragma implementation_key(3138)
  20680. inline void VGCore::IVGColor::PutHLSHue ( long pVal ) {
  20681. HRESULT _hr = put_HLSHue(pVal);
  20682. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20683. }
  20684. #pragma implementation_key(3139)
  20685. inline long VGCore::IVGColor::GetHLSLightness ( ) {
  20686. long _result = 0;
  20687. HRESULT _hr = get_HLSLightness(&_result);
  20688. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20689. return _result;
  20690. }
  20691. #pragma implementation_key(3140)
  20692. inline void VGCore::IVGColor::PutHLSLightness ( long pVal ) {
  20693. HRESULT _hr = put_HLSLightness(pVal);
  20694. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20695. }
  20696. #pragma implementation_key(3141)
  20697. inline long VGCore::IVGColor::GetHLSSaturation ( ) {
  20698. long _result = 0;
  20699. HRESULT _hr = get_HLSSaturation(&_result);
  20700. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20701. return _result;
  20702. }
  20703. #pragma implementation_key(3142)
  20704. inline void VGCore::IVGColor::PutHLSSaturation ( long pVal ) {
  20705. HRESULT _hr = put_HLSSaturation(pVal);
  20706. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20707. }
  20708. #pragma implementation_key(3143)
  20709. inline HRESULT VGCore::IVGColor::ConvertToHLS ( ) {
  20710. HRESULT _hr = raw_ConvertToHLS();
  20711. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20712. return _hr;
  20713. }
  20714. #pragma implementation_key(3144)
  20715. inline HRESULT VGCore::IVGColor::BWAssign ( VARIANT_BOOL White ) {
  20716. HRESULT _hr = raw_BWAssign(White);
  20717. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20718. return _hr;
  20719. }
  20720. #pragma implementation_key(3145)
  20721. inline VARIANT_BOOL VGCore::IVGColor::GetBW ( ) {
  20722. VARIANT_BOOL _result = 0;
  20723. HRESULT _hr = get_BW(&_result);
  20724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20725. return _result;
  20726. }
  20727. #pragma implementation_key(3146)
  20728. inline void VGCore::IVGColor::PutBW ( VARIANT_BOOL pVal ) {
  20729. HRESULT _hr = put_BW(pVal);
  20730. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20731. }
  20732. #pragma implementation_key(3147)
  20733. inline HRESULT VGCore::IVGColor::ConvertToBW ( ) {
  20734. HRESULT _hr = raw_ConvertToBW();
  20735. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20736. return _hr;
  20737. }
  20738. #pragma implementation_key(3148)
  20739. inline HRESULT VGCore::IVGColor::GrayAssign ( long GrayValue ) {
  20740. HRESULT _hr = raw_GrayAssign(GrayValue);
  20741. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20742. return _hr;
  20743. }
  20744. #pragma implementation_key(3149)
  20745. inline long VGCore::IVGColor::GetGray ( ) {
  20746. long _result = 0;
  20747. HRESULT _hr = get_Gray(&_result);
  20748. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20749. return _result;
  20750. }
  20751. #pragma implementation_key(3150)
  20752. inline void VGCore::IVGColor::PutGray ( long pVal ) {
  20753. HRESULT _hr = put_Gray(pVal);
  20754. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20755. }
  20756. #pragma implementation_key(3151)
  20757. inline HRESULT VGCore::IVGColor::ConvertToGray ( ) {
  20758. HRESULT _hr = raw_ConvertToGray();
  20759. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20760. return _hr;
  20761. }
  20762. #pragma implementation_key(3152)
  20763. inline HRESULT VGCore::IVGColor::CorelScriptAssign ( long ColorModel, long V1, long V2, long V3, long V4, long V5, long V6, long V7 ) {
  20764. HRESULT _hr = raw_CorelScriptAssign(ColorModel, V1, V2, V3, V4, V5, V6, V7);
  20765. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20766. return _hr;
  20767. }
  20768. #pragma implementation_key(3153)
  20769. inline HRESULT VGCore::IVGColor::CorelScriptGetComponent ( long * ColorModel, long * V1, long * V2, long * V3, long * V4, long * V5, long * V6, long * V7 ) {
  20770. HRESULT _hr = raw_CorelScriptGetComponent(ColorModel, V1, V2, V3, V4, V5, V6, V7);
  20771. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20772. return _hr;
  20773. }
  20774. #pragma implementation_key(3154)
  20775. inline HRESULT VGCore::IVGColor::UserAssign ( long ParentWindowHandle ) {
  20776. HRESULT _hr = raw_UserAssign(ParentWindowHandle);
  20777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20778. return _hr;
  20779. }
  20780. #pragma implementation_key(3155)
  20781. inline HRESULT VGCore::IVGColor::CopyAssign ( struct IVGColor * Color ) {
  20782. HRESULT _hr = raw_CopyAssign(Color);
  20783. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20784. return _hr;
  20785. }
  20786. #pragma implementation_key(3156)
  20787. inline _bstr_t VGCore::IVGColor::GetName ( VARIANT_BOOL Components ) {
  20788. BSTR _result = 0;
  20789. HRESULT _hr = get_Name(Components, &_result);
  20790. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20791. return _bstr_t(_result, false);
  20792. }
  20793. #pragma implementation_key(3157)
  20794. inline HRESULT VGCore::IVGColor::YIQAssign ( long y, long I, long Q ) {
  20795. HRESULT _hr = raw_YIQAssign(y, I, Q);
  20796. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20797. return _hr;
  20798. }
  20799. #pragma implementation_key(3158)
  20800. inline long VGCore::IVGColor::GetYIQLuminanceY ( ) {
  20801. long _result = 0;
  20802. HRESULT _hr = get_YIQLuminanceY(&_result);
  20803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20804. return _result;
  20805. }
  20806. #pragma implementation_key(3159)
  20807. inline void VGCore::IVGColor::PutYIQLuminanceY ( long pVal ) {
  20808. HRESULT _hr = put_YIQLuminanceY(pVal);
  20809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20810. }
  20811. #pragma implementation_key(3160)
  20812. inline long VGCore::IVGColor::GetYIQChromaI ( ) {
  20813. long _result = 0;
  20814. HRESULT _hr = get_YIQChromaI(&_result);
  20815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20816. return _result;
  20817. }
  20818. #pragma implementation_key(3161)
  20819. inline void VGCore::IVGColor::PutYIQChromaI ( long pVal ) {
  20820. HRESULT _hr = put_YIQChromaI(pVal);
  20821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20822. }
  20823. #pragma implementation_key(3162)
  20824. inline long VGCore::IVGColor::GetYIQChromaQ ( ) {
  20825. long _result = 0;
  20826. HRESULT _hr = get_YIQChromaQ(&_result);
  20827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20828. return _result;
  20829. }
  20830. #pragma implementation_key(3163)
  20831. inline void VGCore::IVGColor::PutYIQChromaQ ( long pVal ) {
  20832. HRESULT _hr = put_YIQChromaQ(pVal);
  20833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20834. }
  20835. #pragma implementation_key(3164)
  20836. inline HRESULT VGCore::IVGColor::ConvertToYIQ ( ) {
  20837. HRESULT _hr = raw_ConvertToYIQ();
  20838. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20839. return _hr;
  20840. }
  20841. #pragma implementation_key(3165)
  20842. inline HRESULT VGCore::IVGColor::LabAssign ( long L, long A, long B ) {
  20843. HRESULT _hr = raw_LabAssign(L, A, B);
  20844. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20845. return _hr;
  20846. }
  20847. #pragma implementation_key(3166)
  20848. inline long VGCore::IVGColor::GetLabLuminance ( ) {
  20849. long _result = 0;
  20850. HRESULT _hr = get_LabLuminance(&_result);
  20851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20852. return _result;
  20853. }
  20854. #pragma implementation_key(3167)
  20855. inline void VGCore::IVGColor::PutLabLuminance ( long pVal ) {
  20856. HRESULT _hr = put_LabLuminance(pVal);
  20857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20858. }
  20859. #pragma implementation_key(3168)
  20860. inline long VGCore::IVGColor::GetLabComponentA ( ) {
  20861. long _result = 0;
  20862. HRESULT _hr = get_LabComponentA(&_result);
  20863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20864. return _result;
  20865. }
  20866. #pragma implementation_key(3169)
  20867. inline void VGCore::IVGColor::PutLabComponentA ( long pVal ) {
  20868. HRESULT _hr = put_LabComponentA(pVal);
  20869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20870. }
  20871. #pragma implementation_key(3170)
  20872. inline long VGCore::IVGColor::GetLabComponentB ( ) {
  20873. long _result = 0;
  20874. HRESULT _hr = get_LabComponentB(&_result);
  20875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20876. return _result;
  20877. }
  20878. #pragma implementation_key(3171)
  20879. inline void VGCore::IVGColor::PutLabComponentB ( long pVal ) {
  20880. HRESULT _hr = put_LabComponentB(pVal);
  20881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20882. }
  20883. #pragma implementation_key(3172)
  20884. inline HRESULT VGCore::IVGColor::ConvertToLab ( ) {
  20885. HRESULT _hr = raw_ConvertToLab();
  20886. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20887. return _hr;
  20888. }
  20889. #pragma implementation_key(3173)
  20890. inline HRESULT VGCore::IVGColor::RegistrationAssign ( ) {
  20891. HRESULT _hr = raw_RegistrationAssign();
  20892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20893. return _hr;
  20894. }
  20895. #pragma implementation_key(3174)
  20896. inline HRESULT VGCore::IVGColor::FixedAssign ( enum cdrPaletteID PaletteID, long PaletteIndex, long Tint ) {
  20897. HRESULT _hr = raw_FixedAssign(PaletteID, PaletteIndex, Tint);
  20898. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20899. return _hr;
  20900. }
  20901. #pragma implementation_key(3175)
  20902. inline enum VGCore::cdrPaletteID VGCore::IVGColor::GetPaletteID ( ) {
  20903. enum cdrPaletteID _result;
  20904. HRESULT _hr = get_PaletteID(&_result);
  20905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20906. return _result;
  20907. }
  20908. #pragma implementation_key(3176)
  20909. inline long VGCore::IVGColor::GetPaletteIndex ( ) {
  20910. long _result = 0;
  20911. HRESULT _hr = get_PaletteIndex(&_result);
  20912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20913. return _result;
  20914. }
  20915. #pragma implementation_key(3177)
  20916. inline void VGCore::IVGColor::PutPaletteIndex ( long pVal ) {
  20917. HRESULT _hr = put_PaletteIndex(pVal);
  20918. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20919. }
  20920. #pragma implementation_key(3178)
  20921. inline long VGCore::IVGColor::GetTint ( ) {
  20922. long _result = 0;
  20923. HRESULT _hr = get_Tint(&_result);
  20924. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20925. return _result;
  20926. }
  20927. #pragma implementation_key(3179)
  20928. inline void VGCore::IVGColor::PutTint ( long pVal ) {
  20929. HRESULT _hr = put_Tint(pVal);
  20930. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20931. }
  20932. #pragma implementation_key(3180)
  20933. inline HRESULT VGCore::IVGColor::ConvertToFixed ( enum cdrPaletteID PaletteID ) {
  20934. HRESULT _hr = raw_ConvertToFixed(PaletteID);
  20935. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20936. return _hr;
  20937. }
  20938. #pragma implementation_key(3181)
  20939. inline VARIANT_BOOL VGCore::IVGColor::UserAssignEx ( long ParentWindowHandle ) {
  20940. VARIANT_BOOL _result = 0;
  20941. HRESULT _hr = raw_UserAssignEx(ParentWindowHandle, &_result);
  20942. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20943. return _result;
  20944. }
  20945. #pragma implementation_key(3182)
  20946. inline HRESULT VGCore::IVGColor::SetName ( _bstr_t Name ) {
  20947. HRESULT _hr = raw_SetName(Name);
  20948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20949. return _hr;
  20950. }
  20951. #pragma implementation_key(3183)
  20952. inline HRESULT VGCore::IVGColor::BlendWith ( struct IVGColor * Color, long MixRatio ) {
  20953. HRESULT _hr = raw_BlendWith(Color, MixRatio);
  20954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20955. return _hr;
  20956. }
  20957. #pragma implementation_key(3184)
  20958. inline VARIANT_BOOL VGCore::IVGColor::IsSame ( struct IVGColor * Color ) {
  20959. VARIANT_BOOL _result = 0;
  20960. HRESULT _hr = raw_IsSame(Color, &_result);
  20961. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20962. return _result;
  20963. }
  20964. #pragma implementation_key(3185)
  20965. inline VARIANT_BOOL VGCore::IVGColor::GetIsInGamut ( ) {
  20966. VARIANT_BOOL _result = 0;
  20967. HRESULT _hr = get_IsInGamut(&_result);
  20968. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20969. return _result;
  20970. }
  20971. #pragma implementation_key(3186)
  20972. inline VGCore::IVGColorPtr VGCore::IVGColor::GetInGamutColor ( ) {
  20973. struct IVGColor * _result = 0;
  20974. HRESULT _hr = get_InGamutColor(&_result);
  20975. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20976. return IVGColorPtr(_result, false);
  20977. }
  20978. #pragma implementation_key(3187)
  20979. inline VARIANT_BOOL VGCore::IVGColor::GetIsCMYK ( ) {
  20980. VARIANT_BOOL _result = 0;
  20981. HRESULT _hr = get_IsCMYK(&_result);
  20982. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20983. return _result;
  20984. }
  20985. #pragma implementation_key(3188)
  20986. inline VARIANT_BOOL VGCore::IVGColor::GetIsGray ( ) {
  20987. VARIANT_BOOL _result = 0;
  20988. HRESULT _hr = get_IsGray(&_result);
  20989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20990. return _result;
  20991. }
  20992. #pragma implementation_key(3189)
  20993. inline VARIANT_BOOL VGCore::IVGColor::GetIsWhite ( ) {
  20994. VARIANT_BOOL _result = 0;
  20995. HRESULT _hr = get_IsWhite(&_result);
  20996. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  20997. return _result;
  20998. }
  20999. #pragma implementation_key(3190)
  21000. inline VARIANT_BOOL VGCore::IVGColor::GetIsSpot ( ) {
  21001. VARIANT_BOOL _result = 0;
  21002. HRESULT _hr = get_IsSpot(&_result);
  21003. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21004. return _result;
  21005. }
  21006. #pragma implementation_key(3191)
  21007. inline VARIANT_BOOL VGCore::IVGColor::GetIsTintable ( ) {
  21008. VARIANT_BOOL _result = 0;
  21009. HRESULT _hr = get_IsTintable(&_result);
  21010. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21011. return _result;
  21012. }
  21013. #pragma implementation_key(3192)
  21014. inline VARIANT_BOOL VGCore::IVGColor::GetIsValidDuotoneColor ( ) {
  21015. VARIANT_BOOL _result = 0;
  21016. HRESULT _hr = get_IsValidDuotoneColor(&_result);
  21017. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21018. return _result;
  21019. }
  21020. #pragma implementation_key(3193)
  21021. inline VGCore::IVGColorPtr VGCore::IVGColor::GetValidDuotoneColor ( ) {
  21022. struct IVGColor * _result = 0;
  21023. HRESULT _hr = get_ValidDuotoneColor(&_result);
  21024. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21025. return IVGColorPtr(_result, false);
  21026. }
  21027. #pragma implementation_key(3194)
  21028. inline long VGCore::IVGColor::GetColorDistanceFrom ( struct IVGColor * Color ) {
  21029. long _result = 0;
  21030. HRESULT _hr = raw_GetColorDistanceFrom(Color, &_result);
  21031. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21032. return _result;
  21033. }
  21034. #pragma implementation_key(3195)
  21035. inline VARIANT_BOOL VGCore::IVGColor::IsSimilar ( struct IVGColor * Color ) {
  21036. VARIANT_BOOL _result = 0;
  21037. HRESULT _hr = raw_IsSimilar(Color, &_result);
  21038. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21039. return _result;
  21040. }
  21041. #pragma implementation_key(3196)
  21042. inline _bstr_t VGCore::IVGColor::ToString ( ) {
  21043. BSTR _result = 0;
  21044. HRESULT _hr = raw_ToString(&_result);
  21045. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21046. return _bstr_t(_result, false);
  21047. }
  21048. #pragma implementation_key(3197)
  21049. inline VARIANT_BOOL VGCore::IVGColor::StringAssign ( _bstr_t ColorString ) {
  21050. VARIANT_BOOL _result = 0;
  21051. HRESULT _hr = raw_StringAssign(ColorString, &_result);
  21052. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21053. return _result;
  21054. }
  21055. #pragma implementation_key(3198)
  21056. inline HRESULT VGCore::IVGColor::Invalidate ( ) {
  21057. HRESULT _hr = raw_Invalidate();
  21058. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21059. return _hr;
  21060. }
  21061. #pragma implementation_key(3199)
  21062. inline _bstr_t VGCore::IVGColor::GetHexValue ( ) {
  21063. BSTR _result = 0;
  21064. HRESULT _hr = get_HexValue(&_result);
  21065. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21066. return _bstr_t(_result, false);
  21067. }
  21068. #pragma implementation_key(3200)
  21069. inline void VGCore::IVGColor::PutHexValue ( _bstr_t pVal ) {
  21070. HRESULT _hr = put_HexValue(pVal);
  21071. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21072. }
  21073. #pragma implementation_key(3201)
  21074. inline VGCore::IVGColorPtr VGCore::IVGColor::GetCopy ( ) {
  21075. struct IVGColor * _result = 0;
  21076. HRESULT _hr = raw_GetCopy(&_result);
  21077. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21078. return IVGColorPtr(_result, false);
  21079. }
  21080. #pragma implementation_key(3202)
  21081. inline long VGCore::IVGColor::GetRGBValue ( ) {
  21082. long _result = 0;
  21083. HRESULT _hr = get_RGBValue(&_result);
  21084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21085. return _result;
  21086. }
  21087. #pragma implementation_key(3203)
  21088. inline void VGCore::IVGColor::PutRGBValue ( long pVal ) {
  21089. HRESULT _hr = put_RGBValue(pVal);
  21090. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21091. }
  21092. #pragma implementation_key(3204)
  21093. inline HRESULT VGCore::IVGColor::CopyAppearance ( struct IVGColor * Color, struct IVGColorContext * SourceColorContext ) {
  21094. HRESULT _hr = raw_CopyAppearance(Color, SourceColorContext);
  21095. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21096. return _hr;
  21097. }
  21098. #pragma implementation_key(3205)
  21099. inline VGCore::IVGColorContextPtr VGCore::IVGColor::GetColorContext ( ) {
  21100. struct IVGColorContext * _result = 0;
  21101. HRESULT _hr = get_ColorContext(&_result);
  21102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21103. return IVGColorContextPtr(_result, false);
  21104. }
  21105. #pragma implementation_key(3206)
  21106. inline VARIANT_BOOL VGCore::IVGColor::ConvertTo ( enum cdrColorType ColorType, struct IVGColorContext * DestinationColorContext, struct IVGColorContext * SourceColorContext ) {
  21107. VARIANT_BOOL _result = 0;
  21108. HRESULT _hr = raw_ConvertTo(ColorType, DestinationColorContext, SourceColorContext, &_result);
  21109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21110. return _result;
  21111. }
  21112. #pragma implementation_key(3207)
  21113. inline VGCore::IVGPalettePtr VGCore::IVGColor::GetPalette ( ) {
  21114. struct IVGPalette * _result = 0;
  21115. HRESULT _hr = get_Palette(&_result);
  21116. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21117. return IVGPalettePtr(_result, false);
  21118. }
  21119. #pragma implementation_key(3208)
  21120. inline HRESULT VGCore::IVGColor::SpotAssign ( _bstr_t PaletteIdentifier, long SpotColorID, long Tint ) {
  21121. HRESULT _hr = raw_SpotAssign(PaletteIdentifier, SpotColorID, Tint);
  21122. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21123. return _hr;
  21124. }
  21125. #pragma implementation_key(3209)
  21126. inline HRESULT VGCore::IVGColor::SpotAssignByName ( _bstr_t PaletteIdentifier, _bstr_t SpotColorName, long Tint ) {
  21127. HRESULT _hr = raw_SpotAssignByName(PaletteIdentifier, SpotColorName, Tint);
  21128. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21129. return _hr;
  21130. }
  21131. #pragma implementation_key(3210)
  21132. inline HRESULT VGCore::IVGColor::ConvertToPalette ( _bstr_t PaletteIdentifier ) {
  21133. HRESULT _hr = raw_ConvertToPalette(PaletteIdentifier);
  21134. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21135. return _hr;
  21136. }
  21137. #pragma implementation_key(3211)
  21138. inline long VGCore::IVGColor::GetSpotColorID ( ) {
  21139. long _result = 0;
  21140. HRESULT _hr = get_SpotColorID(&_result);
  21141. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21142. return _result;
  21143. }
  21144. #pragma implementation_key(3212)
  21145. inline void VGCore::IVGColor::PutSpotColorID ( long pVal ) {
  21146. HRESULT _hr = put_SpotColorID(pVal);
  21147. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21148. }
  21149. #pragma implementation_key(3213)
  21150. inline _bstr_t VGCore::IVGColor::GetSpotColorName ( ) {
  21151. BSTR _result = 0;
  21152. HRESULT _hr = get_SpotColorName(&_result);
  21153. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21154. return _bstr_t(_result, false);
  21155. }
  21156. #pragma implementation_key(3214)
  21157. inline HRESULT VGCore::IVGColor::PaletteAssign ( _bstr_t PaletteIdentifier, long ColorIndex ) {
  21158. HRESULT _hr = raw_PaletteAssign(PaletteIdentifier, ColorIndex);
  21159. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21160. return _hr;
  21161. }
  21162. #pragma implementation_key(3215)
  21163. inline _bstr_t VGCore::IVGColor::GetPaletteIdentifier ( ) {
  21164. BSTR _result = 0;
  21165. HRESULT _hr = get_PaletteIdentifier(&_result);
  21166. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21167. return _bstr_t(_result, false);
  21168. }
  21169. #pragma implementation_key(3216)
  21170. inline VARIANT_BOOL VGCore::IVGColor::GetIsColorStyle ( ) {
  21171. VARIANT_BOOL _result = 0;
  21172. HRESULT _hr = get_IsColorStyle(&_result);
  21173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21174. return _result;
  21175. }
  21176. #pragma implementation_key(3217)
  21177. inline _bstr_t VGCore::IVGColor::GetColorStyleName ( ) {
  21178. BSTR _result = 0;
  21179. HRESULT _hr = get_ColorStyleName(&_result);
  21180. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21181. return _bstr_t(_result, false);
  21182. }
  21183. #pragma implementation_key(3218)
  21184. inline HRESULT VGCore::IVGColor::ModifyColorStyleColor ( struct IVGColor * Color, VARIANT_BOOL ChangeWholeHarmony ) {
  21185. HRESULT _hr = raw_ModifyColorStyleColor(Color, ChangeWholeHarmony);
  21186. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21187. return _hr;
  21188. }
  21189. //
  21190. // interface IVGDuotoneInk wrapper method implementations
  21191. //
  21192. #pragma implementation_key(3219)
  21193. inline VGCore::IVGColorPtr VGCore::IVGDuotoneInk::GetColor ( ) {
  21194. struct IVGColor * _result = 0;
  21195. HRESULT _hr = get_Color(&_result);
  21196. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21197. return IVGColorPtr(_result, false);
  21198. }
  21199. #pragma implementation_key(3220)
  21200. inline void VGCore::IVGDuotoneInk::PutColor ( struct IVGColor * ppVal ) {
  21201. HRESULT _hr = put_Color(ppVal);
  21202. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21203. }
  21204. #pragma implementation_key(3221)
  21205. inline long VGCore::IVGDuotoneInk::GetHandleCount ( ) {
  21206. long _result = 0;
  21207. HRESULT _hr = get_HandleCount(&_result);
  21208. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21209. return _result;
  21210. }
  21211. #pragma implementation_key(3222)
  21212. inline long VGCore::IVGDuotoneInk::GetHandleX ( long Index ) {
  21213. long _result = 0;
  21214. HRESULT _hr = get_HandleX(Index, &_result);
  21215. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21216. return _result;
  21217. }
  21218. #pragma implementation_key(3223)
  21219. inline void VGCore::IVGDuotoneInk::PutHandleX ( long Index, long pVal ) {
  21220. HRESULT _hr = put_HandleX(Index, pVal);
  21221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21222. }
  21223. #pragma implementation_key(3224)
  21224. inline long VGCore::IVGDuotoneInk::GetHandleY ( long Index ) {
  21225. long _result = 0;
  21226. HRESULT _hr = get_HandleY(Index, &_result);
  21227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21228. return _result;
  21229. }
  21230. #pragma implementation_key(3225)
  21231. inline void VGCore::IVGDuotoneInk::PutHandleY ( long Index, long pVal ) {
  21232. HRESULT _hr = put_HandleY(Index, pVal);
  21233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21234. }
  21235. #pragma implementation_key(3226)
  21236. inline long VGCore::IVGDuotoneInk::AddHandle ( long x, long y ) {
  21237. long _result = 0;
  21238. HRESULT _hr = raw_AddHandle(x, y, &_result);
  21239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21240. return _result;
  21241. }
  21242. #pragma implementation_key(3227)
  21243. inline VARIANT_BOOL VGCore::IVGDuotoneInk::RemoveHandle ( long Index ) {
  21244. VARIANT_BOOL _result = 0;
  21245. HRESULT _hr = raw_RemoveHandle(Index, &_result);
  21246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21247. return _result;
  21248. }
  21249. #pragma implementation_key(3228)
  21250. inline long VGCore::IVGDuotoneInk::FindHandle ( long x, long y ) {
  21251. long _result = 0;
  21252. HRESULT _hr = raw_FindHandle(x, y, &_result);
  21253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21254. return _result;
  21255. }
  21256. #pragma implementation_key(3229)
  21257. inline VARIANT_BOOL VGCore::IVGDuotoneInk::Load ( _bstr_t FileName ) {
  21258. VARIANT_BOOL _result = 0;
  21259. HRESULT _hr = raw_Load(FileName, &_result);
  21260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21261. return _result;
  21262. }
  21263. #pragma implementation_key(3230)
  21264. inline VARIANT_BOOL VGCore::IVGDuotoneInk::Save ( _bstr_t FileName ) {
  21265. VARIANT_BOOL _result = 0;
  21266. HRESULT _hr = raw_Save(FileName, &_result);
  21267. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21268. return _result;
  21269. }
  21270. #pragma implementation_key(3231)
  21271. inline long VGCore::IVGDuotoneInk::GetCurveLevel ( long Index ) {
  21272. long _result = 0;
  21273. HRESULT _hr = get_CurveLevel(Index, &_result);
  21274. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21275. return _result;
  21276. }
  21277. #pragma implementation_key(3232)
  21278. inline HRESULT VGCore::IVGDuotoneInk::Reset ( ) {
  21279. HRESULT _hr = raw_Reset();
  21280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21281. return _hr;
  21282. }
  21283. #pragma implementation_key(3233)
  21284. inline SAFEARRAY * VGCore::IVGDuotoneInk::GetCurveLevels ( ) {
  21285. SAFEARRAY * _result = 0;
  21286. HRESULT _hr = raw_GetCurveLevels(&_result);
  21287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21288. return _result;
  21289. }
  21290. #pragma implementation_key(3234)
  21291. inline SAFEARRAY * VGCore::IVGDuotoneInk::GetHandles ( ) {
  21292. SAFEARRAY * _result = 0;
  21293. HRESULT _hr = raw_GetHandles(&_result);
  21294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21295. return _result;
  21296. }
  21297. #pragma implementation_key(3235)
  21298. inline HRESULT VGCore::IVGDuotoneInk::PutHandles ( const _variant_t & HandleArray, long NumElements ) {
  21299. HRESULT _hr = raw_PutHandles(HandleArray, NumElements);
  21300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21301. return _hr;
  21302. }
  21303. //
  21304. // interface IVGFountainColor wrapper method implementations
  21305. //
  21306. #pragma implementation_key(3236)
  21307. inline long VGCore::IVGFountainColor::GetPosition ( ) {
  21308. long _result = 0;
  21309. HRESULT _hr = get_Position(&_result);
  21310. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21311. return _result;
  21312. }
  21313. #pragma implementation_key(3237)
  21314. inline VGCore::IVGColorPtr VGCore::IVGFountainColor::GetColor ( ) {
  21315. struct IVGColor * _result = 0;
  21316. HRESULT _hr = get_Color(&_result);
  21317. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21318. return IVGColorPtr(_result, false);
  21319. }
  21320. #pragma implementation_key(3238)
  21321. inline void VGCore::IVGFountainColor::PutColor ( struct IVGColor * ppVal ) {
  21322. HRESULT _hr = put_Color(ppVal);
  21323. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21324. }
  21325. #pragma implementation_key(3239)
  21326. inline HRESULT VGCore::IVGFountainColor::Move ( long NewPosition ) {
  21327. HRESULT _hr = raw_Move(NewPosition);
  21328. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21329. return _hr;
  21330. }
  21331. #pragma implementation_key(3240)
  21332. inline HRESULT VGCore::IVGFountainColor::Delete ( ) {
  21333. HRESULT _hr = raw_Delete();
  21334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21335. return _hr;
  21336. }
  21337. #pragma implementation_key(3241)
  21338. inline long VGCore::IVGFountainColor::GetMidPoint ( ) {
  21339. long _result = 0;
  21340. HRESULT _hr = get_MidPoint(&_result);
  21341. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21342. return _result;
  21343. }
  21344. #pragma implementation_key(3242)
  21345. inline void VGCore::IVGFountainColor::PutMidPoint ( long pVal ) {
  21346. HRESULT _hr = put_MidPoint(pVal);
  21347. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21348. }
  21349. #pragma implementation_key(3243)
  21350. inline enum VGCore::cdrFountainFillBlendType VGCore::IVGFountainColor::GetBlendType ( ) {
  21351. enum cdrFountainFillBlendType _result;
  21352. HRESULT _hr = get_BlendType(&_result);
  21353. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21354. return _result;
  21355. }
  21356. #pragma implementation_key(3244)
  21357. inline void VGCore::IVGFountainColor::PutBlendType ( enum cdrFountainFillBlendType pVal ) {
  21358. HRESULT _hr = put_BlendType(pVal);
  21359. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21360. }
  21361. #pragma implementation_key(3245)
  21362. inline unsigned char VGCore::IVGFountainColor::GetOpacity ( ) {
  21363. unsigned char _result = 0;
  21364. HRESULT _hr = get_Opacity(&_result);
  21365. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21366. return _result;
  21367. }
  21368. #pragma implementation_key(3246)
  21369. inline void VGCore::IVGFountainColor::PutOpacity ( unsigned char pVal ) {
  21370. HRESULT _hr = put_Opacity(pVal);
  21371. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21372. }
  21373. //
  21374. // interface IVGFountainColors wrapper method implementations
  21375. //
  21376. #pragma implementation_key(3247)
  21377. inline VGCore::IVGFountainColorPtr VGCore::IVGFountainColors::GetItem ( long Index ) {
  21378. struct IVGFountainColor * _result = 0;
  21379. HRESULT _hr = get_Item(Index, &_result);
  21380. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21381. return IVGFountainColorPtr(_result, false);
  21382. }
  21383. #pragma implementation_key(3248)
  21384. inline void VGCore::IVGFountainColors::PutItem ( long Index, struct IVGFountainColor * ppVal ) {
  21385. HRESULT _hr = put_Item(Index, ppVal);
  21386. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21387. }
  21388. #pragma implementation_key(3249)
  21389. inline IUnknownPtr VGCore::IVGFountainColors::Get_NewEnum ( ) {
  21390. IUnknown * _result = 0;
  21391. HRESULT _hr = get__NewEnum(&_result);
  21392. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21393. return IUnknownPtr(_result, false);
  21394. }
  21395. #pragma implementation_key(3250)
  21396. inline long VGCore::IVGFountainColors::GetCount ( ) {
  21397. long _result = 0;
  21398. HRESULT _hr = get_Count(&_result);
  21399. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21400. return _result;
  21401. }
  21402. #pragma implementation_key(3251)
  21403. inline HRESULT VGCore::IVGFountainColors::Add ( struct IVGColor * Color, long Position ) {
  21404. HRESULT _hr = raw_Add(Color, Position);
  21405. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21406. return _hr;
  21407. }
  21408. #pragma implementation_key(3252)
  21409. inline long VGCore::IVGFountainColors::GetGrayLevel ( long Index ) {
  21410. long _result = 0;
  21411. HRESULT _hr = get_GrayLevel(Index, &_result);
  21412. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21413. return _result;
  21414. }
  21415. #pragma implementation_key(3253)
  21416. inline void VGCore::IVGFountainColors::PutGrayLevel ( long Index, long pVal ) {
  21417. HRESULT _hr = put_GrayLevel(Index, pVal);
  21418. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21419. }
  21420. #pragma implementation_key(3254)
  21421. inline HRESULT VGCore::IVGFountainColors::AddGrayLevel ( long GrayLevel, long Position ) {
  21422. HRESULT _hr = raw_AddGrayLevel(GrayLevel, Position);
  21423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21424. return _hr;
  21425. }
  21426. #pragma implementation_key(3255)
  21427. inline VGCore::IVGFountainColorPtr VGCore::IVGFountainColors::GetFirst ( ) {
  21428. struct IVGFountainColor * _result = 0;
  21429. HRESULT _hr = get_First(&_result);
  21430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21431. return IVGFountainColorPtr(_result, false);
  21432. }
  21433. #pragma implementation_key(3256)
  21434. inline VGCore::IVGFountainColorPtr VGCore::IVGFountainColors::GetLast ( ) {
  21435. struct IVGFountainColor * _result = 0;
  21436. HRESULT _hr = get_Last(&_result);
  21437. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21438. return IVGFountainColorPtr(_result, false);
  21439. }
  21440. //
  21441. // interface IVGFountainFill wrapper method implementations
  21442. //
  21443. #pragma implementation_key(3257)
  21444. inline enum VGCore::cdrFountainFillType VGCore::IVGFountainFill::GetType ( ) {
  21445. enum cdrFountainFillType _result;
  21446. HRESULT _hr = get_Type(&_result);
  21447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21448. return _result;
  21449. }
  21450. #pragma implementation_key(3258)
  21451. inline void VGCore::IVGFountainFill::PutType ( enum cdrFountainFillType pVal ) {
  21452. HRESULT _hr = put_Type(pVal);
  21453. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21454. }
  21455. #pragma implementation_key(3259)
  21456. inline double VGCore::IVGFountainFill::GetStartX ( ) {
  21457. double _result = 0;
  21458. HRESULT _hr = get_StartX(&_result);
  21459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21460. return _result;
  21461. }
  21462. #pragma implementation_key(3260)
  21463. inline void VGCore::IVGFountainFill::PutStartX ( double pVal ) {
  21464. HRESULT _hr = put_StartX(pVal);
  21465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21466. }
  21467. #pragma implementation_key(3261)
  21468. inline double VGCore::IVGFountainFill::GetStartY ( ) {
  21469. double _result = 0;
  21470. HRESULT _hr = get_StartY(&_result);
  21471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21472. return _result;
  21473. }
  21474. #pragma implementation_key(3262)
  21475. inline void VGCore::IVGFountainFill::PutStartY ( double pVal ) {
  21476. HRESULT _hr = put_StartY(pVal);
  21477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21478. }
  21479. #pragma implementation_key(3263)
  21480. inline double VGCore::IVGFountainFill::GetEndX ( ) {
  21481. double _result = 0;
  21482. HRESULT _hr = get_EndX(&_result);
  21483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21484. return _result;
  21485. }
  21486. #pragma implementation_key(3264)
  21487. inline void VGCore::IVGFountainFill::PutEndX ( double pVal ) {
  21488. HRESULT _hr = put_EndX(pVal);
  21489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21490. }
  21491. #pragma implementation_key(3265)
  21492. inline double VGCore::IVGFountainFill::GetEndY ( ) {
  21493. double _result = 0;
  21494. HRESULT _hr = get_EndY(&_result);
  21495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21496. return _result;
  21497. }
  21498. #pragma implementation_key(3266)
  21499. inline void VGCore::IVGFountainFill::PutEndY ( double pVal ) {
  21500. HRESULT _hr = put_EndY(pVal);
  21501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21502. }
  21503. #pragma implementation_key(3267)
  21504. inline double VGCore::IVGFountainFill::GetAngle ( ) {
  21505. double _result = 0;
  21506. HRESULT _hr = get_Angle(&_result);
  21507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21508. return _result;
  21509. }
  21510. #pragma implementation_key(3268)
  21511. inline HRESULT VGCore::IVGFountainFill::SetAngle ( double Angle ) {
  21512. HRESULT _hr = raw_SetAngle(Angle);
  21513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21514. return _hr;
  21515. }
  21516. #pragma implementation_key(3269)
  21517. inline HRESULT VGCore::IVGFountainFill::Translate ( double x, double y ) {
  21518. HRESULT _hr = raw_Translate(x, y);
  21519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21520. return _hr;
  21521. }
  21522. #pragma implementation_key(3270)
  21523. inline long VGCore::IVGFountainFill::GetEdgePad ( ) {
  21524. long _result = 0;
  21525. HRESULT _hr = get_EdgePad(&_result);
  21526. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21527. return _result;
  21528. }
  21529. #pragma implementation_key(3271)
  21530. inline long VGCore::IVGFountainFill::GetSteps ( ) {
  21531. long _result = 0;
  21532. HRESULT _hr = get_Steps(&_result);
  21533. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21534. return _result;
  21535. }
  21536. #pragma implementation_key(3272)
  21537. inline void VGCore::IVGFountainFill::PutSteps ( long pVal ) {
  21538. HRESULT _hr = put_Steps(pVal);
  21539. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21540. }
  21541. #pragma implementation_key(3273)
  21542. inline enum VGCore::cdrFountainFillBlendType VGCore::IVGFountainFill::GetBlendType ( ) {
  21543. enum cdrFountainFillBlendType _result;
  21544. HRESULT _hr = get_BlendType(&_result);
  21545. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21546. return _result;
  21547. }
  21548. #pragma implementation_key(3274)
  21549. inline void VGCore::IVGFountainFill::PutBlendType ( enum cdrFountainFillBlendType pVal ) {
  21550. HRESULT _hr = put_BlendType(pVal);
  21551. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21552. }
  21553. #pragma implementation_key(3275)
  21554. inline long VGCore::IVGFountainFill::GetMidPoint ( ) {
  21555. long _result = 0;
  21556. HRESULT _hr = get_MidPoint(&_result);
  21557. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21558. return _result;
  21559. }
  21560. #pragma implementation_key(3276)
  21561. inline void VGCore::IVGFountainFill::PutMidPoint ( long pVal ) {
  21562. HRESULT _hr = put_MidPoint(pVal);
  21563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21564. }
  21565. #pragma implementation_key(3277)
  21566. inline VGCore::IVGFountainColorsPtr VGCore::IVGFountainFill::GetColors ( ) {
  21567. struct IVGFountainColors * _result = 0;
  21568. HRESULT _hr = get_Colors(&_result);
  21569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21570. return IVGFountainColorsPtr(_result, false);
  21571. }
  21572. #pragma implementation_key(3278)
  21573. inline VGCore::IVGColorPtr VGCore::IVGFountainFill::GetStartColor ( ) {
  21574. struct IVGColor * _result = 0;
  21575. HRESULT _hr = get_StartColor(&_result);
  21576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21577. return IVGColorPtr(_result, false);
  21578. }
  21579. #pragma implementation_key(3279)
  21580. inline void VGCore::IVGFountainFill::PutStartColor ( struct IVGColor * ppVal ) {
  21581. HRESULT _hr = put_StartColor(ppVal);
  21582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21583. }
  21584. #pragma implementation_key(3280)
  21585. inline VGCore::IVGColorPtr VGCore::IVGFountainFill::GetEndColor ( ) {
  21586. struct IVGColor * _result = 0;
  21587. HRESULT _hr = get_EndColor(&_result);
  21588. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21589. return IVGColorPtr(_result, false);
  21590. }
  21591. #pragma implementation_key(3281)
  21592. inline void VGCore::IVGFountainFill::PutEndColor ( struct IVGColor * ppVal ) {
  21593. HRESULT _hr = put_EndColor(ppVal);
  21594. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21595. }
  21596. #pragma implementation_key(3282)
  21597. inline void VGCore::IVGFountainFill::PutColors ( struct IVGFountainColors * ppVal ) {
  21598. HRESULT _hr = put_Colors(ppVal);
  21599. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21600. }
  21601. #pragma implementation_key(3283)
  21602. inline HRESULT VGCore::IVGFountainFill::SetEdgePad ( long EdgePad ) {
  21603. HRESULT _hr = raw_SetEdgePad(EdgePad);
  21604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21605. return _hr;
  21606. }
  21607. #pragma implementation_key(3284)
  21608. inline double VGCore::IVGFountainFill::GetCenterOffsetX ( ) {
  21609. double _result = 0;
  21610. HRESULT _hr = get_CenterOffsetX(&_result);
  21611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21612. return _result;
  21613. }
  21614. #pragma implementation_key(3285)
  21615. inline void VGCore::IVGFountainFill::PutCenterOffsetX ( double pVal ) {
  21616. HRESULT _hr = put_CenterOffsetX(pVal);
  21617. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21618. }
  21619. #pragma implementation_key(3286)
  21620. inline double VGCore::IVGFountainFill::GetCenterOffsetY ( ) {
  21621. double _result = 0;
  21622. HRESULT _hr = get_CenterOffsetY(&_result);
  21623. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21624. return _result;
  21625. }
  21626. #pragma implementation_key(3287)
  21627. inline void VGCore::IVGFountainFill::PutCenterOffsetY ( double pVal ) {
  21628. HRESULT _hr = put_CenterOffsetY(pVal);
  21629. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21630. }
  21631. #pragma implementation_key(3288)
  21632. inline VARIANT_BOOL VGCore::IVGFountainFill::GetSmoothBlend ( ) {
  21633. VARIANT_BOOL _result = 0;
  21634. HRESULT _hr = get_SmoothBlend(&_result);
  21635. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21636. return _result;
  21637. }
  21638. #pragma implementation_key(3289)
  21639. inline void VGCore::IVGFountainFill::PutSmoothBlend ( VARIANT_BOOL pVal ) {
  21640. HRESULT _hr = put_SmoothBlend(pVal);
  21641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21642. }
  21643. #pragma implementation_key(3290)
  21644. inline enum VGCore::cdrFountainFillSpreadMethod VGCore::IVGFountainFill::GetSpreadMethod ( ) {
  21645. enum cdrFountainFillSpreadMethod _result;
  21646. HRESULT _hr = get_SpreadMethod(&_result);
  21647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21648. return _result;
  21649. }
  21650. #pragma implementation_key(3291)
  21651. inline void VGCore::IVGFountainFill::PutSpreadMethod ( enum cdrFountainFillSpreadMethod pVal ) {
  21652. HRESULT _hr = put_SpreadMethod(pVal);
  21653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21654. }
  21655. #pragma implementation_key(3292)
  21656. inline VARIANT_BOOL VGCore::IVGFountainFill::GetAnisotropic ( ) {
  21657. VARIANT_BOOL _result = 0;
  21658. HRESULT _hr = get_Anisotropic(&_result);
  21659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21660. return _result;
  21661. }
  21662. #pragma implementation_key(3293)
  21663. inline void VGCore::IVGFountainFill::PutAnisotropic ( VARIANT_BOOL pVal ) {
  21664. HRESULT _hr = put_Anisotropic(pVal);
  21665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21666. }
  21667. #pragma implementation_key(3294)
  21668. inline VARIANT_BOOL VGCore::IVGFountainFill::GetIsTransparent ( ) {
  21669. VARIANT_BOOL _result = 0;
  21670. HRESULT _hr = get_IsTransparent(&_result);
  21671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21672. return _result;
  21673. }
  21674. #pragma implementation_key(3295)
  21675. inline enum VGCore::cdrMergeMode VGCore::IVGFountainFill::GetMergeMode ( ) {
  21676. enum cdrMergeMode _result;
  21677. HRESULT _hr = get_MergeMode(&_result);
  21678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21679. return _result;
  21680. }
  21681. #pragma implementation_key(3296)
  21682. inline void VGCore::IVGFountainFill::PutMergeMode ( enum cdrMergeMode pVal ) {
  21683. HRESULT _hr = put_MergeMode(pVal);
  21684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21685. }
  21686. #pragma implementation_key(3297)
  21687. inline double VGCore::IVGFountainFill::GetScaleX ( ) {
  21688. double _result = 0;
  21689. HRESULT _hr = get_ScaleX(&_result);
  21690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21691. return _result;
  21692. }
  21693. #pragma implementation_key(3298)
  21694. inline void VGCore::IVGFountainFill::PutScaleX ( double pVal ) {
  21695. HRESULT _hr = put_ScaleX(pVal);
  21696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21697. }
  21698. #pragma implementation_key(3299)
  21699. inline double VGCore::IVGFountainFill::GetScaleY ( ) {
  21700. double _result = 0;
  21701. HRESULT _hr = get_ScaleY(&_result);
  21702. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21703. return _result;
  21704. }
  21705. #pragma implementation_key(3300)
  21706. inline void VGCore::IVGFountainFill::PutScaleY ( double pVal ) {
  21707. HRESULT _hr = put_ScaleY(pVal);
  21708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21709. }
  21710. #pragma implementation_key(3301)
  21711. inline double VGCore::IVGFountainFill::GetSkew ( ) {
  21712. double _result = 0;
  21713. HRESULT _hr = get_Skew(&_result);
  21714. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21715. return _result;
  21716. }
  21717. #pragma implementation_key(3302)
  21718. inline void VGCore::IVGFountainFill::PutSkew ( double pVal ) {
  21719. HRESULT _hr = put_Skew(pVal);
  21720. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21721. }
  21722. #pragma implementation_key(3303)
  21723. inline double VGCore::IVGFountainFill::GetBlendAcceleration ( ) {
  21724. double _result = 0;
  21725. HRESULT _hr = get_BlendAcceleration(&_result);
  21726. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21727. return _result;
  21728. }
  21729. #pragma implementation_key(3304)
  21730. inline void VGCore::IVGFountainFill::PutBlendAcceleration ( double pVal ) {
  21731. HRESULT _hr = put_BlendAcceleration(pVal);
  21732. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21733. }
  21734. #pragma implementation_key(3305)
  21735. inline HRESULT VGCore::IVGFountainFill::MakeOpaque ( ) {
  21736. HRESULT _hr = raw_MakeOpaque();
  21737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21738. return _hr;
  21739. }
  21740. #pragma implementation_key(3306)
  21741. inline HRESULT VGCore::IVGFountainFill::GetTransformations ( double * d11, double * d12, double * d21, double * d22 ) {
  21742. HRESULT _hr = raw_GetTransformations(d11, d12, d21, d22);
  21743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21744. return _hr;
  21745. }
  21746. #pragma implementation_key(3307)
  21747. inline HRESULT VGCore::IVGFountainFill::SetTransformations ( double d11, double d12, double d21, double d22 ) {
  21748. HRESULT _hr = raw_SetTransformations(d11, d12, d21, d22);
  21749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21750. return _hr;
  21751. }
  21752. #pragma implementation_key(3308)
  21753. inline VARIANT_BOOL VGCore::IVGFountainFill::GetHasHSBBlends ( ) {
  21754. VARIANT_BOOL _result = 0;
  21755. HRESULT _hr = get_HasHSBBlends(&_result);
  21756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21757. return _result;
  21758. }
  21759. #pragma implementation_key(3309)
  21760. inline VARIANT_BOOL VGCore::IVGFountainFill::GetHasNonLinearBlends ( ) {
  21761. VARIANT_BOOL _result = 0;
  21762. HRESULT _hr = get_HasNonLinearBlends(&_result);
  21763. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21764. return _result;
  21765. }
  21766. #pragma implementation_key(3310)
  21767. inline double VGCore::IVGFountainFill::GetEnd2X ( ) {
  21768. double _result = 0;
  21769. HRESULT _hr = get_End2X(&_result);
  21770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21771. return _result;
  21772. }
  21773. #pragma implementation_key(3311)
  21774. inline void VGCore::IVGFountainFill::PutEnd2X ( double pVal ) {
  21775. HRESULT _hr = put_End2X(pVal);
  21776. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21777. }
  21778. #pragma implementation_key(3312)
  21779. inline double VGCore::IVGFountainFill::GetEnd2Y ( ) {
  21780. double _result = 0;
  21781. HRESULT _hr = get_End2Y(&_result);
  21782. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21783. return _result;
  21784. }
  21785. #pragma implementation_key(3313)
  21786. inline void VGCore::IVGFountainFill::PutEnd2Y ( double pVal ) {
  21787. HRESULT _hr = put_End2Y(pVal);
  21788. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21789. }
  21790. //
  21791. // interface IVGPatternFill wrapper method implementations
  21792. //
  21793. #pragma implementation_key(3314)
  21794. inline enum VGCore::cdrPatternFillType VGCore::IVGPatternFill::GetType ( ) {
  21795. enum cdrPatternFillType _result;
  21796. HRESULT _hr = get_Type(&_result);
  21797. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21798. return _result;
  21799. }
  21800. #pragma implementation_key(3315)
  21801. inline void VGCore::IVGPatternFill::PutType ( enum cdrPatternFillType pVal ) {
  21802. HRESULT _hr = put_Type(pVal);
  21803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21804. }
  21805. #pragma implementation_key(3316)
  21806. inline VGCore::IVGColorPtr VGCore::IVGPatternFill::GetFrontColor ( ) {
  21807. struct IVGColor * _result = 0;
  21808. HRESULT _hr = get_FrontColor(&_result);
  21809. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21810. return IVGColorPtr(_result, false);
  21811. }
  21812. #pragma implementation_key(3317)
  21813. inline void VGCore::IVGPatternFill::PutFrontColor ( struct IVGColor * ppVal ) {
  21814. HRESULT _hr = put_FrontColor(ppVal);
  21815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21816. }
  21817. #pragma implementation_key(3318)
  21818. inline VGCore::IVGColorPtr VGCore::IVGPatternFill::GetBackColor ( ) {
  21819. struct IVGColor * _result = 0;
  21820. HRESULT _hr = get_BackColor(&_result);
  21821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21822. return IVGColorPtr(_result, false);
  21823. }
  21824. #pragma implementation_key(3319)
  21825. inline void VGCore::IVGPatternFill::PutBackColor ( struct IVGColor * ppVal ) {
  21826. HRESULT _hr = put_BackColor(ppVal);
  21827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21828. }
  21829. #pragma implementation_key(3320)
  21830. inline VGCore::IVGPatternCanvasPtr VGCore::IVGPatternFill::GetCanvas ( ) {
  21831. struct IVGPatternCanvas * _result = 0;
  21832. HRESULT _hr = get_Canvas(&_result);
  21833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21834. return IVGPatternCanvasPtr(_result, false);
  21835. }
  21836. #pragma implementation_key(3321)
  21837. inline void VGCore::IVGPatternFill::PutCanvas ( struct IVGPatternCanvas * ppVal ) {
  21838. HRESULT _hr = put_Canvas(ppVal);
  21839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21840. }
  21841. #pragma implementation_key(3322)
  21842. inline _bstr_t VGCore::IVGPatternFill::GetFilePath ( ) {
  21843. BSTR _result = 0;
  21844. HRESULT _hr = get_FilePath(&_result);
  21845. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21846. return _bstr_t(_result, false);
  21847. }
  21848. #pragma implementation_key(3323)
  21849. inline double VGCore::IVGPatternFill::GetOriginX ( ) {
  21850. double _result = 0;
  21851. HRESULT _hr = get_OriginX(&_result);
  21852. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21853. return _result;
  21854. }
  21855. #pragma implementation_key(3324)
  21856. inline void VGCore::IVGPatternFill::PutOriginX ( double pVal ) {
  21857. HRESULT _hr = put_OriginX(pVal);
  21858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21859. }
  21860. #pragma implementation_key(3325)
  21861. inline double VGCore::IVGPatternFill::GetOriginY ( ) {
  21862. double _result = 0;
  21863. HRESULT _hr = get_OriginY(&_result);
  21864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21865. return _result;
  21866. }
  21867. #pragma implementation_key(3326)
  21868. inline void VGCore::IVGPatternFill::PutOriginY ( double pVal ) {
  21869. HRESULT _hr = put_OriginY(pVal);
  21870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21871. }
  21872. #pragma implementation_key(3327)
  21873. inline double VGCore::IVGPatternFill::GetTileWidth ( ) {
  21874. double _result = 0;
  21875. HRESULT _hr = get_TileWidth(&_result);
  21876. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21877. return _result;
  21878. }
  21879. #pragma implementation_key(3328)
  21880. inline void VGCore::IVGPatternFill::PutTileWidth ( double pVal ) {
  21881. HRESULT _hr = put_TileWidth(pVal);
  21882. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21883. }
  21884. #pragma implementation_key(3329)
  21885. inline double VGCore::IVGPatternFill::GetTileHeight ( ) {
  21886. double _result = 0;
  21887. HRESULT _hr = get_TileHeight(&_result);
  21888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21889. return _result;
  21890. }
  21891. #pragma implementation_key(3330)
  21892. inline void VGCore::IVGPatternFill::PutTileHeight ( double pVal ) {
  21893. HRESULT _hr = put_TileHeight(pVal);
  21894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21895. }
  21896. #pragma implementation_key(3331)
  21897. inline enum VGCore::cdrTileOffsetType VGCore::IVGPatternFill::GetTileOffsetType ( ) {
  21898. enum cdrTileOffsetType _result;
  21899. HRESULT _hr = get_TileOffsetType(&_result);
  21900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21901. return _result;
  21902. }
  21903. #pragma implementation_key(3332)
  21904. inline void VGCore::IVGPatternFill::PutTileOffsetType ( enum cdrTileOffsetType pVal ) {
  21905. HRESULT _hr = put_TileOffsetType(pVal);
  21906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21907. }
  21908. #pragma implementation_key(3333)
  21909. inline long VGCore::IVGPatternFill::GetTileOffset ( ) {
  21910. long _result = 0;
  21911. HRESULT _hr = get_TileOffset(&_result);
  21912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21913. return _result;
  21914. }
  21915. #pragma implementation_key(3334)
  21916. inline void VGCore::IVGPatternFill::PutTileOffset ( long pVal ) {
  21917. HRESULT _hr = put_TileOffset(pVal);
  21918. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21919. }
  21920. #pragma implementation_key(3335)
  21921. inline double VGCore::IVGPatternFill::GetSkewAngle ( ) {
  21922. double _result = 0;
  21923. HRESULT _hr = get_SkewAngle(&_result);
  21924. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21925. return _result;
  21926. }
  21927. #pragma implementation_key(3336)
  21928. inline void VGCore::IVGPatternFill::PutSkewAngle ( double pVal ) {
  21929. HRESULT _hr = put_SkewAngle(pVal);
  21930. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21931. }
  21932. #pragma implementation_key(3337)
  21933. inline double VGCore::IVGPatternFill::GetRotationAngle ( ) {
  21934. double _result = 0;
  21935. HRESULT _hr = get_RotationAngle(&_result);
  21936. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21937. return _result;
  21938. }
  21939. #pragma implementation_key(3338)
  21940. inline void VGCore::IVGPatternFill::PutRotationAngle ( double pVal ) {
  21941. HRESULT _hr = put_RotationAngle(pVal);
  21942. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21943. }
  21944. #pragma implementation_key(3339)
  21945. inline VARIANT_BOOL VGCore::IVGPatternFill::GetTransformWithShape ( ) {
  21946. VARIANT_BOOL _result = 0;
  21947. HRESULT _hr = get_TransformWithShape(&_result);
  21948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21949. return _result;
  21950. }
  21951. #pragma implementation_key(3340)
  21952. inline void VGCore::IVGPatternFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
  21953. HRESULT _hr = put_TransformWithShape(pVal);
  21954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21955. }
  21956. #pragma implementation_key(3341)
  21957. inline VARIANT_BOOL VGCore::IVGPatternFill::Load ( _bstr_t FileName ) {
  21958. VARIANT_BOOL _result = 0;
  21959. HRESULT _hr = raw_Load(FileName, &_result);
  21960. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21961. return _result;
  21962. }
  21963. #pragma implementation_key(3342)
  21964. inline VARIANT_BOOL VGCore::IVGPatternFill::GetMirrorFill ( ) {
  21965. VARIANT_BOOL _result = 0;
  21966. HRESULT _hr = get_MirrorFill(&_result);
  21967. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21968. return _result;
  21969. }
  21970. #pragma implementation_key(3343)
  21971. inline void VGCore::IVGPatternFill::PutMirrorFill ( VARIANT_BOOL pVal ) {
  21972. HRESULT _hr = put_MirrorFill(pVal);
  21973. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21974. }
  21975. #pragma implementation_key(3344)
  21976. inline VARIANT_BOOL VGCore::IVGPatternFill::GetMirrorFillX ( ) {
  21977. VARIANT_BOOL _result = 0;
  21978. HRESULT _hr = get_MirrorFillX(&_result);
  21979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21980. return _result;
  21981. }
  21982. #pragma implementation_key(3345)
  21983. inline void VGCore::IVGPatternFill::PutMirrorFillX ( VARIANT_BOOL pVal ) {
  21984. HRESULT _hr = put_MirrorFillX(pVal);
  21985. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21986. }
  21987. #pragma implementation_key(3346)
  21988. inline VARIANT_BOOL VGCore::IVGPatternFill::GetMirrorFillY ( ) {
  21989. VARIANT_BOOL _result = 0;
  21990. HRESULT _hr = get_MirrorFillY(&_result);
  21991. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21992. return _result;
  21993. }
  21994. #pragma implementation_key(3347)
  21995. inline void VGCore::IVGPatternFill::PutMirrorFillY ( VARIANT_BOOL pVal ) {
  21996. HRESULT _hr = put_MirrorFillY(pVal);
  21997. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21998. }
  21999. //
  22000. // interface IVGOutline wrapper method implementations
  22001. //
  22002. #pragma implementation_key(3348)
  22003. inline double VGCore::IVGOutline::GetWidth ( ) {
  22004. double _result = 0;
  22005. HRESULT _hr = get_Width(&_result);
  22006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22007. return _result;
  22008. }
  22009. #pragma implementation_key(3349)
  22010. inline void VGCore::IVGOutline::PutWidth ( double pVal ) {
  22011. HRESULT _hr = put_Width(pVal);
  22012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22013. }
  22014. #pragma implementation_key(3350)
  22015. inline VGCore::IVGColorPtr VGCore::IVGOutline::GetColor ( ) {
  22016. struct IVGColor * _result = 0;
  22017. HRESULT _hr = get_Color(&_result);
  22018. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22019. return IVGColorPtr(_result, false);
  22020. }
  22021. #pragma implementation_key(3351)
  22022. inline void VGCore::IVGOutline::PutColor ( struct IVGColor * ppVal ) {
  22023. HRESULT _hr = put_Color(ppVal);
  22024. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22025. }
  22026. #pragma implementation_key(3352)
  22027. inline VGCore::IVGShapePtr VGCore::IVGOutline::ConvertToObject ( ) {
  22028. struct IVGShape * _result = 0;
  22029. HRESULT _hr = raw_ConvertToObject(&_result);
  22030. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22031. return IVGShapePtr(_result, false);
  22032. }
  22033. #pragma implementation_key(3353)
  22034. inline enum VGCore::cdrOutlineType VGCore::IVGOutline::GetType ( ) {
  22035. enum cdrOutlineType _result;
  22036. HRESULT _hr = get_Type(&_result);
  22037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22038. return _result;
  22039. }
  22040. #pragma implementation_key(3354)
  22041. inline void VGCore::IVGOutline::PutType ( enum cdrOutlineType Type ) {
  22042. HRESULT _hr = put_Type(Type);
  22043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22044. }
  22045. #pragma implementation_key(3355)
  22046. inline VGCore::IVGOutlineStylePtr VGCore::IVGOutline::GetStyle ( ) {
  22047. struct IVGOutlineStyle * _result = 0;
  22048. HRESULT _hr = get_Style(&_result);
  22049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22050. return IVGOutlineStylePtr(_result, false);
  22051. }
  22052. #pragma implementation_key(3356)
  22053. inline void VGCore::IVGOutline::PutStyle ( struct IVGOutlineStyle * ppStyle ) {
  22054. HRESULT _hr = put_Style(ppStyle);
  22055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22056. }
  22057. #pragma implementation_key(3357)
  22058. inline VGCore::IVGArrowHeadPtr VGCore::IVGOutline::GetStartArrow ( ) {
  22059. struct IVGArrowHead * _result = 0;
  22060. HRESULT _hr = get_StartArrow(&_result);
  22061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22062. return IVGArrowHeadPtr(_result, false);
  22063. }
  22064. #pragma implementation_key(3358)
  22065. inline void VGCore::IVGOutline::PutStartArrow ( struct IVGArrowHead * ppArrowHead ) {
  22066. HRESULT _hr = put_StartArrow(ppArrowHead);
  22067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22068. }
  22069. #pragma implementation_key(3359)
  22070. inline VGCore::IVGArrowHeadPtr VGCore::IVGOutline::GetEndArrow ( ) {
  22071. struct IVGArrowHead * _result = 0;
  22072. HRESULT _hr = get_EndArrow(&_result);
  22073. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22074. return IVGArrowHeadPtr(_result, false);
  22075. }
  22076. #pragma implementation_key(3360)
  22077. inline void VGCore::IVGOutline::PutEndArrow ( struct IVGArrowHead * ppArrowHead ) {
  22078. HRESULT _hr = put_EndArrow(ppArrowHead);
  22079. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22080. }
  22081. #pragma implementation_key(3361)
  22082. inline long VGCore::IVGOutline::GetNibStretch ( ) {
  22083. long _result = 0;
  22084. HRESULT _hr = get_NibStretch(&_result);
  22085. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22086. return _result;
  22087. }
  22088. #pragma implementation_key(3362)
  22089. inline void VGCore::IVGOutline::PutNibStretch ( long pVal ) {
  22090. HRESULT _hr = put_NibStretch(pVal);
  22091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22092. }
  22093. #pragma implementation_key(3363)
  22094. inline double VGCore::IVGOutline::GetNibAngle ( ) {
  22095. double _result = 0;
  22096. HRESULT _hr = get_NibAngle(&_result);
  22097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22098. return _result;
  22099. }
  22100. #pragma implementation_key(3364)
  22101. inline void VGCore::IVGOutline::PutNibAngle ( double pVal ) {
  22102. HRESULT _hr = put_NibAngle(pVal);
  22103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22104. }
  22105. #pragma implementation_key(3365)
  22106. inline VARIANT_BOOL VGCore::IVGOutline::GetBehindFill ( ) {
  22107. VARIANT_BOOL _result = 0;
  22108. HRESULT _hr = get_BehindFill(&_result);
  22109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22110. return _result;
  22111. }
  22112. #pragma implementation_key(3366)
  22113. inline void VGCore::IVGOutline::PutBehindFill ( VARIANT_BOOL pVal ) {
  22114. HRESULT _hr = put_BehindFill(pVal);
  22115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22116. }
  22117. #pragma implementation_key(3367)
  22118. inline enum VGCore::cdrOutlineLineCaps VGCore::IVGOutline::GetLineCaps ( ) {
  22119. enum cdrOutlineLineCaps _result;
  22120. HRESULT _hr = get_LineCaps(&_result);
  22121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22122. return _result;
  22123. }
  22124. #pragma implementation_key(3368)
  22125. inline void VGCore::IVGOutline::PutLineCaps ( enum cdrOutlineLineCaps pVal ) {
  22126. HRESULT _hr = put_LineCaps(pVal);
  22127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22128. }
  22129. #pragma implementation_key(3369)
  22130. inline enum VGCore::cdrOutlineLineJoin VGCore::IVGOutline::GetLineJoin ( ) {
  22131. enum cdrOutlineLineJoin _result;
  22132. HRESULT _hr = get_LineJoin(&_result);
  22133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22134. return _result;
  22135. }
  22136. #pragma implementation_key(3370)
  22137. inline void VGCore::IVGOutline::PutLineJoin ( enum cdrOutlineLineJoin pVal ) {
  22138. HRESULT _hr = put_LineJoin(pVal);
  22139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22140. }
  22141. #pragma implementation_key(3371)
  22142. inline VARIANT_BOOL VGCore::IVGOutline::GetScaleWithShape ( ) {
  22143. VARIANT_BOOL _result = 0;
  22144. HRESULT _hr = get_ScaleWithShape(&_result);
  22145. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22146. return _result;
  22147. }
  22148. #pragma implementation_key(3372)
  22149. inline void VGCore::IVGOutline::PutScaleWithShape ( VARIANT_BOOL pVal ) {
  22150. HRESULT _hr = put_ScaleWithShape(pVal);
  22151. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22152. }
  22153. #pragma implementation_key(3373)
  22154. inline HRESULT VGCore::IVGOutline::SetProperties ( double Width, struct IVGOutlineStyle * Style, struct IVGColor * Color, struct IVGArrowHead * StartArrow, struct IVGArrowHead * EndArrow, enum cdrTriState BehindFill, enum cdrTriState ScaleWithShape, enum cdrOutlineLineCaps LineCaps, enum cdrOutlineLineJoin LineJoin, double NibAngle, long NibStretch, double DashDotLength, double PenWidth, double MiterLimit ) {
  22155. HRESULT _hr = raw_SetProperties(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit);
  22156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22157. return _hr;
  22158. }
  22159. #pragma implementation_key(3374)
  22160. inline double VGCore::IVGOutline::GetSize ( ) {
  22161. double _result = 0;
  22162. HRESULT _hr = get_Size(&_result);
  22163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22164. return _result;
  22165. }
  22166. #pragma implementation_key(3375)
  22167. inline void VGCore::IVGOutline::PutSize ( double pVal ) {
  22168. HRESULT _hr = put_Size(pVal);
  22169. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22170. }
  22171. #pragma implementation_key(3376)
  22172. inline VGCore::IVGOutlinePtr VGCore::IVGOutline::GetCopy ( ) {
  22173. struct IVGOutline * _result = 0;
  22174. HRESULT _hr = raw_GetCopy(&_result);
  22175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22176. return IVGOutlinePtr(_result, false);
  22177. }
  22178. #pragma implementation_key(3377)
  22179. inline HRESULT VGCore::IVGOutline::CopyAssign ( struct IVGOutline * SourceOutline ) {
  22180. HRESULT _hr = raw_CopyAssign(SourceOutline);
  22181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22182. return _hr;
  22183. }
  22184. #pragma implementation_key(3378)
  22185. inline VARIANT_BOOL VGCore::IVGOutline::UserAssign ( long ParentWindowHandle ) {
  22186. VARIANT_BOOL _result = 0;
  22187. HRESULT _hr = raw_UserAssign(ParentWindowHandle, &_result);
  22188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22189. return _result;
  22190. }
  22191. #pragma implementation_key(3379)
  22192. inline VGCore::IVGPSScreenOptionsPtr VGCore::IVGOutline::GetPSScreen ( ) {
  22193. struct IVGPSScreenOptions * _result = 0;
  22194. HRESULT _hr = get_PSScreen(&_result);
  22195. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22196. return IVGPSScreenOptionsPtr(_result, false);
  22197. }
  22198. #pragma implementation_key(3380)
  22199. inline VARIANT_BOOL VGCore::IVGOutline::CompareWith ( struct IVGOutline * Outline ) {
  22200. VARIANT_BOOL _result = 0;
  22201. HRESULT _hr = raw_CompareWith(Outline, &_result);
  22202. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22203. return _result;
  22204. }
  22205. #pragma implementation_key(3381)
  22206. inline double VGCore::IVGOutline::GetDashDotLength ( ) {
  22207. double _result = 0;
  22208. HRESULT _hr = get_DashDotLength(&_result);
  22209. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22210. return _result;
  22211. }
  22212. #pragma implementation_key(3382)
  22213. inline void VGCore::IVGOutline::PutDashDotLength ( double pVal ) {
  22214. HRESULT _hr = put_DashDotLength(pVal);
  22215. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22216. }
  22217. #pragma implementation_key(3383)
  22218. inline _bstr_t VGCore::IVGOutline::ToString ( ) {
  22219. BSTR _result = 0;
  22220. HRESULT _hr = raw_ToString(&_result);
  22221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22222. return _bstr_t(_result, false);
  22223. }
  22224. #pragma implementation_key(3384)
  22225. inline VARIANT_BOOL VGCore::IVGOutline::StringAssign ( _bstr_t OutlineString ) {
  22226. VARIANT_BOOL _result = 0;
  22227. HRESULT _hr = raw_StringAssign(OutlineString, &_result);
  22228. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22229. return _result;
  22230. }
  22231. #pragma implementation_key(3385)
  22232. inline double VGCore::IVGOutline::GetPenWidth ( ) {
  22233. double _result = 0;
  22234. HRESULT _hr = get_PenWidth(&_result);
  22235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22236. return _result;
  22237. }
  22238. #pragma implementation_key(3386)
  22239. inline void VGCore::IVGOutline::PutPenWidth ( double pVal ) {
  22240. HRESULT _hr = put_PenWidth(pVal);
  22241. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22242. }
  22243. #pragma implementation_key(3387)
  22244. inline double VGCore::IVGOutline::GetMiterLimit ( ) {
  22245. double _result = 0;
  22246. HRESULT _hr = get_MiterLimit(&_result);
  22247. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22248. return _result;
  22249. }
  22250. #pragma implementation_key(3388)
  22251. inline void VGCore::IVGOutline::PutMiterLimit ( double pVal ) {
  22252. HRESULT _hr = put_MiterLimit(pVal);
  22253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22254. }
  22255. #pragma implementation_key(3389)
  22256. inline HRESULT VGCore::IVGOutline::SetNoOutline ( ) {
  22257. HRESULT _hr = raw_SetNoOutline();
  22258. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22259. return _hr;
  22260. }
  22261. #pragma implementation_key(3390)
  22262. inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGOutline::GetStartArrowOptions ( ) {
  22263. struct IVGArrowHeadOptions * _result = 0;
  22264. HRESULT _hr = get_StartArrowOptions(&_result);
  22265. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22266. return IVGArrowHeadOptionsPtr(_result, false);
  22267. }
  22268. #pragma implementation_key(3391)
  22269. inline void VGCore::IVGOutline::PutStartArrowOptions ( struct IVGArrowHeadOptions * ppVal ) {
  22270. HRESULT _hr = put_StartArrowOptions(ppVal);
  22271. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22272. }
  22273. #pragma implementation_key(3392)
  22274. inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGOutline::GetEndArrowOptions ( ) {
  22275. struct IVGArrowHeadOptions * _result = 0;
  22276. HRESULT _hr = get_EndArrowOptions(&_result);
  22277. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22278. return IVGArrowHeadOptionsPtr(_result, false);
  22279. }
  22280. #pragma implementation_key(3393)
  22281. inline void VGCore::IVGOutline::PutEndArrowOptions ( struct IVGArrowHeadOptions * ppVal ) {
  22282. HRESULT _hr = put_EndArrowOptions(ppVal);
  22283. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22284. }
  22285. #pragma implementation_key(3394)
  22286. inline enum VGCore::cdrOutlineJustification VGCore::IVGOutline::GetJustification ( ) {
  22287. enum cdrOutlineJustification _result;
  22288. HRESULT _hr = get_Justification(&_result);
  22289. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22290. return _result;
  22291. }
  22292. #pragma implementation_key(3395)
  22293. inline void VGCore::IVGOutline::PutJustification ( enum cdrOutlineJustification pVal ) {
  22294. HRESULT _hr = put_Justification(pVal);
  22295. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22296. }
  22297. #pragma implementation_key(3396)
  22298. inline HRESULT VGCore::IVGOutline::SetPropertiesEx ( double Width, struct IVGOutlineStyle * Style, struct IVGColor * Color, struct IVGArrowHead * StartArrow, struct IVGArrowHead * EndArrow, enum cdrTriState BehindFill, enum cdrTriState ScaleWithShape, enum cdrOutlineLineCaps LineCaps, enum cdrOutlineLineJoin LineJoin, double NibAngle, long NibStretch, double DashDotLength, double PenWidth, double MiterLimit, enum cdrOutlineJustification Justification ) {
  22299. HRESULT _hr = raw_SetPropertiesEx(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit, Justification);
  22300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22301. return _hr;
  22302. }
  22303. #pragma implementation_key(3397)
  22304. inline enum VGCore::cdrOutlineDashAdjust VGCore::IVGOutline::GetAdjustDashes ( ) {
  22305. enum cdrOutlineDashAdjust _result;
  22306. HRESULT _hr = get_AdjustDashes(&_result);
  22307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22308. return _result;
  22309. }
  22310. #pragma implementation_key(3398)
  22311. inline void VGCore::IVGOutline::PutAdjustDashes ( enum cdrOutlineDashAdjust pVal ) {
  22312. HRESULT _hr = put_AdjustDashes(pVal);
  22313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22314. }
  22315. //
  22316. // interface IVGHatchPattern wrapper method implementations
  22317. //
  22318. #pragma implementation_key(3399)
  22319. inline double VGCore::IVGHatchPattern::GetAngle ( ) {
  22320. double _result = 0;
  22321. HRESULT _hr = get_Angle(&_result);
  22322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22323. return _result;
  22324. }
  22325. #pragma implementation_key(3400)
  22326. inline void VGCore::IVGHatchPattern::PutAngle ( double pVal ) {
  22327. HRESULT _hr = put_Angle(pVal);
  22328. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22329. }
  22330. #pragma implementation_key(3401)
  22331. inline double VGCore::IVGHatchPattern::GetOriginX ( ) {
  22332. double _result = 0;
  22333. HRESULT _hr = get_OriginX(&_result);
  22334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22335. return _result;
  22336. }
  22337. #pragma implementation_key(3402)
  22338. inline void VGCore::IVGHatchPattern::PutOriginX ( double pVal ) {
  22339. HRESULT _hr = put_OriginX(pVal);
  22340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22341. }
  22342. #pragma implementation_key(3403)
  22343. inline double VGCore::IVGHatchPattern::GetOriginY ( ) {
  22344. double _result = 0;
  22345. HRESULT _hr = get_OriginY(&_result);
  22346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22347. return _result;
  22348. }
  22349. #pragma implementation_key(3404)
  22350. inline void VGCore::IVGHatchPattern::PutOriginY ( double pVal ) {
  22351. HRESULT _hr = put_OriginY(pVal);
  22352. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22353. }
  22354. #pragma implementation_key(3405)
  22355. inline double VGCore::IVGHatchPattern::GetSpacing ( ) {
  22356. double _result = 0;
  22357. HRESULT _hr = get_Spacing(&_result);
  22358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22359. return _result;
  22360. }
  22361. #pragma implementation_key(3406)
  22362. inline void VGCore::IVGHatchPattern::PutSpacing ( double pVal ) {
  22363. HRESULT _hr = put_Spacing(pVal);
  22364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22365. }
  22366. #pragma implementation_key(3407)
  22367. inline double VGCore::IVGHatchPattern::GetShift ( ) {
  22368. double _result = 0;
  22369. HRESULT _hr = get_Shift(&_result);
  22370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22371. return _result;
  22372. }
  22373. #pragma implementation_key(3408)
  22374. inline void VGCore::IVGHatchPattern::PutShift ( double pVal ) {
  22375. HRESULT _hr = put_Shift(pVal);
  22376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22377. }
  22378. #pragma implementation_key(3409)
  22379. inline double VGCore::IVGHatchPattern::GetShiftPercent ( ) {
  22380. double _result = 0;
  22381. HRESULT _hr = get_ShiftPercent(&_result);
  22382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22383. return _result;
  22384. }
  22385. #pragma implementation_key(3410)
  22386. inline void VGCore::IVGHatchPattern::PutShiftPercent ( double pVal ) {
  22387. HRESULT _hr = put_ShiftPercent(pVal);
  22388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22389. }
  22390. #pragma implementation_key(3411)
  22391. inline VGCore::IVGOutlinePtr VGCore::IVGHatchPattern::GetOutline ( ) {
  22392. struct IVGOutline * _result = 0;
  22393. HRESULT _hr = get_Outline(&_result);
  22394. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22395. return IVGOutlinePtr(_result, false);
  22396. }
  22397. #pragma implementation_key(3412)
  22398. inline long VGCore::IVGHatchPattern::GetIndex ( ) {
  22399. long _result = 0;
  22400. HRESULT _hr = get_Index(&_result);
  22401. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22402. return _result;
  22403. }
  22404. #pragma implementation_key(3413)
  22405. inline HRESULT VGCore::IVGHatchPattern::Delete ( ) {
  22406. HRESULT _hr = raw_Delete();
  22407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22408. return _hr;
  22409. }
  22410. #pragma implementation_key(3414)
  22411. inline HRESULT VGCore::IVGHatchPattern::SetOrigin ( double OriginX, double OriginY ) {
  22412. HRESULT _hr = raw_SetOrigin(OriginX, OriginY);
  22413. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22414. return _hr;
  22415. }
  22416. #pragma implementation_key(3415)
  22417. inline HRESULT VGCore::IVGHatchPattern::GetOrigin ( double * OriginX, double * OriginY ) {
  22418. HRESULT _hr = raw_GetOrigin(OriginX, OriginY);
  22419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22420. return _hr;
  22421. }
  22422. #pragma implementation_key(3416)
  22423. inline HRESULT VGCore::IVGHatchPattern::SetProperties ( const _variant_t & Angle, double Spacing, const _variant_t & Shift, const _variant_t & OriginX, const _variant_t & OriginY, double Width, struct IVGColor * Color, struct IVGOutlineStyle * Style, double DashDotLength, double PenWidth ) {
  22424. HRESULT _hr = raw_SetProperties(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth);
  22425. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22426. return _hr;
  22427. }
  22428. #pragma implementation_key(3417)
  22429. inline HRESULT VGCore::IVGHatchPattern::Reset ( ) {
  22430. HRESULT _hr = raw_Reset();
  22431. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22432. return _hr;
  22433. }
  22434. //
  22435. // interface IVGHatchPatterns wrapper method implementations
  22436. //
  22437. #pragma implementation_key(3418)
  22438. inline long VGCore::IVGHatchPatterns::GetCount ( ) {
  22439. long _result = 0;
  22440. HRESULT _hr = get_Count(&_result);
  22441. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22442. return _result;
  22443. }
  22444. #pragma implementation_key(3419)
  22445. inline VGCore::IVGHatchPatternPtr VGCore::IVGHatchPatterns::GetItem ( long Index ) {
  22446. struct IVGHatchPattern * _result = 0;
  22447. HRESULT _hr = get_Item(Index, &_result);
  22448. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22449. return IVGHatchPatternPtr(_result, false);
  22450. }
  22451. #pragma implementation_key(3420)
  22452. inline IUnknownPtr VGCore::IVGHatchPatterns::Get_NewEnum ( ) {
  22453. IUnknown * _result = 0;
  22454. HRESULT _hr = get__NewEnum(&_result);
  22455. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22456. return IUnknownPtr(_result, false);
  22457. }
  22458. #pragma implementation_key(3421)
  22459. inline HRESULT VGCore::IVGHatchPatterns::Reset ( ) {
  22460. HRESULT _hr = raw_Reset();
  22461. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22462. return _hr;
  22463. }
  22464. //
  22465. // interface IVGImage wrapper method implementations
  22466. //
  22467. #pragma implementation_key(3422)
  22468. inline enum VGCore::cdrImageType VGCore::IVGImage::GetType ( ) {
  22469. enum cdrImageType _result;
  22470. HRESULT _hr = get_Type(&_result);
  22471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22472. return _result;
  22473. }
  22474. #pragma implementation_key(3423)
  22475. inline long VGCore::IVGImage::GetWidth ( ) {
  22476. long _result = 0;
  22477. HRESULT _hr = get_Width(&_result);
  22478. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22479. return _result;
  22480. }
  22481. #pragma implementation_key(3424)
  22482. inline long VGCore::IVGImage::GetHeight ( ) {
  22483. long _result = 0;
  22484. HRESULT _hr = get_Height(&_result);
  22485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22486. return _result;
  22487. }
  22488. #pragma implementation_key(3425)
  22489. inline VGCore::IVGColorPtr VGCore::IVGImage::GetPixel ( long x, long y ) {
  22490. struct IVGColor * _result = 0;
  22491. HRESULT _hr = get_Pixel(x, y, &_result);
  22492. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22493. return IVGColorPtr(_result, false);
  22494. }
  22495. #pragma implementation_key(3426)
  22496. inline VGCore::IVGImagePtr VGCore::IVGImage::GetCopy ( ) {
  22497. struct IVGImage * _result = 0;
  22498. HRESULT _hr = raw_GetCopy(&_result);
  22499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22500. return IVGImagePtr(_result, false);
  22501. }
  22502. #pragma implementation_key(3427)
  22503. inline VARIANT_BOOL VGCore::IVGImage::GetReadOnly ( ) {
  22504. VARIANT_BOOL _result = 0;
  22505. HRESULT _hr = get_ReadOnly(&_result);
  22506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22507. return _result;
  22508. }
  22509. #pragma implementation_key(3428)
  22510. inline VGCore::IVGImageTilesPtr VGCore::IVGImage::GetTiles ( ) {
  22511. struct IVGImageTiles * _result = 0;
  22512. HRESULT _hr = get_Tiles(&_result);
  22513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22514. return IVGImageTilesPtr(_result, false);
  22515. }
  22516. #pragma implementation_key(3429)
  22517. inline HRESULT VGCore::IVGImage::Blit ( long DestX, long DestY, long DestWidth, long DestHeight, struct IVGImage * SrcImage, long SrcX, long SrcY, long SrcWidth, long SrcHeight, enum cdrMergeMode MergeMode ) {
  22518. HRESULT _hr = raw_Blit(DestX, DestY, DestWidth, DestHeight, SrcImage, SrcX, SrcY, SrcWidth, SrcHeight, MergeMode);
  22519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22520. return _hr;
  22521. }
  22522. #pragma implementation_key(3430)
  22523. inline HRESULT VGCore::IVGImage::FillArea ( long x, long y, long Width, long Height, struct IVGColor * Color ) {
  22524. HRESULT _hr = raw_FillArea(x, y, Width, Height, Color);
  22525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22526. return _hr;
  22527. }
  22528. #pragma implementation_key(3431)
  22529. inline HRESULT VGCore::IVGImage::FlipArea ( long x, long y, long Width, long Height, enum cdrFlipAxes Axes ) {
  22530. HRESULT _hr = raw_FlipArea(x, y, Width, Height, Axes);
  22531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22532. return _hr;
  22533. }
  22534. //
  22535. // interface IVGTransparency wrapper method implementations
  22536. //
  22537. #pragma implementation_key(3432)
  22538. inline IDispatchPtr VGCore::IVGTransparency::GetApplication ( ) {
  22539. IDispatch * _result = 0;
  22540. HRESULT _hr = get_Application(&_result);
  22541. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22542. return IDispatchPtr(_result, false);
  22543. }
  22544. #pragma implementation_key(3433)
  22545. inline IDispatchPtr VGCore::IVGTransparency::GetParent ( ) {
  22546. IDispatch * _result = 0;
  22547. HRESULT _hr = get_Parent(&_result);
  22548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22549. return IDispatchPtr(_result, false);
  22550. }
  22551. #pragma implementation_key(3434)
  22552. inline enum VGCore::cdrTransparencyType VGCore::IVGTransparency::GetType ( ) {
  22553. enum cdrTransparencyType _result;
  22554. HRESULT _hr = get_Type(&_result);
  22555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22556. return _result;
  22557. }
  22558. #pragma implementation_key(3435)
  22559. inline long VGCore::IVGTransparency::GetUniform ( ) {
  22560. long _result = 0;
  22561. HRESULT _hr = get_Uniform(&_result);
  22562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22563. return _result;
  22564. }
  22565. #pragma implementation_key(3436)
  22566. inline void VGCore::IVGTransparency::PutUniform ( long pVal ) {
  22567. HRESULT _hr = put_Uniform(pVal);
  22568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22569. }
  22570. #pragma implementation_key(3437)
  22571. inline VGCore::IVGFountainFillPtr VGCore::IVGTransparency::GetFountain ( ) {
  22572. struct IVGFountainFill * _result = 0;
  22573. HRESULT _hr = get_Fountain(&_result);
  22574. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22575. return IVGFountainFillPtr(_result, false);
  22576. }
  22577. #pragma implementation_key(3438)
  22578. inline void VGCore::IVGTransparency::PutFountain ( struct IVGFountainFill * ppVal ) {
  22579. HRESULT _hr = put_Fountain(ppVal);
  22580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22581. }
  22582. #pragma implementation_key(3439)
  22583. inline VGCore::IVGPatternFillPtr VGCore::IVGTransparency::GetPattern ( ) {
  22584. struct IVGPatternFill * _result = 0;
  22585. HRESULT _hr = get_Pattern(&_result);
  22586. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22587. return IVGPatternFillPtr(_result, false);
  22588. }
  22589. #pragma implementation_key(3440)
  22590. inline void VGCore::IVGTransparency::PutPattern ( struct IVGPatternFill * ppVal ) {
  22591. HRESULT _hr = put_Pattern(ppVal);
  22592. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22593. }
  22594. #pragma implementation_key(3441)
  22595. inline VGCore::IVGTextureFillPtr VGCore::IVGTransparency::GetTexture ( ) {
  22596. struct IVGTextureFill * _result = 0;
  22597. HRESULT _hr = get_Texture(&_result);
  22598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22599. return IVGTextureFillPtr(_result, false);
  22600. }
  22601. #pragma implementation_key(3442)
  22602. inline void VGCore::IVGTransparency::PutTexture ( struct IVGTextureFill * ppVal ) {
  22603. HRESULT _hr = put_Texture(ppVal);
  22604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22605. }
  22606. #pragma implementation_key(3443)
  22607. inline long VGCore::IVGTransparency::GetStart ( ) {
  22608. long _result = 0;
  22609. HRESULT _hr = get_Start(&_result);
  22610. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22611. return _result;
  22612. }
  22613. #pragma implementation_key(3444)
  22614. inline void VGCore::IVGTransparency::PutStart ( long pVal ) {
  22615. HRESULT _hr = put_Start(pVal);
  22616. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22617. }
  22618. #pragma implementation_key(3445)
  22619. inline long VGCore::IVGTransparency::GetEnd ( ) {
  22620. long _result = 0;
  22621. HRESULT _hr = get_End(&_result);
  22622. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22623. return _result;
  22624. }
  22625. #pragma implementation_key(3446)
  22626. inline void VGCore::IVGTransparency::PutEnd ( long pVal ) {
  22627. HRESULT _hr = put_End(pVal);
  22628. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22629. }
  22630. #pragma implementation_key(3447)
  22631. inline VARIANT_BOOL VGCore::IVGTransparency::GetFrozen ( ) {
  22632. VARIANT_BOOL _result = 0;
  22633. HRESULT _hr = get_Frozen(&_result);
  22634. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22635. return _result;
  22636. }
  22637. #pragma implementation_key(3448)
  22638. inline HRESULT VGCore::IVGTransparency::ApplyNoTransparency ( ) {
  22639. HRESULT _hr = raw_ApplyNoTransparency();
  22640. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22641. return _hr;
  22642. }
  22643. #pragma implementation_key(3449)
  22644. inline HRESULT VGCore::IVGTransparency::ApplyUniformTransparency ( long Value ) {
  22645. HRESULT _hr = raw_ApplyUniformTransparency(Value);
  22646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22647. return _hr;
  22648. }
  22649. #pragma implementation_key(3450)
  22650. inline VGCore::IVGFountainFillPtr VGCore::IVGTransparency::ApplyFountainTransparency ( long Start, long End, enum cdrFountainFillType Type, double Angle, long Steps, long EdgePad, long MidPoint, double CenterOffsetX, double CenterOffsetY ) {
  22651. struct IVGFountainFill * _result = 0;
  22652. HRESULT _hr = raw_ApplyFountainTransparency(Start, End, Type, Angle, Steps, EdgePad, MidPoint, CenterOffsetX, CenterOffsetY, &_result);
  22653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22654. return IVGFountainFillPtr(_result, false);
  22655. }
  22656. #pragma implementation_key(3451)
  22657. inline VGCore::IVGPatternFillPtr VGCore::IVGTransparency::ApplyPatternTransparency ( enum cdrPatternFillType Type, _bstr_t FileName, long PatternCanvasIndex, long Front, long Back, VARIANT_BOOL TransformWithShape ) {
  22658. struct IVGPatternFill * _result = 0;
  22659. HRESULT _hr = raw_ApplyPatternTransparency(Type, FileName, PatternCanvasIndex, Front, Back, TransformWithShape, &_result);
  22660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22661. return IVGPatternFillPtr(_result, false);
  22662. }
  22663. #pragma implementation_key(3452)
  22664. inline VGCore::IVGTextureFillPtr VGCore::IVGTransparency::ApplyTextureTransparency ( _bstr_t TextureName, _bstr_t LibraryName, long Front, long Back ) {
  22665. struct IVGTextureFill * _result = 0;
  22666. HRESULT _hr = raw_ApplyTextureTransparency(TextureName, LibraryName, Front, Back, &_result);
  22667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22668. return IVGTextureFillPtr(_result, false);
  22669. }
  22670. #pragma implementation_key(3453)
  22671. inline HRESULT VGCore::IVGTransparency::Freeze ( ) {
  22672. HRESULT _hr = raw_Freeze();
  22673. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22674. return _hr;
  22675. }
  22676. #pragma implementation_key(3454)
  22677. inline HRESULT VGCore::IVGTransparency::Unfreeze ( ) {
  22678. HRESULT _hr = raw_Unfreeze();
  22679. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22680. return _hr;
  22681. }
  22682. #pragma implementation_key(3455)
  22683. inline enum VGCore::cdrTransparencyAppliedTo VGCore::IVGTransparency::GetAppliedTo ( ) {
  22684. enum cdrTransparencyAppliedTo _result;
  22685. HRESULT _hr = get_AppliedTo(&_result);
  22686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22687. return _result;
  22688. }
  22689. #pragma implementation_key(3456)
  22690. inline void VGCore::IVGTransparency::PutAppliedTo ( enum cdrTransparencyAppliedTo pVal ) {
  22691. HRESULT _hr = put_AppliedTo(pVal);
  22692. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22693. }
  22694. #pragma implementation_key(3457)
  22695. inline enum VGCore::cdrMergeMode VGCore::IVGTransparency::GetMergeMode ( ) {
  22696. enum cdrMergeMode _result;
  22697. HRESULT _hr = get_MergeMode(&_result);
  22698. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22699. return _result;
  22700. }
  22701. #pragma implementation_key(3458)
  22702. inline void VGCore::IVGTransparency::PutMergeMode ( enum cdrMergeMode pVal ) {
  22703. HRESULT _hr = put_MergeMode(pVal);
  22704. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22705. }
  22706. #pragma implementation_key(3459)
  22707. inline VARIANT_BOOL VGCore::IVGTransparency::UserAssign ( enum cdrTransparencyType TransparencyType, enum cdrPatternFillType PatternType, long ParentWindowHandle ) {
  22708. VARIANT_BOOL _result = 0;
  22709. HRESULT _hr = raw_UserAssign(TransparencyType, PatternType, ParentWindowHandle, &_result);
  22710. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22711. return _result;
  22712. }
  22713. //
  22714. // interface IVGDimension wrapper method implementations
  22715. //
  22716. #pragma implementation_key(3460)
  22717. inline enum VGCore::cdrDimensionType VGCore::IVGDimension::GetType ( ) {
  22718. enum cdrDimensionType _result;
  22719. HRESULT _hr = get_Type(&_result);
  22720. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22721. return _result;
  22722. }
  22723. #pragma implementation_key(3461)
  22724. inline VGCore::IVGDimensionLinearPtr VGCore::IVGDimension::GetLinear ( ) {
  22725. struct IVGDimensionLinear * _result = 0;
  22726. HRESULT _hr = get_Linear(&_result);
  22727. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22728. return IVGDimensionLinearPtr(_result, false);
  22729. }
  22730. #pragma implementation_key(3462)
  22731. inline VGCore::IVGDimensionAngularPtr VGCore::IVGDimension::GetAngular ( ) {
  22732. struct IVGDimensionAngular * _result = 0;
  22733. HRESULT _hr = get_Angular(&_result);
  22734. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22735. return IVGDimensionAngularPtr(_result, false);
  22736. }
  22737. #pragma implementation_key(3463)
  22738. inline long VGCore::IVGDimension::GetPrecision ( ) {
  22739. long _result = 0;
  22740. HRESULT _hr = get_Precision(&_result);
  22741. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22742. return _result;
  22743. }
  22744. #pragma implementation_key(3464)
  22745. inline void VGCore::IVGDimension::PutPrecision ( long pVal ) {
  22746. HRESULT _hr = put_Precision(pVal);
  22747. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22748. }
  22749. #pragma implementation_key(3465)
  22750. inline VARIANT_BOOL VGCore::IVGDimension::GetBoxedText ( ) {
  22751. VARIANT_BOOL _result = 0;
  22752. HRESULT _hr = get_BoxedText(&_result);
  22753. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22754. return _result;
  22755. }
  22756. #pragma implementation_key(3466)
  22757. inline void VGCore::IVGDimension::PutBoxedText ( VARIANT_BOOL pVal ) {
  22758. HRESULT _hr = put_BoxedText(pVal);
  22759. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22760. }
  22761. #pragma implementation_key(3467)
  22762. inline VARIANT_BOOL VGCore::IVGDimension::GetLeadingZero ( ) {
  22763. VARIANT_BOOL _result = 0;
  22764. HRESULT _hr = get_LeadingZero(&_result);
  22765. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22766. return _result;
  22767. }
  22768. #pragma implementation_key(3468)
  22769. inline void VGCore::IVGDimension::PutLeadingZero ( VARIANT_BOOL pVal ) {
  22770. HRESULT _hr = put_LeadingZero(pVal);
  22771. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22772. }
  22773. #pragma implementation_key(3469)
  22774. inline VGCore::IVGShapePtr VGCore::IVGDimension::GetTextShape ( ) {
  22775. struct IVGShape * _result = 0;
  22776. HRESULT _hr = get_TextShape(&_result);
  22777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22778. return IVGShapePtr(_result, false);
  22779. }
  22780. #pragma implementation_key(3470)
  22781. inline _bstr_t VGCore::IVGDimension::GetPrefix ( ) {
  22782. BSTR _result = 0;
  22783. HRESULT _hr = get_Prefix(&_result);
  22784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22785. return _bstr_t(_result, false);
  22786. }
  22787. #pragma implementation_key(3471)
  22788. inline void VGCore::IVGDimension::PutPrefix ( _bstr_t pVal ) {
  22789. HRESULT _hr = put_Prefix(pVal);
  22790. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22791. }
  22792. #pragma implementation_key(3472)
  22793. inline _bstr_t VGCore::IVGDimension::GetSuffix ( ) {
  22794. BSTR _result = 0;
  22795. HRESULT _hr = get_Suffix(&_result);
  22796. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22797. return _bstr_t(_result, false);
  22798. }
  22799. #pragma implementation_key(3473)
  22800. inline void VGCore::IVGDimension::PutSuffix ( _bstr_t pVal ) {
  22801. HRESULT _hr = put_Suffix(pVal);
  22802. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22803. }
  22804. #pragma implementation_key(3474)
  22805. inline VGCore::IVGOutlinePtr VGCore::IVGDimension::GetOutline ( ) {
  22806. struct IVGOutline * _result = 0;
  22807. HRESULT _hr = get_Outline(&_result);
  22808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22809. return IVGOutlinePtr(_result, false);
  22810. }
  22811. #pragma implementation_key(3475)
  22812. inline VARIANT_BOOL VGCore::IVGDimension::GetTextCentered ( ) {
  22813. VARIANT_BOOL _result = 0;
  22814. HRESULT _hr = get_TextCentered(&_result);
  22815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22816. return _result;
  22817. }
  22818. #pragma implementation_key(3476)
  22819. inline void VGCore::IVGDimension::PutTextCentered ( VARIANT_BOOL pVal ) {
  22820. HRESULT _hr = put_TextCentered(pVal);
  22821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22822. }
  22823. #pragma implementation_key(3477)
  22824. inline VARIANT_BOOL VGCore::IVGDimension::GetShowUnits ( ) {
  22825. VARIANT_BOOL _result = 0;
  22826. HRESULT _hr = get_ShowUnits(&_result);
  22827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22828. return _result;
  22829. }
  22830. #pragma implementation_key(3478)
  22831. inline void VGCore::IVGDimension::PutShowUnits ( VARIANT_BOOL pVal ) {
  22832. HRESULT _hr = put_ShowUnits(pVal);
  22833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22834. }
  22835. #pragma implementation_key(3479)
  22836. inline enum VGCore::cdrDimensionPlacement VGCore::IVGDimension::GetPlacement ( ) {
  22837. enum cdrDimensionPlacement _result;
  22838. HRESULT _hr = get_Placement(&_result);
  22839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22840. return _result;
  22841. }
  22842. #pragma implementation_key(3480)
  22843. inline void VGCore::IVGDimension::PutPlacement ( enum cdrDimensionPlacement pVal ) {
  22844. HRESULT _hr = put_Placement(pVal);
  22845. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22846. }
  22847. #pragma implementation_key(3481)
  22848. inline VARIANT_BOOL VGCore::IVGDimension::GetHorizontalText ( ) {
  22849. VARIANT_BOOL _result = 0;
  22850. HRESULT _hr = get_HorizontalText(&_result);
  22851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22852. return _result;
  22853. }
  22854. #pragma implementation_key(3482)
  22855. inline void VGCore::IVGDimension::PutHorizontalText ( VARIANT_BOOL pVal ) {
  22856. HRESULT _hr = put_HorizontalText(pVal);
  22857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22858. }
  22859. #pragma implementation_key(3483)
  22860. inline VARIANT_BOOL VGCore::IVGDimension::GetDynamicText ( ) {
  22861. VARIANT_BOOL _result = 0;
  22862. HRESULT _hr = get_DynamicText(&_result);
  22863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22864. return _result;
  22865. }
  22866. #pragma implementation_key(3484)
  22867. inline void VGCore::IVGDimension::PutDynamicText ( VARIANT_BOOL pVal ) {
  22868. HRESULT _hr = put_DynamicText(pVal);
  22869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22870. }
  22871. #pragma implementation_key(3485)
  22872. inline double VGCore::IVGDimension::GetDistanceFromObject ( ) {
  22873. double _result = 0;
  22874. HRESULT _hr = get_DistanceFromObject(&_result);
  22875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22876. return _result;
  22877. }
  22878. #pragma implementation_key(3486)
  22879. inline VARIANT_BOOL VGCore::IVGDimension::GetUseDistanceFromObject ( ) {
  22880. VARIANT_BOOL _result = 0;
  22881. HRESULT _hr = get_UseDistanceFromObject(&_result);
  22882. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22883. return _result;
  22884. }
  22885. #pragma implementation_key(3487)
  22886. inline void VGCore::IVGDimension::PutUseDistanceFromObject ( VARIANT_BOOL pVal ) {
  22887. HRESULT _hr = put_UseDistanceFromObject(pVal);
  22888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22889. }
  22890. #pragma implementation_key(3488)
  22891. inline HRESULT VGCore::IVGDimension::SetDistanceFromObject ( double Distance ) {
  22892. HRESULT _hr = raw_SetDistanceFromObject(Distance);
  22893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22894. return _hr;
  22895. }
  22896. #pragma implementation_key(3489)
  22897. inline double VGCore::IVGDimension::GetOverhang ( ) {
  22898. double _result = 0;
  22899. HRESULT _hr = get_Overhang(&_result);
  22900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22901. return _result;
  22902. }
  22903. #pragma implementation_key(3490)
  22904. inline VARIANT_BOOL VGCore::IVGDimension::GetUseOverhang ( ) {
  22905. VARIANT_BOOL _result = 0;
  22906. HRESULT _hr = get_UseOverhang(&_result);
  22907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22908. return _result;
  22909. }
  22910. #pragma implementation_key(3491)
  22911. inline void VGCore::IVGDimension::PutUseOverhang ( VARIANT_BOOL pVal ) {
  22912. HRESULT _hr = put_UseOverhang(pVal);
  22913. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22914. }
  22915. #pragma implementation_key(3492)
  22916. inline HRESULT VGCore::IVGDimension::SetOverhang ( double Overhang ) {
  22917. HRESULT _hr = raw_SetOverhang(Overhang);
  22918. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22919. return _hr;
  22920. }
  22921. #pragma implementation_key(3493)
  22922. inline double VGCore::IVGDimension::GetTextLabelGap ( ) {
  22923. double _result = 0;
  22924. HRESULT _hr = get_TextLabelGap(&_result);
  22925. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22926. return _result;
  22927. }
  22928. #pragma implementation_key(3494)
  22929. inline VARIANT_BOOL VGCore::IVGDimension::GetUseTextLabelGap ( ) {
  22930. VARIANT_BOOL _result = 0;
  22931. HRESULT _hr = get_UseTextLabelGap(&_result);
  22932. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22933. return _result;
  22934. }
  22935. #pragma implementation_key(3495)
  22936. inline void VGCore::IVGDimension::PutUseTextLabelGap ( VARIANT_BOOL pVal ) {
  22937. HRESULT _hr = put_UseTextLabelGap(pVal);
  22938. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22939. }
  22940. #pragma implementation_key(3496)
  22941. inline HRESULT VGCore::IVGDimension::SetTextLabelGap ( double Gap ) {
  22942. HRESULT _hr = raw_SetTextLabelGap(Gap);
  22943. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22944. return _hr;
  22945. }
  22946. #pragma implementation_key(3497)
  22947. inline VARIANT_BOOL VGCore::IVGDimension::GetExtensionLinesVisible ( ) {
  22948. VARIANT_BOOL _result = 0;
  22949. HRESULT _hr = get_ExtensionLinesVisible(&_result);
  22950. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22951. return _result;
  22952. }
  22953. #pragma implementation_key(3498)
  22954. inline void VGCore::IVGDimension::PutExtensionLinesVisible ( VARIANT_BOOL pVal ) {
  22955. HRESULT _hr = put_ExtensionLinesVisible(pVal);
  22956. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22957. }
  22958. #pragma implementation_key(3499)
  22959. inline VARIANT_BOOL VGCore::IVGDimension::GetInnerExtensionLinesVisible ( ) {
  22960. VARIANT_BOOL _result = 0;
  22961. HRESULT _hr = get_InnerExtensionLinesVisible(&_result);
  22962. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22963. return _result;
  22964. }
  22965. #pragma implementation_key(3500)
  22966. inline void VGCore::IVGDimension::PutInnerExtensionLinesVisible ( VARIANT_BOOL pVal ) {
  22967. HRESULT _hr = put_InnerExtensionLinesVisible(pVal);
  22968. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22969. }
  22970. #pragma implementation_key(3501)
  22971. inline VARIANT_BOOL VGCore::IVGDimension::GetGapOnFreeExtensionVisible ( ) {
  22972. VARIANT_BOOL _result = 0;
  22973. HRESULT _hr = get_GapOnFreeExtensionVisible(&_result);
  22974. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22975. return _result;
  22976. }
  22977. #pragma implementation_key(3502)
  22978. inline void VGCore::IVGDimension::PutGapOnFreeExtensionVisible ( VARIANT_BOOL pVal ) {
  22979. HRESULT _hr = put_GapOnFreeExtensionVisible(pVal);
  22980. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22981. }
  22982. //
  22983. // interface IVGCommentAnnotation wrapper method implementations
  22984. //
  22985. #pragma implementation_key(3503)
  22986. inline VARIANT_BOOL VGCore::IVGCommentAnnotation::GetEndArrowVisible ( ) {
  22987. VARIANT_BOOL _result = 0;
  22988. HRESULT _hr = get_EndArrowVisible(&_result);
  22989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22990. return _result;
  22991. }
  22992. #pragma implementation_key(3504)
  22993. inline void VGCore::IVGCommentAnnotation::PutEndArrowVisible ( VARIANT_BOOL pRet ) {
  22994. HRESULT _hr = put_EndArrowVisible(pRet);
  22995. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  22996. }
  22997. #pragma implementation_key(3505)
  22998. inline VGCore::IVGCurvePtr VGCore::IVGCommentAnnotation::GetCurve ( ) {
  22999. struct IVGCurve * _result = 0;
  23000. HRESULT _hr = get_Curve(&_result);
  23001. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23002. return IVGCurvePtr(_result, false);
  23003. }
  23004. #pragma implementation_key(3506)
  23005. inline void VGCore::IVGCommentAnnotation::PutCurve ( struct IVGCurve * pRet ) {
  23006. HRESULT _hr = put_Curve(pRet);
  23007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23008. }
  23009. #pragma implementation_key(3507)
  23010. inline long VGCore::IVGCommentAnnotation::GetOutlineWidth ( ) {
  23011. long _result = 0;
  23012. HRESULT _hr = get_OutlineWidth(&_result);
  23013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23014. return _result;
  23015. }
  23016. #pragma implementation_key(3508)
  23017. inline void VGCore::IVGCommentAnnotation::PutOutlineWidth ( long pRet ) {
  23018. HRESULT _hr = put_OutlineWidth(pRet);
  23019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23020. }
  23021. #pragma implementation_key(3509)
  23022. inline VGCore::IVGColorPtr VGCore::IVGCommentAnnotation::GetFillColor ( ) {
  23023. struct IVGColor * _result = 0;
  23024. HRESULT _hr = get_FillColor(&_result);
  23025. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23026. return IVGColorPtr(_result, false);
  23027. }
  23028. #pragma implementation_key(3510)
  23029. inline void VGCore::IVGCommentAnnotation::PutFillColor ( struct IVGColor * pRet ) {
  23030. HRESULT _hr = put_FillColor(pRet);
  23031. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23032. }
  23033. #pragma implementation_key(3511)
  23034. inline VGCore::IVGColorPtr VGCore::IVGCommentAnnotation::GetOutlineColor ( ) {
  23035. struct IVGColor * _result = 0;
  23036. HRESULT _hr = get_OutlineColor(&_result);
  23037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23038. return IVGColorPtr(_result, false);
  23039. }
  23040. #pragma implementation_key(3512)
  23041. inline void VGCore::IVGCommentAnnotation::PutOutlineColor ( struct IVGColor * pRet ) {
  23042. HRESULT _hr = put_OutlineColor(pRet);
  23043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23044. }
  23045. #pragma implementation_key(3513)
  23046. inline enum VGCore::cdrCommentAnnotationType VGCore::IVGCommentAnnotation::GetType ( ) {
  23047. enum cdrCommentAnnotationType _result;
  23048. HRESULT _hr = get_Type(&_result);
  23049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23050. return _result;
  23051. }
  23052. #pragma implementation_key(3514)
  23053. inline VARIANT_BOOL VGCore::IVGCommentAnnotation::GetStartArrowVisible ( ) {
  23054. VARIANT_BOOL _result = 0;
  23055. HRESULT _hr = get_StartArrowVisible(&_result);
  23056. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23057. return _result;
  23058. }
  23059. #pragma implementation_key(3515)
  23060. inline void VGCore::IVGCommentAnnotation::PutStartArrowVisible ( VARIANT_BOOL pRet ) {
  23061. HRESULT _hr = put_StartArrowVisible(pRet);
  23062. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23063. }
  23064. #pragma implementation_key(3516)
  23065. inline HRESULT VGCore::IVGCommentAnnotation::Move ( double DeltaX, double DeltaY ) {
  23066. HRESULT _hr = raw_Move(DeltaX, DeltaY);
  23067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23068. return _hr;
  23069. }
  23070. #pragma implementation_key(3517)
  23071. inline double VGCore::IVGCommentAnnotation::GetSizeWidth ( ) {
  23072. double _result = 0;
  23073. HRESULT _hr = get_SizeWidth(&_result);
  23074. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23075. return _result;
  23076. }
  23077. #pragma implementation_key(3518)
  23078. inline void VGCore::IVGCommentAnnotation::PutSizeWidth ( double pVal ) {
  23079. HRESULT _hr = put_SizeWidth(pVal);
  23080. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23081. }
  23082. #pragma implementation_key(3519)
  23083. inline double VGCore::IVGCommentAnnotation::GetSizeHeight ( ) {
  23084. double _result = 0;
  23085. HRESULT _hr = get_SizeHeight(&_result);
  23086. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23087. return _result;
  23088. }
  23089. #pragma implementation_key(3520)
  23090. inline void VGCore::IVGCommentAnnotation::PutSizeHeight ( double pVal ) {
  23091. HRESULT _hr = put_SizeHeight(pVal);
  23092. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23093. }
  23094. #pragma implementation_key(3521)
  23095. inline double VGCore::IVGCommentAnnotation::GetLeftX ( ) {
  23096. double _result = 0;
  23097. HRESULT _hr = get_LeftX(&_result);
  23098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23099. return _result;
  23100. }
  23101. #pragma implementation_key(3522)
  23102. inline void VGCore::IVGCommentAnnotation::PutLeftX ( double pVal ) {
  23103. HRESULT _hr = put_LeftX(pVal);
  23104. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23105. }
  23106. #pragma implementation_key(3523)
  23107. inline double VGCore::IVGCommentAnnotation::GetRightX ( ) {
  23108. double _result = 0;
  23109. HRESULT _hr = get_RightX(&_result);
  23110. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23111. return _result;
  23112. }
  23113. #pragma implementation_key(3524)
  23114. inline void VGCore::IVGCommentAnnotation::PutRightX ( double pVal ) {
  23115. HRESULT _hr = put_RightX(pVal);
  23116. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23117. }
  23118. #pragma implementation_key(3525)
  23119. inline double VGCore::IVGCommentAnnotation::GetTopY ( ) {
  23120. double _result = 0;
  23121. HRESULT _hr = get_TopY(&_result);
  23122. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23123. return _result;
  23124. }
  23125. #pragma implementation_key(3526)
  23126. inline void VGCore::IVGCommentAnnotation::PutTopY ( double pVal ) {
  23127. HRESULT _hr = put_TopY(pVal);
  23128. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23129. }
  23130. #pragma implementation_key(3527)
  23131. inline double VGCore::IVGCommentAnnotation::GetBottomY ( ) {
  23132. double _result = 0;
  23133. HRESULT _hr = get_BottomY(&_result);
  23134. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23135. return _result;
  23136. }
  23137. #pragma implementation_key(3528)
  23138. inline void VGCore::IVGCommentAnnotation::PutBottomY ( double pVal ) {
  23139. HRESULT _hr = put_BottomY(pVal);
  23140. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23141. }
  23142. #pragma implementation_key(3529)
  23143. inline double VGCore::IVGCommentAnnotation::GetCenterX ( ) {
  23144. double _result = 0;
  23145. HRESULT _hr = get_CenterX(&_result);
  23146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23147. return _result;
  23148. }
  23149. #pragma implementation_key(3530)
  23150. inline void VGCore::IVGCommentAnnotation::PutCenterX ( double pVal ) {
  23151. HRESULT _hr = put_CenterX(pVal);
  23152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23153. }
  23154. #pragma implementation_key(3531)
  23155. inline double VGCore::IVGCommentAnnotation::GetCenterY ( ) {
  23156. double _result = 0;
  23157. HRESULT _hr = get_CenterY(&_result);
  23158. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23159. return _result;
  23160. }
  23161. #pragma implementation_key(3532)
  23162. inline void VGCore::IVGCommentAnnotation::PutCenterY ( double pVal ) {
  23163. HRESULT _hr = put_CenterY(pVal);
  23164. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23165. }
  23166. #pragma implementation_key(3533)
  23167. inline HRESULT VGCore::IVGCommentAnnotation::SetPosition ( enum cdrReferencePoint ReferencePoint, double x, double y ) {
  23168. HRESULT _hr = raw_SetPosition(ReferencePoint, x, y);
  23169. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23170. return _hr;
  23171. }
  23172. #pragma implementation_key(3534)
  23173. inline HRESULT VGCore::IVGCommentAnnotation::GetPosition ( enum cdrReferencePoint ReferencePoint, double * x, double * y ) {
  23174. HRESULT _hr = raw_GetPosition(ReferencePoint, x, y);
  23175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23176. return _hr;
  23177. }
  23178. #pragma implementation_key(3535)
  23179. inline HRESULT VGCore::IVGCommentAnnotation::SetSize ( enum cdrReferencePoint ReferencePoint, double Width, double Height ) {
  23180. HRESULT _hr = raw_SetSize(ReferencePoint, Width, Height);
  23181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23182. return _hr;
  23183. }
  23184. #pragma implementation_key(3536)
  23185. inline HRESULT VGCore::IVGCommentAnnotation::GetSize ( double * Width, double * Height ) {
  23186. HRESULT _hr = raw_GetSize(Width, Height);
  23187. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23188. return _hr;
  23189. }
  23190. #pragma implementation_key(3537)
  23191. inline HRESULT VGCore::IVGCommentAnnotation::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
  23192. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height);
  23193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23194. return _hr;
  23195. }
  23196. #pragma implementation_key(3538)
  23197. inline HRESULT VGCore::IVGCommentAnnotation::SetBoundingBox ( double x, double y, double Width, double Height, VARIANT_BOOL KeepAspect, enum cdrReferencePoint ReferencePoint ) {
  23198. HRESULT _hr = raw_SetBoundingBox(x, y, Width, Height, KeepAspect, ReferencePoint);
  23199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23200. return _hr;
  23201. }
  23202. //
  23203. // interface IVGColorContext wrapper method implementations
  23204. //
  23205. #pragma implementation_key(3539)
  23206. inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetRGBColorProfile ( ) {
  23207. struct IVGColorProfile * _result = 0;
  23208. HRESULT _hr = get_RGBColorProfile(&_result);
  23209. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23210. return IVGColorProfilePtr(_result, false);
  23211. }
  23212. #pragma implementation_key(3540)
  23213. inline void VGCore::IVGColorContext::PutRGBColorProfile ( struct IVGColorProfile * ppVal ) {
  23214. HRESULT _hr = put_RGBColorProfile(ppVal);
  23215. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23216. }
  23217. #pragma implementation_key(3541)
  23218. inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetCMYKColorProfile ( ) {
  23219. struct IVGColorProfile * _result = 0;
  23220. HRESULT _hr = get_CMYKColorProfile(&_result);
  23221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23222. return IVGColorProfilePtr(_result, false);
  23223. }
  23224. #pragma implementation_key(3542)
  23225. inline void VGCore::IVGColorContext::PutCMYKColorProfile ( struct IVGColorProfile * ppVal ) {
  23226. HRESULT _hr = put_CMYKColorProfile(ppVal);
  23227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23228. }
  23229. #pragma implementation_key(3543)
  23230. inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetGrayscaleColorProfile ( ) {
  23231. struct IVGColorProfile * _result = 0;
  23232. HRESULT _hr = get_GrayscaleColorProfile(&_result);
  23233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23234. return IVGColorProfilePtr(_result, false);
  23235. }
  23236. #pragma implementation_key(3544)
  23237. inline void VGCore::IVGColorContext::PutGrayscaleColorProfile ( struct IVGColorProfile * ppVal ) {
  23238. HRESULT _hr = put_GrayscaleColorProfile(ppVal);
  23239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23240. }
  23241. #pragma implementation_key(3545)
  23242. inline enum VGCore::clrRenderingIntent VGCore::IVGColorContext::GetRenderingIntent ( ) {
  23243. enum clrRenderingIntent _result;
  23244. HRESULT _hr = get_RenderingIntent(&_result);
  23245. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23246. return _result;
  23247. }
  23248. #pragma implementation_key(3546)
  23249. inline void VGCore::IVGColorContext::PutRenderingIntent ( enum clrRenderingIntent pVal ) {
  23250. HRESULT _hr = put_RenderingIntent(pVal);
  23251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23252. }
  23253. #pragma implementation_key(3547)
  23254. inline enum VGCore::clrColorModel VGCore::IVGColorContext::GetBlendingColorModel ( ) {
  23255. enum clrColorModel _result;
  23256. HRESULT _hr = get_BlendingColorModel(&_result);
  23257. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23258. return _result;
  23259. }
  23260. #pragma implementation_key(3548)
  23261. inline void VGCore::IVGColorContext::PutBlendingColorModel ( enum clrColorModel pVal ) {
  23262. HRESULT _hr = put_BlendingColorModel(pVal);
  23263. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23264. }
  23265. #pragma implementation_key(3549)
  23266. inline VGCore::IVGColorContextPtr VGCore::IVGColorContext::GetCopy ( ) {
  23267. struct IVGColorContext * _result = 0;
  23268. HRESULT _hr = raw_GetCopy(&_result);
  23269. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23270. return IVGColorContextPtr(_result, false);
  23271. }
  23272. #pragma implementation_key(3550)
  23273. inline HRESULT VGCore::IVGColorContext::CopyAssign ( struct IVGColorContext * ColorContext ) {
  23274. HRESULT _hr = raw_CopyAssign(ColorContext);
  23275. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23276. return _hr;
  23277. }
  23278. #pragma implementation_key(3551)
  23279. inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetColorProfile ( enum clrColorModel ColorModel ) {
  23280. struct IVGColorProfile * _result = 0;
  23281. HRESULT _hr = get_ColorProfile(ColorModel, &_result);
  23282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23283. return IVGColorProfilePtr(_result, false);
  23284. }
  23285. #pragma implementation_key(3552)
  23286. inline void VGCore::IVGColorContext::PutColorProfile ( enum clrColorModel ColorModel, struct IVGColorProfile * ppVal ) {
  23287. HRESULT _hr = put_ColorProfile(ColorModel, ppVal);
  23288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23289. }
  23290. #pragma implementation_key(3553)
  23291. inline VARIANT_BOOL VGCore::IVGColorContext::Merge ( struct IVGColorContext * ColorContext ) {
  23292. VARIANT_BOOL _result = 0;
  23293. HRESULT _hr = raw_Merge(ColorContext, &_result);
  23294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23295. return _result;
  23296. }
  23297. #pragma implementation_key(3554)
  23298. inline VARIANT_BOOL VGCore::IVGColorContext::IsSame ( struct IVGColorContext * ColorContext ) {
  23299. VARIANT_BOOL _result = 0;
  23300. HRESULT _hr = raw_IsSame(ColorContext, &_result);
  23301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23302. return _result;
  23303. }
  23304. #pragma implementation_key(3555)
  23305. inline VGCore::IVGColorProfilesPtr VGCore::IVGColorContext::GetColorProfiles ( ) {
  23306. struct IVGColorProfiles * _result = 0;
  23307. HRESULT _hr = get_ColorProfiles(&_result);
  23308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23309. return IVGColorProfilesPtr(_result, false);
  23310. }
  23311. #pragma implementation_key(3556)
  23312. inline VARIANT_BOOL VGCore::IVGColorContext::GetReadOnly ( ) {
  23313. VARIANT_BOOL _result = 0;
  23314. HRESULT _hr = get_ReadOnly(&_result);
  23315. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23316. return _result;
  23317. }
  23318. #pragma implementation_key(3557)
  23319. inline _bstr_t VGCore::IVGColorContext::GetColorProfileNameList ( ) {
  23320. BSTR _result = 0;
  23321. HRESULT _hr = get_ColorProfileNameList(&_result);
  23322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23323. return _bstr_t(_result, false);
  23324. }
  23325. //
  23326. // interface IVGColorProfile wrapper method implementations
  23327. //
  23328. #pragma implementation_key(3558)
  23329. inline _bstr_t VGCore::IVGColorProfile::GetName ( ) {
  23330. BSTR _result = 0;
  23331. HRESULT _hr = get_Name(&_result);
  23332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23333. return _bstr_t(_result, false);
  23334. }
  23335. #pragma implementation_key(3559)
  23336. inline _bstr_t VGCore::IVGColorProfile::GetFileName ( ) {
  23337. BSTR _result = 0;
  23338. HRESULT _hr = get_FileName(&_result);
  23339. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23340. return _bstr_t(_result, false);
  23341. }
  23342. #pragma implementation_key(3560)
  23343. inline _bstr_t VGCore::IVGColorProfile::GetManufacturer ( ) {
  23344. BSTR _result = 0;
  23345. HRESULT _hr = get_Manufacturer(&_result);
  23346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23347. return _bstr_t(_result, false);
  23348. }
  23349. #pragma implementation_key(3561)
  23350. inline _bstr_t VGCore::IVGColorProfile::GetDeviceModel ( ) {
  23351. BSTR _result = 0;
  23352. HRESULT _hr = get_DeviceModel(&_result);
  23353. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23354. return _bstr_t(_result, false);
  23355. }
  23356. #pragma implementation_key(3562)
  23357. inline enum VGCore::clrDeviceType VGCore::IVGColorProfile::GetDeviceType ( ) {
  23358. enum clrDeviceType _result;
  23359. HRESULT _hr = get_DeviceType(&_result);
  23360. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23361. return _result;
  23362. }
  23363. #pragma implementation_key(3563)
  23364. inline VARIANT_BOOL VGCore::IVGColorProfile::GetSelected ( ) {
  23365. VARIANT_BOOL _result = 0;
  23366. HRESULT _hr = get_Selected(&_result);
  23367. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23368. return _result;
  23369. }
  23370. #pragma implementation_key(3564)
  23371. inline HRESULT VGCore::IVGColorProfile::Select ( ) {
  23372. HRESULT _hr = raw_Select();
  23373. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23374. return _hr;
  23375. }
  23376. #pragma implementation_key(3565)
  23377. inline VARIANT_BOOL VGCore::IVGColorProfile::GetGeneric ( ) {
  23378. VARIANT_BOOL _result = 0;
  23379. HRESULT _hr = get_Generic(&_result);
  23380. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23381. return _result;
  23382. }
  23383. #pragma implementation_key(3566)
  23384. inline VARIANT_BOOL VGCore::IVGColorProfile::GetInstalled ( ) {
  23385. VARIANT_BOOL _result = 0;
  23386. HRESULT _hr = get_Installed(&_result);
  23387. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23388. return _result;
  23389. }
  23390. #pragma implementation_key(3567)
  23391. inline _bstr_t VGCore::IVGColorProfile::GetID ( ) {
  23392. BSTR _result = 0;
  23393. HRESULT _hr = get_ID(&_result);
  23394. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23395. return _bstr_t(_result, false);
  23396. }
  23397. #pragma implementation_key(3568)
  23398. inline enum VGCore::clrColorModel VGCore::IVGColorProfile::GetColorModel ( ) {
  23399. enum clrColorModel _result;
  23400. HRESULT _hr = get_ColorModel(&_result);
  23401. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23402. return _result;
  23403. }
  23404. #pragma implementation_key(3569)
  23405. inline VGCore::IVGColorContextPtr VGCore::IVGColorProfile::CreateColorContext ( enum clrRenderingIntent RenderingIntent ) {
  23406. struct IVGColorContext * _result = 0;
  23407. HRESULT _hr = raw_CreateColorContext(RenderingIntent, &_result);
  23408. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23409. return IVGColorContextPtr(_result, false);
  23410. }
  23411. #pragma implementation_key(3570)
  23412. inline VARIANT_BOOL VGCore::IVGColorProfile::IsSame ( struct IVGColorProfile * ColorProfile ) {
  23413. VARIANT_BOOL _result = 0;
  23414. HRESULT _hr = raw_IsSame(ColorProfile, &_result);
  23415. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23416. return _result;
  23417. }
  23418. //
  23419. // interface IVGColorProfiles wrapper method implementations
  23420. //
  23421. #pragma implementation_key(3571)
  23422. inline VGCore::IVGColorProfilePtr VGCore::IVGColorProfiles::GetItem ( const _variant_t & IndexOrName ) {
  23423. struct IVGColorProfile * _result = 0;
  23424. HRESULT _hr = get_Item(IndexOrName, &_result);
  23425. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23426. return IVGColorProfilePtr(_result, false);
  23427. }
  23428. #pragma implementation_key(3572)
  23429. inline long VGCore::IVGColorProfiles::GetCount ( ) {
  23430. long _result = 0;
  23431. HRESULT _hr = get_Count(&_result);
  23432. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23433. return _result;
  23434. }
  23435. #pragma implementation_key(3573)
  23436. inline IUnknownPtr VGCore::IVGColorProfiles::Get_NewEnum ( ) {
  23437. IUnknown * _result = 0;
  23438. HRESULT _hr = get__NewEnum(&_result);
  23439. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23440. return IUnknownPtr(_result, false);
  23441. }
  23442. #pragma implementation_key(3574)
  23443. inline enum VGCore::clrDeviceType VGCore::IVGColorProfiles::GetDeviceType ( ) {
  23444. enum clrDeviceType _result;
  23445. HRESULT _hr = get_DeviceType(&_result);
  23446. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23447. return _result;
  23448. }
  23449. #pragma implementation_key(3575)
  23450. inline VARIANT_BOOL VGCore::IVGColorProfiles::SelectByName ( _bstr_t Name ) {
  23451. VARIANT_BOOL _result = 0;
  23452. HRESULT _hr = raw_SelectByName(Name, &_result);
  23453. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23454. return _result;
  23455. }
  23456. #pragma implementation_key(3576)
  23457. inline VARIANT_BOOL VGCore::IVGColorProfiles::Install ( _bstr_t FileName ) {
  23458. VARIANT_BOOL _result = 0;
  23459. HRESULT _hr = raw_Install(FileName, &_result);
  23460. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23461. return _result;
  23462. }
  23463. #pragma implementation_key(3577)
  23464. inline VGCore::IVGColorProfilePtr VGCore::IVGColorProfiles::GetGenericProfile ( ) {
  23465. struct IVGColorProfile * _result = 0;
  23466. HRESULT _hr = get_GenericProfile(&_result);
  23467. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23468. return IVGColorProfilePtr(_result, false);
  23469. }
  23470. //
  23471. // interface IVGProofColorSettings wrapper method implementations
  23472. //
  23473. #pragma implementation_key(3578)
  23474. inline VGCore::IVGColorContextPtr VGCore::IVGProofColorSettings::GetColorContext ( ) {
  23475. struct IVGColorContext * _result = 0;
  23476. HRESULT _hr = get_ColorContext(&_result);
  23477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23478. return IVGColorContextPtr(_result, false);
  23479. }
  23480. #pragma implementation_key(3579)
  23481. inline void VGCore::IVGProofColorSettings::PutColorContext ( struct IVGColorContext * ppVal ) {
  23482. HRESULT _hr = put_ColorContext(ppVal);
  23483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23484. }
  23485. #pragma implementation_key(3580)
  23486. inline VARIANT_BOOL VGCore::IVGProofColorSettings::GetShowOutOfGamutWarning ( ) {
  23487. VARIANT_BOOL _result = 0;
  23488. HRESULT _hr = get_ShowOutOfGamutWarning(&_result);
  23489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23490. return _result;
  23491. }
  23492. #pragma implementation_key(3581)
  23493. inline void VGCore::IVGProofColorSettings::PutShowOutOfGamutWarning ( VARIANT_BOOL pVal ) {
  23494. HRESULT _hr = put_ShowOutOfGamutWarning(pVal);
  23495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23496. }
  23497. #pragma implementation_key(3582)
  23498. inline VGCore::IVGColorPtr VGCore::IVGProofColorSettings::GetOutOfGamutColor ( ) {
  23499. struct IVGColor * _result = 0;
  23500. HRESULT _hr = get_OutOfGamutColor(&_result);
  23501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23502. return IVGColorPtr(_result, false);
  23503. }
  23504. #pragma implementation_key(3583)
  23505. inline void VGCore::IVGProofColorSettings::PutOutOfGamutColor ( struct IVGColor * ppVal ) {
  23506. HRESULT _hr = put_OutOfGamutColor(ppVal);
  23507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23508. }
  23509. #pragma implementation_key(3584)
  23510. inline double VGCore::IVGProofColorSettings::GetOutOfGamutTransparency ( ) {
  23511. double _result = 0;
  23512. HRESULT _hr = get_OutOfGamutTransparency(&_result);
  23513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23514. return _result;
  23515. }
  23516. #pragma implementation_key(3585)
  23517. inline void VGCore::IVGProofColorSettings::PutOutOfGamutTransparency ( double pVal ) {
  23518. HRESULT _hr = put_OutOfGamutTransparency(pVal);
  23519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23520. }
  23521. #pragma implementation_key(3586)
  23522. inline VARIANT_BOOL VGCore::IVGProofColorSettings::GetPreserveColorValues ( ) {
  23523. VARIANT_BOOL _result = 0;
  23524. HRESULT _hr = get_PreserveColorValues(&_result);
  23525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23526. return _result;
  23527. }
  23528. #pragma implementation_key(3587)
  23529. inline void VGCore::IVGProofColorSettings::PutPreserveColorValues ( VARIANT_BOOL pVal ) {
  23530. HRESULT _hr = put_PreserveColorValues(pVal);
  23531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23532. }
  23533. #pragma implementation_key(3588)
  23534. inline VGCore::IVGProofColorSettingsPtr VGCore::IVGProofColorSettings::GetCopy ( ) {
  23535. struct IVGProofColorSettings * _result = 0;
  23536. HRESULT _hr = raw_GetCopy(&_result);
  23537. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23538. return IVGProofColorSettingsPtr(_result, false);
  23539. }
  23540. #pragma implementation_key(3589)
  23541. inline HRESULT VGCore::IVGProofColorSettings::CopyAssign ( struct IVGProofColorSettings * Source ) {
  23542. HRESULT _hr = raw_CopyAssign(Source);
  23543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23544. return _hr;
  23545. }
  23546. //
  23547. // interface IVGStructExportOptions wrapper method implementations
  23548. //
  23549. #pragma implementation_key(3590)
  23550. inline void VGCore::IVGStructExportOptions::PutSizeX ( long pVal ) {
  23551. HRESULT _hr = put_SizeX(pVal);
  23552. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23553. }
  23554. #pragma implementation_key(3591)
  23555. inline long VGCore::IVGStructExportOptions::GetSizeX ( ) {
  23556. long _result = 0;
  23557. HRESULT _hr = get_SizeX(&_result);
  23558. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23559. return _result;
  23560. }
  23561. #pragma implementation_key(3592)
  23562. inline void VGCore::IVGStructExportOptions::PutSizeY ( long pVal ) {
  23563. HRESULT _hr = put_SizeY(pVal);
  23564. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23565. }
  23566. #pragma implementation_key(3593)
  23567. inline long VGCore::IVGStructExportOptions::GetSizeY ( ) {
  23568. long _result = 0;
  23569. HRESULT _hr = get_SizeY(&_result);
  23570. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23571. return _result;
  23572. }
  23573. #pragma implementation_key(3594)
  23574. inline void VGCore::IVGStructExportOptions::PutResolutionX ( long pVal ) {
  23575. HRESULT _hr = put_ResolutionX(pVal);
  23576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23577. }
  23578. #pragma implementation_key(3595)
  23579. inline long VGCore::IVGStructExportOptions::GetResolutionX ( ) {
  23580. long _result = 0;
  23581. HRESULT _hr = get_ResolutionX(&_result);
  23582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23583. return _result;
  23584. }
  23585. #pragma implementation_key(3596)
  23586. inline void VGCore::IVGStructExportOptions::PutResolutionY ( long pVal ) {
  23587. HRESULT _hr = put_ResolutionY(pVal);
  23588. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23589. }
  23590. #pragma implementation_key(3597)
  23591. inline long VGCore::IVGStructExportOptions::GetResolutionY ( ) {
  23592. long _result = 0;
  23593. HRESULT _hr = get_ResolutionY(&_result);
  23594. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23595. return _result;
  23596. }
  23597. #pragma implementation_key(3598)
  23598. inline void VGCore::IVGStructExportOptions::PutAntiAliasingType ( enum cdrAntiAliasingType pVal ) {
  23599. HRESULT _hr = put_AntiAliasingType(pVal);
  23600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23601. }
  23602. #pragma implementation_key(3599)
  23603. inline enum VGCore::cdrAntiAliasingType VGCore::IVGStructExportOptions::GetAntiAliasingType ( ) {
  23604. enum cdrAntiAliasingType _result;
  23605. HRESULT _hr = get_AntiAliasingType(&_result);
  23606. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23607. return _result;
  23608. }
  23609. #pragma implementation_key(3600)
  23610. inline void VGCore::IVGStructExportOptions::PutOverwrite ( VARIANT_BOOL pVal ) {
  23611. HRESULT _hr = put_Overwrite(pVal);
  23612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23613. }
  23614. #pragma implementation_key(3601)
  23615. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetOverwrite ( ) {
  23616. VARIANT_BOOL _result = 0;
  23617. HRESULT _hr = get_Overwrite(&_result);
  23618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23619. return _result;
  23620. }
  23621. #pragma implementation_key(3602)
  23622. inline void VGCore::IVGStructExportOptions::PutImageType ( enum cdrImageType pVal ) {
  23623. HRESULT _hr = put_ImageType(pVal);
  23624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23625. }
  23626. #pragma implementation_key(3603)
  23627. inline enum VGCore::cdrImageType VGCore::IVGStructExportOptions::GetImageType ( ) {
  23628. enum cdrImageType _result;
  23629. HRESULT _hr = get_ImageType(&_result);
  23630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23631. return _result;
  23632. }
  23633. #pragma implementation_key(3604)
  23634. inline void VGCore::IVGStructExportOptions::PutDithered ( VARIANT_BOOL pVal ) {
  23635. HRESULT _hr = put_Dithered(pVal);
  23636. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23637. }
  23638. #pragma implementation_key(3605)
  23639. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetDithered ( ) {
  23640. VARIANT_BOOL _result = 0;
  23641. HRESULT _hr = get_Dithered(&_result);
  23642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23643. return _result;
  23644. }
  23645. #pragma implementation_key(3606)
  23646. inline void VGCore::IVGStructExportOptions::PutTransparent ( VARIANT_BOOL pVal ) {
  23647. HRESULT _hr = put_Transparent(pVal);
  23648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23649. }
  23650. #pragma implementation_key(3607)
  23651. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetTransparent ( ) {
  23652. VARIANT_BOOL _result = 0;
  23653. HRESULT _hr = get_Transparent(&_result);
  23654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23655. return _result;
  23656. }
  23657. #pragma implementation_key(3608)
  23658. inline void VGCore::IVGStructExportOptions::PutUseColorProfile ( VARIANT_BOOL pVal ) {
  23659. HRESULT _hr = put_UseColorProfile(pVal);
  23660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23661. }
  23662. #pragma implementation_key(3609)
  23663. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetUseColorProfile ( ) {
  23664. VARIANT_BOOL _result = 0;
  23665. HRESULT _hr = get_UseColorProfile(&_result);
  23666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23667. return _result;
  23668. }
  23669. #pragma implementation_key(3610)
  23670. inline void VGCore::IVGStructExportOptions::PutCompression ( enum cdrCompressionType pVal ) {
  23671. HRESULT _hr = put_Compression(pVal);
  23672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23673. }
  23674. #pragma implementation_key(3611)
  23675. inline enum VGCore::cdrCompressionType VGCore::IVGStructExportOptions::GetCompression ( ) {
  23676. enum cdrCompressionType _result;
  23677. HRESULT _hr = get_Compression(&_result);
  23678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23679. return _result;
  23680. }
  23681. #pragma implementation_key(3612)
  23682. inline void VGCore::IVGStructExportOptions::PutMaintainLayers ( VARIANT_BOOL pVal ) {
  23683. HRESULT _hr = put_MaintainLayers(pVal);
  23684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23685. }
  23686. #pragma implementation_key(3613)
  23687. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMaintainLayers ( ) {
  23688. VARIANT_BOOL _result = 0;
  23689. HRESULT _hr = get_MaintainLayers(&_result);
  23690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23691. return _result;
  23692. }
  23693. #pragma implementation_key(3614)
  23694. inline void VGCore::IVGStructExportOptions::PutMaintainAspect ( VARIANT_BOOL pVal ) {
  23695. HRESULT _hr = put_MaintainAspect(pVal);
  23696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23697. }
  23698. #pragma implementation_key(3615)
  23699. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMaintainAspect ( ) {
  23700. VARIANT_BOOL _result = 0;
  23701. HRESULT _hr = get_MaintainAspect(&_result);
  23702. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23703. return _result;
  23704. }
  23705. #pragma implementation_key(3616)
  23706. inline VGCore::IVGRectPtr VGCore::IVGStructExportOptions::GetExportArea ( ) {
  23707. struct IVGRect * _result = 0;
  23708. HRESULT _hr = get_ExportArea(&_result);
  23709. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23710. return IVGRectPtr(_result, false);
  23711. }
  23712. #pragma implementation_key(3617)
  23713. inline void VGCore::IVGStructExportOptions::PutRefExportArea ( struct IVGRect * * ppVal ) {
  23714. HRESULT _hr = putref_ExportArea(ppVal);
  23715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23716. }
  23717. #pragma implementation_key(3618)
  23718. inline void VGCore::IVGStructExportOptions::PutMatted ( VARIANT_BOOL pVal ) {
  23719. HRESULT _hr = put_Matted(pVal);
  23720. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23721. }
  23722. #pragma implementation_key(3619)
  23723. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMatted ( ) {
  23724. VARIANT_BOOL _result = 0;
  23725. HRESULT _hr = get_Matted(&_result);
  23726. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23727. return _result;
  23728. }
  23729. #pragma implementation_key(3620)
  23730. inline VGCore::IVGColorPtr VGCore::IVGStructExportOptions::GetMatteColor ( ) {
  23731. struct IVGColor * _result = 0;
  23732. HRESULT _hr = get_MatteColor(&_result);
  23733. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23734. return IVGColorPtr(_result, false);
  23735. }
  23736. #pragma implementation_key(3621)
  23737. inline void VGCore::IVGStructExportOptions::PutMatteColor ( struct IVGColor * ppVal ) {
  23738. HRESULT _hr = put_MatteColor(ppVal);
  23739. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23740. }
  23741. #pragma implementation_key(3622)
  23742. inline void VGCore::IVGStructExportOptions::PutMatteMaskedOnly ( VARIANT_BOOL pVal ) {
  23743. HRESULT _hr = put_MatteMaskedOnly(pVal);
  23744. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23745. }
  23746. #pragma implementation_key(3623)
  23747. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMatteMaskedOnly ( ) {
  23748. VARIANT_BOOL _result = 0;
  23749. HRESULT _hr = get_MatteMaskedOnly(&_result);
  23750. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23751. return _result;
  23752. }
  23753. #pragma implementation_key(3624)
  23754. inline void VGCore::IVGStructExportOptions::PutAlwaysOverprintBlack ( VARIANT_BOOL pVal ) {
  23755. HRESULT _hr = put_AlwaysOverprintBlack(pVal);
  23756. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23757. }
  23758. #pragma implementation_key(3625)
  23759. inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetAlwaysOverprintBlack ( ) {
  23760. VARIANT_BOOL _result = 0;
  23761. HRESULT _hr = get_AlwaysOverprintBlack(&_result);
  23762. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23763. return _result;
  23764. }
  23765. #pragma implementation_key(3626)
  23766. inline VGCore::IVGProofColorSettingsPtr VGCore::IVGStructExportOptions::GetProofColorSettings ( ) {
  23767. struct IVGProofColorSettings * _result = 0;
  23768. HRESULT _hr = get_ProofColorSettings(&_result);
  23769. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23770. return IVGProofColorSettingsPtr(_result, false);
  23771. }
  23772. #pragma implementation_key(3627)
  23773. inline void VGCore::IVGStructExportOptions::PutProofColorSettings ( struct IVGProofColorSettings * ppVal ) {
  23774. HRESULT _hr = put_ProofColorSettings(ppVal);
  23775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23776. }
  23777. //
  23778. // interface IVGColorManager wrapper method implementations
  23779. //
  23780. #pragma implementation_key(3628)
  23781. inline VARIANT_BOOL VGCore::IVGColorManager::GetScannerCalibrated ( ) {
  23782. VARIANT_BOOL _result = 0;
  23783. HRESULT _hr = get_ScannerCalibrated(&_result);
  23784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23785. return _result;
  23786. }
  23787. #pragma implementation_key(3629)
  23788. inline void VGCore::IVGColorManager::PutScannerCalibrated ( VARIANT_BOOL pVal ) {
  23789. HRESULT _hr = put_ScannerCalibrated(pVal);
  23790. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23791. }
  23792. #pragma implementation_key(3630)
  23793. inline VARIANT_BOOL VGCore::IVGColorManager::GetSeparationPrinterCalibrated ( ) {
  23794. VARIANT_BOOL _result = 0;
  23795. HRESULT _hr = get_SeparationPrinterCalibrated(&_result);
  23796. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23797. return _result;
  23798. }
  23799. #pragma implementation_key(3631)
  23800. inline void VGCore::IVGColorManager::PutSeparationPrinterCalibrated ( VARIANT_BOOL pVal ) {
  23801. HRESULT _hr = put_SeparationPrinterCalibrated(pVal);
  23802. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23803. }
  23804. #pragma implementation_key(3632)
  23805. inline VARIANT_BOOL VGCore::IVGColorManager::GetCompositePrinterCalibrated ( ) {
  23806. VARIANT_BOOL _result = 0;
  23807. HRESULT _hr = get_CompositePrinterCalibrated(&_result);
  23808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23809. return _result;
  23810. }
  23811. #pragma implementation_key(3633)
  23812. inline enum VGCore::clrCompPrnCalibration VGCore::IVGColorManager::GetCompositePrinterCalibration ( ) {
  23813. enum clrCompPrnCalibration _result;
  23814. HRESULT _hr = get_CompositePrinterCalibration(&_result);
  23815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23816. return _result;
  23817. }
  23818. #pragma implementation_key(3634)
  23819. inline void VGCore::IVGColorManager::PutCompositePrinterCalibration ( enum clrCompPrnCalibration pVal ) {
  23820. HRESULT _hr = put_CompositePrinterCalibration(pVal);
  23821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23822. }
  23823. #pragma implementation_key(3635)
  23824. inline enum VGCore::clrMonitorCalibration VGCore::IVGColorManager::GetMonitorCalibration ( ) {
  23825. enum clrMonitorCalibration _result;
  23826. HRESULT _hr = get_MonitorCalibration(&_result);
  23827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23828. return _result;
  23829. }
  23830. #pragma implementation_key(3636)
  23831. inline void VGCore::IVGColorManager::PutMonitorCalibration ( enum clrMonitorCalibration pVal ) {
  23832. HRESULT _hr = put_MonitorCalibration(pVal);
  23833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23834. }
  23835. #pragma implementation_key(3637)
  23836. inline VARIANT_BOOL VGCore::IVGColorManager::GetCompositePrinterSimulatesSeparation ( ) {
  23837. VARIANT_BOOL _result = 0;
  23838. HRESULT _hr = get_CompositePrinterSimulatesSeparation(&_result);
  23839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23840. return _result;
  23841. }
  23842. #pragma implementation_key(3638)
  23843. inline VARIANT_BOOL VGCore::IVGColorManager::GetShowOutOfGamut ( ) {
  23844. VARIANT_BOOL _result = 0;
  23845. HRESULT _hr = get_ShowOutOfGamut(&_result);
  23846. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23847. return _result;
  23848. }
  23849. #pragma implementation_key(3639)
  23850. inline void VGCore::IVGColorManager::PutShowOutOfGamut ( VARIANT_BOOL pVal ) {
  23851. HRESULT _hr = put_ShowOutOfGamut(pVal);
  23852. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23853. }
  23854. #pragma implementation_key(3640)
  23855. inline VGCore::IVGColorPtr VGCore::IVGColorManager::GetOutOfGamutColor ( ) {
  23856. struct IVGColor * _result = 0;
  23857. HRESULT _hr = get_OutOfGamutColor(&_result);
  23858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23859. return IVGColorPtr(_result, false);
  23860. }
  23861. #pragma implementation_key(3641)
  23862. inline void VGCore::IVGColorManager::PutOutOfGamutColor ( struct IVGColor * ppVal ) {
  23863. HRESULT _hr = put_OutOfGamutColor(ppVal);
  23864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23865. }
  23866. #pragma implementation_key(3642)
  23867. inline long VGCore::IVGColorManager::GetOutOfGamutTransparency ( ) {
  23868. long _result = 0;
  23869. HRESULT _hr = get_OutOfGamutTransparency(&_result);
  23870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23871. return _result;
  23872. }
  23873. #pragma implementation_key(3643)
  23874. inline void VGCore::IVGColorManager::PutOutOfGamutTransparency ( long pVal ) {
  23875. HRESULT _hr = put_OutOfGamutTransparency(pVal);
  23876. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23877. }
  23878. #pragma implementation_key(3644)
  23879. inline VARIANT_BOOL VGCore::IVGColorManager::GetCMYKInPercents ( ) {
  23880. VARIANT_BOOL _result = 0;
  23881. HRESULT _hr = get_CMYKInPercents(&_result);
  23882. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23883. return _result;
  23884. }
  23885. #pragma implementation_key(3645)
  23886. inline void VGCore::IVGColorManager::PutCMYKInPercents ( VARIANT_BOOL pVal ) {
  23887. HRESULT _hr = put_CMYKInPercents(pVal);
  23888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23889. }
  23890. #pragma implementation_key(3646)
  23891. inline VARIANT_BOOL VGCore::IVGColorManager::GetCMYKGamutForSpotColors ( ) {
  23892. VARIANT_BOOL _result = 0;
  23893. HRESULT _hr = get_CMYKGamutForSpotColors(&_result);
  23894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23895. return _result;
  23896. }
  23897. #pragma implementation_key(3647)
  23898. inline void VGCore::IVGColorManager::PutCMYKGamutForSpotColors ( VARIANT_BOOL pVal ) {
  23899. HRESULT _hr = put_CMYKGamutForSpotColors(pVal);
  23900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23901. }
  23902. #pragma implementation_key(3648)
  23903. inline enum VGCore::clrRenderingIntent VGCore::IVGColorManager::GetRenderingIntent ( ) {
  23904. enum clrRenderingIntent _result;
  23905. HRESULT _hr = get_RenderingIntent(&_result);
  23906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23907. return _result;
  23908. }
  23909. #pragma implementation_key(3649)
  23910. inline void VGCore::IVGColorManager::PutRenderingIntent ( enum clrRenderingIntent pVal ) {
  23911. HRESULT _hr = put_RenderingIntent(pVal);
  23912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23913. }
  23914. #pragma implementation_key(3650)
  23915. inline enum VGCore::clrColorEngine VGCore::IVGColorManager::GetColorEngine ( ) {
  23916. enum clrColorEngine _result;
  23917. HRESULT _hr = get_ColorEngine(&_result);
  23918. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23919. return _result;
  23920. }
  23921. #pragma implementation_key(3651)
  23922. inline void VGCore::IVGColorManager::PutColorEngine ( enum clrColorEngine pVal ) {
  23923. HRESULT _hr = put_ColorEngine(pVal);
  23924. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23925. }
  23926. #pragma implementation_key(3652)
  23927. inline long VGCore::IVGColorManager::GetStyleCount ( ) {
  23928. long _result = 0;
  23929. HRESULT _hr = get_StyleCount(&_result);
  23930. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23931. return _result;
  23932. }
  23933. #pragma implementation_key(3653)
  23934. inline _bstr_t VGCore::IVGColorManager::GetStyleByIndex ( long Index ) {
  23935. BSTR _result = 0;
  23936. HRESULT _hr = get_StyleByIndex(Index, &_result);
  23937. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23938. return _bstr_t(_result, false);
  23939. }
  23940. #pragma implementation_key(3654)
  23941. inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetCurrentProfile ( enum clrDeviceType DeviceType ) {
  23942. struct IVGColorProfile * _result = 0;
  23943. HRESULT _hr = get_CurrentProfile(DeviceType, &_result);
  23944. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23945. return IVGColorProfilePtr(_result, false);
  23946. }
  23947. #pragma implementation_key(3655)
  23948. inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetInstalledProfiles ( enum clrDeviceType DeviceType ) {
  23949. struct IVGColorProfiles * _result = 0;
  23950. HRESULT _hr = get_InstalledProfiles(DeviceType, &_result);
  23951. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23952. return IVGColorProfilesPtr(_result, false);
  23953. }
  23954. #pragma implementation_key(3656)
  23955. inline VARIANT_BOOL VGCore::IVGColorManager::LoadStyle ( _bstr_t StyleName ) {
  23956. VARIANT_BOOL _result = 0;
  23957. HRESULT _hr = raw_LoadStyle(StyleName, &_result);
  23958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23959. return _result;
  23960. }
  23961. #pragma implementation_key(3657)
  23962. inline VARIANT_BOOL VGCore::IVGColorManager::DeleteStyle ( _bstr_t StyleName ) {
  23963. VARIANT_BOOL _result = 0;
  23964. HRESULT _hr = raw_DeleteStyle(StyleName, &_result);
  23965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23966. return _result;
  23967. }
  23968. #pragma implementation_key(3658)
  23969. inline VARIANT_BOOL VGCore::IVGColorManager::SaveStyle ( _bstr_t StyleName ) {
  23970. VARIANT_BOOL _result = 0;
  23971. HRESULT _hr = raw_SaveStyle(StyleName, &_result);
  23972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23973. return _result;
  23974. }
  23975. #pragma implementation_key(3659)
  23976. inline VARIANT_BOOL VGCore::IVGColorManager::GetIsICM2Available ( ) {
  23977. VARIANT_BOOL _result = 0;
  23978. HRESULT _hr = get_IsICM2Available(&_result);
  23979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23980. return _result;
  23981. }
  23982. #pragma implementation_key(3660)
  23983. inline _bstr_t VGCore::IVGColorManager::GetUnsavedStyleName ( ) {
  23984. BSTR _result = 0;
  23985. HRESULT _hr = get_UnsavedStyleName(&_result);
  23986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23987. return _bstr_t(_result, false);
  23988. }
  23989. #pragma implementation_key(3661)
  23990. inline _bstr_t VGCore::IVGColorManager::GetGenericProfileName ( enum clrDeviceType DeviceType ) {
  23991. BSTR _result = 0;
  23992. HRESULT _hr = get_GenericProfileName(DeviceType, &_result);
  23993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  23994. return _bstr_t(_result, false);
  23995. }
  23996. #pragma implementation_key(3662)
  23997. inline VARIANT_BOOL VGCore::IVGColorManager::GetIsCompositePrinterCMYK ( ) {
  23998. VARIANT_BOOL _result = 0;
  23999. HRESULT _hr = get_IsCompositePrinterCMYK(&_result);
  24000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24001. return _result;
  24002. }
  24003. #pragma implementation_key(3663)
  24004. inline enum VGCore::clrImportColorCorrection VGCore::IVGColorManager::GetColorCorrectionOnImport ( ) {
  24005. enum clrImportColorCorrection _result;
  24006. HRESULT _hr = get_ColorCorrectionOnImport(&_result);
  24007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24008. return _result;
  24009. }
  24010. #pragma implementation_key(3664)
  24011. inline void VGCore::IVGColorManager::PutColorCorrectionOnImport ( enum clrImportColorCorrection pVal ) {
  24012. HRESULT _hr = put_ColorCorrectionOnImport(pVal);
  24013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24014. }
  24015. #pragma implementation_key(3665)
  24016. inline enum VGCore::clrExportColorCorrection VGCore::IVGColorManager::GetColorCorrectionOnExport ( ) {
  24017. enum clrExportColorCorrection _result;
  24018. HRESULT _hr = get_ColorCorrectionOnExport(&_result);
  24019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24020. return _result;
  24021. }
  24022. #pragma implementation_key(3666)
  24023. inline void VGCore::IVGColorManager::PutColorCorrectionOnExport ( enum clrExportColorCorrection pVal ) {
  24024. HRESULT _hr = put_ColorCorrectionOnExport(pVal);
  24025. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24026. }
  24027. #pragma implementation_key(3667)
  24028. inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetDefaultImportProfile ( ) {
  24029. struct IVGColorProfile * _result = 0;
  24030. HRESULT _hr = get_DefaultImportProfile(&_result);
  24031. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24032. return IVGColorProfilePtr(_result, false);
  24033. }
  24034. #pragma implementation_key(3668)
  24035. inline void VGCore::IVGColorManager::PutRefDefaultImportProfile ( struct IVGColorProfile * * ppVal ) {
  24036. HRESULT _hr = putref_DefaultImportProfile(ppVal);
  24037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24038. }
  24039. #pragma implementation_key(3669)
  24040. inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetCustomImportProfile ( ) {
  24041. struct IVGColorProfile * _result = 0;
  24042. HRESULT _hr = get_CustomImportProfile(&_result);
  24043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24044. return IVGColorProfilePtr(_result, false);
  24045. }
  24046. #pragma implementation_key(3670)
  24047. inline void VGCore::IVGColorManager::PutRefCustomImportProfile ( struct IVGColorProfile * * ppVal ) {
  24048. HRESULT _hr = putref_CustomImportProfile(ppVal);
  24049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24050. }
  24051. #pragma implementation_key(3671)
  24052. inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetCustomExportProfile ( ) {
  24053. struct IVGColorProfile * _result = 0;
  24054. HRESULT _hr = get_CustomExportProfile(&_result);
  24055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24056. return IVGColorProfilePtr(_result, false);
  24057. }
  24058. #pragma implementation_key(3672)
  24059. inline void VGCore::IVGColorManager::PutRefCustomExportProfile ( struct IVGColorProfile * * ppVal ) {
  24060. HRESULT _hr = putref_CustomExportProfile(ppVal);
  24061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24062. }
  24063. #pragma implementation_key(3673)
  24064. inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetMonitorColorProfiles ( ) {
  24065. struct IVGColorProfiles * _result = 0;
  24066. HRESULT _hr = get_MonitorColorProfiles(&_result);
  24067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24068. return IVGColorProfilesPtr(_result, false);
  24069. }
  24070. #pragma implementation_key(3674)
  24071. inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetProfilesByColorModel ( enum clrColorModel ColorModel ) {
  24072. struct IVGColorProfiles * _result = 0;
  24073. HRESULT _hr = raw_GetProfilesByColorModel(ColorModel, &_result);
  24074. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24075. return IVGColorProfilesPtr(_result, false);
  24076. }
  24077. #pragma implementation_key(3675)
  24078. inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetProfilesForDevice ( enum clrDeviceType DeviceType, _bstr_t DeviceName ) {
  24079. struct IVGColorProfiles * _result = 0;
  24080. HRESULT _hr = raw_GetProfilesForDevice(DeviceType, DeviceName, &_result);
  24081. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24082. return IVGColorProfilesPtr(_result, false);
  24083. }
  24084. #pragma implementation_key(3676)
  24085. inline VGCore::IVGColorContextPtr VGCore::IVGColorManager::GetDefaultColorContext ( ) {
  24086. struct IVGColorContext * _result = 0;
  24087. HRESULT _hr = get_DefaultColorContext(&_result);
  24088. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24089. return IVGColorContextPtr(_result, false);
  24090. }
  24091. #pragma implementation_key(3677)
  24092. inline VARIANT_BOOL VGCore::IVGColorManager::ColorEnginePresent ( enum clrColorEngine ColorEngine ) {
  24093. VARIANT_BOOL _result = 0;
  24094. HRESULT _hr = raw_ColorEnginePresent(ColorEngine, &_result);
  24095. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24096. return _result;
  24097. }
  24098. #pragma implementation_key(3678)
  24099. inline VARIANT_BOOL VGCore::IVGColorManager::CanDeleteStyle ( _bstr_t StyleName ) {
  24100. VARIANT_BOOL _result = 0;
  24101. HRESULT _hr = raw_CanDeleteStyle(StyleName, &_result);
  24102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24103. return _result;
  24104. }
  24105. #pragma implementation_key(3679)
  24106. inline VARIANT_BOOL VGCore::IVGColorManager::GetMapGrayToCMYKBlack ( ) {
  24107. VARIANT_BOOL _result = 0;
  24108. HRESULT _hr = get_MapGrayToCMYKBlack(&_result);
  24109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24110. return _result;
  24111. }
  24112. #pragma implementation_key(3680)
  24113. inline void VGCore::IVGColorManager::PutMapGrayToCMYKBlack ( VARIANT_BOOL pVal ) {
  24114. HRESULT _hr = put_MapGrayToCMYKBlack(pVal);
  24115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24116. }
  24117. #pragma implementation_key(3681)
  24118. inline VARIANT_BOOL VGCore::IVGColorManager::GetPreservePureBlack ( ) {
  24119. VARIANT_BOOL _result = 0;
  24120. HRESULT _hr = get_PreservePureBlack(&_result);
  24121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24122. return _result;
  24123. }
  24124. #pragma implementation_key(3682)
  24125. inline void VGCore::IVGColorManager::PutPreservePureBlack ( VARIANT_BOOL pVal ) {
  24126. HRESULT _hr = put_PreservePureBlack(pVal);
  24127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24128. }
  24129. #pragma implementation_key(3683)
  24130. inline enum VGCore::clrColorModel VGCore::IVGColorManager::GetSpotColorDefinition ( ) {
  24131. enum clrColorModel _result;
  24132. HRESULT _hr = get_SpotColorDefinition(&_result);
  24133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24134. return _result;
  24135. }
  24136. #pragma implementation_key(3684)
  24137. inline void VGCore::IVGColorManager::PutSpotColorDefinition ( enum clrColorModel pVal ) {
  24138. HRESULT _hr = put_SpotColorDefinition(pVal);
  24139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24140. }
  24141. #pragma implementation_key(3685)
  24142. inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetColorProfiles ( ) {
  24143. struct IVGColorProfiles * _result = 0;
  24144. HRESULT _hr = get_ColorProfiles(&_result);
  24145. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24146. return IVGColorProfilesPtr(_result, false);
  24147. }
  24148. #pragma implementation_key(3686)
  24149. inline VGCore::IVGColorManagementPolicyPtr VGCore::IVGColorManager::GetPolicyForOpen ( ) {
  24150. struct IVGColorManagementPolicy * _result = 0;
  24151. HRESULT _hr = get_PolicyForOpen(&_result);
  24152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24153. return IVGColorManagementPolicyPtr(_result, false);
  24154. }
  24155. #pragma implementation_key(3687)
  24156. inline VGCore::IVGColorManagementPolicyPtr VGCore::IVGColorManager::GetPolicyForImport ( ) {
  24157. struct IVGColorManagementPolicy * _result = 0;
  24158. HRESULT _hr = get_PolicyForImport(&_result);
  24159. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24160. return IVGColorManagementPolicyPtr(_result, false);
  24161. }
  24162. //
  24163. // interface IVGStructCreateOptions wrapper method implementations
  24164. //
  24165. #pragma implementation_key(3688)
  24166. inline VGCore::IVGColorContextPtr VGCore::IVGStructCreateOptions::GetColorContext ( ) {
  24167. struct IVGColorContext * _result = 0;
  24168. HRESULT _hr = get_ColorContext(&_result);
  24169. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24170. return IVGColorContextPtr(_result, false);
  24171. }
  24172. #pragma implementation_key(3689)
  24173. inline void VGCore::IVGStructCreateOptions::PutColorContext ( struct IVGColorContext * ppVal ) {
  24174. HRESULT _hr = put_ColorContext(ppVal);
  24175. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24176. }
  24177. #pragma implementation_key(3690)
  24178. inline _bstr_t VGCore::IVGStructCreateOptions::GetName ( ) {
  24179. BSTR _result = 0;
  24180. HRESULT _hr = get_Name(&_result);
  24181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24182. return _bstr_t(_result, false);
  24183. }
  24184. #pragma implementation_key(3691)
  24185. inline void VGCore::IVGStructCreateOptions::PutName ( _bstr_t pVal ) {
  24186. HRESULT _hr = put_Name(pVal);
  24187. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24188. }
  24189. #pragma implementation_key(3692)
  24190. inline double VGCore::IVGStructCreateOptions::GetPageWidth ( ) {
  24191. double _result = 0;
  24192. HRESULT _hr = get_PageWidth(&_result);
  24193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24194. return _result;
  24195. }
  24196. #pragma implementation_key(3693)
  24197. inline void VGCore::IVGStructCreateOptions::PutPageWidth ( double pVal ) {
  24198. HRESULT _hr = put_PageWidth(pVal);
  24199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24200. }
  24201. #pragma implementation_key(3694)
  24202. inline double VGCore::IVGStructCreateOptions::GetPageHeight ( ) {
  24203. double _result = 0;
  24204. HRESULT _hr = get_PageHeight(&_result);
  24205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24206. return _result;
  24207. }
  24208. #pragma implementation_key(3695)
  24209. inline void VGCore::IVGStructCreateOptions::PutPageHeight ( double pVal ) {
  24210. HRESULT _hr = put_PageHeight(pVal);
  24211. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24212. }
  24213. #pragma implementation_key(3696)
  24214. inline enum VGCore::cdrUnit VGCore::IVGStructCreateOptions::GetUnits ( ) {
  24215. enum cdrUnit _result;
  24216. HRESULT _hr = get_Units(&_result);
  24217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24218. return _result;
  24219. }
  24220. #pragma implementation_key(3697)
  24221. inline void VGCore::IVGStructCreateOptions::PutUnits ( enum cdrUnit pVal ) {
  24222. HRESULT _hr = put_Units(pVal);
  24223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24224. }
  24225. #pragma implementation_key(3698)
  24226. inline double VGCore::IVGStructCreateOptions::GetResolution ( ) {
  24227. double _result = 0;
  24228. HRESULT _hr = get_Resolution(&_result);
  24229. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24230. return _result;
  24231. }
  24232. #pragma implementation_key(3699)
  24233. inline void VGCore::IVGStructCreateOptions::PutResolution ( double pVal ) {
  24234. HRESULT _hr = put_Resolution(pVal);
  24235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24236. }
  24237. //
  24238. // interface IVGPalette wrapper method implementations
  24239. //
  24240. #pragma implementation_key(3700)
  24241. inline IDispatchPtr VGCore::IVGPalette::GetApplication ( ) {
  24242. IDispatch * _result = 0;
  24243. HRESULT _hr = get_Application(&_result);
  24244. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24245. return IDispatchPtr(_result, false);
  24246. }
  24247. #pragma implementation_key(3701)
  24248. inline IDispatchPtr VGCore::IVGPalette::GetParent ( ) {
  24249. IDispatch * _result = 0;
  24250. HRESULT _hr = get_Parent(&_result);
  24251. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24252. return IDispatchPtr(_result, false);
  24253. }
  24254. #pragma implementation_key(3702)
  24255. inline _bstr_t VGCore::IVGPalette::GetName ( ) {
  24256. BSTR _result = 0;
  24257. HRESULT _hr = get_Name(&_result);
  24258. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24259. return _bstr_t(_result, false);
  24260. }
  24261. #pragma implementation_key(3703)
  24262. inline void VGCore::IVGPalette::PutName ( _bstr_t Name ) {
  24263. HRESULT _hr = put_Name(Name);
  24264. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24265. }
  24266. #pragma implementation_key(3704)
  24267. inline HRESULT VGCore::IVGPalette::Close ( ) {
  24268. HRESULT _hr = raw_Close();
  24269. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24270. return _hr;
  24271. }
  24272. #pragma implementation_key(3705)
  24273. inline enum VGCore::cdrPaletteType VGCore::IVGPalette::GetType ( ) {
  24274. enum cdrPaletteType _result;
  24275. HRESULT _hr = get_Type(&_result);
  24276. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24277. return _result;
  24278. }
  24279. #pragma implementation_key(3706)
  24280. inline VGCore::IVGColorsPtr VGCore::IVGPalette::Colors ( ) {
  24281. struct IVGColors * _result = 0;
  24282. HRESULT _hr = raw_Colors(&_result);
  24283. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24284. return IVGColorsPtr(_result, false);
  24285. }
  24286. #pragma implementation_key(3707)
  24287. inline VGCore::IVGColorPtr VGCore::IVGPalette::GetColor ( long Index ) {
  24288. struct IVGColor * _result = 0;
  24289. HRESULT _hr = get_Color(Index, &_result);
  24290. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24291. return IVGColorPtr(_result, false);
  24292. }
  24293. #pragma implementation_key(3708)
  24294. inline void VGCore::IVGPalette::PutColor ( long Index, struct IVGColor * Color ) {
  24295. HRESULT _hr = put_Color(Index, Color);
  24296. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24297. }
  24298. #pragma implementation_key(3709)
  24299. inline HRESULT VGCore::IVGPalette::AddColor ( struct IVGColor * Color ) {
  24300. HRESULT _hr = raw_AddColor(Color);
  24301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24302. return _hr;
  24303. }
  24304. #pragma implementation_key(3710)
  24305. inline HRESULT VGCore::IVGPalette::InsertColor ( long Index, struct IVGColor * Color ) {
  24306. HRESULT _hr = raw_InsertColor(Index, Color);
  24307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24308. return _hr;
  24309. }
  24310. #pragma implementation_key(3711)
  24311. inline HRESULT VGCore::IVGPalette::RemoveColor ( long Index ) {
  24312. HRESULT _hr = raw_RemoveColor(Index);
  24313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24314. return _hr;
  24315. }
  24316. #pragma implementation_key(3712)
  24317. inline long VGCore::IVGPalette::GetIndexOfColor ( struct IVGColor * Color ) {
  24318. long _result = 0;
  24319. HRESULT _hr = raw_GetIndexOfColor(Color, &_result);
  24320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24321. return _result;
  24322. }
  24323. #pragma implementation_key(3713)
  24324. inline VARIANT_BOOL VGCore::IVGPalette::GetDuplicatePresent ( ) {
  24325. VARIANT_BOOL _result = 0;
  24326. HRESULT _hr = get_DuplicatePresent(&_result);
  24327. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24328. return _result;
  24329. }
  24330. #pragma implementation_key(3714)
  24331. inline long VGCore::IVGPalette::GetColorCount ( ) {
  24332. long _result = 0;
  24333. HRESULT _hr = get_ColorCount(&_result);
  24334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24335. return _result;
  24336. }
  24337. #pragma implementation_key(3715)
  24338. inline HRESULT VGCore::IVGPalette::Save ( ) {
  24339. HRESULT _hr = raw_Save();
  24340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24341. return _hr;
  24342. }
  24343. #pragma implementation_key(3716)
  24344. inline enum VGCore::cdrPaletteID VGCore::IVGPalette::GetPaletteID ( ) {
  24345. enum cdrPaletteID _result;
  24346. HRESULT _hr = get_PaletteID(&_result);
  24347. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24348. return _result;
  24349. }
  24350. #pragma implementation_key(3717)
  24351. inline _bstr_t VGCore::IVGPalette::GetFileName ( ) {
  24352. BSTR _result = 0;
  24353. HRESULT _hr = get_FileName(&_result);
  24354. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24355. return _bstr_t(_result, false);
  24356. }
  24357. #pragma implementation_key(3718)
  24358. inline long VGCore::IVGPalette::MatchColor ( struct IVGColor * Color ) {
  24359. long _result = 0;
  24360. HRESULT _hr = raw_MatchColor(Color, &_result);
  24361. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24362. return _result;
  24363. }
  24364. #pragma implementation_key(3719)
  24365. inline long VGCore::IVGPalette::FindColor ( _bstr_t Name ) {
  24366. long _result = 0;
  24367. HRESULT _hr = raw_FindColor(Name, &_result);
  24368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24369. return _result;
  24370. }
  24371. #pragma implementation_key(3720)
  24372. inline HRESULT VGCore::IVGPalette::SaveAs ( _bstr_t FileName, _bstr_t Name, enum cdrPaletteVersion Version ) {
  24373. HRESULT _hr = raw_SaveAs(FileName, Name, Version);
  24374. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24375. return _hr;
  24376. }
  24377. #pragma implementation_key(3721)
  24378. inline VGCore::IVGDocumentPtr VGCore::IVGPalette::GetDocument ( ) {
  24379. struct IVGDocument * _result = 0;
  24380. HRESULT _hr = get_Document(&_result);
  24381. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24382. return IVGDocumentPtr(_result, false);
  24383. }
  24384. #pragma implementation_key(3722)
  24385. inline _bstr_t VGCore::IVGPalette::GetIdentifier ( ) {
  24386. BSTR _result = 0;
  24387. HRESULT _hr = get_Identifier(&_result);
  24388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24389. return _bstr_t(_result, false);
  24390. }
  24391. #pragma implementation_key(3723)
  24392. inline VARIANT_BOOL VGCore::IVGPalette::GetIsEmpty ( ) {
  24393. VARIANT_BOOL _result = 0;
  24394. HRESULT _hr = get_IsEmpty(&_result);
  24395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24396. return _result;
  24397. }
  24398. #pragma implementation_key(3724)
  24399. inline VARIANT_BOOL VGCore::IVGPalette::GetLocked ( ) {
  24400. VARIANT_BOOL _result = 0;
  24401. HRESULT _hr = get_Locked(&_result);
  24402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24403. return _result;
  24404. }
  24405. #pragma implementation_key(3725)
  24406. inline VARIANT_BOOL VGCore::IVGPalette::GetDefault ( ) {
  24407. VARIANT_BOOL _result = 0;
  24408. HRESULT _hr = get_Default(&_result);
  24409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24410. return _result;
  24411. }
  24412. #pragma implementation_key(3726)
  24413. inline VARIANT_BOOL VGCore::IVGPalette::GetIsOpen ( ) {
  24414. VARIANT_BOOL _result = 0;
  24415. HRESULT _hr = get_IsOpen(&_result);
  24416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24417. return _result;
  24418. }
  24419. #pragma implementation_key(3727)
  24420. inline HRESULT VGCore::IVGPalette::Open ( ) {
  24421. HRESULT _hr = raw_Open();
  24422. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24423. return _hr;
  24424. }
  24425. #pragma implementation_key(3728)
  24426. inline HRESULT VGCore::IVGPalette::MakeDefault ( ) {
  24427. HRESULT _hr = raw_MakeDefault();
  24428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24429. return _hr;
  24430. }
  24431. #pragma implementation_key(3729)
  24432. inline VARIANT_BOOL VGCore::IVGPalette::Delete ( ) {
  24433. VARIANT_BOOL _result = 0;
  24434. HRESULT _hr = raw_Delete(&_result);
  24435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24436. return _result;
  24437. }
  24438. //
  24439. // interface IVGColors wrapper method implementations
  24440. //
  24441. #pragma implementation_key(3730)
  24442. inline IDispatchPtr VGCore::IVGColors::GetApplication ( ) {
  24443. IDispatch * _result = 0;
  24444. HRESULT _hr = get_Application(&_result);
  24445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24446. return IDispatchPtr(_result, false);
  24447. }
  24448. #pragma implementation_key(3731)
  24449. inline VGCore::IVGPalettePtr VGCore::IVGColors::GetParent ( ) {
  24450. struct IVGPalette * _result = 0;
  24451. HRESULT _hr = get_Parent(&_result);
  24452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24453. return IVGPalettePtr(_result, false);
  24454. }
  24455. #pragma implementation_key(3732)
  24456. inline VGCore::IVGColorPtr VGCore::IVGColors::GetItem ( long Index ) {
  24457. struct IVGColor * _result = 0;
  24458. HRESULT _hr = get_Item(Index, &_result);
  24459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24460. return IVGColorPtr(_result, false);
  24461. }
  24462. #pragma implementation_key(3733)
  24463. inline IUnknownPtr VGCore::IVGColors::Get_NewEnum ( ) {
  24464. IUnknown * _result = 0;
  24465. HRESULT _hr = get__NewEnum(&_result);
  24466. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24467. return IUnknownPtr(_result, false);
  24468. }
  24469. #pragma implementation_key(3734)
  24470. inline long VGCore::IVGColors::GetCount ( ) {
  24471. long _result = 0;
  24472. HRESULT _hr = get_Count(&_result);
  24473. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24474. return _result;
  24475. }
  24476. //
  24477. // interface IVGPalettes wrapper method implementations
  24478. //
  24479. #pragma implementation_key(3735)
  24480. inline IDispatchPtr VGCore::IVGPalettes::GetApplication ( ) {
  24481. IDispatch * _result = 0;
  24482. HRESULT _hr = get_Application(&_result);
  24483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24484. return IDispatchPtr(_result, false);
  24485. }
  24486. #pragma implementation_key(3736)
  24487. inline IDispatchPtr VGCore::IVGPalettes::GetParent ( ) {
  24488. IDispatch * _result = 0;
  24489. HRESULT _hr = get_Parent(&_result);
  24490. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24491. return IDispatchPtr(_result, false);
  24492. }
  24493. #pragma implementation_key(3737)
  24494. inline VGCore::IVGPalettePtr VGCore::IVGPalettes::GetItem ( const _variant_t & IndexOrName ) {
  24495. struct IVGPalette * _result = 0;
  24496. HRESULT _hr = get_Item(IndexOrName, &_result);
  24497. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24498. return IVGPalettePtr(_result, false);
  24499. }
  24500. #pragma implementation_key(3738)
  24501. inline IUnknownPtr VGCore::IVGPalettes::Get_NewEnum ( ) {
  24502. IUnknown * _result = 0;
  24503. HRESULT _hr = get__NewEnum(&_result);
  24504. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24505. return IUnknownPtr(_result, false);
  24506. }
  24507. #pragma implementation_key(3739)
  24508. inline long VGCore::IVGPalettes::GetCount ( ) {
  24509. long _result = 0;
  24510. HRESULT _hr = get_Count(&_result);
  24511. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24512. return _result;
  24513. }
  24514. #pragma implementation_key(3740)
  24515. inline VGCore::IVGPalettePtr VGCore::IVGPalettes::Open ( _bstr_t FileName ) {
  24516. struct IVGPalette * _result = 0;
  24517. HRESULT _hr = raw_Open(FileName, &_result);
  24518. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24519. return IVGPalettePtr(_result, false);
  24520. }
  24521. #pragma implementation_key(3741)
  24522. inline VGCore::IVGPalettePtr VGCore::IVGPalettes::OpenFixed ( enum cdrPaletteID PaletteID ) {
  24523. struct IVGPalette * _result = 0;
  24524. HRESULT _hr = raw_OpenFixed(PaletteID, &_result);
  24525. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24526. return IVGPalettePtr(_result, false);
  24527. }
  24528. #pragma implementation_key(3742)
  24529. inline VGCore::IVGPalettePtr VGCore::IVGPalettes::CreateFromDocument ( _bstr_t Name, _bstr_t FileName, VARIANT_BOOL Overwrite ) {
  24530. struct IVGPalette * _result = 0;
  24531. HRESULT _hr = raw_CreateFromDocument(Name, FileName, Overwrite, &_result);
  24532. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24533. return IVGPalettePtr(_result, false);
  24534. }
  24535. #pragma implementation_key(3743)
  24536. inline VGCore::IVGPalettePtr VGCore::IVGPalettes::CreateFromSelection ( _bstr_t Name, _bstr_t FileName, VARIANT_BOOL Overwrite ) {
  24537. struct IVGPalette * _result = 0;
  24538. HRESULT _hr = raw_CreateFromSelection(Name, FileName, Overwrite, &_result);
  24539. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24540. return IVGPalettePtr(_result, false);
  24541. }
  24542. #pragma implementation_key(3744)
  24543. inline VGCore::IVGPalettePtr VGCore::IVGPalettes::Create ( _bstr_t Name, _bstr_t FileName, VARIANT_BOOL Overwrite ) {
  24544. struct IVGPalette * _result = 0;
  24545. HRESULT _hr = raw_Create(Name, FileName, Overwrite, &_result);
  24546. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24547. return IVGPalettePtr(_result, false);
  24548. }
  24549. //
  24550. // interface IVGPaletteManager wrapper method implementations
  24551. //
  24552. #pragma implementation_key(3745)
  24553. inline long VGCore::IVGPaletteManager::GetPaletteCount ( ) {
  24554. long _result = 0;
  24555. HRESULT _hr = get_PaletteCount(&_result);
  24556. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24557. return _result;
  24558. }
  24559. #pragma implementation_key(3746)
  24560. inline VGCore::IVGPalettePtr VGCore::IVGPaletteManager::GetPalette ( const _variant_t & IndexOrName ) {
  24561. struct IVGPalette * _result = 0;
  24562. HRESULT _hr = raw_GetPalette(IndexOrName, &_result);
  24563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24564. return IVGPalettePtr(_result, false);
  24565. }
  24566. #pragma implementation_key(3747)
  24567. inline VGCore::IVGPalettePtr VGCore::IVGPaletteManager::GetDefaultPalette ( ) {
  24568. struct IVGPalette * _result = 0;
  24569. HRESULT _hr = get_DefaultPalette(&_result);
  24570. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24571. return IVGPalettePtr(_result, false);
  24572. }
  24573. #pragma implementation_key(3748)
  24574. inline VGCore::IVGPalettesPtr VGCore::IVGPaletteManager::GetOpenPalettes ( ) {
  24575. struct IVGPalettes * _result = 0;
  24576. HRESULT _hr = get_OpenPalettes(&_result);
  24577. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24578. return IVGPalettesPtr(_result, false);
  24579. }
  24580. #pragma implementation_key(3749)
  24581. inline IUnknownPtr VGCore::IVGPaletteManager::Get_NewEnum ( ) {
  24582. IUnknown * _result = 0;
  24583. HRESULT _hr = get__NewEnum(&_result);
  24584. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24585. return IUnknownPtr(_result, false);
  24586. }
  24587. #pragma implementation_key(3750)
  24588. inline HRESULT VGCore::IVGPaletteManager::LoadAllPalettes ( ) {
  24589. HRESULT _hr = raw_LoadAllPalettes();
  24590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24591. return _hr;
  24592. }
  24593. #pragma implementation_key(3751)
  24594. inline VGCore::IVGPalettePtr VGCore::IVGPaletteManager::LoadPalette ( _bstr_t FileName ) {
  24595. struct IVGPalette * _result = 0;
  24596. HRESULT _hr = raw_LoadPalette(FileName, &_result);
  24597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24598. return IVGPalettePtr(_result, false);
  24599. }
  24600. //
  24601. // interface IVGTraceSettings wrapper method implementations
  24602. //
  24603. #pragma implementation_key(3752)
  24604. inline enum VGCore::cdrTraceType VGCore::IVGTraceSettings::GetTraceType ( ) {
  24605. enum cdrTraceType _result;
  24606. HRESULT _hr = get_TraceType(&_result);
  24607. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24608. return _result;
  24609. }
  24610. #pragma implementation_key(3753)
  24611. inline void VGCore::IVGTraceSettings::PutTraceType ( enum cdrTraceType pVal ) {
  24612. HRESULT _hr = put_TraceType(pVal);
  24613. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24614. }
  24615. #pragma implementation_key(3754)
  24616. inline short VGCore::IVGTraceSettings::GetSmoothing ( ) {
  24617. short _result = 0;
  24618. HRESULT _hr = get_Smoothing(&_result);
  24619. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24620. return _result;
  24621. }
  24622. #pragma implementation_key(3755)
  24623. inline void VGCore::IVGTraceSettings::PutSmoothing ( short pVal ) {
  24624. HRESULT _hr = put_Smoothing(pVal);
  24625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24626. }
  24627. #pragma implementation_key(3756)
  24628. inline short VGCore::IVGTraceSettings::GetDetailLevel ( ) {
  24629. short _result = 0;
  24630. HRESULT _hr = get_DetailLevel(&_result);
  24631. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24632. return _result;
  24633. }
  24634. #pragma implementation_key(3757)
  24635. inline void VGCore::IVGTraceSettings::PutDetailLevel ( short pVal ) {
  24636. HRESULT _hr = put_DetailLevel(pVal);
  24637. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24638. }
  24639. #pragma implementation_key(3758)
  24640. inline enum VGCore::cdrColorType VGCore::IVGTraceSettings::GetColorMode ( ) {
  24641. enum cdrColorType _result;
  24642. HRESULT _hr = get_ColorMode(&_result);
  24643. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24644. return _result;
  24645. }
  24646. #pragma implementation_key(3759)
  24647. inline enum VGCore::cdrPaletteID VGCore::IVGTraceSettings::GetPaletteID ( ) {
  24648. enum cdrPaletteID _result;
  24649. HRESULT _hr = get_PaletteID(&_result);
  24650. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24651. return _result;
  24652. }
  24653. #pragma implementation_key(3760)
  24654. inline long VGCore::IVGTraceSettings::GetColorCount ( ) {
  24655. long _result = 0;
  24656. HRESULT _hr = get_ColorCount(&_result);
  24657. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24658. return _result;
  24659. }
  24660. #pragma implementation_key(3761)
  24661. inline VGCore::IVGColorPtr VGCore::IVGTraceSettings::GetColor ( long Index ) {
  24662. struct IVGColor * _result = 0;
  24663. HRESULT _hr = get_Color(Index, &_result);
  24664. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24665. return IVGColorPtr(_result, false);
  24666. }
  24667. #pragma implementation_key(3762)
  24668. inline VARIANT_BOOL VGCore::IVGTraceSettings::GetDeleteOriginalObject ( ) {
  24669. VARIANT_BOOL _result = 0;
  24670. HRESULT _hr = get_DeleteOriginalObject(&_result);
  24671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24672. return _result;
  24673. }
  24674. #pragma implementation_key(3763)
  24675. inline void VGCore::IVGTraceSettings::PutDeleteOriginalObject ( VARIANT_BOOL pVal ) {
  24676. HRESULT _hr = put_DeleteOriginalObject(pVal);
  24677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24678. }
  24679. #pragma implementation_key(3764)
  24680. inline VARIANT_BOOL VGCore::IVGTraceSettings::GetRemoveBackground ( ) {
  24681. VARIANT_BOOL _result = 0;
  24682. HRESULT _hr = get_RemoveBackground(&_result);
  24683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24684. return _result;
  24685. }
  24686. #pragma implementation_key(3765)
  24687. inline void VGCore::IVGTraceSettings::PutRemoveBackground ( VARIANT_BOOL pVal ) {
  24688. HRESULT _hr = put_RemoveBackground(pVal);
  24689. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24690. }
  24691. #pragma implementation_key(3766)
  24692. inline VARIANT_BOOL VGCore::IVGTraceSettings::GetRemoveEntireBackColor ( ) {
  24693. VARIANT_BOOL _result = 0;
  24694. HRESULT _hr = get_RemoveEntireBackColor(&_result);
  24695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24696. return _result;
  24697. }
  24698. #pragma implementation_key(3767)
  24699. inline void VGCore::IVGTraceSettings::PutRemoveEntireBackColor ( VARIANT_BOOL pVal ) {
  24700. HRESULT _hr = put_RemoveEntireBackColor(pVal);
  24701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24702. }
  24703. #pragma implementation_key(3768)
  24704. inline enum VGCore::cdrTraceBackgroundMode VGCore::IVGTraceSettings::GetBackgroundRemovalMode ( ) {
  24705. enum cdrTraceBackgroundMode _result;
  24706. HRESULT _hr = get_BackgroundRemovalMode(&_result);
  24707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24708. return _result;
  24709. }
  24710. #pragma implementation_key(3769)
  24711. inline void VGCore::IVGTraceSettings::PutBackgroundRemovalMode ( enum cdrTraceBackgroundMode pVal ) {
  24712. HRESULT _hr = put_BackgroundRemovalMode(pVal);
  24713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24714. }
  24715. #pragma implementation_key(3770)
  24716. inline VGCore::IVGColorPtr VGCore::IVGTraceSettings::GetBackgroundColor ( ) {
  24717. struct IVGColor * _result = 0;
  24718. HRESULT _hr = get_BackgroundColor(&_result);
  24719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24720. return IVGColorPtr(_result, false);
  24721. }
  24722. #pragma implementation_key(3771)
  24723. inline long VGCore::IVGTraceSettings::GetCurveCount ( ) {
  24724. long _result = 0;
  24725. HRESULT _hr = get_CurveCount(&_result);
  24726. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24727. return _result;
  24728. }
  24729. #pragma implementation_key(3772)
  24730. inline long VGCore::IVGTraceSettings::GetNodeCount ( ) {
  24731. long _result = 0;
  24732. HRESULT _hr = get_NodeCount(&_result);
  24733. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24734. return _result;
  24735. }
  24736. #pragma implementation_key(3773)
  24737. inline long VGCore::IVGTraceSettings::GetBitmapWidth ( ) {
  24738. long _result = 0;
  24739. HRESULT _hr = get_BitmapWidth(&_result);
  24740. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24741. return _result;
  24742. }
  24743. #pragma implementation_key(3774)
  24744. inline long VGCore::IVGTraceSettings::GetBitmapHeight ( ) {
  24745. long _result = 0;
  24746. HRESULT _hr = get_BitmapHeight(&_result);
  24747. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24748. return _result;
  24749. }
  24750. #pragma implementation_key(3775)
  24751. inline long VGCore::IVGTraceSettings::SetColorCount ( long ColorCount ) {
  24752. long _result = 0;
  24753. HRESULT _hr = raw_SetColorCount(ColorCount, &_result);
  24754. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24755. return _result;
  24756. }
  24757. #pragma implementation_key(3776)
  24758. inline VGCore::IVGShapeRangePtr VGCore::IVGTraceSettings::Finish ( ) {
  24759. struct IVGShapeRange * _result = 0;
  24760. HRESULT _hr = raw_Finish(&_result);
  24761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24762. return IVGShapeRangePtr(_result, false);
  24763. }
  24764. #pragma implementation_key(3777)
  24765. inline VARIANT_BOOL VGCore::IVGTraceSettings::ShowDialog ( long ParentWindowHandle ) {
  24766. VARIANT_BOOL _result = 0;
  24767. HRESULT _hr = raw_ShowDialog(ParentWindowHandle, &_result);
  24768. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24769. return _result;
  24770. }
  24771. #pragma implementation_key(3778)
  24772. inline HRESULT VGCore::IVGTraceSettings::ApplyChanges ( ) {
  24773. HRESULT _hr = raw_ApplyChanges();
  24774. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24775. return _hr;
  24776. }
  24777. #pragma implementation_key(3779)
  24778. inline HRESULT VGCore::IVGTraceSettings::SetColorMode ( enum cdrColorType ColorMode, enum cdrPaletteID PaletteID ) {
  24779. HRESULT _hr = raw_SetColorMode(ColorMode, PaletteID);
  24780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24781. return _hr;
  24782. }
  24783. #pragma implementation_key(3780)
  24784. inline short VGCore::IVGTraceSettings::GetDetailLevelPercent ( ) {
  24785. short _result = 0;
  24786. HRESULT _hr = get_DetailLevelPercent(&_result);
  24787. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24788. return _result;
  24789. }
  24790. #pragma implementation_key(3781)
  24791. inline void VGCore::IVGTraceSettings::PutDetailLevelPercent ( short pVal ) {
  24792. HRESULT _hr = put_DetailLevelPercent(pVal);
  24793. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24794. }
  24795. #pragma implementation_key(3782)
  24796. inline short VGCore::IVGTraceSettings::GetMaxDetailLevel ( ) {
  24797. short _result = 0;
  24798. HRESULT _hr = get_MaxDetailLevel(&_result);
  24799. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24800. return _result;
  24801. }
  24802. #pragma implementation_key(3783)
  24803. inline short VGCore::IVGTraceSettings::GetMinDetailLevel ( ) {
  24804. short _result = 0;
  24805. HRESULT _hr = get_MinDetailLevel(&_result);
  24806. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24807. return _result;
  24808. }
  24809. #pragma implementation_key(3784)
  24810. inline short VGCore::IVGTraceSettings::GetCornerSmoothness ( ) {
  24811. short _result = 0;
  24812. HRESULT _hr = get_CornerSmoothness(&_result);
  24813. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24814. return _result;
  24815. }
  24816. #pragma implementation_key(3785)
  24817. inline void VGCore::IVGTraceSettings::PutCornerSmoothness ( short pVal ) {
  24818. HRESULT _hr = put_CornerSmoothness(pVal);
  24819. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24820. }
  24821. #pragma implementation_key(3786)
  24822. inline VARIANT_BOOL VGCore::IVGTraceSettings::GetMergeAdjacentObjects ( ) {
  24823. VARIANT_BOOL _result = 0;
  24824. HRESULT _hr = get_MergeAdjacentObjects(&_result);
  24825. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24826. return _result;
  24827. }
  24828. #pragma implementation_key(3787)
  24829. inline void VGCore::IVGTraceSettings::PutMergeAdjacentObjects ( VARIANT_BOOL pVal ) {
  24830. HRESULT _hr = put_MergeAdjacentObjects(pVal);
  24831. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24832. }
  24833. #pragma implementation_key(3788)
  24834. inline VARIANT_BOOL VGCore::IVGTraceSettings::GetRemoveOverlap ( ) {
  24835. VARIANT_BOOL _result = 0;
  24836. HRESULT _hr = get_RemoveOverlap(&_result);
  24837. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24838. return _result;
  24839. }
  24840. #pragma implementation_key(3789)
  24841. inline void VGCore::IVGTraceSettings::PutRemoveOverlap ( VARIANT_BOOL pVal ) {
  24842. HRESULT _hr = put_RemoveOverlap(pVal);
  24843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24844. }
  24845. #pragma implementation_key(3790)
  24846. inline VARIANT_BOOL VGCore::IVGTraceSettings::GetGroupObjectsByColor ( ) {
  24847. VARIANT_BOOL _result = 0;
  24848. HRESULT _hr = get_GroupObjectsByColor(&_result);
  24849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24850. return _result;
  24851. }
  24852. #pragma implementation_key(3791)
  24853. inline void VGCore::IVGTraceSettings::PutGroupObjectsByColor ( VARIANT_BOOL pVal ) {
  24854. HRESULT _hr = put_GroupObjectsByColor(pVal);
  24855. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24856. }
  24857. //
  24858. // interface IVGShapeRange wrapper method implementations
  24859. //
  24860. #pragma implementation_key(3792)
  24861. inline VGCore::IVGApplicationPtr VGCore::IVGShapeRange::GetApplication ( ) {
  24862. struct IVGApplication * _result = 0;
  24863. HRESULT _hr = get_Application(&_result);
  24864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24865. return IVGApplicationPtr(_result, false);
  24866. }
  24867. #pragma implementation_key(3793)
  24868. inline VGCore::IVGApplicationPtr VGCore::IVGShapeRange::GetParent ( ) {
  24869. struct IVGApplication * _result = 0;
  24870. HRESULT _hr = get_Parent(&_result);
  24871. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24872. return IVGApplicationPtr(_result, false);
  24873. }
  24874. #pragma implementation_key(3794)
  24875. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::GetItem ( const _variant_t & IndexOrName ) {
  24876. struct IVGShape * _result = 0;
  24877. HRESULT _hr = get_Item(IndexOrName, &_result);
  24878. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24879. return IVGShapePtr(_result, false);
  24880. }
  24881. #pragma implementation_key(3795)
  24882. inline IUnknownPtr VGCore::IVGShapeRange::Get_NewEnum ( ) {
  24883. IUnknown * _result = 0;
  24884. HRESULT _hr = get__NewEnum(&_result);
  24885. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24886. return IUnknownPtr(_result, false);
  24887. }
  24888. #pragma implementation_key(3796)
  24889. inline long VGCore::IVGShapeRange::GetCount ( ) {
  24890. long _result = 0;
  24891. HRESULT _hr = get_Count(&_result);
  24892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24893. return _result;
  24894. }
  24895. #pragma implementation_key(3797)
  24896. inline HRESULT VGCore::IVGShapeRange::Add ( struct IVGShape * Shape ) {
  24897. HRESULT _hr = raw_Add(Shape);
  24898. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24899. return _hr;
  24900. }
  24901. #pragma implementation_key(3798)
  24902. inline HRESULT VGCore::IVGShapeRange::Remove ( long Index ) {
  24903. HRESULT _hr = raw_Remove(Index);
  24904. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24905. return _hr;
  24906. }
  24907. #pragma implementation_key(3799)
  24908. inline long VGCore::IVGShapeRange::IndexOf ( struct IVGShape * Shape ) {
  24909. long _result = 0;
  24910. HRESULT _hr = raw_IndexOf(Shape, &_result);
  24911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24912. return _result;
  24913. }
  24914. #pragma implementation_key(3800)
  24915. inline HRESULT VGCore::IVGShapeRange::AddToSelection ( ) {
  24916. HRESULT _hr = raw_AddToSelection();
  24917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24918. return _hr;
  24919. }
  24920. #pragma implementation_key(3801)
  24921. inline HRESULT VGCore::IVGShapeRange::ConvertToCurves ( ) {
  24922. HRESULT _hr = raw_ConvertToCurves();
  24923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24924. return _hr;
  24925. }
  24926. #pragma implementation_key(3802)
  24927. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::ConvertToBitmap ( long BitDepth, VARIANT_BOOL Grayscale, VARIANT_BOOL Dithered, VARIANT_BOOL TransparentBG, long Resolution, enum cdrAntiAliasingType AntiAliasing, VARIANT_BOOL UseColorProfile, VARIANT_BOOL MultiChannel, VARIANT_BOOL AlwaysOverprintBlack, long OverprintBlackLimit ) {
  24928. struct IVGShape * _result = 0;
  24929. HRESULT _hr = raw_ConvertToBitmap(BitDepth, Grayscale, Dithered, TransparentBG, Resolution, AntiAliasing, UseColorProfile, MultiChannel, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
  24930. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24931. return IVGShapePtr(_result, false);
  24932. }
  24933. #pragma implementation_key(3803)
  24934. inline HRESULT VGCore::IVGShapeRange::Copy ( ) {
  24935. HRESULT _hr = raw_Copy();
  24936. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24937. return _hr;
  24938. }
  24939. #pragma implementation_key(3804)
  24940. inline HRESULT VGCore::IVGShapeRange::Cut ( ) {
  24941. HRESULT _hr = raw_Cut();
  24942. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24943. return _hr;
  24944. }
  24945. #pragma implementation_key(3805)
  24946. inline HRESULT VGCore::IVGShapeRange::Delete ( ) {
  24947. HRESULT _hr = raw_Delete();
  24948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24949. return _hr;
  24950. }
  24951. #pragma implementation_key(3806)
  24952. inline HRESULT VGCore::IVGShapeRange::GetPosition ( double * PositionX, double * PositionY ) {
  24953. HRESULT _hr = raw_GetPosition(PositionX, PositionY);
  24954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24955. return _hr;
  24956. }
  24957. #pragma implementation_key(3807)
  24958. inline HRESULT VGCore::IVGShapeRange::GetSize ( double * Width, double * Height ) {
  24959. HRESULT _hr = raw_GetSize(Width, Height);
  24960. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24961. return _hr;
  24962. }
  24963. #pragma implementation_key(3808)
  24964. inline HRESULT VGCore::IVGShapeRange::Move ( double DeltaX, double DeltaY ) {
  24965. HRESULT _hr = raw_Move(DeltaX, DeltaY);
  24966. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24967. return _hr;
  24968. }
  24969. #pragma implementation_key(3809)
  24970. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Duplicate ( double OffsetX, double OffsetY ) {
  24971. struct IVGShapeRange * _result = 0;
  24972. HRESULT _hr = raw_Duplicate(OffsetX, OffsetY, &_result);
  24973. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24974. return IVGShapeRangePtr(_result, false);
  24975. }
  24976. #pragma implementation_key(3810)
  24977. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Clone ( double OffsetX, double OffsetY ) {
  24978. struct IVGShapeRange * _result = 0;
  24979. HRESULT _hr = raw_Clone(OffsetX, OffsetY, &_result);
  24980. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24981. return IVGShapeRangePtr(_result, false);
  24982. }
  24983. #pragma implementation_key(3811)
  24984. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::Group ( ) {
  24985. struct IVGShape * _result = 0;
  24986. HRESULT _hr = raw_Group(&_result);
  24987. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24988. return IVGShapePtr(_result, false);
  24989. }
  24990. #pragma implementation_key(3812)
  24991. inline HRESULT VGCore::IVGShapeRange::RemoveAll ( ) {
  24992. HRESULT _hr = raw_RemoveAll();
  24993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  24994. return _hr;
  24995. }
  24996. #pragma implementation_key(3813)
  24997. inline HRESULT VGCore::IVGShapeRange::OrderToFront ( ) {
  24998. HRESULT _hr = raw_OrderToFront();
  24999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25000. return _hr;
  25001. }
  25002. #pragma implementation_key(3814)
  25003. inline HRESULT VGCore::IVGShapeRange::OrderToBack ( ) {
  25004. HRESULT _hr = raw_OrderToBack();
  25005. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25006. return _hr;
  25007. }
  25008. #pragma implementation_key(3815)
  25009. inline HRESULT VGCore::IVGShapeRange::OrderForwardOne ( ) {
  25010. HRESULT _hr = raw_OrderForwardOne();
  25011. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25012. return _hr;
  25013. }
  25014. #pragma implementation_key(3816)
  25015. inline HRESULT VGCore::IVGShapeRange::OrderBackOne ( ) {
  25016. HRESULT _hr = raw_OrderBackOne();
  25017. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25018. return _hr;
  25019. }
  25020. #pragma implementation_key(3817)
  25021. inline HRESULT VGCore::IVGShapeRange::OrderFrontOf ( struct IVGShape * Shape ) {
  25022. HRESULT _hr = raw_OrderFrontOf(Shape);
  25023. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25024. return _hr;
  25025. }
  25026. #pragma implementation_key(3818)
  25027. inline HRESULT VGCore::IVGShapeRange::OrderBackOf ( struct IVGShape * Shape ) {
  25028. HRESULT _hr = raw_OrderBackOf(Shape);
  25029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25030. return _hr;
  25031. }
  25032. #pragma implementation_key(3819)
  25033. inline HRESULT VGCore::IVGShapeRange::OrderReverse ( ) {
  25034. HRESULT _hr = raw_OrderReverse();
  25035. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25036. return _hr;
  25037. }
  25038. #pragma implementation_key(3820)
  25039. inline HRESULT VGCore::IVGShapeRange::Rotate ( double Angle ) {
  25040. HRESULT _hr = raw_Rotate(Angle);
  25041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25042. return _hr;
  25043. }
  25044. #pragma implementation_key(3821)
  25045. inline HRESULT VGCore::IVGShapeRange::RotateEx ( double Angle, double CenterX, double CenterY ) {
  25046. HRESULT _hr = raw_RotateEx(Angle, CenterX, CenterY);
  25047. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25048. return _hr;
  25049. }
  25050. #pragma implementation_key(3822)
  25051. inline HRESULT VGCore::IVGShapeRange::Skew ( double AngleX, double AngleY ) {
  25052. HRESULT _hr = raw_Skew(AngleX, AngleY);
  25053. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25054. return _hr;
  25055. }
  25056. #pragma implementation_key(3823)
  25057. inline HRESULT VGCore::IVGShapeRange::SkewEx ( double AngleX, double AngleY, double CenterX, double CenterY ) {
  25058. HRESULT _hr = raw_SkewEx(AngleX, AngleY, CenterX, CenterY);
  25059. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25060. return _hr;
  25061. }
  25062. #pragma implementation_key(3824)
  25063. inline HRESULT VGCore::IVGShapeRange::UngroupAll ( ) {
  25064. HRESULT _hr = raw_UngroupAll();
  25065. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25066. return _hr;
  25067. }
  25068. #pragma implementation_key(3825)
  25069. inline HRESULT VGCore::IVGShapeRange::Flip ( enum cdrFlipAxes Axes ) {
  25070. HRESULT _hr = raw_Flip(Axes);
  25071. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25072. return _hr;
  25073. }
  25074. #pragma implementation_key(3826)
  25075. inline double VGCore::IVGShapeRange::GetPositionX ( ) {
  25076. double _result = 0;
  25077. HRESULT _hr = get_PositionX(&_result);
  25078. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25079. return _result;
  25080. }
  25081. #pragma implementation_key(3827)
  25082. inline void VGCore::IVGShapeRange::PutPositionX ( double pVal ) {
  25083. HRESULT _hr = put_PositionX(pVal);
  25084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25085. }
  25086. #pragma implementation_key(3828)
  25087. inline double VGCore::IVGShapeRange::GetPositionY ( ) {
  25088. double _result = 0;
  25089. HRESULT _hr = get_PositionY(&_result);
  25090. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25091. return _result;
  25092. }
  25093. #pragma implementation_key(3829)
  25094. inline void VGCore::IVGShapeRange::PutPositionY ( double pVal ) {
  25095. HRESULT _hr = put_PositionY(pVal);
  25096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25097. }
  25098. #pragma implementation_key(3830)
  25099. inline double VGCore::IVGShapeRange::GetSizeWidth ( ) {
  25100. double _result = 0;
  25101. HRESULT _hr = get_SizeWidth(&_result);
  25102. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25103. return _result;
  25104. }
  25105. #pragma implementation_key(3831)
  25106. inline void VGCore::IVGShapeRange::PutSizeWidth ( double pVal ) {
  25107. HRESULT _hr = put_SizeWidth(pVal);
  25108. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25109. }
  25110. #pragma implementation_key(3832)
  25111. inline double VGCore::IVGShapeRange::GetSizeHeight ( ) {
  25112. double _result = 0;
  25113. HRESULT _hr = get_SizeHeight(&_result);
  25114. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25115. return _result;
  25116. }
  25117. #pragma implementation_key(3833)
  25118. inline void VGCore::IVGShapeRange::PutSizeHeight ( double pVal ) {
  25119. HRESULT _hr = put_SizeHeight(pVal);
  25120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25121. }
  25122. #pragma implementation_key(3834)
  25123. inline double VGCore::IVGShapeRange::GetRotationCenterX ( ) {
  25124. double _result = 0;
  25125. HRESULT _hr = get_RotationCenterX(&_result);
  25126. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25127. return _result;
  25128. }
  25129. #pragma implementation_key(3835)
  25130. inline void VGCore::IVGShapeRange::PutRotationCenterX ( double pVal ) {
  25131. HRESULT _hr = put_RotationCenterX(pVal);
  25132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25133. }
  25134. #pragma implementation_key(3836)
  25135. inline double VGCore::IVGShapeRange::GetRotationCenterY ( ) {
  25136. double _result = 0;
  25137. HRESULT _hr = get_RotationCenterY(&_result);
  25138. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25139. return _result;
  25140. }
  25141. #pragma implementation_key(3837)
  25142. inline void VGCore::IVGShapeRange::PutRotationCenterY ( double pVal ) {
  25143. HRESULT _hr = put_RotationCenterY(pVal);
  25144. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25145. }
  25146. #pragma implementation_key(3838)
  25147. inline HRESULT VGCore::IVGShapeRange::AddToPowerClip ( struct IVGShape * Shape, enum cdrTriState CenterInContainer ) {
  25148. HRESULT _hr = raw_AddToPowerClip(Shape, CenterInContainer);
  25149. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25150. return _hr;
  25151. }
  25152. #pragma implementation_key(3839)
  25153. inline HRESULT VGCore::IVGShapeRange::RemoveFromContainer ( long Level ) {
  25154. HRESULT _hr = raw_RemoveFromContainer(Level);
  25155. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25156. return _hr;
  25157. }
  25158. #pragma implementation_key(3840)
  25159. inline HRESULT VGCore::IVGShapeRange::AddRange ( struct IVGShapeRange * ShapeRange ) {
  25160. HRESULT _hr = raw_AddRange(ShapeRange);
  25161. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25162. return _hr;
  25163. }
  25164. #pragma implementation_key(3841)
  25165. inline HRESULT VGCore::IVGShapeRange::SetPosition ( double PositionX, double PositionY ) {
  25166. HRESULT _hr = raw_SetPosition(PositionX, PositionY);
  25167. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25168. return _hr;
  25169. }
  25170. #pragma implementation_key(3842)
  25171. inline HRESULT VGCore::IVGShapeRange::SetSize ( double Width, double Height ) {
  25172. HRESULT _hr = raw_SetSize(Width, Height);
  25173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25174. return _hr;
  25175. }
  25176. #pragma implementation_key(3843)
  25177. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::ConvertToBitmapEx ( enum cdrImageType Mode, VARIANT_BOOL Dithered, VARIANT_BOOL Transparent, long Resolution, enum cdrAntiAliasingType AntiAliasing, VARIANT_BOOL UseColorProfile, VARIANT_BOOL AlwaysOverprintBlack, long OverprintBlackLimit ) {
  25178. struct IVGShape * _result = 0;
  25179. HRESULT _hr = raw_ConvertToBitmapEx(Mode, Dithered, Transparent, Resolution, AntiAliasing, UseColorProfile, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
  25180. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25181. return IVGShapePtr(_result, false);
  25182. }
  25183. #pragma implementation_key(3844)
  25184. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::Combine ( ) {
  25185. struct IVGShape * _result = 0;
  25186. HRESULT _hr = raw_Combine(&_result);
  25187. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25188. return IVGShapePtr(_result, false);
  25189. }
  25190. #pragma implementation_key(3845)
  25191. inline HRESULT VGCore::IVGShapeRange::SetBoundingBox ( double x, double y, double Width, double Height, VARIANT_BOOL KeepAspect, enum cdrReferencePoint ReferencePoint ) {
  25192. HRESULT _hr = raw_SetBoundingBox(x, y, Width, Height, KeepAspect, ReferencePoint);
  25193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25194. return _hr;
  25195. }
  25196. #pragma implementation_key(3846)
  25197. inline HRESULT VGCore::IVGShapeRange::ApplyNoFill ( ) {
  25198. HRESULT _hr = raw_ApplyNoFill();
  25199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25200. return _hr;
  25201. }
  25202. #pragma implementation_key(3847)
  25203. inline HRESULT VGCore::IVGShapeRange::ApplyUniformFill ( struct IVGColor * Color ) {
  25204. HRESULT _hr = raw_ApplyUniformFill(Color);
  25205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25206. return _hr;
  25207. }
  25208. #pragma implementation_key(3848)
  25209. inline HRESULT VGCore::IVGShapeRange::ApplyFountainFill ( struct IVGColor * StartColor, struct IVGColor * EndColor, enum cdrFountainFillType Type, double Angle, long Steps, long EdgePad, long MidPoint, enum cdrFountainFillBlendType BlendType, double CenterOffsetX, double CenterOffsetY ) {
  25210. HRESULT _hr = raw_ApplyFountainFill(StartColor, EndColor, Type, Angle, Steps, EdgePad, MidPoint, BlendType, CenterOffsetX, CenterOffsetY);
  25211. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25212. return _hr;
  25213. }
  25214. #pragma implementation_key(3849)
  25215. inline HRESULT VGCore::IVGShapeRange::ApplyPatternFill ( enum cdrPatternFillType Type, _bstr_t FileName, long PatternCanvasIndex, struct IVGColor * FrontColor, struct IVGColor * EndColor, VARIANT_BOOL TransformWithShape ) {
  25216. HRESULT _hr = raw_ApplyPatternFill(Type, FileName, PatternCanvasIndex, FrontColor, EndColor, TransformWithShape);
  25217. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25218. return _hr;
  25219. }
  25220. #pragma implementation_key(3850)
  25221. inline HRESULT VGCore::IVGShapeRange::ApplyTextureFill ( _bstr_t TextureName, _bstr_t LibraryName ) {
  25222. HRESULT _hr = raw_ApplyTextureFill(TextureName, LibraryName);
  25223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25224. return _hr;
  25225. }
  25226. #pragma implementation_key(3851)
  25227. inline HRESULT VGCore::IVGShapeRange::ApplyPostscriptFill ( const _variant_t & IndexOrName ) {
  25228. HRESULT _hr = raw_ApplyPostscriptFill(IndexOrName);
  25229. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25230. return _hr;
  25231. }
  25232. #pragma implementation_key(3852)
  25233. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::ConvertOutlineToObject ( ) {
  25234. struct IVGShapeRange * _result = 0;
  25235. HRESULT _hr = raw_ConvertOutlineToObject(&_result);
  25236. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25237. return IVGShapeRangePtr(_result, false);
  25238. }
  25239. #pragma implementation_key(3853)
  25240. inline HRESULT VGCore::IVGShapeRange::SetOutlineProperties ( double Width, struct IVGOutlineStyle * Style, struct IVGColor * Color, struct IVGArrowHead * StartArrow, struct IVGArrowHead * EndArrow, enum cdrTriState BehindFill, enum cdrTriState ScaleWithShape, enum cdrOutlineLineCaps LineCaps, enum cdrOutlineLineJoin LineJoin, double NibAngle, long NibStretch, double DashDotLength, double PenWidth, double MiterLimit ) {
  25241. HRESULT _hr = raw_SetOutlineProperties(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit);
  25242. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25243. return _hr;
  25244. }
  25245. #pragma implementation_key(3854)
  25246. inline HRESULT VGCore::IVGShapeRange::CreateSelection ( ) {
  25247. HRESULT _hr = raw_CreateSelection();
  25248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25249. return _hr;
  25250. }
  25251. #pragma implementation_key(3855)
  25252. inline HRESULT VGCore::IVGShapeRange::RemoveFromSelection ( ) {
  25253. HRESULT _hr = raw_RemoveFromSelection();
  25254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25255. return _hr;
  25256. }
  25257. #pragma implementation_key(3856)
  25258. inline HRESULT VGCore::IVGShapeRange::SetRotationCenter ( double x, double y ) {
  25259. HRESULT _hr = raw_SetRotationCenter(x, y);
  25260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25261. return _hr;
  25262. }
  25263. #pragma implementation_key(3857)
  25264. inline HRESULT VGCore::IVGShapeRange::Stretch ( double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
  25265. HRESULT _hr = raw_Stretch(StretchX, StretchY, StretchCharactersSize);
  25266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25267. return _hr;
  25268. }
  25269. #pragma implementation_key(3858)
  25270. inline HRESULT VGCore::IVGShapeRange::StretchEx ( double CenterX, double CenterY, double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
  25271. HRESULT _hr = raw_StretchEx(CenterX, CenterY, StretchX, StretchY, StretchCharactersSize);
  25272. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25273. return _hr;
  25274. }
  25275. #pragma implementation_key(3859)
  25276. inline HRESULT VGCore::IVGShapeRange::SetSizeEx ( double CenterX, double CenterY, double Width, double Height ) {
  25277. HRESULT _hr = raw_SetSizeEx(CenterX, CenterY, Width, Height);
  25278. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25279. return _hr;
  25280. }
  25281. #pragma implementation_key(3860)
  25282. inline HRESULT VGCore::IVGShapeRange::GetBoundingBox ( double * x, double * y, double * Width, double * Height, VARIANT_BOOL UseOutline ) {
  25283. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, UseOutline);
  25284. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25285. return _hr;
  25286. }
  25287. #pragma implementation_key(3861)
  25288. inline HRESULT VGCore::IVGShapeRange::RestoreCloneLink ( enum cdrCloneLinkType LinkToRestore ) {
  25289. HRESULT _hr = raw_RestoreCloneLink(LinkToRestore);
  25290. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25291. return _hr;
  25292. }
  25293. #pragma implementation_key(3862)
  25294. inline HRESULT VGCore::IVGShapeRange::ClearEffect ( enum cdrEffectType Type ) {
  25295. HRESULT _hr = raw_ClearEffect(Type);
  25296. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25297. return _hr;
  25298. }
  25299. #pragma implementation_key(3863)
  25300. inline HRESULT VGCore::IVGShapeRange::RemoveRange ( struct IVGShapeRange * Range ) {
  25301. HRESULT _hr = raw_RemoveRange(Range);
  25302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25303. return _hr;
  25304. }
  25305. #pragma implementation_key(3864)
  25306. inline HRESULT VGCore::IVGShapeRange::DeleteItem ( long Index ) {
  25307. HRESULT _hr = raw_DeleteItem(Index);
  25308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25309. return _hr;
  25310. }
  25311. #pragma implementation_key(3865)
  25312. inline _variant_t VGCore::IVGShapeRange::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
  25313. VARIANT _result;
  25314. VariantInit(&_result);
  25315. HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
  25316. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25317. return _variant_t(_result, false);
  25318. }
  25319. #pragma implementation_key(3866)
  25320. inline HRESULT VGCore::IVGShapeRange::AlignToShape ( enum cdrAlignType Type, struct IVGShape * Shape, enum cdrTextAlignOrigin TextAlignOrigin ) {
  25321. HRESULT _hr = raw_AlignToShape(Type, Shape, TextAlignOrigin);
  25322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25323. return _hr;
  25324. }
  25325. #pragma implementation_key(3867)
  25326. inline HRESULT VGCore::IVGShapeRange::AlignToShapeRange ( enum cdrAlignType Type, struct IVGShapeRange * ShapeRange, enum cdrTextAlignOrigin TextAlignOrigin ) {
  25327. HRESULT _hr = raw_AlignToShapeRange(Type, ShapeRange, TextAlignOrigin);
  25328. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25329. return _hr;
  25330. }
  25331. #pragma implementation_key(3868)
  25332. inline HRESULT VGCore::IVGShapeRange::AlignToPage ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
  25333. HRESULT _hr = raw_AlignToPage(Type, TextAlignOrigin);
  25334. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25335. return _hr;
  25336. }
  25337. #pragma implementation_key(3869)
  25338. inline HRESULT VGCore::IVGShapeRange::AlignToPageCenter ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
  25339. HRESULT _hr = raw_AlignToPageCenter(Type, TextAlignOrigin);
  25340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25341. return _hr;
  25342. }
  25343. #pragma implementation_key(3870)
  25344. inline HRESULT VGCore::IVGShapeRange::AlignToGrid ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
  25345. HRESULT _hr = raw_AlignToGrid(Type, TextAlignOrigin);
  25346. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25347. return _hr;
  25348. }
  25349. #pragma implementation_key(3871)
  25350. inline HRESULT VGCore::IVGShapeRange::AlignToPoint ( enum cdrAlignType Type, double x, double y, enum cdrTextAlignOrigin TextAlignOrigin ) {
  25351. HRESULT _hr = raw_AlignToPoint(Type, x, y, TextAlignOrigin);
  25352. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25353. return _hr;
  25354. }
  25355. #pragma implementation_key(3872)
  25356. inline HRESULT VGCore::IVGShapeRange::Distribute ( enum cdrDistributeType Type, VARIANT_BOOL PageExtent ) {
  25357. HRESULT _hr = raw_Distribute(Type, PageExtent);
  25358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25359. return _hr;
  25360. }
  25361. #pragma implementation_key(3873)
  25362. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::ConvertToSymbol ( _bstr_t Name ) {
  25363. struct IVGShape * _result = 0;
  25364. HRESULT _hr = raw_ConvertToSymbol(Name, &_result);
  25365. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25366. return IVGShapePtr(_result, false);
  25367. }
  25368. #pragma implementation_key(3874)
  25369. inline HRESULT VGCore::IVGShapeRange::Ungroup ( ) {
  25370. HRESULT _hr = raw_Ungroup();
  25371. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25372. return _hr;
  25373. }
  25374. #pragma implementation_key(3875)
  25375. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::UngroupEx ( ) {
  25376. struct IVGShapeRange * _result = 0;
  25377. HRESULT _hr = raw_UngroupEx(&_result);
  25378. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25379. return IVGShapeRangePtr(_result, false);
  25380. }
  25381. #pragma implementation_key(3876)
  25382. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::UngroupAllEx ( ) {
  25383. struct IVGShapeRange * _result = 0;
  25384. HRESULT _hr = raw_UngroupAllEx(&_result);
  25385. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25386. return IVGShapeRangePtr(_result, false);
  25387. }
  25388. #pragma implementation_key(3877)
  25389. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Range ( SAFEARRAY * * IndexArray ) {
  25390. struct IVGShapeRange * _result = 0;
  25391. HRESULT _hr = raw_Range(IndexArray, &_result);
  25392. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25393. return IVGShapeRangePtr(_result, false);
  25394. }
  25395. #pragma implementation_key(3878)
  25396. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::All ( ) {
  25397. struct IVGShapeRange * _result = 0;
  25398. HRESULT _hr = raw_All(&_result);
  25399. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25400. return IVGShapeRangePtr(_result, false);
  25401. }
  25402. #pragma implementation_key(3879)
  25403. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::AllExcluding ( SAFEARRAY * * IndexArray ) {
  25404. struct IVGShapeRange * _result = 0;
  25405. HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
  25406. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25407. return IVGShapeRangePtr(_result, false);
  25408. }
  25409. #pragma implementation_key(3880)
  25410. inline HRESULT VGCore::IVGShapeRange::BreakApart ( ) {
  25411. HRESULT _hr = raw_BreakApart();
  25412. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25413. return _hr;
  25414. }
  25415. #pragma implementation_key(3881)
  25416. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::BreakApartEx ( ) {
  25417. struct IVGShapeRange * _result = 0;
  25418. HRESULT _hr = raw_BreakApartEx(&_result);
  25419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25420. return IVGShapeRangePtr(_result, false);
  25421. }
  25422. #pragma implementation_key(3882)
  25423. inline HRESULT VGCore::IVGShapeRange::MoveToLayer ( struct IVGLayer * Layer ) {
  25424. HRESULT _hr = raw_MoveToLayer(Layer);
  25425. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25426. return _hr;
  25427. }
  25428. #pragma implementation_key(3883)
  25429. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::CopyToLayer ( struct IVGLayer * Layer ) {
  25430. struct IVGShapeRange * _result = 0;
  25431. HRESULT _hr = raw_CopyToLayer(Layer, &_result);
  25432. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25433. return IVGShapeRangePtr(_result, false);
  25434. }
  25435. #pragma implementation_key(3884)
  25436. inline HRESULT VGCore::IVGShapeRange::ClearTransformations ( ) {
  25437. HRESULT _hr = raw_ClearTransformations();
  25438. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25439. return _hr;
  25440. }
  25441. #pragma implementation_key(3885)
  25442. inline HRESULT VGCore::IVGShapeRange::Lock ( ) {
  25443. HRESULT _hr = raw_Lock();
  25444. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25445. return _hr;
  25446. }
  25447. #pragma implementation_key(3886)
  25448. inline HRESULT VGCore::IVGShapeRange::Unlock ( ) {
  25449. HRESULT _hr = raw_Unlock();
  25450. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25451. return _hr;
  25452. }
  25453. #pragma implementation_key(3887)
  25454. inline HRESULT VGCore::IVGShapeRange::AlignRangeToShape ( enum cdrAlignType Type, struct IVGShape * Shape ) {
  25455. HRESULT _hr = raw_AlignRangeToShape(Type, Shape);
  25456. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25457. return _hr;
  25458. }
  25459. #pragma implementation_key(3888)
  25460. inline HRESULT VGCore::IVGShapeRange::AlignRangeToShapeRange ( enum cdrAlignType Type, struct IVGShapeRange * ShapeRange ) {
  25461. HRESULT _hr = raw_AlignRangeToShapeRange(Type, ShapeRange);
  25462. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25463. return _hr;
  25464. }
  25465. #pragma implementation_key(3889)
  25466. inline HRESULT VGCore::IVGShapeRange::AlignRangeToPage ( enum cdrAlignType Type ) {
  25467. HRESULT _hr = raw_AlignRangeToPage(Type);
  25468. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25469. return _hr;
  25470. }
  25471. #pragma implementation_key(3890)
  25472. inline HRESULT VGCore::IVGShapeRange::AlignRangeToPageCenter ( enum cdrAlignType Type ) {
  25473. HRESULT _hr = raw_AlignRangeToPageCenter(Type);
  25474. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25475. return _hr;
  25476. }
  25477. #pragma implementation_key(3891)
  25478. inline HRESULT VGCore::IVGShapeRange::AlignRangeToGrid ( enum cdrAlignType Type ) {
  25479. HRESULT _hr = raw_AlignRangeToGrid(Type);
  25480. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25481. return _hr;
  25482. }
  25483. #pragma implementation_key(3892)
  25484. inline HRESULT VGCore::IVGShapeRange::AlignRangeToPoint ( enum cdrAlignType Type, double x, double y ) {
  25485. HRESULT _hr = raw_AlignRangeToPoint(Type, x, y);
  25486. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25487. return _hr;
  25488. }
  25489. #pragma implementation_key(3893)
  25490. inline HRESULT VGCore::IVGShapeRange::ApplyEffectInvert ( ) {
  25491. HRESULT _hr = raw_ApplyEffectInvert();
  25492. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25493. return _hr;
  25494. }
  25495. #pragma implementation_key(3894)
  25496. inline HRESULT VGCore::IVGShapeRange::ApplyEffectPosterize ( long Level ) {
  25497. HRESULT _hr = raw_ApplyEffectPosterize(Level);
  25498. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25499. return _hr;
  25500. }
  25501. #pragma implementation_key(3895)
  25502. inline HRESULT VGCore::IVGShapeRange::ApplyEffectBCI ( long Brighness, long Contrast, long Intensity ) {
  25503. HRESULT _hr = raw_ApplyEffectBCI(Brighness, Contrast, Intensity);
  25504. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25505. return _hr;
  25506. }
  25507. #pragma implementation_key(3896)
  25508. inline HRESULT VGCore::IVGShapeRange::ApplyEffectColorBalance ( long CyanRed, long MagentaGreen, long YellowBlue, VARIANT_BOOL ApplyToShadows, VARIANT_BOOL ApplyToMidtones, VARIANT_BOOL ApplyToHighlights, VARIANT_BOOL PreserveLuminance ) {
  25509. HRESULT _hr = raw_ApplyEffectColorBalance(CyanRed, MagentaGreen, YellowBlue, ApplyToShadows, ApplyToMidtones, ApplyToHighlights, PreserveLuminance);
  25510. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25511. return _hr;
  25512. }
  25513. #pragma implementation_key(3897)
  25514. inline HRESULT VGCore::IVGShapeRange::ApplyEffectGamma ( double Gamma ) {
  25515. HRESULT _hr = raw_ApplyEffectGamma(Gamma);
  25516. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25517. return _hr;
  25518. }
  25519. #pragma implementation_key(3898)
  25520. inline HRESULT VGCore::IVGShapeRange::ApplyEffectHSL ( const _variant_t & Hue, const _variant_t & Saturation, const _variant_t & Lightness ) {
  25521. HRESULT _hr = raw_ApplyEffectHSL(Hue, Saturation, Lightness);
  25522. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25523. return _hr;
  25524. }
  25525. #pragma implementation_key(3899)
  25526. inline HRESULT VGCore::IVGShapeRange::AffineTransform ( double d11, double d12, double d21, double d22, double CenterX, double CenterY ) {
  25527. HRESULT _hr = raw_AffineTransform(d11, d12, d21, d22, CenterX, CenterY);
  25528. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25529. return _hr;
  25530. }
  25531. #pragma implementation_key(3900)
  25532. inline HRESULT VGCore::IVGShapeRange::ApplyFill ( struct IVGFill * Fill ) {
  25533. HRESULT _hr = raw_ApplyFill(Fill);
  25534. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25535. return _hr;
  25536. }
  25537. #pragma implementation_key(3901)
  25538. inline HRESULT VGCore::IVGShapeRange::ApplyOutline ( struct IVGOutline * Outline ) {
  25539. HRESULT _hr = raw_ApplyOutline(Outline);
  25540. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25541. return _hr;
  25542. }
  25543. #pragma implementation_key(3902)
  25544. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::GetReverseRange ( ) {
  25545. struct IVGShapeRange * _result = 0;
  25546. HRESULT _hr = get_ReverseRange(&_result);
  25547. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25548. return IVGShapeRangePtr(_result, false);
  25549. }
  25550. #pragma implementation_key(3903)
  25551. inline HRESULT VGCore::IVGShapeRange::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  25552. HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments);
  25553. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25554. return _hr;
  25555. }
  25556. #pragma implementation_key(3904)
  25557. inline HRESULT VGCore::IVGShapeRange::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
  25558. HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments);
  25559. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25560. return _hr;
  25561. }
  25562. #pragma implementation_key(3905)
  25563. inline HRESULT VGCore::IVGShapeRange::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
  25564. HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments);
  25565. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25566. return _hr;
  25567. }
  25568. #pragma implementation_key(3906)
  25569. inline HRESULT VGCore::IVGShapeRange::SetFillMode ( enum cdrFillMode Mode ) {
  25570. HRESULT _hr = raw_SetFillMode(Mode);
  25571. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25572. return _hr;
  25573. }
  25574. #pragma implementation_key(3907)
  25575. inline HRESULT VGCore::IVGShapeRange::ApplyCustomHatchFill ( double Angle, double Spacing, double Shift, double OriginX, double OriginY, double Width, struct IVGColor * Color, struct IVGOutlineStyle * Style, double DashDotLength, double PenWidth, struct IVGColor * BackColor, VARIANT_BOOL TransformWithShape, VARIANT_BOOL ScaleLinesWithShape, VARIANT_BOOL UseWorldCoordinates, double FillScale, double LineScale, double FillAngle, double FillSkew ) {
  25576. HRESULT _hr = raw_ApplyCustomHatchFill(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew);
  25577. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25578. return _hr;
  25579. }
  25580. #pragma implementation_key(3908)
  25581. inline HRESULT VGCore::IVGShapeRange::ApplyHatchFill ( _bstr_t LibraryName, const _variant_t & HatchNameOrIndex, struct IVGColor * BackColor, VARIANT_BOOL TransformWithShape, VARIANT_BOOL ScaleLinesWithShape, VARIANT_BOOL UseWorldCoordinates, double FillScale, double LineScale, double FillAngle, double FillSkew ) {
  25582. HRESULT _hr = raw_ApplyHatchFill(LibraryName, HatchNameOrIndex, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew);
  25583. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25584. return _hr;
  25585. }
  25586. #pragma implementation_key(3909)
  25587. inline double VGCore::IVGShapeRange::GetLeftX ( ) {
  25588. double _result = 0;
  25589. HRESULT _hr = get_LeftX(&_result);
  25590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25591. return _result;
  25592. }
  25593. #pragma implementation_key(3910)
  25594. inline double VGCore::IVGShapeRange::GetRightX ( ) {
  25595. double _result = 0;
  25596. HRESULT _hr = get_RightX(&_result);
  25597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25598. return _result;
  25599. }
  25600. #pragma implementation_key(3911)
  25601. inline double VGCore::IVGShapeRange::GetTopY ( ) {
  25602. double _result = 0;
  25603. HRESULT _hr = get_TopY(&_result);
  25604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25605. return _result;
  25606. }
  25607. #pragma implementation_key(3912)
  25608. inline double VGCore::IVGShapeRange::GetBottomY ( ) {
  25609. double _result = 0;
  25610. HRESULT _hr = get_BottomY(&_result);
  25611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25612. return _result;
  25613. }
  25614. #pragma implementation_key(3913)
  25615. inline VGCore::IVGShapesPtr VGCore::IVGShapeRange::GetShapes ( ) {
  25616. struct IVGShapes * _result = 0;
  25617. HRESULT _hr = get_Shapes(&_result);
  25618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25619. return IVGShapesPtr(_result, false);
  25620. }
  25621. #pragma implementation_key(3914)
  25622. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::GetFirstShape ( ) {
  25623. struct IVGShape * _result = 0;
  25624. HRESULT _hr = get_FirstShape(&_result);
  25625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25626. return IVGShapePtr(_result, false);
  25627. }
  25628. #pragma implementation_key(3915)
  25629. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::GetLastShape ( ) {
  25630. struct IVGShape * _result = 0;
  25631. HRESULT _hr = get_LastShape(&_result);
  25632. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25633. return IVGShapePtr(_result, false);
  25634. }
  25635. #pragma implementation_key(3916)
  25636. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::StepAndRepeat ( long NumCopies, double DistanceX, double DistanceY, enum cdrDistanceMode ModeX, enum cdrDirection DirectionX, enum cdrDistanceMode ModeY, enum cdrDirection DirectionY ) {
  25637. struct IVGShapeRange * _result = 0;
  25638. HRESULT _hr = raw_StepAndRepeat(NumCopies, DistanceX, DistanceY, ModeX, DirectionX, ModeY, DirectionY, &_result);
  25639. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25640. return IVGShapeRangePtr(_result, false);
  25641. }
  25642. #pragma implementation_key(3917)
  25643. inline VARIANT_BOOL VGCore::IVGShapeRange::Exists ( struct IVGShape * Shape ) {
  25644. VARIANT_BOOL _result = 0;
  25645. HRESULT _hr = raw_Exists(Shape, &_result);
  25646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25647. return _result;
  25648. }
  25649. #pragma implementation_key(3918)
  25650. inline VARIANT_BOOL VGCore::IVGShapeRange::ExistsAnyOfType ( SAFEARRAY * * TypeList ) {
  25651. VARIANT_BOOL _result = 0;
  25652. HRESULT _hr = raw_ExistsAnyOfType(TypeList, &_result);
  25653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25654. return _result;
  25655. }
  25656. #pragma implementation_key(3919)
  25657. inline long VGCore::IVGShapeRange::CountAnyOfType ( SAFEARRAY * * TypeList ) {
  25658. long _result = 0;
  25659. HRESULT _hr = raw_CountAnyOfType(TypeList, &_result);
  25660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25661. return _result;
  25662. }
  25663. #pragma implementation_key(3920)
  25664. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::FindAnyOfType ( SAFEARRAY * * TypeList ) {
  25665. struct IVGShapeRange * _result = 0;
  25666. HRESULT _hr = raw_FindAnyOfType(TypeList, &_result);
  25667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25668. return IVGShapeRangePtr(_result, false);
  25669. }
  25670. #pragma implementation_key(3921)
  25671. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::GetLinkedShapes ( enum cdrShapeLinkType LinkType ) {
  25672. struct IVGShapeRange * _result = 0;
  25673. HRESULT _hr = raw_GetLinkedShapes(LinkType, &_result);
  25674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25675. return IVGShapeRangePtr(_result, false);
  25676. }
  25677. #pragma implementation_key(3922)
  25678. inline VGCore::IVGRectPtr VGCore::IVGShapeRange::GetBoundingBox ( ) {
  25679. struct IVGRect * _result = 0;
  25680. HRESULT _hr = get_BoundingBox(&_result);
  25681. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25682. return IVGRectPtr(_result, false);
  25683. }
  25684. #pragma implementation_key(3923)
  25685. inline HRESULT VGCore::IVGShapeRange::GetPositionEx ( enum cdrReferencePoint ReferencePoint, double * x, double * y ) {
  25686. HRESULT _hr = raw_GetPositionEx(ReferencePoint, x, y);
  25687. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25688. return _hr;
  25689. }
  25690. #pragma implementation_key(3924)
  25691. inline HRESULT VGCore::IVGShapeRange::SetPositionEx ( enum cdrReferencePoint ReferencePoint, double x, double y ) {
  25692. HRESULT _hr = raw_SetPositionEx(ReferencePoint, x, y);
  25693. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25694. return _hr;
  25695. }
  25696. #pragma implementation_key(3925)
  25697. inline double VGCore::IVGShapeRange::GetCenterX ( ) {
  25698. double _result = 0;
  25699. HRESULT _hr = get_CenterX(&_result);
  25700. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25701. return _result;
  25702. }
  25703. #pragma implementation_key(3926)
  25704. inline void VGCore::IVGShapeRange::PutCenterX ( double pVal ) {
  25705. HRESULT _hr = put_CenterX(pVal);
  25706. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25707. }
  25708. #pragma implementation_key(3927)
  25709. inline double VGCore::IVGShapeRange::GetCenterY ( ) {
  25710. double _result = 0;
  25711. HRESULT _hr = get_CenterY(&_result);
  25712. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25713. return _result;
  25714. }
  25715. #pragma implementation_key(3928)
  25716. inline void VGCore::IVGShapeRange::PutCenterY ( double pVal ) {
  25717. HRESULT _hr = put_CenterY(pVal);
  25718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25719. }
  25720. #pragma implementation_key(3929)
  25721. inline void VGCore::IVGShapeRange::PutLeftX ( double pVal ) {
  25722. HRESULT _hr = put_LeftX(pVal);
  25723. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25724. }
  25725. #pragma implementation_key(3930)
  25726. inline void VGCore::IVGShapeRange::PutRightX ( double pVal ) {
  25727. HRESULT _hr = put_RightX(pVal);
  25728. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25729. }
  25730. #pragma implementation_key(3931)
  25731. inline void VGCore::IVGShapeRange::PutTopY ( double pVal ) {
  25732. HRESULT _hr = put_TopY(pVal);
  25733. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25734. }
  25735. #pragma implementation_key(3932)
  25736. inline void VGCore::IVGShapeRange::PutBottomY ( double pVal ) {
  25737. HRESULT _hr = put_BottomY(pVal);
  25738. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25739. }
  25740. #pragma implementation_key(3933)
  25741. inline VARIANT_BOOL VGCore::IVGShapeRange::CopyPropertiesFrom ( struct IVGShape * Source, enum cdrCopyProperties Properties ) {
  25742. VARIANT_BOOL _result = 0;
  25743. HRESULT _hr = raw_CopyPropertiesFrom(Source, Properties, &_result);
  25744. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25745. return _result;
  25746. }
  25747. #pragma implementation_key(3934)
  25748. inline enum VGCore::cdrOverprintState VGCore::IVGShapeRange::GetOverprintFillState ( ) {
  25749. enum cdrOverprintState _result;
  25750. HRESULT _hr = raw_GetOverprintFillState(&_result);
  25751. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25752. return _result;
  25753. }
  25754. #pragma implementation_key(3935)
  25755. inline enum VGCore::cdrOverprintState VGCore::IVGShapeRange::GetOverprintOutlineState ( ) {
  25756. enum cdrOverprintState _result;
  25757. HRESULT _hr = raw_GetOverprintOutlineState(&_result);
  25758. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25759. return _result;
  25760. }
  25761. #pragma implementation_key(3936)
  25762. inline HRESULT VGCore::IVGShapeRange::Sort ( _bstr_t CompareExpression, long StartIndex, long EndIndex, const _variant_t & Data ) {
  25763. HRESULT _hr = raw_Sort(CompareExpression, StartIndex, EndIndex, Data);
  25764. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25765. return _hr;
  25766. }
  25767. #pragma implementation_key(3937)
  25768. inline HRESULT VGCore::IVGShapeRange::SetPixelAlignedRendering ( VARIANT_BOOL PixelAligned ) {
  25769. HRESULT _hr = raw_SetPixelAlignedRendering(PixelAligned);
  25770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25771. return _hr;
  25772. }
  25773. #pragma implementation_key(3938)
  25774. inline VGCore::IVGDocumentPtr VGCore::IVGShapeRange::CreateDocumentFrom ( VARIANT_BOOL TemporaryDocument ) {
  25775. struct IVGDocument * _result = 0;
  25776. HRESULT _hr = raw_CreateDocumentFrom(TemporaryDocument, &_result);
  25777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25778. return IVGDocumentPtr(_result, false);
  25779. }
  25780. #pragma implementation_key(3939)
  25781. inline HRESULT VGCore::IVGShapeRange::AlignAndDistribute ( enum cdrAlignDistributeH MethodH, enum cdrAlignDistributeV MethodV, enum cdrAlignShapesTo AlignTo, enum cdrDistributeArea DistributeArea, VARIANT_BOOL UseOutline, enum cdrTextAlignOrigin TextAlignOrigin, double PointX, double PointY, struct IVGRect * DistributeRect ) {
  25782. HRESULT _hr = raw_AlignAndDistribute(MethodH, MethodV, AlignTo, DistributeArea, UseOutline, TextAlignOrigin, PointX, PointY, DistributeRect);
  25783. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25784. return _hr;
  25785. }
  25786. #pragma implementation_key(3940)
  25787. inline HRESULT VGCore::IVGShapeRange::SetOutlinePropertiesEx ( double Width, struct IVGOutlineStyle * Style, struct IVGColor * Color, struct IVGArrowHead * StartArrow, struct IVGArrowHead * EndArrow, enum cdrTriState BehindFill, enum cdrTriState ScaleWithShape, enum cdrOutlineLineCaps LineCaps, enum cdrOutlineLineJoin LineJoin, double NibAngle, long NibStretch, double DashDotLength, double PenWidth, double MiterLimit, enum cdrOutlineJustification Justification ) {
  25788. HRESULT _hr = raw_SetOutlinePropertiesEx(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit, Justification);
  25789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25790. return _hr;
  25791. }
  25792. #pragma implementation_key(3941)
  25793. inline VGCore::IVGShapePtr VGCore::IVGShapeRange::CreateBoundary ( double x, double y, VARIANT_BOOL PlaceOnTop, VARIANT_BOOL DeleteSource ) {
  25794. struct IVGShape * _result = 0;
  25795. HRESULT _hr = raw_CreateBoundary(x, y, PlaceOnTop, DeleteSource, &_result);
  25796. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25797. return IVGShapePtr(_result, false);
  25798. }
  25799. #pragma implementation_key(3942)
  25800. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::EqualDivide ( long Divisions, double Gap, VARIANT_BOOL Group, VARIANT_BOOL Combine, VARIANT_BOOL DeleteSource ) {
  25801. struct IVGShapeRange * _result = 0;
  25802. HRESULT _hr = raw_EqualDivide(Divisions, Gap, Group, Combine, DeleteSource, &_result);
  25803. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25804. return IVGShapeRangePtr(_result, false);
  25805. }
  25806. #pragma implementation_key(3943)
  25807. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Project ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
  25808. struct IVGShapeRange * _result = 0;
  25809. HRESULT _hr = raw_Project(Plane, ReferencePoint, ApplyToDuplicate, &_result);
  25810. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25811. return IVGShapeRangePtr(_result, false);
  25812. }
  25813. #pragma implementation_key(3944)
  25814. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Unproject ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
  25815. struct IVGShapeRange * _result = 0;
  25816. HRESULT _hr = raw_Unproject(Plane, ReferencePoint, ApplyToDuplicate, &_result);
  25817. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25818. return IVGShapeRangePtr(_result, false);
  25819. }
  25820. #pragma implementation_key(3945)
  25821. inline HRESULT VGCore::IVGShapeRange::Show ( ) {
  25822. HRESULT _hr = raw_Show();
  25823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25824. return _hr;
  25825. }
  25826. #pragma implementation_key(3946)
  25827. inline HRESULT VGCore::IVGShapeRange::Hide ( ) {
  25828. HRESULT _hr = raw_Hide();
  25829. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25830. return _hr;
  25831. }
  25832. #pragma implementation_key(3947)
  25833. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::GetToolShapes ( _bstr_t ShapeGuid ) {
  25834. struct IVGShapeRange * _result = 0;
  25835. HRESULT _hr = raw_GetToolShapes(ShapeGuid, &_result);
  25836. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25837. return IVGShapeRangePtr(_result, false);
  25838. }
  25839. #pragma implementation_key(3948)
  25840. inline HRESULT VGCore::IVGShapeRange::ModifyToolShapeProperties ( struct IVGProperties * ShapePropertiesToModify ) {
  25841. HRESULT _hr = raw_ModifyToolShapeProperties(ShapePropertiesToModify);
  25842. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25843. return _hr;
  25844. }
  25845. #pragma implementation_key(3949)
  25846. inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::CreateParallelCurves ( long Count, double distanceBetweenCurves ) {
  25847. struct IVGShapeRange * _result = 0;
  25848. HRESULT _hr = raw_CreateParallelCurves(Count, distanceBetweenCurves, &_result);
  25849. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25850. return IVGShapeRangePtr(_result, false);
  25851. }
  25852. #pragma implementation_key(3950)
  25853. inline SAFEARRAY * VGCore::IVGShapeRange::GetColorTypes ( ) {
  25854. SAFEARRAY * _result = 0;
  25855. HRESULT _hr = raw_GetColorTypes(&_result);
  25856. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25857. return _result;
  25858. }
  25859. #pragma implementation_key(3951)
  25860. inline SAFEARRAY * VGCore::IVGShapeRange::GetColors ( long MaxBitmapColors ) {
  25861. SAFEARRAY * _result = 0;
  25862. HRESULT _hr = raw_GetColors(MaxBitmapColors, &_result);
  25863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25864. return _result;
  25865. }
  25866. #pragma implementation_key(3952)
  25867. inline HRESULT VGCore::IVGShapeRange::FlattenEffects ( ) {
  25868. HRESULT _hr = raw_FlattenEffects();
  25869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25870. return _hr;
  25871. }
  25872. //
  25873. // interface IVGPowerClip wrapper method implementations
  25874. //
  25875. #pragma implementation_key(3953)
  25876. inline VGCore::IVGApplicationPtr VGCore::IVGPowerClip::GetApplication ( ) {
  25877. struct IVGApplication * _result = 0;
  25878. HRESULT _hr = get_Application(&_result);
  25879. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25880. return IVGApplicationPtr(_result, false);
  25881. }
  25882. #pragma implementation_key(3954)
  25883. inline VGCore::IVGShapePtr VGCore::IVGPowerClip::GetParent ( ) {
  25884. struct IVGShape * _result = 0;
  25885. HRESULT _hr = get_Parent(&_result);
  25886. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25887. return IVGShapePtr(_result, false);
  25888. }
  25889. #pragma implementation_key(3955)
  25890. inline VGCore::IVGShapesPtr VGCore::IVGPowerClip::GetShapes ( ) {
  25891. struct IVGShapes * _result = 0;
  25892. HRESULT _hr = get_Shapes(&_result);
  25893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25894. return IVGShapesPtr(_result, false);
  25895. }
  25896. #pragma implementation_key(3956)
  25897. inline VARIANT_BOOL VGCore::IVGPowerClip::GetContentsLocked ( ) {
  25898. VARIANT_BOOL _result = 0;
  25899. HRESULT _hr = get_ContentsLocked(&_result);
  25900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25901. return _result;
  25902. }
  25903. #pragma implementation_key(3957)
  25904. inline void VGCore::IVGPowerClip::PutContentsLocked ( VARIANT_BOOL pVal ) {
  25905. HRESULT _hr = put_ContentsLocked(pVal);
  25906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25907. }
  25908. #pragma implementation_key(3958)
  25909. inline HRESULT VGCore::IVGPowerClip::EnterEditMode ( ) {
  25910. HRESULT _hr = raw_EnterEditMode();
  25911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25912. return _hr;
  25913. }
  25914. #pragma implementation_key(3959)
  25915. inline HRESULT VGCore::IVGPowerClip::LeaveEditMode ( ) {
  25916. HRESULT _hr = raw_LeaveEditMode();
  25917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25918. return _hr;
  25919. }
  25920. #pragma implementation_key(3960)
  25921. inline VGCore::IVGShapeRangePtr VGCore::IVGPowerClip::ExtractShapes ( ) {
  25922. struct IVGShapeRange * _result = 0;
  25923. HRESULT _hr = raw_ExtractShapes(&_result);
  25924. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25925. return IVGShapeRangePtr(_result, false);
  25926. }
  25927. //
  25928. // interface IVGFill wrapper method implementations
  25929. //
  25930. #pragma implementation_key(3961)
  25931. inline enum VGCore::cdrFillType VGCore::IVGFill::GetType ( ) {
  25932. enum cdrFillType _result;
  25933. HRESULT _hr = get_Type(&_result);
  25934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25935. return _result;
  25936. }
  25937. #pragma implementation_key(3962)
  25938. inline VGCore::IVGColorPtr VGCore::IVGFill::GetUniformColor ( ) {
  25939. struct IVGColor * _result = 0;
  25940. HRESULT _hr = get_UniformColor(&_result);
  25941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25942. return IVGColorPtr(_result, false);
  25943. }
  25944. #pragma implementation_key(3963)
  25945. inline void VGCore::IVGFill::PutUniformColor ( struct IVGColor * ppVal ) {
  25946. HRESULT _hr = put_UniformColor(ppVal);
  25947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25948. }
  25949. #pragma implementation_key(3964)
  25950. inline VGCore::IVGFountainFillPtr VGCore::IVGFill::GetFountain ( ) {
  25951. struct IVGFountainFill * _result = 0;
  25952. HRESULT _hr = get_Fountain(&_result);
  25953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25954. return IVGFountainFillPtr(_result, false);
  25955. }
  25956. #pragma implementation_key(3965)
  25957. inline void VGCore::IVGFill::PutFountain ( struct IVGFountainFill * ppVal ) {
  25958. HRESULT _hr = put_Fountain(ppVal);
  25959. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25960. }
  25961. #pragma implementation_key(3966)
  25962. inline VGCore::IVGPatternFillPtr VGCore::IVGFill::GetPattern ( ) {
  25963. struct IVGPatternFill * _result = 0;
  25964. HRESULT _hr = get_Pattern(&_result);
  25965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25966. return IVGPatternFillPtr(_result, false);
  25967. }
  25968. #pragma implementation_key(3967)
  25969. inline void VGCore::IVGFill::PutPattern ( struct IVGPatternFill * ppVal ) {
  25970. HRESULT _hr = put_Pattern(ppVal);
  25971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25972. }
  25973. #pragma implementation_key(3968)
  25974. inline VGCore::IVGTextureFillPtr VGCore::IVGFill::GetTexture ( ) {
  25975. struct IVGTextureFill * _result = 0;
  25976. HRESULT _hr = get_Texture(&_result);
  25977. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25978. return IVGTextureFillPtr(_result, false);
  25979. }
  25980. #pragma implementation_key(3969)
  25981. inline void VGCore::IVGFill::PutTexture ( struct IVGTextureFill * ppVal ) {
  25982. HRESULT _hr = put_Texture(ppVal);
  25983. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25984. }
  25985. #pragma implementation_key(3970)
  25986. inline VGCore::IVGPostScriptFillPtr VGCore::IVGFill::GetPostScript ( ) {
  25987. struct IVGPostScriptFill * _result = 0;
  25988. HRESULT _hr = get_PostScript(&_result);
  25989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25990. return IVGPostScriptFillPtr(_result, false);
  25991. }
  25992. #pragma implementation_key(3971)
  25993. inline void VGCore::IVGFill::PutPostScript ( struct IVGPostScriptFill * ppVal ) {
  25994. HRESULT _hr = put_PostScript(ppVal);
  25995. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  25996. }
  25997. #pragma implementation_key(3972)
  25998. inline HRESULT VGCore::IVGFill::ApplyNoFill ( ) {
  25999. HRESULT _hr = raw_ApplyNoFill();
  26000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26001. return _hr;
  26002. }
  26003. #pragma implementation_key(3973)
  26004. inline HRESULT VGCore::IVGFill::ApplyUniformFill ( struct IVGColor * Color ) {
  26005. HRESULT _hr = raw_ApplyUniformFill(Color);
  26006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26007. return _hr;
  26008. }
  26009. #pragma implementation_key(3974)
  26010. inline VGCore::IVGFountainFillPtr VGCore::IVGFill::ApplyFountainFill ( struct IVGColor * StartColor, struct IVGColor * EndColor, enum cdrFountainFillType Type, double Angle, long Steps, long EdgePad, long MidPoint, enum cdrFountainFillBlendType BlendType, double CenterOffsetX, double CenterOffsetY ) {
  26011. struct IVGFountainFill * _result = 0;
  26012. HRESULT _hr = raw_ApplyFountainFill(StartColor, EndColor, Type, Angle, Steps, EdgePad, MidPoint, BlendType, CenterOffsetX, CenterOffsetY, &_result);
  26013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26014. return IVGFountainFillPtr(_result, false);
  26015. }
  26016. #pragma implementation_key(3975)
  26017. inline VGCore::IVGPatternFillPtr VGCore::IVGFill::ApplyPatternFill ( enum cdrPatternFillType Type, _bstr_t FileName, long PatternCanvasIndex, struct IVGColor * FrontColor, struct IVGColor * EndColor, VARIANT_BOOL TransformWithShape ) {
  26018. struct IVGPatternFill * _result = 0;
  26019. HRESULT _hr = raw_ApplyPatternFill(Type, FileName, PatternCanvasIndex, FrontColor, EndColor, TransformWithShape, &_result);
  26020. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26021. return IVGPatternFillPtr(_result, false);
  26022. }
  26023. #pragma implementation_key(3976)
  26024. inline VGCore::IVGTextureFillPtr VGCore::IVGFill::ApplyTextureFill ( _bstr_t TextureName, _bstr_t LibraryName ) {
  26025. struct IVGTextureFill * _result = 0;
  26026. HRESULT _hr = raw_ApplyTextureFill(TextureName, LibraryName, &_result);
  26027. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26028. return IVGTextureFillPtr(_result, false);
  26029. }
  26030. #pragma implementation_key(3977)
  26031. inline VGCore::IVGPostScriptFillPtr VGCore::IVGFill::ApplyPostscriptFill ( const _variant_t & IndexOrName ) {
  26032. struct IVGPostScriptFill * _result = 0;
  26033. HRESULT _hr = raw_ApplyPostscriptFill(IndexOrName, &_result);
  26034. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26035. return IVGPostScriptFillPtr(_result, false);
  26036. }
  26037. #pragma implementation_key(3978)
  26038. inline VGCore::IVGFillPtr VGCore::IVGFill::GetCopy ( ) {
  26039. struct IVGFill * _result = 0;
  26040. HRESULT _hr = raw_GetCopy(&_result);
  26041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26042. return IVGFillPtr(_result, false);
  26043. }
  26044. #pragma implementation_key(3979)
  26045. inline HRESULT VGCore::IVGFill::CopyAssign ( struct IVGFill * SourceFill ) {
  26046. HRESULT _hr = raw_CopyAssign(SourceFill);
  26047. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26048. return _hr;
  26049. }
  26050. #pragma implementation_key(3980)
  26051. inline VARIANT_BOOL VGCore::IVGFill::UserAssign ( enum cdrFillType FillType, enum cdrPatternFillType PatternType, long ParentWindowHandle ) {
  26052. VARIANT_BOOL _result = 0;
  26053. HRESULT _hr = raw_UserAssign(FillType, PatternType, ParentWindowHandle, &_result);
  26054. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26055. return _result;
  26056. }
  26057. #pragma implementation_key(3981)
  26058. inline VGCore::IVGPSScreenOptionsPtr VGCore::IVGFill::GetPSScreen ( ) {
  26059. struct IVGPSScreenOptions * _result = 0;
  26060. HRESULT _hr = get_PSScreen(&_result);
  26061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26062. return IVGPSScreenOptionsPtr(_result, false);
  26063. }
  26064. #pragma implementation_key(3982)
  26065. inline VGCore::IVGHatchFillPtr VGCore::IVGFill::GetHatch ( ) {
  26066. struct IVGHatchFill * _result = 0;
  26067. HRESULT _hr = get_Hatch(&_result);
  26068. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26069. return IVGHatchFillPtr(_result, false);
  26070. }
  26071. #pragma implementation_key(3983)
  26072. inline void VGCore::IVGFill::PutHatch ( struct IVGHatchFill * ppVal ) {
  26073. HRESULT _hr = put_Hatch(ppVal);
  26074. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26075. }
  26076. #pragma implementation_key(3984)
  26077. inline VARIANT_BOOL VGCore::IVGFill::CompareWith ( struct IVGFill * Fill ) {
  26078. VARIANT_BOOL _result = 0;
  26079. HRESULT _hr = raw_CompareWith(Fill, &_result);
  26080. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26081. return _result;
  26082. }
  26083. #pragma implementation_key(3985)
  26084. inline VGCore::IVGHatchFillPtr VGCore::IVGFill::ApplyCustomHatchFill ( double Angle, double Spacing, double Shift, double OriginX, double OriginY, double Width, struct IVGColor * Color, struct IVGOutlineStyle * Style, double DashDotLength, double PenWidth, struct IVGColor * BackColor, VARIANT_BOOL TransformWithShape, VARIANT_BOOL ScaleLinesWithShape, VARIANT_BOOL UseWorldCoordinates, double FillScale, double LineScale, double FillAngle, double FillSkew ) {
  26085. struct IVGHatchFill * _result = 0;
  26086. HRESULT _hr = raw_ApplyCustomHatchFill(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew, &_result);
  26087. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26088. return IVGHatchFillPtr(_result, false);
  26089. }
  26090. #pragma implementation_key(3986)
  26091. inline VGCore::IVGHatchFillPtr VGCore::IVGFill::ApplyHatchFill ( _bstr_t LibraryName, const _variant_t & HatchNameOrIndex, struct IVGColor * BackColor, VARIANT_BOOL TransformWithShape, VARIANT_BOOL ScaleLinesWithShape, VARIANT_BOOL UseWorldCoordinates, double FillScale, double LineScale, double FillAngle, double FillSkew ) {
  26092. struct IVGHatchFill * _result = 0;
  26093. HRESULT _hr = raw_ApplyHatchFill(LibraryName, HatchNameOrIndex, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew, &_result);
  26094. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26095. return IVGHatchFillPtr(_result, false);
  26096. }
  26097. #pragma implementation_key(3987)
  26098. inline _bstr_t VGCore::IVGFill::ToString ( ) {
  26099. BSTR _result = 0;
  26100. HRESULT _hr = raw_ToString(&_result);
  26101. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26102. return _bstr_t(_result, false);
  26103. }
  26104. #pragma implementation_key(3988)
  26105. inline VARIANT_BOOL VGCore::IVGFill::StringAssign ( _bstr_t FillString ) {
  26106. VARIANT_BOOL _result = 0;
  26107. HRESULT _hr = raw_StringAssign(FillString, &_result);
  26108. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26109. return _result;
  26110. }
  26111. //
  26112. // interface IVGHatchFills wrapper method implementations
  26113. //
  26114. #pragma implementation_key(3989)
  26115. inline VGCore::IVGFillPtr VGCore::IVGHatchFills::GetItem ( const _variant_t & IndexOrName ) {
  26116. struct IVGFill * _result = 0;
  26117. HRESULT _hr = get_Item(IndexOrName, &_result);
  26118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26119. return IVGFillPtr(_result, false);
  26120. }
  26121. #pragma implementation_key(3990)
  26122. inline long VGCore::IVGHatchFills::GetCount ( ) {
  26123. long _result = 0;
  26124. HRESULT _hr = get_Count(&_result);
  26125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26126. return _result;
  26127. }
  26128. #pragma implementation_key(3991)
  26129. inline IUnknownPtr VGCore::IVGHatchFills::Get_NewEnum ( ) {
  26130. IUnknown * _result = 0;
  26131. HRESULT _hr = get__NewEnum(&_result);
  26132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26133. return IUnknownPtr(_result, false);
  26134. }
  26135. #pragma implementation_key(3992)
  26136. inline VGCore::IVGFillPtr VGCore::IVGHatchFills::Find ( _bstr_t Name ) {
  26137. struct IVGFill * _result = 0;
  26138. HRESULT _hr = raw_Find(Name, &_result);
  26139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26140. return IVGFillPtr(_result, false);
  26141. }
  26142. //
  26143. // interface IVGHatchLibrary wrapper method implementations
  26144. //
  26145. #pragma implementation_key(3993)
  26146. inline _bstr_t VGCore::IVGHatchLibrary::GetName ( ) {
  26147. BSTR _result = 0;
  26148. HRESULT _hr = get_Name(&_result);
  26149. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26150. return _bstr_t(_result, false);
  26151. }
  26152. #pragma implementation_key(3994)
  26153. inline VGCore::IVGHatchFillsPtr VGCore::IVGHatchLibrary::GetFills ( ) {
  26154. struct IVGHatchFills * _result = 0;
  26155. HRESULT _hr = get_Fills(&_result);
  26156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26157. return IVGHatchFillsPtr(_result, false);
  26158. }
  26159. #pragma implementation_key(3995)
  26160. inline VARIANT_BOOL VGCore::IVGHatchLibrary::GetActive ( ) {
  26161. VARIANT_BOOL _result = 0;
  26162. HRESULT _hr = get_Active(&_result);
  26163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26164. return _result;
  26165. }
  26166. #pragma implementation_key(3996)
  26167. inline long VGCore::IVGHatchLibrary::GetIndex ( ) {
  26168. long _result = 0;
  26169. HRESULT _hr = get_Index(&_result);
  26170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26171. return _result;
  26172. }
  26173. #pragma implementation_key(3997)
  26174. inline HRESULT VGCore::IVGHatchLibrary::Activate ( ) {
  26175. HRESULT _hr = raw_Activate();
  26176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26177. return _hr;
  26178. }
  26179. #pragma implementation_key(3998)
  26180. inline _bstr_t VGCore::IVGHatchLibrary::GetDisplayName ( ) {
  26181. BSTR _result = 0;
  26182. HRESULT _hr = get_DisplayName(&_result);
  26183. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26184. return _bstr_t(_result, false);
  26185. }
  26186. //
  26187. // interface IVGHatchFill wrapper method implementations
  26188. //
  26189. #pragma implementation_key(3999)
  26190. inline VGCore::IVGColorPtr VGCore::IVGHatchFill::GetBackColor ( ) {
  26191. struct IVGColor * _result = 0;
  26192. HRESULT _hr = get_BackColor(&_result);
  26193. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26194. return IVGColorPtr(_result, false);
  26195. }
  26196. #pragma implementation_key(4000)
  26197. inline void VGCore::IVGHatchFill::PutBackColor ( struct IVGColor * ppVal ) {
  26198. HRESULT _hr = put_BackColor(ppVal);
  26199. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26200. }
  26201. #pragma implementation_key(4001)
  26202. inline VARIANT_BOOL VGCore::IVGHatchFill::GetHasBackground ( ) {
  26203. VARIANT_BOOL _result = 0;
  26204. HRESULT _hr = get_HasBackground(&_result);
  26205. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26206. return _result;
  26207. }
  26208. #pragma implementation_key(4002)
  26209. inline VARIANT_BOOL VGCore::IVGHatchFill::GetTransformWithShape ( ) {
  26210. VARIANT_BOOL _result = 0;
  26211. HRESULT _hr = get_TransformWithShape(&_result);
  26212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26213. return _result;
  26214. }
  26215. #pragma implementation_key(4003)
  26216. inline void VGCore::IVGHatchFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
  26217. HRESULT _hr = put_TransformWithShape(pVal);
  26218. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26219. }
  26220. #pragma implementation_key(4004)
  26221. inline VARIANT_BOOL VGCore::IVGHatchFill::GetScaleLinesWithShape ( ) {
  26222. VARIANT_BOOL _result = 0;
  26223. HRESULT _hr = get_ScaleLinesWithShape(&_result);
  26224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26225. return _result;
  26226. }
  26227. #pragma implementation_key(4005)
  26228. inline void VGCore::IVGHatchFill::PutScaleLinesWithShape ( VARIANT_BOOL pVal ) {
  26229. HRESULT _hr = put_ScaleLinesWithShape(pVal);
  26230. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26231. }
  26232. #pragma implementation_key(4006)
  26233. inline VARIANT_BOOL VGCore::IVGHatchFill::GetUseWorldCoordinates ( ) {
  26234. VARIANT_BOOL _result = 0;
  26235. HRESULT _hr = get_UseWorldCoordinates(&_result);
  26236. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26237. return _result;
  26238. }
  26239. #pragma implementation_key(4007)
  26240. inline void VGCore::IVGHatchFill::PutUseWorldCoordinates ( VARIANT_BOOL pVal ) {
  26241. HRESULT _hr = put_UseWorldCoordinates(pVal);
  26242. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26243. }
  26244. #pragma implementation_key(4008)
  26245. inline _bstr_t VGCore::IVGHatchFill::GetLibraryName ( ) {
  26246. BSTR _result = 0;
  26247. HRESULT _hr = get_LibraryName(&_result);
  26248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26249. return _bstr_t(_result, false);
  26250. }
  26251. #pragma implementation_key(4009)
  26252. inline _bstr_t VGCore::IVGHatchFill::GetHatchName ( ) {
  26253. BSTR _result = 0;
  26254. HRESULT _hr = get_HatchName(&_result);
  26255. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26256. return _bstr_t(_result, false);
  26257. }
  26258. #pragma implementation_key(4010)
  26259. inline VGCore::IVGHatchPatternsPtr VGCore::IVGHatchFill::GetPatterns ( ) {
  26260. struct IVGHatchPatterns * _result = 0;
  26261. HRESULT _hr = get_Patterns(&_result);
  26262. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26263. return IVGHatchPatternsPtr(_result, false);
  26264. }
  26265. #pragma implementation_key(4011)
  26266. inline double VGCore::IVGHatchFill::GetFillScaleX ( ) {
  26267. double _result = 0;
  26268. HRESULT _hr = get_FillScaleX(&_result);
  26269. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26270. return _result;
  26271. }
  26272. #pragma implementation_key(4012)
  26273. inline void VGCore::IVGHatchFill::PutFillScaleX ( double pVal ) {
  26274. HRESULT _hr = put_FillScaleX(pVal);
  26275. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26276. }
  26277. #pragma implementation_key(4013)
  26278. inline double VGCore::IVGHatchFill::GetFillScaleY ( ) {
  26279. double _result = 0;
  26280. HRESULT _hr = get_FillScaleY(&_result);
  26281. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26282. return _result;
  26283. }
  26284. #pragma implementation_key(4014)
  26285. inline void VGCore::IVGHatchFill::PutFillScaleY ( double pVal ) {
  26286. HRESULT _hr = put_FillScaleY(pVal);
  26287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26288. }
  26289. #pragma implementation_key(4015)
  26290. inline double VGCore::IVGHatchFill::GetRotationAngle ( ) {
  26291. double _result = 0;
  26292. HRESULT _hr = get_RotationAngle(&_result);
  26293. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26294. return _result;
  26295. }
  26296. #pragma implementation_key(4016)
  26297. inline void VGCore::IVGHatchFill::PutRotationAngle ( double pVal ) {
  26298. HRESULT _hr = put_RotationAngle(pVal);
  26299. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26300. }
  26301. #pragma implementation_key(4017)
  26302. inline double VGCore::IVGHatchFill::GetSkewAngle ( ) {
  26303. double _result = 0;
  26304. HRESULT _hr = get_SkewAngle(&_result);
  26305. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26306. return _result;
  26307. }
  26308. #pragma implementation_key(4018)
  26309. inline void VGCore::IVGHatchFill::PutSkewAngle ( double pVal ) {
  26310. HRESULT _hr = put_SkewAngle(pVal);
  26311. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26312. }
  26313. #pragma implementation_key(4019)
  26314. inline HRESULT VGCore::IVGHatchFill::SetNoBackColor ( ) {
  26315. HRESULT _hr = raw_SetNoBackColor();
  26316. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26317. return _hr;
  26318. }
  26319. #pragma implementation_key(4020)
  26320. inline HRESULT VGCore::IVGHatchFill::SetFillScale ( double FillScale ) {
  26321. HRESULT _hr = raw_SetFillScale(FillScale);
  26322. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26323. return _hr;
  26324. }
  26325. #pragma implementation_key(4021)
  26326. inline double VGCore::IVGHatchFill::GetFillScale ( ) {
  26327. double _result = 0;
  26328. HRESULT _hr = raw_GetFillScale(&_result);
  26329. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26330. return _result;
  26331. }
  26332. #pragma implementation_key(4022)
  26333. inline HRESULT VGCore::IVGHatchFill::SetLineScale ( double LineScale ) {
  26334. HRESULT _hr = raw_SetLineScale(LineScale);
  26335. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26336. return _hr;
  26337. }
  26338. #pragma implementation_key(4023)
  26339. inline double VGCore::IVGHatchFill::GetLineScale ( ) {
  26340. double _result = 0;
  26341. HRESULT _hr = raw_GetLineScale(&_result);
  26342. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26343. return _result;
  26344. }
  26345. #pragma implementation_key(4024)
  26346. inline VGCore::IVGHatchPatternPtr VGCore::IVGHatchFill::AddPattern ( double Angle, double Spacing, double Shift, double OriginX, double OriginY, double Width, struct IVGColor * Color, struct IVGOutlineStyle * Style, double DashDotLength, double PenWidth ) {
  26347. struct IVGHatchPattern * _result = 0;
  26348. HRESULT _hr = raw_AddPattern(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth, &_result);
  26349. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26350. return IVGHatchPatternPtr(_result, false);
  26351. }
  26352. #pragma implementation_key(4025)
  26353. inline HRESULT VGCore::IVGHatchFill::AddToLibrary ( _bstr_t LibraryName, _bstr_t HatchName ) {
  26354. HRESULT _hr = raw_AddToLibrary(LibraryName, HatchName);
  26355. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26356. return _hr;
  26357. }
  26358. #pragma implementation_key(4026)
  26359. inline HRESULT VGCore::IVGHatchFill::Select ( _bstr_t LibraryName, const _variant_t & HatchNameOrIndex, struct IVGColor * BackColor, VARIANT_BOOL TransformWithShape, VARIANT_BOOL ScaleLinesWithShape, VARIANT_BOOL UseWorldCoordinates, double FillScale, double LineScale, double FillAngle, double FillSkew ) {
  26360. HRESULT _hr = raw_Select(LibraryName, HatchNameOrIndex, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew);
  26361. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26362. return _hr;
  26363. }
  26364. #pragma implementation_key(4027)
  26365. inline VARIANT_BOOL VGCore::IVGHatchFill::GetIsFromLibrary ( ) {
  26366. VARIANT_BOOL _result = 0;
  26367. HRESULT _hr = get_IsFromLibrary(&_result);
  26368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26369. return _result;
  26370. }
  26371. #pragma implementation_key(4028)
  26372. inline long VGCore::IVGHatchFill::GetIndex ( ) {
  26373. long _result = 0;
  26374. HRESULT _hr = get_Index(&_result);
  26375. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26376. return _result;
  26377. }
  26378. #pragma implementation_key(4029)
  26379. inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchFill::GetLibrary ( ) {
  26380. struct IVGHatchLibrary * _result = 0;
  26381. HRESULT _hr = get_Library(&_result);
  26382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26383. return IVGHatchLibraryPtr(_result, false);
  26384. }
  26385. //
  26386. // interface IVGStructFontProperties wrapper method implementations
  26387. //
  26388. #pragma implementation_key(4030)
  26389. inline void VGCore::IVGStructFontProperties::PutName ( _bstr_t pVal ) {
  26390. HRESULT _hr = put_Name(pVal);
  26391. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26392. }
  26393. #pragma implementation_key(4031)
  26394. inline _bstr_t VGCore::IVGStructFontProperties::GetName ( ) {
  26395. BSTR _result = 0;
  26396. HRESULT _hr = get_Name(&_result);
  26397. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26398. return _bstr_t(_result, false);
  26399. }
  26400. #pragma implementation_key(4032)
  26401. inline void VGCore::IVGStructFontProperties::PutStyle ( enum cdrFontStyle pVal ) {
  26402. HRESULT _hr = put_Style(pVal);
  26403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26404. }
  26405. #pragma implementation_key(4033)
  26406. inline enum VGCore::cdrFontStyle VGCore::IVGStructFontProperties::GetStyle ( ) {
  26407. enum cdrFontStyle _result;
  26408. HRESULT _hr = get_Style(&_result);
  26409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26410. return _result;
  26411. }
  26412. #pragma implementation_key(4034)
  26413. inline void VGCore::IVGStructFontProperties::PutSize ( float pVal ) {
  26414. HRESULT _hr = put_Size(pVal);
  26415. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26416. }
  26417. #pragma implementation_key(4035)
  26418. inline float VGCore::IVGStructFontProperties::GetSize ( ) {
  26419. float _result = 0;
  26420. HRESULT _hr = get_Size(&_result);
  26421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26422. return _result;
  26423. }
  26424. #pragma implementation_key(4036)
  26425. inline void VGCore::IVGStructFontProperties::PutUnderline ( enum cdrFontLine pVal ) {
  26426. HRESULT _hr = put_Underline(pVal);
  26427. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26428. }
  26429. #pragma implementation_key(4037)
  26430. inline enum VGCore::cdrFontLine VGCore::IVGStructFontProperties::GetUnderline ( ) {
  26431. enum cdrFontLine _result;
  26432. HRESULT _hr = get_Underline(&_result);
  26433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26434. return _result;
  26435. }
  26436. #pragma implementation_key(4038)
  26437. inline void VGCore::IVGStructFontProperties::PutOverscore ( enum cdrFontLine pVal ) {
  26438. HRESULT _hr = put_Overscore(pVal);
  26439. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26440. }
  26441. #pragma implementation_key(4039)
  26442. inline enum VGCore::cdrFontLine VGCore::IVGStructFontProperties::GetOverscore ( ) {
  26443. enum cdrFontLine _result;
  26444. HRESULT _hr = get_Overscore(&_result);
  26445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26446. return _result;
  26447. }
  26448. #pragma implementation_key(4040)
  26449. inline void VGCore::IVGStructFontProperties::PutStrikethru ( enum cdrFontLine pVal ) {
  26450. HRESULT _hr = put_Strikethru(pVal);
  26451. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26452. }
  26453. #pragma implementation_key(4041)
  26454. inline enum VGCore::cdrFontLine VGCore::IVGStructFontProperties::GetStrikethru ( ) {
  26455. enum cdrFontLine _result;
  26456. HRESULT _hr = get_Strikethru(&_result);
  26457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26458. return _result;
  26459. }
  26460. #pragma implementation_key(4042)
  26461. inline void VGCore::IVGStructFontProperties::PutUppercase ( enum cdrFontCase pVal ) {
  26462. HRESULT _hr = put_Uppercase(pVal);
  26463. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26464. }
  26465. #pragma implementation_key(4043)
  26466. inline enum VGCore::cdrFontCase VGCore::IVGStructFontProperties::GetUppercase ( ) {
  26467. enum cdrFontCase _result;
  26468. HRESULT _hr = get_Uppercase(&_result);
  26469. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26470. return _result;
  26471. }
  26472. #pragma implementation_key(4044)
  26473. inline void VGCore::IVGStructFontProperties::PutPosition ( enum cdrFontPosition pVal ) {
  26474. HRESULT _hr = put_Position(pVal);
  26475. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26476. }
  26477. #pragma implementation_key(4045)
  26478. inline enum VGCore::cdrFontPosition VGCore::IVGStructFontProperties::GetPosition ( ) {
  26479. enum cdrFontPosition _result;
  26480. HRESULT _hr = get_Position(&_result);
  26481. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26482. return _result;
  26483. }
  26484. #pragma implementation_key(4046)
  26485. inline void VGCore::IVGStructFontProperties::PutRangeKerning ( long pVal ) {
  26486. HRESULT _hr = put_RangeKerning(pVal);
  26487. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26488. }
  26489. #pragma implementation_key(4047)
  26490. inline long VGCore::IVGStructFontProperties::GetRangeKerning ( ) {
  26491. long _result = 0;
  26492. HRESULT _hr = get_RangeKerning(&_result);
  26493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26494. return _result;
  26495. }
  26496. #pragma implementation_key(4048)
  26497. inline void VGCore::IVGStructFontProperties::PutFill ( struct IVGFill * ppVal ) {
  26498. HRESULT _hr = put_Fill(ppVal);
  26499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26500. }
  26501. #pragma implementation_key(4049)
  26502. inline VGCore::IVGFillPtr VGCore::IVGStructFontProperties::GetFill ( ) {
  26503. struct IVGFill * _result = 0;
  26504. HRESULT _hr = get_Fill(&_result);
  26505. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26506. return IVGFillPtr(_result, false);
  26507. }
  26508. #pragma implementation_key(4050)
  26509. inline void VGCore::IVGStructFontProperties::PutOutline ( struct IVGOutline * ppVal ) {
  26510. HRESULT _hr = put_Outline(ppVal);
  26511. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26512. }
  26513. #pragma implementation_key(4051)
  26514. inline VGCore::IVGOutlinePtr VGCore::IVGStructFontProperties::GetOutline ( ) {
  26515. struct IVGOutline * _result = 0;
  26516. HRESULT _hr = get_Outline(&_result);
  26517. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26518. return IVGOutlinePtr(_result, false);
  26519. }
  26520. //
  26521. // interface IVGHatchLibraries wrapper method implementations
  26522. //
  26523. #pragma implementation_key(4052)
  26524. inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::GetItem ( const _variant_t & IndexOrName ) {
  26525. struct IVGHatchLibrary * _result = 0;
  26526. HRESULT _hr = get_Item(IndexOrName, &_result);
  26527. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26528. return IVGHatchLibraryPtr(_result, false);
  26529. }
  26530. #pragma implementation_key(4053)
  26531. inline long VGCore::IVGHatchLibraries::GetCount ( ) {
  26532. long _result = 0;
  26533. HRESULT _hr = get_Count(&_result);
  26534. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26535. return _result;
  26536. }
  26537. #pragma implementation_key(4054)
  26538. inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::Find ( _bstr_t Name ) {
  26539. struct IVGHatchLibrary * _result = 0;
  26540. HRESULT _hr = raw_Find(Name, &_result);
  26541. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26542. return IVGHatchLibraryPtr(_result, false);
  26543. }
  26544. #pragma implementation_key(4055)
  26545. inline IUnknownPtr VGCore::IVGHatchLibraries::Get_NewEnum ( ) {
  26546. IUnknown * _result = 0;
  26547. HRESULT _hr = get__NewEnum(&_result);
  26548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26549. return IUnknownPtr(_result, false);
  26550. }
  26551. #pragma implementation_key(4056)
  26552. inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::GetActiveLibrary ( ) {
  26553. struct IVGHatchLibrary * _result = 0;
  26554. HRESULT _hr = get_ActiveLibrary(&_result);
  26555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26556. return IVGHatchLibraryPtr(_result, false);
  26557. }
  26558. #pragma implementation_key(4057)
  26559. inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::GetDefaultLibrary ( ) {
  26560. struct IVGHatchLibrary * _result = 0;
  26561. HRESULT _hr = get_DefaultLibrary(&_result);
  26562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26563. return IVGHatchLibraryPtr(_result, false);
  26564. }
  26565. //
  26566. // interface IVGText wrapper method implementations
  26567. //
  26568. #pragma implementation_key(4058)
  26569. inline enum VGCore::cdrTextType VGCore::IVGText::GetType ( ) {
  26570. enum cdrTextType _result;
  26571. HRESULT _hr = get_Type(&_result);
  26572. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26573. return _result;
  26574. }
  26575. #pragma implementation_key(4059)
  26576. inline long VGCore::IVGText::GetFramesInLink ( ) {
  26577. long _result = 0;
  26578. HRESULT _hr = get_FramesInLink(&_result);
  26579. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26580. return _result;
  26581. }
  26582. #pragma implementation_key(4060)
  26583. inline long VGCore::IVGText::GetUnusedFramesInLink ( ) {
  26584. long _result = 0;
  26585. HRESULT _hr = get_UnusedFramesInLink(&_result);
  26586. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26587. return _result;
  26588. }
  26589. #pragma implementation_key(4061)
  26590. inline VARIANT_BOOL VGCore::IVGText::GetOverflow ( ) {
  26591. VARIANT_BOOL _result = 0;
  26592. HRESULT _hr = get_Overflow(&_result);
  26593. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26594. return _result;
  26595. }
  26596. #pragma implementation_key(4062)
  26597. inline VGCore::IVGStructFontPropertiesPtr VGCore::IVGText::GetFontProperties ( enum cdrTextFrames Frames ) {
  26598. struct IVGStructFontProperties * _result = 0;
  26599. HRESULT _hr = get_FontProperties(Frames, &_result);
  26600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26601. return IVGStructFontPropertiesPtr(_result, false);
  26602. }
  26603. #pragma implementation_key(4063)
  26604. inline void VGCore::IVGText::PutFontProperties ( enum cdrTextFrames Frames, struct IVGStructFontProperties * ppVal ) {
  26605. HRESULT _hr = put_FontProperties(Frames, ppVal);
  26606. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26607. }
  26608. #pragma implementation_key(4064)
  26609. inline VGCore::IVGStructFontPropertiesPtr VGCore::IVGText::GetFontPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
  26610. struct IVGStructFontProperties * _result = 0;
  26611. HRESULT _hr = get_FontPropertiesInRange(StartIndex, Count, IndexingType, &_result);
  26612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26613. return IVGStructFontPropertiesPtr(_result, false);
  26614. }
  26615. #pragma implementation_key(4065)
  26616. inline void VGCore::IVGText::PutFontPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructFontProperties * ppVal ) {
  26617. HRESULT _hr = put_FontPropertiesInRange(StartIndex, Count, IndexingType, ppVal);
  26618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26619. }
  26620. #pragma implementation_key(4066)
  26621. inline VGCore::IVGStructAlignPropertiesPtr VGCore::IVGText::GetAlignProperties ( enum cdrTextFrames Frames ) {
  26622. struct IVGStructAlignProperties * _result = 0;
  26623. HRESULT _hr = get_AlignProperties(Frames, &_result);
  26624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26625. return IVGStructAlignPropertiesPtr(_result, false);
  26626. }
  26627. #pragma implementation_key(4067)
  26628. inline void VGCore::IVGText::PutAlignProperties ( enum cdrTextFrames Frames, struct IVGStructAlignProperties * ppVal ) {
  26629. HRESULT _hr = put_AlignProperties(Frames, ppVal);
  26630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26631. }
  26632. #pragma implementation_key(4068)
  26633. inline VGCore::IVGStructAlignPropertiesPtr VGCore::IVGText::GetAlignPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
  26634. struct IVGStructAlignProperties * _result = 0;
  26635. HRESULT _hr = get_AlignPropertiesInRange(StartIndex, Count, IndexingType, &_result);
  26636. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26637. return IVGStructAlignPropertiesPtr(_result, false);
  26638. }
  26639. #pragma implementation_key(4069)
  26640. inline void VGCore::IVGText::PutAlignPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructAlignProperties * ppVal ) {
  26641. HRESULT _hr = put_AlignPropertiesInRange(StartIndex, Count, IndexingType, ppVal);
  26642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26643. }
  26644. #pragma implementation_key(4070)
  26645. inline VGCore::IVGStructSpacePropertiesPtr VGCore::IVGText::GetSpaceProperties ( enum cdrTextFrames Frames ) {
  26646. struct IVGStructSpaceProperties * _result = 0;
  26647. HRESULT _hr = get_SpaceProperties(Frames, &_result);
  26648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26649. return IVGStructSpacePropertiesPtr(_result, false);
  26650. }
  26651. #pragma implementation_key(4071)
  26652. inline void VGCore::IVGText::PutSpaceProperties ( enum cdrTextFrames Frames, struct IVGStructSpaceProperties * ppVal ) {
  26653. HRESULT _hr = put_SpaceProperties(Frames, ppVal);
  26654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26655. }
  26656. #pragma implementation_key(4072)
  26657. inline VGCore::IVGStructSpacePropertiesPtr VGCore::IVGText::GetSpacePropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
  26658. struct IVGStructSpaceProperties * _result = 0;
  26659. HRESULT _hr = get_SpacePropertiesInRange(StartIndex, Count, IndexingType, &_result);
  26660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26661. return IVGStructSpacePropertiesPtr(_result, false);
  26662. }
  26663. #pragma implementation_key(4073)
  26664. inline void VGCore::IVGText::PutSpacePropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructSpaceProperties * ppVal ) {
  26665. HRESULT _hr = put_SpacePropertiesInRange(StartIndex, Count, IndexingType, ppVal);
  26666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26667. }
  26668. #pragma implementation_key(4074)
  26669. inline VGCore::IVGStructHyphenationSettingsPtr VGCore::IVGText::GetHyphenationSettings ( enum cdrTextFrames Frames ) {
  26670. struct IVGStructHyphenationSettings * _result = 0;
  26671. HRESULT _hr = get_HyphenationSettings(Frames, &_result);
  26672. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26673. return IVGStructHyphenationSettingsPtr(_result, false);
  26674. }
  26675. #pragma implementation_key(4075)
  26676. inline void VGCore::IVGText::PutHyphenationSettings ( enum cdrTextFrames Frames, struct IVGStructHyphenationSettings * ppVal ) {
  26677. HRESULT _hr = put_HyphenationSettings(Frames, ppVal);
  26678. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26679. }
  26680. #pragma implementation_key(4076)
  26681. inline VGCore::IVGStructHyphenationSettingsPtr VGCore::IVGText::GetHyphenationSettingsInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
  26682. struct IVGStructHyphenationSettings * _result = 0;
  26683. HRESULT _hr = get_HyphenationSettingsInRange(StartIndex, Count, IndexingType, &_result);
  26684. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26685. return IVGStructHyphenationSettingsPtr(_result, false);
  26686. }
  26687. #pragma implementation_key(4077)
  26688. inline void VGCore::IVGText::PutHyphenationSettingsInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructHyphenationSettings * ppVal ) {
  26689. HRESULT _hr = put_HyphenationSettingsInRange(StartIndex, Count, IndexingType, ppVal);
  26690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26691. }
  26692. #pragma implementation_key(4078)
  26693. inline _bstr_t VGCore::IVGText::GetContents ( enum cdrTextFrames Frames ) {
  26694. BSTR _result = 0;
  26695. HRESULT _hr = get_Contents(Frames, &_result);
  26696. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26697. return _bstr_t(_result, false);
  26698. }
  26699. #pragma implementation_key(4079)
  26700. inline void VGCore::IVGText::PutContents ( enum cdrTextFrames Frames, _bstr_t pVal ) {
  26701. HRESULT _hr = put_Contents(Frames, pVal);
  26702. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26703. }
  26704. #pragma implementation_key(4080)
  26705. inline VGCore::IVGEffectPtr VGCore::IVGText::FitToPath ( struct IVGShape * Path ) {
  26706. struct IVGEffect * _result = 0;
  26707. HRESULT _hr = raw_FitToPath(Path, &_result);
  26708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26709. return IVGEffectPtr(_result, false);
  26710. }
  26711. #pragma implementation_key(4081)
  26712. inline long VGCore::IVGText::Find ( _bstr_t Text, VARIANT_BOOL CaseSensitive, long StartIndex, VARIANT_BOOL WrapAround, enum cdrTextIndexingType IndexingType ) {
  26713. long _result = 0;
  26714. HRESULT _hr = raw_Find(Text, CaseSensitive, StartIndex, WrapAround, IndexingType, &_result);
  26715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26716. return _result;
  26717. }
  26718. #pragma implementation_key(4082)
  26719. inline HRESULT VGCore::IVGText::Replace ( _bstr_t OldText, _bstr_t NewText, VARIANT_BOOL CaseSensitive, long StartIndex, VARIANT_BOOL ReplaceAll, VARIANT_BOOL WrapAround, enum cdrTextIndexingType IndexingType ) {
  26720. HRESULT _hr = raw_Replace(OldText, NewText, CaseSensitive, StartIndex, ReplaceAll, WrapAround, IndexingType);
  26721. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26722. return _hr;
  26723. }
  26724. #pragma implementation_key(4083)
  26725. inline HRESULT VGCore::IVGText::ImportFromFile ( _bstr_t FileName, long StartIndex, enum cdrTextIndexingType IndexingType ) {
  26726. HRESULT _hr = raw_ImportFromFile(FileName, StartIndex, IndexingType);
  26727. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26728. return _hr;
  26729. }
  26730. #pragma implementation_key(4084)
  26731. inline HRESULT VGCore::IVGText::ExportToFile ( _bstr_t FileName, long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
  26732. HRESULT _hr = raw_ExportToFile(FileName, StartIndex, Count, IndexingType);
  26733. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26734. return _hr;
  26735. }
  26736. #pragma implementation_key(4085)
  26737. inline HRESULT VGCore::IVGText::ConvertToArtistic ( ) {
  26738. HRESULT _hr = raw_ConvertToArtistic();
  26739. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26740. return _hr;
  26741. }
  26742. #pragma implementation_key(4086)
  26743. inline HRESULT VGCore::IVGText::ConvertToParagraph ( ) {
  26744. HRESULT _hr = raw_ConvertToParagraph();
  26745. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26746. return _hr;
  26747. }
  26748. #pragma implementation_key(4087)
  26749. inline VARIANT_BOOL VGCore::IVGText::GetIsHTMLCompatible ( ) {
  26750. VARIANT_BOOL _result = 0;
  26751. HRESULT _hr = get_IsHTMLCompatible(&_result);
  26752. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26753. return _result;
  26754. }
  26755. #pragma implementation_key(4088)
  26756. inline VARIANT_BOOL VGCore::IVGText::MakeHTMLCompatible ( VARIANT_BOOL HTML ) {
  26757. VARIANT_BOOL _result = 0;
  26758. HRESULT _hr = raw_MakeHTMLCompatible(HTML, &_result);
  26759. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26760. return _result;
  26761. }
  26762. #pragma implementation_key(4089)
  26763. inline VGCore::IVGTextRangePtr VGCore::IVGText::GetStory ( ) {
  26764. struct IVGTextRange * _result = 0;
  26765. HRESULT _hr = get_Story(&_result);
  26766. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26767. return IVGTextRangePtr(_result, false);
  26768. }
  26769. #pragma implementation_key(4090)
  26770. inline VGCore::IVGTextRangePtr VGCore::IVGText::GetSelection ( ) {
  26771. struct IVGTextRange * _result = 0;
  26772. HRESULT _hr = get_Selection(&_result);
  26773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26774. return IVGTextRangePtr(_result, false);
  26775. }
  26776. #pragma implementation_key(4091)
  26777. inline VGCore::IVGTextRangePtr VGCore::IVGText::Range ( long Start, long End ) {
  26778. struct IVGTextRange * _result = 0;
  26779. HRESULT _hr = raw_Range(Start, End, &_result);
  26780. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26781. return IVGTextRangePtr(_result, false);
  26782. }
  26783. #pragma implementation_key(4092)
  26784. inline VARIANT_BOOL VGCore::IVGText::GetIsEditing ( ) {
  26785. VARIANT_BOOL _result = 0;
  26786. HRESULT _hr = get_IsEditing(&_result);
  26787. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26788. return _result;
  26789. }
  26790. #pragma implementation_key(4093)
  26791. inline HRESULT VGCore::IVGText::BeginEdit ( ) {
  26792. HRESULT _hr = raw_BeginEdit();
  26793. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26794. return _hr;
  26795. }
  26796. #pragma implementation_key(4094)
  26797. inline VGCore::IVGTextFramePtr VGCore::IVGText::GetFrame ( ) {
  26798. struct IVGTextFrame * _result = 0;
  26799. HRESULT _hr = get_Frame(&_result);
  26800. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26801. return IVGTextFramePtr(_result, false);
  26802. }
  26803. #pragma implementation_key(4095)
  26804. inline VGCore::IVGTextFramesPtr VGCore::IVGText::GetFrames ( ) {
  26805. struct IVGTextFrames * _result = 0;
  26806. HRESULT _hr = get_Frames(&_result);
  26807. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26808. return IVGTextFramesPtr(_result, false);
  26809. }
  26810. #pragma implementation_key(4096)
  26811. inline VARIANT_BOOL VGCore::IVGText::GetIsArtisticText ( ) {
  26812. VARIANT_BOOL _result = 0;
  26813. HRESULT _hr = get_IsArtisticText(&_result);
  26814. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26815. return _result;
  26816. }
  26817. #pragma implementation_key(4097)
  26818. inline HRESULT VGCore::IVGText::FitTextToFrame ( ) {
  26819. HRESULT _hr = raw_FitTextToFrame();
  26820. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26821. return _hr;
  26822. }
  26823. //
  26824. // interface IVGEffect wrapper method implementations
  26825. //
  26826. #pragma implementation_key(4098)
  26827. inline VGCore::IVGApplicationPtr VGCore::IVGEffect::GetApplication ( ) {
  26828. struct IVGApplication * _result = 0;
  26829. HRESULT _hr = get_Application(&_result);
  26830. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26831. return IVGApplicationPtr(_result, false);
  26832. }
  26833. #pragma implementation_key(4099)
  26834. inline VGCore::IVGEffectsPtr VGCore::IVGEffect::GetParent ( ) {
  26835. struct IVGEffects * _result = 0;
  26836. HRESULT _hr = get_Parent(&_result);
  26837. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26838. return IVGEffectsPtr(_result, false);
  26839. }
  26840. #pragma implementation_key(4100)
  26841. inline enum VGCore::cdrEffectType VGCore::IVGEffect::GetType ( ) {
  26842. enum cdrEffectType _result;
  26843. HRESULT _hr = get_Type(&_result);
  26844. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26845. return _result;
  26846. }
  26847. #pragma implementation_key(4101)
  26848. inline VGCore::IVGEffectBlendPtr VGCore::IVGEffect::GetBlend ( ) {
  26849. struct IVGEffectBlend * _result = 0;
  26850. HRESULT _hr = get_Blend(&_result);
  26851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26852. return IVGEffectBlendPtr(_result, false);
  26853. }
  26854. #pragma implementation_key(4102)
  26855. inline VGCore::IVGEffectControlPathPtr VGCore::IVGEffect::GetControlPath ( ) {
  26856. struct IVGEffectControlPath * _result = 0;
  26857. HRESULT _hr = get_ControlPath(&_result);
  26858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26859. return IVGEffectControlPathPtr(_result, false);
  26860. }
  26861. #pragma implementation_key(4103)
  26862. inline VGCore::IVGEffectExtrudePtr VGCore::IVGEffect::GetExtrude ( ) {
  26863. struct IVGEffectExtrude * _result = 0;
  26864. HRESULT _hr = get_Extrude(&_result);
  26865. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26866. return IVGEffectExtrudePtr(_result, false);
  26867. }
  26868. #pragma implementation_key(4104)
  26869. inline VGCore::IVGEffectEnvelopePtr VGCore::IVGEffect::GetEnvelope ( ) {
  26870. struct IVGEffectEnvelope * _result = 0;
  26871. HRESULT _hr = get_Envelope(&_result);
  26872. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26873. return IVGEffectEnvelopePtr(_result, false);
  26874. }
  26875. #pragma implementation_key(4105)
  26876. inline VGCore::IVGEffectTextOnPathPtr VGCore::IVGEffect::GetTextOnPath ( ) {
  26877. struct IVGEffectTextOnPath * _result = 0;
  26878. HRESULT _hr = get_TextOnPath(&_result);
  26879. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26880. return IVGEffectTextOnPathPtr(_result, false);
  26881. }
  26882. #pragma implementation_key(4106)
  26883. inline VGCore::IVGEffectDropShadowPtr VGCore::IVGEffect::GetDropShadow ( ) {
  26884. struct IVGEffectDropShadow * _result = 0;
  26885. HRESULT _hr = get_DropShadow(&_result);
  26886. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26887. return IVGEffectDropShadowPtr(_result, false);
  26888. }
  26889. #pragma implementation_key(4107)
  26890. inline VGCore::IVGEffectContourPtr VGCore::IVGEffect::GetContour ( ) {
  26891. struct IVGEffectContour * _result = 0;
  26892. HRESULT _hr = get_Contour(&_result);
  26893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26894. return IVGEffectContourPtr(_result, false);
  26895. }
  26896. #pragma implementation_key(4108)
  26897. inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffect::GetDistortion ( ) {
  26898. struct IVGEffectDistortion * _result = 0;
  26899. HRESULT _hr = get_Distortion(&_result);
  26900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26901. return IVGEffectDistortionPtr(_result, false);
  26902. }
  26903. #pragma implementation_key(4109)
  26904. inline VGCore::IVGEffectLensPtr VGCore::IVGEffect::GetLens ( ) {
  26905. struct IVGEffectLens * _result = 0;
  26906. HRESULT _hr = get_Lens(&_result);
  26907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26908. return IVGEffectLensPtr(_result, false);
  26909. }
  26910. #pragma implementation_key(4110)
  26911. inline VGCore::IVGEffectPerspectivePtr VGCore::IVGEffect::GetPerspective ( ) {
  26912. struct IVGEffectPerspective * _result = 0;
  26913. HRESULT _hr = get_Perspective(&_result);
  26914. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26915. return IVGEffectPerspectivePtr(_result, false);
  26916. }
  26917. #pragma implementation_key(4111)
  26918. inline VGCore::IVGEffectsPtr VGCore::IVGEffect::GetClones ( ) {
  26919. struct IVGEffects * _result = 0;
  26920. HRESULT _hr = get_Clones(&_result);
  26921. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26922. return IVGEffectsPtr(_result, false);
  26923. }
  26924. #pragma implementation_key(4112)
  26925. inline VGCore::IVGEffectPtr VGCore::IVGEffect::GetCloneParent ( ) {
  26926. struct IVGEffect * _result = 0;
  26927. HRESULT _hr = get_CloneParent(&_result);
  26928. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26929. return IVGEffectPtr(_result, false);
  26930. }
  26931. #pragma implementation_key(4113)
  26932. inline HRESULT VGCore::IVGEffect::Clear ( ) {
  26933. HRESULT _hr = raw_Clear();
  26934. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26935. return _hr;
  26936. }
  26937. #pragma implementation_key(4114)
  26938. inline VGCore::IVGShapeRangePtr VGCore::IVGEffect::Separate ( ) {
  26939. struct IVGShapeRange * _result = 0;
  26940. HRESULT _hr = raw_Separate(&_result);
  26941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26942. return IVGShapeRangePtr(_result, false);
  26943. }
  26944. #pragma implementation_key(4115)
  26945. inline VGCore::IVGCustomEffectPtr VGCore::IVGEffect::GetCustom ( ) {
  26946. struct IVGCustomEffect * _result = 0;
  26947. HRESULT _hr = get_Custom(&_result);
  26948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26949. return IVGCustomEffectPtr(_result, false);
  26950. }
  26951. #pragma implementation_key(4116)
  26952. inline VGCore::IVGEffectInnerShadowPtr VGCore::IVGEffect::GetInnerShadow ( ) {
  26953. struct IVGEffectInnerShadow * _result = 0;
  26954. HRESULT _hr = get_InnerShadow(&_result);
  26955. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26956. return IVGEffectInnerShadowPtr(_result, false);
  26957. }
  26958. //
  26959. // interface IVGEffects wrapper method implementations
  26960. //
  26961. #pragma implementation_key(4117)
  26962. inline VGCore::IVGApplicationPtr VGCore::IVGEffects::GetApplication ( ) {
  26963. struct IVGApplication * _result = 0;
  26964. HRESULT _hr = get_Application(&_result);
  26965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26966. return IVGApplicationPtr(_result, false);
  26967. }
  26968. #pragma implementation_key(4118)
  26969. inline VGCore::IVGShapePtr VGCore::IVGEffects::GetParent ( ) {
  26970. struct IVGShape * _result = 0;
  26971. HRESULT _hr = get_Parent(&_result);
  26972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26973. return IVGShapePtr(_result, false);
  26974. }
  26975. #pragma implementation_key(4119)
  26976. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetItem ( long Index ) {
  26977. struct IVGEffect * _result = 0;
  26978. HRESULT _hr = get_Item(Index, &_result);
  26979. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26980. return IVGEffectPtr(_result, false);
  26981. }
  26982. #pragma implementation_key(4120)
  26983. inline IUnknownPtr VGCore::IVGEffects::Get_NewEnum ( ) {
  26984. IUnknown * _result = 0;
  26985. HRESULT _hr = get__NewEnum(&_result);
  26986. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26987. return IUnknownPtr(_result, false);
  26988. }
  26989. #pragma implementation_key(4121)
  26990. inline long VGCore::IVGEffects::GetCount ( ) {
  26991. long _result = 0;
  26992. HRESULT _hr = get_Count(&_result);
  26993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  26994. return _result;
  26995. }
  26996. #pragma implementation_key(4122)
  26997. inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetBlendEffects ( ) {
  26998. struct IVGEffects * _result = 0;
  26999. HRESULT _hr = get_BlendEffects(&_result);
  27000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27001. return IVGEffectsPtr(_result, false);
  27002. }
  27003. #pragma implementation_key(4123)
  27004. inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetCustomEffects ( ) {
  27005. struct IVGEffects * _result = 0;
  27006. HRESULT _hr = get_CustomEffects(&_result);
  27007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27008. return IVGEffectsPtr(_result, false);
  27009. }
  27010. #pragma implementation_key(4124)
  27011. inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetDistortionEffects ( ) {
  27012. struct IVGEffects * _result = 0;
  27013. HRESULT _hr = get_DistortionEffects(&_result);
  27014. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27015. return IVGEffectsPtr(_result, false);
  27016. }
  27017. #pragma implementation_key(4125)
  27018. inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetEnvelopeEffects ( ) {
  27019. struct IVGEffects * _result = 0;
  27020. HRESULT _hr = get_EnvelopeEffects(&_result);
  27021. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27022. return IVGEffectsPtr(_result, false);
  27023. }
  27024. #pragma implementation_key(4126)
  27025. inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetPerspectiveEffects ( ) {
  27026. struct IVGEffects * _result = 0;
  27027. HRESULT _hr = get_PerspectiveEffects(&_result);
  27028. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27029. return IVGEffectsPtr(_result, false);
  27030. }
  27031. #pragma implementation_key(4127)
  27032. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetContourEffect ( ) {
  27033. struct IVGEffect * _result = 0;
  27034. HRESULT _hr = get_ContourEffect(&_result);
  27035. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27036. return IVGEffectPtr(_result, false);
  27037. }
  27038. #pragma implementation_key(4128)
  27039. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetControlPathEffect ( ) {
  27040. struct IVGEffect * _result = 0;
  27041. HRESULT _hr = get_ControlPathEffect(&_result);
  27042. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27043. return IVGEffectPtr(_result, false);
  27044. }
  27045. #pragma implementation_key(4129)
  27046. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetDropShadowEffect ( ) {
  27047. struct IVGEffect * _result = 0;
  27048. HRESULT _hr = get_DropShadowEffect(&_result);
  27049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27050. return IVGEffectPtr(_result, false);
  27051. }
  27052. #pragma implementation_key(4130)
  27053. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetExtrudeEffect ( ) {
  27054. struct IVGEffect * _result = 0;
  27055. HRESULT _hr = get_ExtrudeEffect(&_result);
  27056. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27057. return IVGEffectPtr(_result, false);
  27058. }
  27059. #pragma implementation_key(4131)
  27060. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetLensEffect ( ) {
  27061. struct IVGEffect * _result = 0;
  27062. HRESULT _hr = get_LensEffect(&_result);
  27063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27064. return IVGEffectPtr(_result, false);
  27065. }
  27066. #pragma implementation_key(4132)
  27067. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetTextOnPathEffect ( ) {
  27068. struct IVGEffect * _result = 0;
  27069. HRESULT _hr = get_TextOnPathEffect(&_result);
  27070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27071. return IVGEffectPtr(_result, false);
  27072. }
  27073. #pragma implementation_key(4133)
  27074. inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetInnerShadowEffect ( ) {
  27075. struct IVGEffect * _result = 0;
  27076. HRESULT _hr = get_InnerShadowEffect(&_result);
  27077. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27078. return IVGEffectPtr(_result, false);
  27079. }
  27080. //
  27081. // interface IVGEffectBlend wrapper method implementations
  27082. //
  27083. #pragma implementation_key(4134)
  27084. inline VGCore::IVGApplicationPtr VGCore::IVGEffectBlend::GetApplication ( ) {
  27085. struct IVGApplication * _result = 0;
  27086. HRESULT _hr = get_Application(&_result);
  27087. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27088. return IVGApplicationPtr(_result, false);
  27089. }
  27090. #pragma implementation_key(4135)
  27091. inline VGCore::IVGEffectPtr VGCore::IVGEffectBlend::GetParent ( ) {
  27092. struct IVGEffect * _result = 0;
  27093. HRESULT _hr = get_Parent(&_result);
  27094. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27095. return IVGEffectPtr(_result, false);
  27096. }
  27097. #pragma implementation_key(4136)
  27098. inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetStartShape ( ) {
  27099. struct IVGShape * _result = 0;
  27100. HRESULT _hr = get_StartShape(&_result);
  27101. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27102. return IVGShapePtr(_result, false);
  27103. }
  27104. #pragma implementation_key(4137)
  27105. inline void VGCore::IVGEffectBlend::PutStartShape ( struct IVGShape * ppVal ) {
  27106. HRESULT _hr = put_StartShape(ppVal);
  27107. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27108. }
  27109. #pragma implementation_key(4138)
  27110. inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetEndShape ( ) {
  27111. struct IVGShape * _result = 0;
  27112. HRESULT _hr = get_EndShape(&_result);
  27113. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27114. return IVGShapePtr(_result, false);
  27115. }
  27116. #pragma implementation_key(4139)
  27117. inline void VGCore::IVGEffectBlend::PutEndShape ( struct IVGShape * ppVal ) {
  27118. HRESULT _hr = put_EndShape(ppVal);
  27119. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27120. }
  27121. #pragma implementation_key(4140)
  27122. inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetBlendGroup ( ) {
  27123. struct IVGShape * _result = 0;
  27124. HRESULT _hr = get_BlendGroup(&_result);
  27125. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27126. return IVGShapePtr(_result, false);
  27127. }
  27128. #pragma implementation_key(4141)
  27129. inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetPath ( ) {
  27130. struct IVGShape * _result = 0;
  27131. HRESULT _hr = get_Path(&_result);
  27132. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27133. return IVGShapePtr(_result, false);
  27134. }
  27135. #pragma implementation_key(4142)
  27136. inline void VGCore::IVGEffectBlend::PutPath ( struct IVGShape * ppVal ) {
  27137. HRESULT _hr = put_Path(ppVal);
  27138. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27139. }
  27140. #pragma implementation_key(4143)
  27141. inline double VGCore::IVGEffectBlend::GetStartShapeOffset ( ) {
  27142. double _result = 0;
  27143. HRESULT _hr = get_StartShapeOffset(&_result);
  27144. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27145. return _result;
  27146. }
  27147. #pragma implementation_key(4144)
  27148. inline void VGCore::IVGEffectBlend::PutStartShapeOffset ( double pVal ) {
  27149. HRESULT _hr = put_StartShapeOffset(pVal);
  27150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27151. }
  27152. #pragma implementation_key(4145)
  27153. inline double VGCore::IVGEffectBlend::GetEndShapeOffset ( ) {
  27154. double _result = 0;
  27155. HRESULT _hr = get_EndShapeOffset(&_result);
  27156. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27157. return _result;
  27158. }
  27159. #pragma implementation_key(4146)
  27160. inline void VGCore::IVGEffectBlend::PutEndShapeOffset ( double pVal ) {
  27161. HRESULT _hr = put_EndShapeOffset(pVal);
  27162. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27163. }
  27164. #pragma implementation_key(4147)
  27165. inline enum VGCore::cdrBlendMode VGCore::IVGEffectBlend::GetMode ( ) {
  27166. enum cdrBlendMode _result;
  27167. HRESULT _hr = get_Mode(&_result);
  27168. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27169. return _result;
  27170. }
  27171. #pragma implementation_key(4148)
  27172. inline void VGCore::IVGEffectBlend::PutMode ( enum cdrBlendMode pVal ) {
  27173. HRESULT _hr = put_Mode(pVal);
  27174. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27175. }
  27176. #pragma implementation_key(4149)
  27177. inline long VGCore::IVGEffectBlend::GetSteps ( ) {
  27178. long _result = 0;
  27179. HRESULT _hr = get_Steps(&_result);
  27180. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27181. return _result;
  27182. }
  27183. #pragma implementation_key(4150)
  27184. inline void VGCore::IVGEffectBlend::PutSteps ( long pVal ) {
  27185. HRESULT _hr = put_Steps(pVal);
  27186. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27187. }
  27188. #pragma implementation_key(4151)
  27189. inline double VGCore::IVGEffectBlend::GetSpacing ( ) {
  27190. double _result = 0;
  27191. HRESULT _hr = get_Spacing(&_result);
  27192. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27193. return _result;
  27194. }
  27195. #pragma implementation_key(4152)
  27196. inline void VGCore::IVGEffectBlend::PutSpacing ( double pVal ) {
  27197. HRESULT _hr = put_Spacing(pVal);
  27198. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27199. }
  27200. #pragma implementation_key(4153)
  27201. inline double VGCore::IVGEffectBlend::GetAngle ( ) {
  27202. double _result = 0;
  27203. HRESULT _hr = get_Angle(&_result);
  27204. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27205. return _result;
  27206. }
  27207. #pragma implementation_key(4154)
  27208. inline void VGCore::IVGEffectBlend::PutAngle ( double pVal ) {
  27209. HRESULT _hr = put_Angle(pVal);
  27210. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27211. }
  27212. #pragma implementation_key(4155)
  27213. inline VARIANT_BOOL VGCore::IVGEffectBlend::GetLoop ( ) {
  27214. VARIANT_BOOL _result = 0;
  27215. HRESULT _hr = get_Loop(&_result);
  27216. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27217. return _result;
  27218. }
  27219. #pragma implementation_key(4156)
  27220. inline void VGCore::IVGEffectBlend::PutLoop ( VARIANT_BOOL pVal ) {
  27221. HRESULT _hr = put_Loop(pVal);
  27222. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27223. }
  27224. #pragma implementation_key(4157)
  27225. inline VARIANT_BOOL VGCore::IVGEffectBlend::GetFullPath ( ) {
  27226. VARIANT_BOOL _result = 0;
  27227. HRESULT _hr = get_FullPath(&_result);
  27228. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27229. return _result;
  27230. }
  27231. #pragma implementation_key(4158)
  27232. inline void VGCore::IVGEffectBlend::PutFullPath ( VARIANT_BOOL pVal ) {
  27233. HRESULT _hr = put_FullPath(pVal);
  27234. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27235. }
  27236. #pragma implementation_key(4159)
  27237. inline VARIANT_BOOL VGCore::IVGEffectBlend::GetRotateShapes ( ) {
  27238. VARIANT_BOOL _result = 0;
  27239. HRESULT _hr = get_RotateShapes(&_result);
  27240. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27241. return _result;
  27242. }
  27243. #pragma implementation_key(4160)
  27244. inline void VGCore::IVGEffectBlend::PutRotateShapes ( VARIANT_BOOL pVal ) {
  27245. HRESULT _hr = put_RotateShapes(pVal);
  27246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27247. }
  27248. #pragma implementation_key(4161)
  27249. inline enum VGCore::cdrFountainFillBlendType VGCore::IVGEffectBlend::GetColorBlendType ( ) {
  27250. enum cdrFountainFillBlendType _result;
  27251. HRESULT _hr = get_ColorBlendType(&_result);
  27252. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27253. return _result;
  27254. }
  27255. #pragma implementation_key(4162)
  27256. inline void VGCore::IVGEffectBlend::PutColorBlendType ( enum cdrFountainFillBlendType pVal ) {
  27257. HRESULT _hr = put_ColorBlendType(pVal);
  27258. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27259. }
  27260. #pragma implementation_key(4163)
  27261. inline long VGCore::IVGEffectBlend::GetSpacingAcceleration ( ) {
  27262. long _result = 0;
  27263. HRESULT _hr = get_SpacingAcceleration(&_result);
  27264. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27265. return _result;
  27266. }
  27267. #pragma implementation_key(4164)
  27268. inline void VGCore::IVGEffectBlend::PutSpacingAcceleration ( long pVal ) {
  27269. HRESULT _hr = put_SpacingAcceleration(pVal);
  27270. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27271. }
  27272. #pragma implementation_key(4165)
  27273. inline long VGCore::IVGEffectBlend::GetColorAcceleration ( ) {
  27274. long _result = 0;
  27275. HRESULT _hr = get_ColorAcceleration(&_result);
  27276. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27277. return _result;
  27278. }
  27279. #pragma implementation_key(4166)
  27280. inline void VGCore::IVGEffectBlend::PutColorAcceleration ( long pVal ) {
  27281. HRESULT _hr = put_ColorAcceleration(pVal);
  27282. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27283. }
  27284. #pragma implementation_key(4167)
  27285. inline VARIANT_BOOL VGCore::IVGEffectBlend::GetLinkAcceleration ( ) {
  27286. VARIANT_BOOL _result = 0;
  27287. HRESULT _hr = get_LinkAcceleration(&_result);
  27288. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27289. return _result;
  27290. }
  27291. #pragma implementation_key(4168)
  27292. inline void VGCore::IVGEffectBlend::PutLinkAcceleration ( VARIANT_BOOL pVal ) {
  27293. HRESULT _hr = put_LinkAcceleration(pVal);
  27294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27295. }
  27296. #pragma implementation_key(4169)
  27297. inline VARIANT_BOOL VGCore::IVGEffectBlend::GetAccelerateSize ( ) {
  27298. VARIANT_BOOL _result = 0;
  27299. HRESULT _hr = get_AccelerateSize(&_result);
  27300. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27301. return _result;
  27302. }
  27303. #pragma implementation_key(4170)
  27304. inline void VGCore::IVGEffectBlend::PutAccelerateSize ( VARIANT_BOOL pVal ) {
  27305. HRESULT _hr = put_AccelerateSize(pVal);
  27306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27307. }
  27308. #pragma implementation_key(4171)
  27309. inline VARIANT_BOOL VGCore::IVGEffectBlend::GetMapNodes ( ) {
  27310. VARIANT_BOOL _result = 0;
  27311. HRESULT _hr = get_MapNodes(&_result);
  27312. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27313. return _result;
  27314. }
  27315. #pragma implementation_key(4172)
  27316. inline void VGCore::IVGEffectBlend::PutMapNodes ( VARIANT_BOOL pVal ) {
  27317. HRESULT _hr = put_MapNodes(pVal);
  27318. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27319. }
  27320. #pragma implementation_key(4173)
  27321. inline VGCore::IVGSnapPointPtr VGCore::IVGEffectBlend::GetStartPoint ( ) {
  27322. struct IVGSnapPoint * _result = 0;
  27323. HRESULT _hr = get_StartPoint(&_result);
  27324. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27325. return IVGSnapPointPtr(_result, false);
  27326. }
  27327. #pragma implementation_key(4174)
  27328. inline void VGCore::IVGEffectBlend::PutStartPoint ( struct IVGSnapPoint * ppVal ) {
  27329. HRESULT _hr = put_StartPoint(ppVal);
  27330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27331. }
  27332. #pragma implementation_key(4175)
  27333. inline VGCore::IVGSnapPointPtr VGCore::IVGEffectBlend::GetEndPoint ( ) {
  27334. struct IVGSnapPoint * _result = 0;
  27335. HRESULT _hr = get_EndPoint(&_result);
  27336. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27337. return IVGSnapPointPtr(_result, false);
  27338. }
  27339. #pragma implementation_key(4176)
  27340. inline void VGCore::IVGEffectBlend::PutEndPoint ( struct IVGSnapPoint * ppVal ) {
  27341. HRESULT _hr = put_EndPoint(ppVal);
  27342. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27343. }
  27344. #pragma implementation_key(4177)
  27345. inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::Split ( long StepNo ) {
  27346. struct IVGShape * _result = 0;
  27347. HRESULT _hr = raw_Split(StepNo, &_result);
  27348. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27349. return IVGShapePtr(_result, false);
  27350. }
  27351. #pragma implementation_key(4178)
  27352. inline VARIANT_BOOL VGCore::IVGEffectBlend::FuseStart ( ) {
  27353. VARIANT_BOOL _result = 0;
  27354. HRESULT _hr = raw_FuseStart(&_result);
  27355. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27356. return _result;
  27357. }
  27358. #pragma implementation_key(4179)
  27359. inline VARIANT_BOOL VGCore::IVGEffectBlend::FuseEnd ( ) {
  27360. VARIANT_BOOL _result = 0;
  27361. HRESULT _hr = raw_FuseEnd(&_result);
  27362. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27363. return _result;
  27364. }
  27365. #pragma implementation_key(4180)
  27366. inline VARIANT_BOOL VGCore::IVGEffectBlend::CopyFrom ( struct IVGEffectBlend * Source ) {
  27367. VARIANT_BOOL _result = 0;
  27368. HRESULT _hr = raw_CopyFrom(Source, &_result);
  27369. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27370. return _result;
  27371. }
  27372. //
  27373. // interface IVGEffectControlPath wrapper method implementations
  27374. //
  27375. #pragma implementation_key(4181)
  27376. inline VGCore::IVGApplicationPtr VGCore::IVGEffectControlPath::GetApplication ( ) {
  27377. struct IVGApplication * _result = 0;
  27378. HRESULT _hr = get_Application(&_result);
  27379. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27380. return IVGApplicationPtr(_result, false);
  27381. }
  27382. #pragma implementation_key(4182)
  27383. inline VGCore::IVGEffectPtr VGCore::IVGEffectControlPath::GetParent ( ) {
  27384. struct IVGEffect * _result = 0;
  27385. HRESULT _hr = get_Parent(&_result);
  27386. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27387. return IVGEffectPtr(_result, false);
  27388. }
  27389. #pragma implementation_key(4183)
  27390. inline VGCore::IVGEffectsPtr VGCore::IVGEffectControlPath::GetEffects ( ) {
  27391. struct IVGEffects * _result = 0;
  27392. HRESULT _hr = get_Effects(&_result);
  27393. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27394. return IVGEffectsPtr(_result, false);
  27395. }
  27396. //
  27397. // interface IVGEffectEnvelope wrapper method implementations
  27398. //
  27399. #pragma implementation_key(4184)
  27400. inline VGCore::IVGApplicationPtr VGCore::IVGEffectEnvelope::GetApplication ( ) {
  27401. struct IVGApplication * _result = 0;
  27402. HRESULT _hr = get_Application(&_result);
  27403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27404. return IVGApplicationPtr(_result, false);
  27405. }
  27406. #pragma implementation_key(4185)
  27407. inline VGCore::IVGEffectPtr VGCore::IVGEffectEnvelope::GetParent ( ) {
  27408. struct IVGEffect * _result = 0;
  27409. HRESULT _hr = get_Parent(&_result);
  27410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27411. return IVGEffectPtr(_result, false);
  27412. }
  27413. #pragma implementation_key(4186)
  27414. inline VGCore::IVGCurvePtr VGCore::IVGEffectEnvelope::GetContainer ( ) {
  27415. struct IVGCurve * _result = 0;
  27416. HRESULT _hr = get_Container(&_result);
  27417. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27418. return IVGCurvePtr(_result, false);
  27419. }
  27420. #pragma implementation_key(4187)
  27421. inline void VGCore::IVGEffectEnvelope::PutContainer ( struct IVGCurve * pVal ) {
  27422. HRESULT _hr = put_Container(pVal);
  27423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27424. }
  27425. #pragma implementation_key(4188)
  27426. inline enum VGCore::cdrEnvelopeMode VGCore::IVGEffectEnvelope::GetMode ( ) {
  27427. enum cdrEnvelopeMode _result;
  27428. HRESULT _hr = get_Mode(&_result);
  27429. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27430. return _result;
  27431. }
  27432. #pragma implementation_key(4189)
  27433. inline void VGCore::IVGEffectEnvelope::PutMode ( enum cdrEnvelopeMode pVal ) {
  27434. HRESULT _hr = put_Mode(pVal);
  27435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27436. }
  27437. #pragma implementation_key(4190)
  27438. inline VARIANT_BOOL VGCore::IVGEffectEnvelope::GetKeepLines ( ) {
  27439. VARIANT_BOOL _result = 0;
  27440. HRESULT _hr = get_KeepLines(&_result);
  27441. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27442. return _result;
  27443. }
  27444. #pragma implementation_key(4191)
  27445. inline void VGCore::IVGEffectEnvelope::PutKeepLines ( VARIANT_BOOL pVal ) {
  27446. HRESULT _hr = put_KeepLines(pVal);
  27447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27448. }
  27449. #pragma implementation_key(4192)
  27450. inline HRESULT VGCore::IVGEffectEnvelope::Select ( long PresetIndex ) {
  27451. HRESULT _hr = raw_Select(PresetIndex);
  27452. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27453. return _hr;
  27454. }
  27455. #pragma implementation_key(4193)
  27456. inline HRESULT VGCore::IVGEffectEnvelope::CopyFrom ( struct IVGEffectEnvelope * Source ) {
  27457. HRESULT _hr = raw_CopyFrom(Source);
  27458. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27459. return _hr;
  27460. }
  27461. #pragma implementation_key(4194)
  27462. inline VARIANT_BOOL VGCore::IVGEffectEnvelope::CreateFrom ( struct IVGShape * Shape ) {
  27463. VARIANT_BOOL _result = 0;
  27464. HRESULT _hr = raw_CreateFrom(Shape, &_result);
  27465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27466. return _result;
  27467. }
  27468. #pragma implementation_key(4195)
  27469. inline VARIANT_BOOL VGCore::IVGEffectEnvelope::CopyFromShape ( struct IVGShape * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
  27470. VARIANT_BOOL _result = 0;
  27471. HRESULT _hr = raw_CopyFromShape(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
  27472. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27473. return _result;
  27474. }
  27475. #pragma implementation_key(4196)
  27476. inline VARIANT_BOOL VGCore::IVGEffectEnvelope::CopyFromCurve ( struct IVGCurve * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
  27477. VARIANT_BOOL _result = 0;
  27478. HRESULT _hr = raw_CopyFromCurve(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
  27479. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27480. return _result;
  27481. }
  27482. #pragma implementation_key(4197)
  27483. inline _variant_t VGCore::IVGEffectEnvelope::GetCornerIndices ( ) {
  27484. VARIANT _result;
  27485. VariantInit(&_result);
  27486. HRESULT _hr = get_CornerIndices(&_result);
  27487. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27488. return _variant_t(_result, false);
  27489. }
  27490. #pragma implementation_key(4198)
  27491. inline void VGCore::IVGEffectEnvelope::PutCornerIndices ( const _variant_t & pVal ) {
  27492. HRESULT _hr = put_CornerIndices(pVal);
  27493. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27494. }
  27495. //
  27496. // interface IVGEffectTextOnPath wrapper method implementations
  27497. //
  27498. #pragma implementation_key(4199)
  27499. inline VGCore::IVGApplicationPtr VGCore::IVGEffectTextOnPath::GetApplication ( ) {
  27500. struct IVGApplication * _result = 0;
  27501. HRESULT _hr = get_Application(&_result);
  27502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27503. return IVGApplicationPtr(_result, false);
  27504. }
  27505. #pragma implementation_key(4200)
  27506. inline VGCore::IVGEffectPtr VGCore::IVGEffectTextOnPath::GetParent ( ) {
  27507. struct IVGEffect * _result = 0;
  27508. HRESULT _hr = get_Parent(&_result);
  27509. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27510. return IVGEffectPtr(_result, false);
  27511. }
  27512. #pragma implementation_key(4201)
  27513. inline VGCore::IVGShapePtr VGCore::IVGEffectTextOnPath::GetText ( ) {
  27514. struct IVGShape * _result = 0;
  27515. HRESULT _hr = get_Text(&_result);
  27516. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27517. return IVGShapePtr(_result, false);
  27518. }
  27519. #pragma implementation_key(4202)
  27520. inline void VGCore::IVGEffectTextOnPath::PutText ( struct IVGShape * ppVal ) {
  27521. HRESULT _hr = put_Text(ppVal);
  27522. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27523. }
  27524. #pragma implementation_key(4203)
  27525. inline VGCore::IVGShapePtr VGCore::IVGEffectTextOnPath::GetPath ( ) {
  27526. struct IVGShape * _result = 0;
  27527. HRESULT _hr = get_Path(&_result);
  27528. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27529. return IVGShapePtr(_result, false);
  27530. }
  27531. #pragma implementation_key(4204)
  27532. inline void VGCore::IVGEffectTextOnPath::PutPath ( struct IVGShape * ppVal ) {
  27533. HRESULT _hr = put_Path(ppVal);
  27534. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27535. }
  27536. #pragma implementation_key(4205)
  27537. inline double VGCore::IVGEffectTextOnPath::GetDistanceFromPath ( ) {
  27538. double _result = 0;
  27539. HRESULT _hr = get_DistanceFromPath(&_result);
  27540. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27541. return _result;
  27542. }
  27543. #pragma implementation_key(4206)
  27544. inline void VGCore::IVGEffectTextOnPath::PutDistanceFromPath ( double pVal ) {
  27545. HRESULT _hr = put_DistanceFromPath(pVal);
  27546. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27547. }
  27548. #pragma implementation_key(4207)
  27549. inline double VGCore::IVGEffectTextOnPath::GetOffset ( ) {
  27550. double _result = 0;
  27551. HRESULT _hr = get_Offset(&_result);
  27552. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27553. return _result;
  27554. }
  27555. #pragma implementation_key(4208)
  27556. inline void VGCore::IVGEffectTextOnPath::PutOffset ( double pVal ) {
  27557. HRESULT _hr = put_Offset(pVal);
  27558. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27559. }
  27560. #pragma implementation_key(4209)
  27561. inline enum VGCore::cdrFittedOrientation VGCore::IVGEffectTextOnPath::GetOrientation ( ) {
  27562. enum cdrFittedOrientation _result;
  27563. HRESULT _hr = get_Orientation(&_result);
  27564. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27565. return _result;
  27566. }
  27567. #pragma implementation_key(4210)
  27568. inline void VGCore::IVGEffectTextOnPath::PutOrientation ( enum cdrFittedOrientation pVal ) {
  27569. HRESULT _hr = put_Orientation(pVal);
  27570. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27571. }
  27572. #pragma implementation_key(4211)
  27573. inline enum VGCore::cdrFittedPlacement VGCore::IVGEffectTextOnPath::GetPlacement ( ) {
  27574. enum cdrFittedPlacement _result;
  27575. HRESULT _hr = get_Placement(&_result);
  27576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27577. return _result;
  27578. }
  27579. #pragma implementation_key(4212)
  27580. inline void VGCore::IVGEffectTextOnPath::PutPlacement ( enum cdrFittedPlacement pVal ) {
  27581. HRESULT _hr = put_Placement(pVal);
  27582. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27583. }
  27584. #pragma implementation_key(4213)
  27585. inline VARIANT_BOOL VGCore::IVGEffectTextOnPath::GetPlaceOnOtherSide ( ) {
  27586. VARIANT_BOOL _result = 0;
  27587. HRESULT _hr = get_PlaceOnOtherSide(&_result);
  27588. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27589. return _result;
  27590. }
  27591. #pragma implementation_key(4214)
  27592. inline void VGCore::IVGEffectTextOnPath::PutPlaceOnOtherSide ( VARIANT_BOOL pVal ) {
  27593. HRESULT _hr = put_PlaceOnOtherSide(pVal);
  27594. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27595. }
  27596. #pragma implementation_key(4215)
  27597. inline enum VGCore::cdrFittedQuadrant VGCore::IVGEffectTextOnPath::GetQuadrant ( ) {
  27598. enum cdrFittedQuadrant _result;
  27599. HRESULT _hr = get_Quadrant(&_result);
  27600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27601. return _result;
  27602. }
  27603. #pragma implementation_key(4216)
  27604. inline void VGCore::IVGEffectTextOnPath::PutQuadrant ( enum cdrFittedQuadrant pVal ) {
  27605. HRESULT _hr = put_Quadrant(pVal);
  27606. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27607. }
  27608. #pragma implementation_key(4217)
  27609. inline enum VGCore::cdrFittedVertPlacement VGCore::IVGEffectTextOnPath::GetVertPlacement ( ) {
  27610. enum cdrFittedVertPlacement _result;
  27611. HRESULT _hr = get_VertPlacement(&_result);
  27612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27613. return _result;
  27614. }
  27615. #pragma implementation_key(4218)
  27616. inline void VGCore::IVGEffectTextOnPath::PutVertPlacement ( enum cdrFittedVertPlacement pVal ) {
  27617. HRESULT _hr = put_VertPlacement(pVal);
  27618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27619. }
  27620. //
  27621. // interface IVGEffectDropShadow wrapper method implementations
  27622. //
  27623. #pragma implementation_key(4219)
  27624. inline VGCore::IVGApplicationPtr VGCore::IVGEffectDropShadow::GetApplication ( ) {
  27625. struct IVGApplication * _result = 0;
  27626. HRESULT _hr = get_Application(&_result);
  27627. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27628. return IVGApplicationPtr(_result, false);
  27629. }
  27630. #pragma implementation_key(4220)
  27631. inline VGCore::IVGEffectPtr VGCore::IVGEffectDropShadow::GetParent ( ) {
  27632. struct IVGEffect * _result = 0;
  27633. HRESULT _hr = get_Parent(&_result);
  27634. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27635. return IVGEffectPtr(_result, false);
  27636. }
  27637. #pragma implementation_key(4221)
  27638. inline double VGCore::IVGEffectDropShadow::GetOffsetX ( ) {
  27639. double _result = 0;
  27640. HRESULT _hr = get_OffsetX(&_result);
  27641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27642. return _result;
  27643. }
  27644. #pragma implementation_key(4222)
  27645. inline void VGCore::IVGEffectDropShadow::PutOffsetX ( double pVal ) {
  27646. HRESULT _hr = put_OffsetX(pVal);
  27647. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27648. }
  27649. #pragma implementation_key(4223)
  27650. inline double VGCore::IVGEffectDropShadow::GetOffsetY ( ) {
  27651. double _result = 0;
  27652. HRESULT _hr = get_OffsetY(&_result);
  27653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27654. return _result;
  27655. }
  27656. #pragma implementation_key(4224)
  27657. inline void VGCore::IVGEffectDropShadow::PutOffsetY ( double pVal ) {
  27658. HRESULT _hr = put_OffsetY(pVal);
  27659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27660. }
  27661. #pragma implementation_key(4225)
  27662. inline long VGCore::IVGEffectDropShadow::GetOpacity ( ) {
  27663. long _result = 0;
  27664. HRESULT _hr = get_Opacity(&_result);
  27665. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27666. return _result;
  27667. }
  27668. #pragma implementation_key(4226)
  27669. inline void VGCore::IVGEffectDropShadow::PutOpacity ( long pVal ) {
  27670. HRESULT _hr = put_Opacity(pVal);
  27671. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27672. }
  27673. #pragma implementation_key(4227)
  27674. inline long VGCore::IVGEffectDropShadow::GetFeather ( ) {
  27675. long _result = 0;
  27676. HRESULT _hr = get_Feather(&_result);
  27677. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27678. return _result;
  27679. }
  27680. #pragma implementation_key(4228)
  27681. inline void VGCore::IVGEffectDropShadow::PutFeather ( long pVal ) {
  27682. HRESULT _hr = put_Feather(pVal);
  27683. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27684. }
  27685. #pragma implementation_key(4229)
  27686. inline enum VGCore::cdrFeatherType VGCore::IVGEffectDropShadow::GetFeatherType ( ) {
  27687. enum cdrFeatherType _result;
  27688. HRESULT _hr = get_FeatherType(&_result);
  27689. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27690. return _result;
  27691. }
  27692. #pragma implementation_key(4230)
  27693. inline void VGCore::IVGEffectDropShadow::PutFeatherType ( enum cdrFeatherType pVal ) {
  27694. HRESULT _hr = put_FeatherType(pVal);
  27695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27696. }
  27697. #pragma implementation_key(4231)
  27698. inline enum VGCore::cdrEdgeType VGCore::IVGEffectDropShadow::GetFeatherEdge ( ) {
  27699. enum cdrEdgeType _result;
  27700. HRESULT _hr = get_FeatherEdge(&_result);
  27701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27702. return _result;
  27703. }
  27704. #pragma implementation_key(4232)
  27705. inline void VGCore::IVGEffectDropShadow::PutFeatherEdge ( enum cdrEdgeType pVal ) {
  27706. HRESULT _hr = put_FeatherEdge(pVal);
  27707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27708. }
  27709. #pragma implementation_key(4233)
  27710. inline enum VGCore::cdrDropShadowType VGCore::IVGEffectDropShadow::GetType ( ) {
  27711. enum cdrDropShadowType _result;
  27712. HRESULT _hr = get_Type(&_result);
  27713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27714. return _result;
  27715. }
  27716. #pragma implementation_key(4234)
  27717. inline void VGCore::IVGEffectDropShadow::PutType ( enum cdrDropShadowType pVal ) {
  27718. HRESULT _hr = put_Type(pVal);
  27719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27720. }
  27721. #pragma implementation_key(4235)
  27722. inline double VGCore::IVGEffectDropShadow::GetPerspectiveAngle ( ) {
  27723. double _result = 0;
  27724. HRESULT _hr = get_PerspectiveAngle(&_result);
  27725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27726. return _result;
  27727. }
  27728. #pragma implementation_key(4236)
  27729. inline void VGCore::IVGEffectDropShadow::PutPerspectiveAngle ( double pVal ) {
  27730. HRESULT _hr = put_PerspectiveAngle(pVal);
  27731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27732. }
  27733. #pragma implementation_key(4237)
  27734. inline double VGCore::IVGEffectDropShadow::GetPerspectiveStretch ( ) {
  27735. double _result = 0;
  27736. HRESULT _hr = get_PerspectiveStretch(&_result);
  27737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27738. return _result;
  27739. }
  27740. #pragma implementation_key(4238)
  27741. inline void VGCore::IVGEffectDropShadow::PutPerspectiveStretch ( double pVal ) {
  27742. HRESULT _hr = put_PerspectiveStretch(pVal);
  27743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27744. }
  27745. #pragma implementation_key(4239)
  27746. inline long VGCore::IVGEffectDropShadow::GetFade ( ) {
  27747. long _result = 0;
  27748. HRESULT _hr = get_Fade(&_result);
  27749. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27750. return _result;
  27751. }
  27752. #pragma implementation_key(4240)
  27753. inline void VGCore::IVGEffectDropShadow::PutFade ( long pVal ) {
  27754. HRESULT _hr = put_Fade(pVal);
  27755. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27756. }
  27757. #pragma implementation_key(4241)
  27758. inline VGCore::IVGColorPtr VGCore::IVGEffectDropShadow::GetColor ( ) {
  27759. struct IVGColor * _result = 0;
  27760. HRESULT _hr = get_Color(&_result);
  27761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27762. return IVGColorPtr(_result, false);
  27763. }
  27764. #pragma implementation_key(4242)
  27765. inline void VGCore::IVGEffectDropShadow::PutColor ( struct IVGColor * ppVal ) {
  27766. HRESULT _hr = put_Color(ppVal);
  27767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27768. }
  27769. #pragma implementation_key(4243)
  27770. inline HRESULT VGCore::IVGEffectDropShadow::SetOffset ( double OffsetX, double OffsetY ) {
  27771. HRESULT _hr = raw_SetOffset(OffsetX, OffsetY);
  27772. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27773. return _hr;
  27774. }
  27775. #pragma implementation_key(4244)
  27776. inline VGCore::IVGShapePtr VGCore::IVGEffectDropShadow::GetShadowGroup ( ) {
  27777. struct IVGShape * _result = 0;
  27778. HRESULT _hr = get_ShadowGroup(&_result);
  27779. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27780. return IVGShapePtr(_result, false);
  27781. }
  27782. #pragma implementation_key(4245)
  27783. inline enum VGCore::cdrMergeMode VGCore::IVGEffectDropShadow::GetMergeMode ( ) {
  27784. enum cdrMergeMode _result;
  27785. HRESULT _hr = get_MergeMode(&_result);
  27786. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27787. return _result;
  27788. }
  27789. #pragma implementation_key(4246)
  27790. inline void VGCore::IVGEffectDropShadow::PutMergeMode ( enum cdrMergeMode pVal ) {
  27791. HRESULT _hr = put_MergeMode(pVal);
  27792. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27793. }
  27794. //
  27795. // interface IVGEffectContour wrapper method implementations
  27796. //
  27797. #pragma implementation_key(4247)
  27798. inline VGCore::IVGApplicationPtr VGCore::IVGEffectContour::GetApplication ( ) {
  27799. struct IVGApplication * _result = 0;
  27800. HRESULT _hr = get_Application(&_result);
  27801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27802. return IVGApplicationPtr(_result, false);
  27803. }
  27804. #pragma implementation_key(4248)
  27805. inline VGCore::IVGEffectPtr VGCore::IVGEffectContour::GetParent ( ) {
  27806. struct IVGEffect * _result = 0;
  27807. HRESULT _hr = get_Parent(&_result);
  27808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27809. return IVGEffectPtr(_result, false);
  27810. }
  27811. #pragma implementation_key(4249)
  27812. inline enum VGCore::cdrContourDirection VGCore::IVGEffectContour::GetDirection ( ) {
  27813. enum cdrContourDirection _result;
  27814. HRESULT _hr = get_Direction(&_result);
  27815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27816. return _result;
  27817. }
  27818. #pragma implementation_key(4250)
  27819. inline void VGCore::IVGEffectContour::PutDirection ( enum cdrContourDirection pVal ) {
  27820. HRESULT _hr = put_Direction(pVal);
  27821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27822. }
  27823. #pragma implementation_key(4251)
  27824. inline double VGCore::IVGEffectContour::GetOffset ( ) {
  27825. double _result = 0;
  27826. HRESULT _hr = get_Offset(&_result);
  27827. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27828. return _result;
  27829. }
  27830. #pragma implementation_key(4252)
  27831. inline void VGCore::IVGEffectContour::PutOffset ( double pVal ) {
  27832. HRESULT _hr = put_Offset(pVal);
  27833. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27834. }
  27835. #pragma implementation_key(4253)
  27836. inline long VGCore::IVGEffectContour::GetSteps ( ) {
  27837. long _result = 0;
  27838. HRESULT _hr = get_Steps(&_result);
  27839. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27840. return _result;
  27841. }
  27842. #pragma implementation_key(4254)
  27843. inline void VGCore::IVGEffectContour::PutSteps ( long pVal ) {
  27844. HRESULT _hr = put_Steps(pVal);
  27845. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27846. }
  27847. #pragma implementation_key(4255)
  27848. inline enum VGCore::cdrFountainFillBlendType VGCore::IVGEffectContour::GetColorBlendType ( ) {
  27849. enum cdrFountainFillBlendType _result;
  27850. HRESULT _hr = get_ColorBlendType(&_result);
  27851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27852. return _result;
  27853. }
  27854. #pragma implementation_key(4256)
  27855. inline void VGCore::IVGEffectContour::PutColorBlendType ( enum cdrFountainFillBlendType pVal ) {
  27856. HRESULT _hr = put_ColorBlendType(pVal);
  27857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27858. }
  27859. #pragma implementation_key(4257)
  27860. inline VGCore::IVGColorPtr VGCore::IVGEffectContour::GetOutlineColor ( ) {
  27861. struct IVGColor * _result = 0;
  27862. HRESULT _hr = get_OutlineColor(&_result);
  27863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27864. return IVGColorPtr(_result, false);
  27865. }
  27866. #pragma implementation_key(4258)
  27867. inline void VGCore::IVGEffectContour::PutOutlineColor ( struct IVGColor * ppVal ) {
  27868. HRESULT _hr = put_OutlineColor(ppVal);
  27869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27870. }
  27871. #pragma implementation_key(4259)
  27872. inline VGCore::IVGColorPtr VGCore::IVGEffectContour::GetFillColor ( ) {
  27873. struct IVGColor * _result = 0;
  27874. HRESULT _hr = get_FillColor(&_result);
  27875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27876. return IVGColorPtr(_result, false);
  27877. }
  27878. #pragma implementation_key(4260)
  27879. inline void VGCore::IVGEffectContour::PutFillColor ( struct IVGColor * ppVal ) {
  27880. HRESULT _hr = put_FillColor(ppVal);
  27881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27882. }
  27883. #pragma implementation_key(4261)
  27884. inline VGCore::IVGColorPtr VGCore::IVGEffectContour::GetFillColorTo ( ) {
  27885. struct IVGColor * _result = 0;
  27886. HRESULT _hr = get_FillColorTo(&_result);
  27887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27888. return IVGColorPtr(_result, false);
  27889. }
  27890. #pragma implementation_key(4262)
  27891. inline void VGCore::IVGEffectContour::PutFillColorTo ( struct IVGColor * ppVal ) {
  27892. HRESULT _hr = put_FillColorTo(ppVal);
  27893. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27894. }
  27895. #pragma implementation_key(4263)
  27896. inline VARIANT_BOOL VGCore::IVGEffectContour::GetLinkAcceleration ( ) {
  27897. VARIANT_BOOL _result = 0;
  27898. HRESULT _hr = get_LinkAcceleration(&_result);
  27899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27900. return _result;
  27901. }
  27902. #pragma implementation_key(4264)
  27903. inline void VGCore::IVGEffectContour::PutLinkAcceleration ( VARIANT_BOOL pVal ) {
  27904. HRESULT _hr = put_LinkAcceleration(pVal);
  27905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27906. }
  27907. #pragma implementation_key(4265)
  27908. inline long VGCore::IVGEffectContour::GetColorAcceleration ( ) {
  27909. long _result = 0;
  27910. HRESULT _hr = get_ColorAcceleration(&_result);
  27911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27912. return _result;
  27913. }
  27914. #pragma implementation_key(4266)
  27915. inline void VGCore::IVGEffectContour::PutColorAcceleration ( long pVal ) {
  27916. HRESULT _hr = put_ColorAcceleration(pVal);
  27917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27918. }
  27919. #pragma implementation_key(4267)
  27920. inline long VGCore::IVGEffectContour::GetSpacingAcceleration ( ) {
  27921. long _result = 0;
  27922. HRESULT _hr = get_SpacingAcceleration(&_result);
  27923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27924. return _result;
  27925. }
  27926. #pragma implementation_key(4268)
  27927. inline void VGCore::IVGEffectContour::PutSpacingAcceleration ( long pVal ) {
  27928. HRESULT _hr = put_SpacingAcceleration(pVal);
  27929. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27930. }
  27931. #pragma implementation_key(4269)
  27932. inline VGCore::IVGShapePtr VGCore::IVGEffectContour::GetContourGroup ( ) {
  27933. struct IVGShape * _result = 0;
  27934. HRESULT _hr = get_ContourGroup(&_result);
  27935. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27936. return IVGShapePtr(_result, false);
  27937. }
  27938. #pragma implementation_key(4270)
  27939. inline enum VGCore::cdrContourEndCapType VGCore::IVGEffectContour::GetEndCapType ( ) {
  27940. enum cdrContourEndCapType _result;
  27941. HRESULT _hr = get_EndCapType(&_result);
  27942. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27943. return _result;
  27944. }
  27945. #pragma implementation_key(4271)
  27946. inline void VGCore::IVGEffectContour::PutEndCapType ( enum cdrContourEndCapType pVal ) {
  27947. HRESULT _hr = put_EndCapType(pVal);
  27948. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27949. }
  27950. #pragma implementation_key(4272)
  27951. inline enum VGCore::cdrContourCornerType VGCore::IVGEffectContour::GetCornerType ( ) {
  27952. enum cdrContourCornerType _result;
  27953. HRESULT _hr = get_CornerType(&_result);
  27954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27955. return _result;
  27956. }
  27957. #pragma implementation_key(4273)
  27958. inline void VGCore::IVGEffectContour::PutCornerType ( enum cdrContourCornerType pVal ) {
  27959. HRESULT _hr = put_CornerType(pVal);
  27960. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27961. }
  27962. #pragma implementation_key(4274)
  27963. inline double VGCore::IVGEffectContour::GetMiterLimit ( ) {
  27964. double _result = 0;
  27965. HRESULT _hr = get_MiterLimit(&_result);
  27966. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27967. return _result;
  27968. }
  27969. #pragma implementation_key(4275)
  27970. inline void VGCore::IVGEffectContour::PutMiterLimit ( double pVal ) {
  27971. HRESULT _hr = put_MiterLimit(pVal);
  27972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27973. }
  27974. //
  27975. // interface IVGEffectLens wrapper method implementations
  27976. //
  27977. #pragma implementation_key(4276)
  27978. inline VGCore::IVGApplicationPtr VGCore::IVGEffectLens::GetApplication ( ) {
  27979. struct IVGApplication * _result = 0;
  27980. HRESULT _hr = get_Application(&_result);
  27981. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27982. return IVGApplicationPtr(_result, false);
  27983. }
  27984. #pragma implementation_key(4277)
  27985. inline VGCore::IVGEffectPtr VGCore::IVGEffectLens::GetParent ( ) {
  27986. struct IVGEffect * _result = 0;
  27987. HRESULT _hr = get_Parent(&_result);
  27988. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27989. return IVGEffectPtr(_result, false);
  27990. }
  27991. #pragma implementation_key(4278)
  27992. inline HRESULT VGCore::IVGEffectLens::Freeze ( ) {
  27993. HRESULT _hr = raw_Freeze();
  27994. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  27995. return _hr;
  27996. }
  27997. #pragma implementation_key(4279)
  27998. inline HRESULT VGCore::IVGEffectLens::Unfreeze ( ) {
  27999. HRESULT _hr = raw_Unfreeze();
  28000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28001. return _hr;
  28002. }
  28003. #pragma implementation_key(4280)
  28004. inline VGCore::IVGShapeRangePtr VGCore::IVGEffectLens::Ungroup ( ) {
  28005. struct IVGShapeRange * _result = 0;
  28006. HRESULT _hr = raw_Ungroup(&_result);
  28007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28008. return IVGShapeRangePtr(_result, false);
  28009. }
  28010. #pragma implementation_key(4281)
  28011. inline VGCore::IVGShapesPtr VGCore::IVGEffectLens::GetShapes ( ) {
  28012. struct IVGShapes * _result = 0;
  28013. HRESULT _hr = get_Shapes(&_result);
  28014. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28015. return IVGShapesPtr(_result, false);
  28016. }
  28017. #pragma implementation_key(4282)
  28018. inline VARIANT_BOOL VGCore::IVGEffectLens::GetFrozen ( ) {
  28019. VARIANT_BOOL _result = 0;
  28020. HRESULT _hr = get_Frozen(&_result);
  28021. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28022. return _result;
  28023. }
  28024. #pragma implementation_key(4283)
  28025. inline enum VGCore::cdrLensType VGCore::IVGEffectLens::GetType ( ) {
  28026. enum cdrLensType _result;
  28027. HRESULT _hr = get_Type(&_result);
  28028. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28029. return _result;
  28030. }
  28031. #pragma implementation_key(4284)
  28032. inline void VGCore::IVGEffectLens::PutType ( enum cdrLensType pVal ) {
  28033. HRESULT _hr = put_Type(pVal);
  28034. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28035. }
  28036. #pragma implementation_key(4285)
  28037. inline long VGCore::IVGEffectLens::GetRate ( ) {
  28038. long _result = 0;
  28039. HRESULT _hr = get_Rate(&_result);
  28040. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28041. return _result;
  28042. }
  28043. #pragma implementation_key(4286)
  28044. inline void VGCore::IVGEffectLens::PutRate ( long pVal ) {
  28045. HRESULT _hr = put_Rate(pVal);
  28046. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28047. }
  28048. #pragma implementation_key(4287)
  28049. inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetColor ( ) {
  28050. struct IVGColor * _result = 0;
  28051. HRESULT _hr = get_Color(&_result);
  28052. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28053. return IVGColorPtr(_result, false);
  28054. }
  28055. #pragma implementation_key(4288)
  28056. inline void VGCore::IVGEffectLens::PutColor ( struct IVGColor * ppVal ) {
  28057. HRESULT _hr = put_Color(ppVal);
  28058. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28059. }
  28060. #pragma implementation_key(4289)
  28061. inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetOutlineColor ( ) {
  28062. struct IVGColor * _result = 0;
  28063. HRESULT _hr = get_OutlineColor(&_result);
  28064. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28065. return IVGColorPtr(_result, false);
  28066. }
  28067. #pragma implementation_key(4290)
  28068. inline void VGCore::IVGEffectLens::PutOutlineColor ( struct IVGColor * ppVal ) {
  28069. HRESULT _hr = put_OutlineColor(ppVal);
  28070. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28071. }
  28072. #pragma implementation_key(4291)
  28073. inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetFillColor ( ) {
  28074. struct IVGColor * _result = 0;
  28075. HRESULT _hr = get_FillColor(&_result);
  28076. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28077. return IVGColorPtr(_result, false);
  28078. }
  28079. #pragma implementation_key(4292)
  28080. inline void VGCore::IVGEffectLens::PutFillColor ( struct IVGColor * ppVal ) {
  28081. HRESULT _hr = put_FillColor(ppVal);
  28082. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28083. }
  28084. #pragma implementation_key(4293)
  28085. inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetFromColor ( ) {
  28086. struct IVGColor * _result = 0;
  28087. HRESULT _hr = get_FromColor(&_result);
  28088. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28089. return IVGColorPtr(_result, false);
  28090. }
  28091. #pragma implementation_key(4294)
  28092. inline void VGCore::IVGEffectLens::PutFromColor ( struct IVGColor * ppVal ) {
  28093. HRESULT _hr = put_FromColor(ppVal);
  28094. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28095. }
  28096. #pragma implementation_key(4295)
  28097. inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetToColor ( ) {
  28098. struct IVGColor * _result = 0;
  28099. HRESULT _hr = get_ToColor(&_result);
  28100. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28101. return IVGColorPtr(_result, false);
  28102. }
  28103. #pragma implementation_key(4296)
  28104. inline void VGCore::IVGEffectLens::PutToColor ( struct IVGColor * ppVal ) {
  28105. HRESULT _hr = put_ToColor(ppVal);
  28106. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28107. }
  28108. #pragma implementation_key(4297)
  28109. inline VARIANT_BOOL VGCore::IVGEffectLens::GetUseOutlineColor ( ) {
  28110. VARIANT_BOOL _result = 0;
  28111. HRESULT _hr = get_UseOutlineColor(&_result);
  28112. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28113. return _result;
  28114. }
  28115. #pragma implementation_key(4298)
  28116. inline void VGCore::IVGEffectLens::PutUseOutlineColor ( VARIANT_BOOL pVal ) {
  28117. HRESULT _hr = put_UseOutlineColor(pVal);
  28118. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28119. }
  28120. #pragma implementation_key(4299)
  28121. inline VARIANT_BOOL VGCore::IVGEffectLens::GetUseFillColor ( ) {
  28122. VARIANT_BOOL _result = 0;
  28123. HRESULT _hr = get_UseFillColor(&_result);
  28124. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28125. return _result;
  28126. }
  28127. #pragma implementation_key(4300)
  28128. inline void VGCore::IVGEffectLens::PutUseFillColor ( VARIANT_BOOL pVal ) {
  28129. HRESULT _hr = put_UseFillColor(pVal);
  28130. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28131. }
  28132. #pragma implementation_key(4301)
  28133. inline enum VGCore::cdrFountainFillBlendType VGCore::IVGEffectLens::GetColorMapPalette ( ) {
  28134. enum cdrFountainFillBlendType _result;
  28135. HRESULT _hr = get_ColorMapPalette(&_result);
  28136. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28137. return _result;
  28138. }
  28139. #pragma implementation_key(4302)
  28140. inline void VGCore::IVGEffectLens::PutColorMapPalette ( enum cdrFountainFillBlendType pVal ) {
  28141. HRESULT _hr = put_ColorMapPalette(pVal);
  28142. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28143. }
  28144. #pragma implementation_key(4303)
  28145. inline double VGCore::IVGEffectLens::GetMagnification ( ) {
  28146. double _result = 0;
  28147. HRESULT _hr = get_Magnification(&_result);
  28148. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28149. return _result;
  28150. }
  28151. #pragma implementation_key(4304)
  28152. inline void VGCore::IVGEffectLens::PutMagnification ( double pVal ) {
  28153. HRESULT _hr = put_Magnification(pVal);
  28154. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28155. }
  28156. #pragma implementation_key(4305)
  28157. inline VARIANT_BOOL VGCore::IVGEffectLens::GetUseViewPoint ( ) {
  28158. VARIANT_BOOL _result = 0;
  28159. HRESULT _hr = get_UseViewPoint(&_result);
  28160. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28161. return _result;
  28162. }
  28163. #pragma implementation_key(4306)
  28164. inline void VGCore::IVGEffectLens::PutUseViewPoint ( VARIANT_BOOL pVal ) {
  28165. HRESULT _hr = put_UseViewPoint(pVal);
  28166. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28167. }
  28168. #pragma implementation_key(4307)
  28169. inline double VGCore::IVGEffectLens::GetViewPointX ( ) {
  28170. double _result = 0;
  28171. HRESULT _hr = get_ViewPointX(&_result);
  28172. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28173. return _result;
  28174. }
  28175. #pragma implementation_key(4308)
  28176. inline void VGCore::IVGEffectLens::PutViewPointX ( double pVal ) {
  28177. HRESULT _hr = put_ViewPointX(pVal);
  28178. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28179. }
  28180. #pragma implementation_key(4309)
  28181. inline double VGCore::IVGEffectLens::GetViewPointY ( ) {
  28182. double _result = 0;
  28183. HRESULT _hr = get_ViewPointY(&_result);
  28184. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28185. return _result;
  28186. }
  28187. #pragma implementation_key(4310)
  28188. inline void VGCore::IVGEffectLens::PutViewPointY ( double pVal ) {
  28189. HRESULT _hr = put_ViewPointY(pVal);
  28190. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28191. }
  28192. #pragma implementation_key(4311)
  28193. inline VARIANT_BOOL VGCore::IVGEffectLens::GetRemoveFace ( ) {
  28194. VARIANT_BOOL _result = 0;
  28195. HRESULT _hr = get_RemoveFace(&_result);
  28196. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28197. return _result;
  28198. }
  28199. #pragma implementation_key(4312)
  28200. inline void VGCore::IVGEffectLens::PutRemoveFace ( VARIANT_BOOL pVal ) {
  28201. HRESULT _hr = put_RemoveFace(pVal);
  28202. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28203. }
  28204. #pragma implementation_key(4313)
  28205. inline long VGCore::IVGEffectLens::GetPaletteRotation ( ) {
  28206. long _result = 0;
  28207. HRESULT _hr = get_PaletteRotation(&_result);
  28208. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28209. return _result;
  28210. }
  28211. #pragma implementation_key(4314)
  28212. inline void VGCore::IVGEffectLens::PutPaletteRotation ( long pVal ) {
  28213. HRESULT _hr = put_PaletteRotation(pVal);
  28214. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28215. }
  28216. //
  28217. // interface IVGEffectPerspective wrapper method implementations
  28218. //
  28219. #pragma implementation_key(4315)
  28220. inline VGCore::IVGApplicationPtr VGCore::IVGEffectPerspective::GetApplication ( ) {
  28221. struct IVGApplication * _result = 0;
  28222. HRESULT _hr = get_Application(&_result);
  28223. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28224. return IVGApplicationPtr(_result, false);
  28225. }
  28226. #pragma implementation_key(4316)
  28227. inline VGCore::IVGEffectPtr VGCore::IVGEffectPerspective::GetParent ( ) {
  28228. struct IVGEffect * _result = 0;
  28229. HRESULT _hr = get_Parent(&_result);
  28230. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28231. return IVGEffectPtr(_result, false);
  28232. }
  28233. #pragma implementation_key(4317)
  28234. inline VARIANT_BOOL VGCore::IVGEffectPerspective::GetUseHorizVanishingPoint ( ) {
  28235. VARIANT_BOOL _result = 0;
  28236. HRESULT _hr = get_UseHorizVanishingPoint(&_result);
  28237. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28238. return _result;
  28239. }
  28240. #pragma implementation_key(4318)
  28241. inline void VGCore::IVGEffectPerspective::PutUseHorizVanishingPoint ( VARIANT_BOOL pVal ) {
  28242. HRESULT _hr = put_UseHorizVanishingPoint(pVal);
  28243. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28244. }
  28245. #pragma implementation_key(4319)
  28246. inline VARIANT_BOOL VGCore::IVGEffectPerspective::GetUseVertVanishingPoint ( ) {
  28247. VARIANT_BOOL _result = 0;
  28248. HRESULT _hr = get_UseVertVanishingPoint(&_result);
  28249. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28250. return _result;
  28251. }
  28252. #pragma implementation_key(4320)
  28253. inline void VGCore::IVGEffectPerspective::PutUseVertVanishingPoint ( VARIANT_BOOL pVal ) {
  28254. HRESULT _hr = put_UseVertVanishingPoint(pVal);
  28255. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28256. }
  28257. #pragma implementation_key(4321)
  28258. inline double VGCore::IVGEffectPerspective::GetHorizVanishingPointX ( ) {
  28259. double _result = 0;
  28260. HRESULT _hr = get_HorizVanishingPointX(&_result);
  28261. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28262. return _result;
  28263. }
  28264. #pragma implementation_key(4322)
  28265. inline void VGCore::IVGEffectPerspective::PutHorizVanishingPointX ( double pVal ) {
  28266. HRESULT _hr = put_HorizVanishingPointX(pVal);
  28267. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28268. }
  28269. #pragma implementation_key(4323)
  28270. inline double VGCore::IVGEffectPerspective::GetHorizVanishingPointY ( ) {
  28271. double _result = 0;
  28272. HRESULT _hr = get_HorizVanishingPointY(&_result);
  28273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28274. return _result;
  28275. }
  28276. #pragma implementation_key(4324)
  28277. inline void VGCore::IVGEffectPerspective::PutHorizVanishingPointY ( double pVal ) {
  28278. HRESULT _hr = put_HorizVanishingPointY(pVal);
  28279. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28280. }
  28281. #pragma implementation_key(4325)
  28282. inline double VGCore::IVGEffectPerspective::GetVertVanishingPointX ( ) {
  28283. double _result = 0;
  28284. HRESULT _hr = get_VertVanishingPointX(&_result);
  28285. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28286. return _result;
  28287. }
  28288. #pragma implementation_key(4326)
  28289. inline void VGCore::IVGEffectPerspective::PutVertVanishingPointX ( double pVal ) {
  28290. HRESULT _hr = put_VertVanishingPointX(pVal);
  28291. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28292. }
  28293. #pragma implementation_key(4327)
  28294. inline double VGCore::IVGEffectPerspective::GetVertVanishingPointY ( ) {
  28295. double _result = 0;
  28296. HRESULT _hr = get_VertVanishingPointY(&_result);
  28297. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28298. return _result;
  28299. }
  28300. #pragma implementation_key(4328)
  28301. inline void VGCore::IVGEffectPerspective::PutVertVanishingPointY ( double pVal ) {
  28302. HRESULT _hr = put_VertVanishingPointY(pVal);
  28303. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28304. }
  28305. //
  28306. // interface IVGEffectInnerShadow wrapper method implementations
  28307. //
  28308. #pragma implementation_key(4329)
  28309. inline VGCore::IVGApplicationPtr VGCore::IVGEffectInnerShadow::GetApplication ( ) {
  28310. struct IVGApplication * _result = 0;
  28311. HRESULT _hr = get_Application(&_result);
  28312. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28313. return IVGApplicationPtr(_result, false);
  28314. }
  28315. #pragma implementation_key(4330)
  28316. inline VGCore::IVGEffectPtr VGCore::IVGEffectInnerShadow::GetParent ( ) {
  28317. struct IVGEffect * _result = 0;
  28318. HRESULT _hr = get_Parent(&_result);
  28319. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28320. return IVGEffectPtr(_result, false);
  28321. }
  28322. #pragma implementation_key(4331)
  28323. inline double VGCore::IVGEffectInnerShadow::GetOffsetX ( ) {
  28324. double _result = 0;
  28325. HRESULT _hr = get_OffsetX(&_result);
  28326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28327. return _result;
  28328. }
  28329. #pragma implementation_key(4332)
  28330. inline void VGCore::IVGEffectInnerShadow::PutOffsetX ( double pVal ) {
  28331. HRESULT _hr = put_OffsetX(pVal);
  28332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28333. }
  28334. #pragma implementation_key(4333)
  28335. inline double VGCore::IVGEffectInnerShadow::GetOffsetY ( ) {
  28336. double _result = 0;
  28337. HRESULT _hr = get_OffsetY(&_result);
  28338. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28339. return _result;
  28340. }
  28341. #pragma implementation_key(4334)
  28342. inline void VGCore::IVGEffectInnerShadow::PutOffsetY ( double pVal ) {
  28343. HRESULT _hr = put_OffsetY(pVal);
  28344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28345. }
  28346. #pragma implementation_key(4335)
  28347. inline long VGCore::IVGEffectInnerShadow::GetOpacity ( ) {
  28348. long _result = 0;
  28349. HRESULT _hr = get_Opacity(&_result);
  28350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28351. return _result;
  28352. }
  28353. #pragma implementation_key(4336)
  28354. inline void VGCore::IVGEffectInnerShadow::PutOpacity ( long pVal ) {
  28355. HRESULT _hr = put_Opacity(pVal);
  28356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28357. }
  28358. #pragma implementation_key(4337)
  28359. inline long VGCore::IVGEffectInnerShadow::GetFeather ( ) {
  28360. long _result = 0;
  28361. HRESULT _hr = get_Feather(&_result);
  28362. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28363. return _result;
  28364. }
  28365. #pragma implementation_key(4338)
  28366. inline void VGCore::IVGEffectInnerShadow::PutFeather ( long pVal ) {
  28367. HRESULT _hr = put_Feather(pVal);
  28368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28369. }
  28370. #pragma implementation_key(4339)
  28371. inline enum VGCore::cdrFeatherType VGCore::IVGEffectInnerShadow::GetFeatherType ( ) {
  28372. enum cdrFeatherType _result;
  28373. HRESULT _hr = get_FeatherType(&_result);
  28374. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28375. return _result;
  28376. }
  28377. #pragma implementation_key(4340)
  28378. inline void VGCore::IVGEffectInnerShadow::PutFeatherType ( enum cdrFeatherType pVal ) {
  28379. HRESULT _hr = put_FeatherType(pVal);
  28380. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28381. }
  28382. #pragma implementation_key(4341)
  28383. inline enum VGCore::cdrEdgeType VGCore::IVGEffectInnerShadow::GetFeatherEdge ( ) {
  28384. enum cdrEdgeType _result;
  28385. HRESULT _hr = get_FeatherEdge(&_result);
  28386. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28387. return _result;
  28388. }
  28389. #pragma implementation_key(4342)
  28390. inline void VGCore::IVGEffectInnerShadow::PutFeatherEdge ( enum cdrEdgeType pVal ) {
  28391. HRESULT _hr = put_FeatherEdge(pVal);
  28392. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28393. }
  28394. #pragma implementation_key(4343)
  28395. inline VGCore::IVGColorPtr VGCore::IVGEffectInnerShadow::GetColor ( ) {
  28396. struct IVGColor * _result = 0;
  28397. HRESULT _hr = get_Color(&_result);
  28398. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28399. return IVGColorPtr(_result, false);
  28400. }
  28401. #pragma implementation_key(4344)
  28402. inline void VGCore::IVGEffectInnerShadow::PutColor ( struct IVGColor * ppVal ) {
  28403. HRESULT _hr = put_Color(ppVal);
  28404. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28405. }
  28406. #pragma implementation_key(4345)
  28407. inline HRESULT VGCore::IVGEffectInnerShadow::SetOffset ( double OffsetX, double OffsetY ) {
  28408. HRESULT _hr = raw_SetOffset(OffsetX, OffsetY);
  28409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28410. return _hr;
  28411. }
  28412. #pragma implementation_key(4346)
  28413. inline VGCore::IVGShapePtr VGCore::IVGEffectInnerShadow::GetShadowGroup ( ) {
  28414. struct IVGShape * _result = 0;
  28415. HRESULT _hr = get_ShadowGroup(&_result);
  28416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28417. return IVGShapePtr(_result, false);
  28418. }
  28419. #pragma implementation_key(4347)
  28420. inline enum VGCore::cdrMergeMode VGCore::IVGEffectInnerShadow::GetMergeMode ( ) {
  28421. enum cdrMergeMode _result;
  28422. HRESULT _hr = get_MergeMode(&_result);
  28423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28424. return _result;
  28425. }
  28426. #pragma implementation_key(4348)
  28427. inline void VGCore::IVGEffectInnerShadow::PutMergeMode ( enum cdrMergeMode pVal ) {
  28428. HRESULT _hr = put_MergeMode(pVal);
  28429. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28430. }
  28431. #pragma implementation_key(4349)
  28432. inline double VGCore::IVGEffectInnerShadow::GetDepth ( ) {
  28433. double _result = 0;
  28434. HRESULT _hr = get_Depth(&_result);
  28435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28436. return _result;
  28437. }
  28438. #pragma implementation_key(4350)
  28439. inline void VGCore::IVGEffectInnerShadow::PutDepth ( double pVal ) {
  28440. HRESULT _hr = put_Depth(pVal);
  28441. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28442. }
  28443. //
  28444. // interface IVGEffectExtrude wrapper method implementations
  28445. //
  28446. #pragma implementation_key(4351)
  28447. inline VGCore::IVGApplicationPtr VGCore::IVGEffectExtrude::GetApplication ( ) {
  28448. struct IVGApplication * _result = 0;
  28449. HRESULT _hr = get_Application(&_result);
  28450. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28451. return IVGApplicationPtr(_result, false);
  28452. }
  28453. #pragma implementation_key(4352)
  28454. inline VGCore::IVGEffectPtr VGCore::IVGEffectExtrude::GetParent ( ) {
  28455. struct IVGEffect * _result = 0;
  28456. HRESULT _hr = get_Parent(&_result);
  28457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28458. return IVGEffectPtr(_result, false);
  28459. }
  28460. #pragma implementation_key(4353)
  28461. inline enum VGCore::cdrExtrudeType VGCore::IVGEffectExtrude::GetType ( ) {
  28462. enum cdrExtrudeType _result;
  28463. HRESULT _hr = get_Type(&_result);
  28464. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28465. return _result;
  28466. }
  28467. #pragma implementation_key(4354)
  28468. inline void VGCore::IVGEffectExtrude::PutType ( enum cdrExtrudeType pVal ) {
  28469. HRESULT _hr = put_Type(pVal);
  28470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28471. }
  28472. #pragma implementation_key(4355)
  28473. inline VGCore::IVGExtrudeVanishingPointPtr VGCore::IVGEffectExtrude::GetVanishingPoint ( ) {
  28474. struct IVGExtrudeVanishingPoint * _result = 0;
  28475. HRESULT _hr = get_VanishingPoint(&_result);
  28476. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28477. return IVGExtrudeVanishingPointPtr(_result, false);
  28478. }
  28479. #pragma implementation_key(4356)
  28480. inline void VGCore::IVGEffectExtrude::PutVanishingPoint ( struct IVGExtrudeVanishingPoint * ppVal ) {
  28481. HRESULT _hr = put_VanishingPoint(ppVal);
  28482. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28483. }
  28484. #pragma implementation_key(4357)
  28485. inline long VGCore::IVGEffectExtrude::GetDepth ( ) {
  28486. long _result = 0;
  28487. HRESULT _hr = get_Depth(&_result);
  28488. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28489. return _result;
  28490. }
  28491. #pragma implementation_key(4358)
  28492. inline void VGCore::IVGEffectExtrude::PutDepth ( long pVal ) {
  28493. HRESULT _hr = put_Depth(pVal);
  28494. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28495. }
  28496. #pragma implementation_key(4359)
  28497. inline double VGCore::IVGEffectExtrude::GetAngleX ( ) {
  28498. double _result = 0;
  28499. HRESULT _hr = get_AngleX(&_result);
  28500. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28501. return _result;
  28502. }
  28503. #pragma implementation_key(4360)
  28504. inline void VGCore::IVGEffectExtrude::PutAngleX ( double pVal ) {
  28505. HRESULT _hr = put_AngleX(pVal);
  28506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28507. }
  28508. #pragma implementation_key(4361)
  28509. inline double VGCore::IVGEffectExtrude::GetAngleY ( ) {
  28510. double _result = 0;
  28511. HRESULT _hr = get_AngleY(&_result);
  28512. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28513. return _result;
  28514. }
  28515. #pragma implementation_key(4362)
  28516. inline void VGCore::IVGEffectExtrude::PutAngleY ( double pVal ) {
  28517. HRESULT _hr = put_AngleY(pVal);
  28518. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28519. }
  28520. #pragma implementation_key(4363)
  28521. inline double VGCore::IVGEffectExtrude::GetAngleZ ( ) {
  28522. double _result = 0;
  28523. HRESULT _hr = get_AngleZ(&_result);
  28524. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28525. return _result;
  28526. }
  28527. #pragma implementation_key(4364)
  28528. inline void VGCore::IVGEffectExtrude::PutAngleZ ( double pVal ) {
  28529. HRESULT _hr = put_AngleZ(pVal);
  28530. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28531. }
  28532. #pragma implementation_key(4365)
  28533. inline enum VGCore::cdrExtrudeShading VGCore::IVGEffectExtrude::GetShading ( ) {
  28534. enum cdrExtrudeShading _result;
  28535. HRESULT _hr = get_Shading(&_result);
  28536. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28537. return _result;
  28538. }
  28539. #pragma implementation_key(4366)
  28540. inline void VGCore::IVGEffectExtrude::PutShading ( enum cdrExtrudeShading pVal ) {
  28541. HRESULT _hr = put_Shading(pVal);
  28542. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28543. }
  28544. #pragma implementation_key(4367)
  28545. inline VGCore::IVGColorPtr VGCore::IVGEffectExtrude::GetBaseColor ( ) {
  28546. struct IVGColor * _result = 0;
  28547. HRESULT _hr = get_BaseColor(&_result);
  28548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28549. return IVGColorPtr(_result, false);
  28550. }
  28551. #pragma implementation_key(4368)
  28552. inline void VGCore::IVGEffectExtrude::PutBaseColor ( struct IVGColor * ppVal ) {
  28553. HRESULT _hr = put_BaseColor(ppVal);
  28554. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28555. }
  28556. #pragma implementation_key(4369)
  28557. inline VGCore::IVGColorPtr VGCore::IVGEffectExtrude::GetShadingColor ( ) {
  28558. struct IVGColor * _result = 0;
  28559. HRESULT _hr = get_ShadingColor(&_result);
  28560. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28561. return IVGColorPtr(_result, false);
  28562. }
  28563. #pragma implementation_key(4370)
  28564. inline void VGCore::IVGEffectExtrude::PutShadingColor ( struct IVGColor * ppVal ) {
  28565. HRESULT _hr = put_ShadingColor(ppVal);
  28566. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28567. }
  28568. #pragma implementation_key(4371)
  28569. inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetUseBevel ( ) {
  28570. VARIANT_BOOL _result = 0;
  28571. HRESULT _hr = get_UseBevel(&_result);
  28572. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28573. return _result;
  28574. }
  28575. #pragma implementation_key(4372)
  28576. inline void VGCore::IVGEffectExtrude::PutUseBevel ( VARIANT_BOOL pVal ) {
  28577. HRESULT _hr = put_UseBevel(pVal);
  28578. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28579. }
  28580. #pragma implementation_key(4373)
  28581. inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetShowBevelOnly ( ) {
  28582. VARIANT_BOOL _result = 0;
  28583. HRESULT _hr = get_ShowBevelOnly(&_result);
  28584. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28585. return _result;
  28586. }
  28587. #pragma implementation_key(4374)
  28588. inline void VGCore::IVGEffectExtrude::PutShowBevelOnly ( VARIANT_BOOL pVal ) {
  28589. HRESULT _hr = put_ShowBevelOnly(pVal);
  28590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28591. }
  28592. #pragma implementation_key(4375)
  28593. inline double VGCore::IVGEffectExtrude::GetBevelDepth ( ) {
  28594. double _result = 0;
  28595. HRESULT _hr = get_BevelDepth(&_result);
  28596. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28597. return _result;
  28598. }
  28599. #pragma implementation_key(4376)
  28600. inline void VGCore::IVGEffectExtrude::PutBevelDepth ( double pVal ) {
  28601. HRESULT _hr = put_BevelDepth(pVal);
  28602. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28603. }
  28604. #pragma implementation_key(4377)
  28605. inline double VGCore::IVGEffectExtrude::GetBevelAngle ( ) {
  28606. double _result = 0;
  28607. HRESULT _hr = get_BevelAngle(&_result);
  28608. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28609. return _result;
  28610. }
  28611. #pragma implementation_key(4378)
  28612. inline void VGCore::IVGEffectExtrude::PutBevelAngle ( double pVal ) {
  28613. HRESULT _hr = put_BevelAngle(pVal);
  28614. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28615. }
  28616. #pragma implementation_key(4379)
  28617. inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetUseExtrudeColorForBevel ( ) {
  28618. VARIANT_BOOL _result = 0;
  28619. HRESULT _hr = get_UseExtrudeColorForBevel(&_result);
  28620. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28621. return _result;
  28622. }
  28623. #pragma implementation_key(4380)
  28624. inline void VGCore::IVGEffectExtrude::PutUseExtrudeColorForBevel ( VARIANT_BOOL pVal ) {
  28625. HRESULT _hr = put_UseExtrudeColorForBevel(pVal);
  28626. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28627. }
  28628. #pragma implementation_key(4381)
  28629. inline VGCore::IVGColorPtr VGCore::IVGEffectExtrude::GetBevelColor ( ) {
  28630. struct IVGColor * _result = 0;
  28631. HRESULT _hr = get_BevelColor(&_result);
  28632. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28633. return IVGColorPtr(_result, false);
  28634. }
  28635. #pragma implementation_key(4382)
  28636. inline void VGCore::IVGEffectExtrude::PutBevelColor ( struct IVGColor * ppVal ) {
  28637. HRESULT _hr = put_BevelColor(ppVal);
  28638. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28639. }
  28640. #pragma implementation_key(4383)
  28641. inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetLightPresent ( long Index ) {
  28642. VARIANT_BOOL _result = 0;
  28643. HRESULT _hr = get_LightPresent(Index, &_result);
  28644. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28645. return _result;
  28646. }
  28647. #pragma implementation_key(4384)
  28648. inline void VGCore::IVGEffectExtrude::PutLightPresent ( long Index, VARIANT_BOOL pVal ) {
  28649. HRESULT _hr = put_LightPresent(Index, pVal);
  28650. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28651. }
  28652. #pragma implementation_key(4385)
  28653. inline enum VGCore::cdrExtrudeLightPosition VGCore::IVGEffectExtrude::GetLightPosition ( long Index ) {
  28654. enum cdrExtrudeLightPosition _result;
  28655. HRESULT _hr = get_LightPosition(Index, &_result);
  28656. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28657. return _result;
  28658. }
  28659. #pragma implementation_key(4386)
  28660. inline void VGCore::IVGEffectExtrude::PutLightPosition ( long Index, enum cdrExtrudeLightPosition pVal ) {
  28661. HRESULT _hr = put_LightPosition(Index, pVal);
  28662. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28663. }
  28664. #pragma implementation_key(4387)
  28665. inline long VGCore::IVGEffectExtrude::GetLightIntensity ( long Index ) {
  28666. long _result = 0;
  28667. HRESULT _hr = get_LightIntensity(Index, &_result);
  28668. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28669. return _result;
  28670. }
  28671. #pragma implementation_key(4388)
  28672. inline void VGCore::IVGEffectExtrude::PutLightIntensity ( long Index, long pVal ) {
  28673. HRESULT _hr = put_LightIntensity(Index, pVal);
  28674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28675. }
  28676. #pragma implementation_key(4389)
  28677. inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetUseFullColorRange ( ) {
  28678. VARIANT_BOOL _result = 0;
  28679. HRESULT _hr = get_UseFullColorRange(&_result);
  28680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28681. return _result;
  28682. }
  28683. #pragma implementation_key(4390)
  28684. inline void VGCore::IVGEffectExtrude::PutUseFullColorRange ( VARIANT_BOOL pVal ) {
  28685. HRESULT _hr = put_UseFullColorRange(pVal);
  28686. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28687. }
  28688. #pragma implementation_key(4391)
  28689. inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetFaceVisible ( ) {
  28690. VARIANT_BOOL _result = 0;
  28691. HRESULT _hr = get_FaceVisible(&_result);
  28692. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28693. return _result;
  28694. }
  28695. #pragma implementation_key(4392)
  28696. inline VGCore::IVGShapePtr VGCore::IVGEffectExtrude::GetFaceShape ( ) {
  28697. struct IVGShape * _result = 0;
  28698. HRESULT _hr = get_FaceShape(&_result);
  28699. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28700. return IVGShapePtr(_result, false);
  28701. }
  28702. #pragma implementation_key(4393)
  28703. inline VGCore::IVGShapePtr VGCore::IVGEffectExtrude::GetBevelGroup ( ) {
  28704. struct IVGShape * _result = 0;
  28705. HRESULT _hr = get_BevelGroup(&_result);
  28706. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28707. return IVGShapePtr(_result, false);
  28708. }
  28709. #pragma implementation_key(4394)
  28710. inline VGCore::IVGShapePtr VGCore::IVGEffectExtrude::GetExtrudeGroup ( ) {
  28711. struct IVGShape * _result = 0;
  28712. HRESULT _hr = get_ExtrudeGroup(&_result);
  28713. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28714. return IVGShapePtr(_result, false);
  28715. }
  28716. #pragma implementation_key(4395)
  28717. inline HRESULT VGCore::IVGEffectExtrude::Rotate ( double AngleX, double AngleY, double AngleZ ) {
  28718. HRESULT _hr = raw_Rotate(AngleX, AngleY, AngleZ);
  28719. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28720. return _hr;
  28721. }
  28722. #pragma implementation_key(4396)
  28723. inline HRESULT VGCore::IVGEffectExtrude::SetBevel ( double Depth, double Angle, VARIANT_BOOL ShowBevelOnly ) {
  28724. HRESULT _hr = raw_SetBevel(Depth, Angle, ShowBevelOnly);
  28725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28726. return _hr;
  28727. }
  28728. #pragma implementation_key(4397)
  28729. inline HRESULT VGCore::IVGEffectExtrude::SetLight ( long Index, enum cdrExtrudeLightPosition Position, long LightIntensity ) {
  28730. HRESULT _hr = raw_SetLight(Index, Position, LightIntensity);
  28731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28732. return _hr;
  28733. }
  28734. #pragma implementation_key(4398)
  28735. inline HRESULT VGCore::IVGEffectExtrude::CopyFrom ( struct IVGEffectExtrude * Source ) {
  28736. HRESULT _hr = raw_CopyFrom(Source);
  28737. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28738. return _hr;
  28739. }
  28740. //
  28741. // interface IVGExtrudeVanishingPoint wrapper method implementations
  28742. //
  28743. #pragma implementation_key(4399)
  28744. inline VGCore::IVGApplicationPtr VGCore::IVGExtrudeVanishingPoint::GetApplication ( ) {
  28745. struct IVGApplication * _result = 0;
  28746. HRESULT _hr = get_Application(&_result);
  28747. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28748. return IVGApplicationPtr(_result, false);
  28749. }
  28750. #pragma implementation_key(4400)
  28751. inline VGCore::IVGEffectExtrudePtr VGCore::IVGExtrudeVanishingPoint::GetParent ( ) {
  28752. struct IVGEffectExtrude * _result = 0;
  28753. HRESULT _hr = get_Parent(&_result);
  28754. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28755. return IVGEffectExtrudePtr(_result, false);
  28756. }
  28757. #pragma implementation_key(4401)
  28758. inline enum VGCore::cdrExtrudeVPType VGCore::IVGExtrudeVanishingPoint::GetType ( ) {
  28759. enum cdrExtrudeVPType _result;
  28760. HRESULT _hr = get_Type(&_result);
  28761. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28762. return _result;
  28763. }
  28764. #pragma implementation_key(4402)
  28765. inline void VGCore::IVGExtrudeVanishingPoint::PutType ( enum cdrExtrudeVPType pVal ) {
  28766. HRESULT _hr = put_Type(pVal);
  28767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28768. }
  28769. #pragma implementation_key(4403)
  28770. inline double VGCore::IVGExtrudeVanishingPoint::GetPositionX ( ) {
  28771. double _result = 0;
  28772. HRESULT _hr = get_PositionX(&_result);
  28773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28774. return _result;
  28775. }
  28776. #pragma implementation_key(4404)
  28777. inline void VGCore::IVGExtrudeVanishingPoint::PutPositionX ( double pVal ) {
  28778. HRESULT _hr = put_PositionX(pVal);
  28779. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28780. }
  28781. #pragma implementation_key(4405)
  28782. inline double VGCore::IVGExtrudeVanishingPoint::GetPositionY ( ) {
  28783. double _result = 0;
  28784. HRESULT _hr = get_PositionY(&_result);
  28785. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28786. return _result;
  28787. }
  28788. #pragma implementation_key(4406)
  28789. inline void VGCore::IVGExtrudeVanishingPoint::PutPositionY ( double pVal ) {
  28790. HRESULT _hr = put_PositionY(pVal);
  28791. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28792. }
  28793. #pragma implementation_key(4407)
  28794. inline VGCore::IVGEffectsPtr VGCore::IVGExtrudeVanishingPoint::GetEffects ( ) {
  28795. struct IVGEffects * _result = 0;
  28796. HRESULT _hr = get_Effects(&_result);
  28797. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28798. return IVGEffectsPtr(_result, false);
  28799. }
  28800. #pragma implementation_key(4408)
  28801. inline VARIANT_BOOL VGCore::IVGExtrudeVanishingPoint::Share ( struct IVGEffectExtrude * Source ) {
  28802. VARIANT_BOOL _result = 0;
  28803. HRESULT _hr = raw_Share(Source, &_result);
  28804. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28805. return _result;
  28806. }
  28807. //
  28808. // interface IVGEffectDistortion wrapper method implementations
  28809. //
  28810. #pragma implementation_key(4409)
  28811. inline VGCore::IVGApplicationPtr VGCore::IVGEffectDistortion::GetApplication ( ) {
  28812. struct IVGApplication * _result = 0;
  28813. HRESULT _hr = get_Application(&_result);
  28814. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28815. return IVGApplicationPtr(_result, false);
  28816. }
  28817. #pragma implementation_key(4410)
  28818. inline VGCore::IVGEffectPtr VGCore::IVGEffectDistortion::GetParent ( ) {
  28819. struct IVGEffect * _result = 0;
  28820. HRESULT _hr = get_Parent(&_result);
  28821. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28822. return IVGEffectPtr(_result, false);
  28823. }
  28824. #pragma implementation_key(4411)
  28825. inline enum VGCore::cdrDistortionType VGCore::IVGEffectDistortion::GetType ( ) {
  28826. enum cdrDistortionType _result;
  28827. HRESULT _hr = get_Type(&_result);
  28828. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28829. return _result;
  28830. }
  28831. #pragma implementation_key(4412)
  28832. inline void VGCore::IVGEffectDistortion::PutType ( enum cdrDistortionType pVal ) {
  28833. HRESULT _hr = put_Type(pVal);
  28834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28835. }
  28836. #pragma implementation_key(4413)
  28837. inline double VGCore::IVGEffectDistortion::GetOriginX ( ) {
  28838. double _result = 0;
  28839. HRESULT _hr = get_OriginX(&_result);
  28840. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28841. return _result;
  28842. }
  28843. #pragma implementation_key(4414)
  28844. inline void VGCore::IVGEffectDistortion::PutOriginX ( double pVal ) {
  28845. HRESULT _hr = put_OriginX(pVal);
  28846. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28847. }
  28848. #pragma implementation_key(4415)
  28849. inline double VGCore::IVGEffectDistortion::GetOriginY ( ) {
  28850. double _result = 0;
  28851. HRESULT _hr = get_OriginY(&_result);
  28852. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28853. return _result;
  28854. }
  28855. #pragma implementation_key(4416)
  28856. inline void VGCore::IVGEffectDistortion::PutOriginY ( double pVal ) {
  28857. HRESULT _hr = put_OriginY(pVal);
  28858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28859. }
  28860. #pragma implementation_key(4417)
  28861. inline VGCore::IVGEffectPushPullDistortionPtr VGCore::IVGEffectDistortion::GetPushPull ( ) {
  28862. struct IVGEffectPushPullDistortion * _result = 0;
  28863. HRESULT _hr = get_PushPull(&_result);
  28864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28865. return IVGEffectPushPullDistortionPtr(_result, false);
  28866. }
  28867. #pragma implementation_key(4418)
  28868. inline void VGCore::IVGEffectDistortion::PutPushPull ( struct IVGEffectPushPullDistortion * ppVal ) {
  28869. HRESULT _hr = put_PushPull(ppVal);
  28870. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28871. }
  28872. #pragma implementation_key(4419)
  28873. inline VGCore::IVGEffectZipperDistortionPtr VGCore::IVGEffectDistortion::GetZipper ( ) {
  28874. struct IVGEffectZipperDistortion * _result = 0;
  28875. HRESULT _hr = get_Zipper(&_result);
  28876. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28877. return IVGEffectZipperDistortionPtr(_result, false);
  28878. }
  28879. #pragma implementation_key(4420)
  28880. inline void VGCore::IVGEffectDistortion::PutZipper ( struct IVGEffectZipperDistortion * ppVal ) {
  28881. HRESULT _hr = put_Zipper(ppVal);
  28882. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28883. }
  28884. #pragma implementation_key(4421)
  28885. inline VGCore::IVGEffectTwisterDistortionPtr VGCore::IVGEffectDistortion::GetTwister ( ) {
  28886. struct IVGEffectTwisterDistortion * _result = 0;
  28887. HRESULT _hr = get_Twister(&_result);
  28888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28889. return IVGEffectTwisterDistortionPtr(_result, false);
  28890. }
  28891. #pragma implementation_key(4422)
  28892. inline void VGCore::IVGEffectDistortion::PutTwister ( struct IVGEffectTwisterDistortion * ppVal ) {
  28893. HRESULT _hr = put_Twister(ppVal);
  28894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28895. }
  28896. #pragma implementation_key(4423)
  28897. inline HRESULT VGCore::IVGEffectDistortion::CenterDistortion ( ) {
  28898. HRESULT _hr = raw_CenterDistortion();
  28899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28900. return _hr;
  28901. }
  28902. #pragma implementation_key(4424)
  28903. inline VGCore::IVGEffectCustomDistortionPtr VGCore::IVGEffectDistortion::GetCustom ( ) {
  28904. struct IVGEffectCustomDistortion * _result = 0;
  28905. HRESULT _hr = get_Custom(&_result);
  28906. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28907. return IVGEffectCustomDistortionPtr(_result, false);
  28908. }
  28909. //
  28910. // interface IVGEffectPushPullDistortion wrapper method implementations
  28911. //
  28912. #pragma implementation_key(4425)
  28913. inline VGCore::IVGApplicationPtr VGCore::IVGEffectPushPullDistortion::GetApplication ( ) {
  28914. struct IVGApplication * _result = 0;
  28915. HRESULT _hr = get_Application(&_result);
  28916. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28917. return IVGApplicationPtr(_result, false);
  28918. }
  28919. #pragma implementation_key(4426)
  28920. inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffectPushPullDistortion::GetParent ( ) {
  28921. struct IVGEffectDistortion * _result = 0;
  28922. HRESULT _hr = get_Parent(&_result);
  28923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28924. return IVGEffectDistortionPtr(_result, false);
  28925. }
  28926. #pragma implementation_key(4427)
  28927. inline long VGCore::IVGEffectPushPullDistortion::GetAmplitude ( ) {
  28928. long _result = 0;
  28929. HRESULT _hr = get_Amplitude(&_result);
  28930. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28931. return _result;
  28932. }
  28933. #pragma implementation_key(4428)
  28934. inline void VGCore::IVGEffectPushPullDistortion::PutAmplitude ( long pVal ) {
  28935. HRESULT _hr = put_Amplitude(pVal);
  28936. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28937. }
  28938. //
  28939. // interface IVGEffectZipperDistortion wrapper method implementations
  28940. //
  28941. #pragma implementation_key(4429)
  28942. inline VGCore::IVGApplicationPtr VGCore::IVGEffectZipperDistortion::GetApplication ( ) {
  28943. struct IVGApplication * _result = 0;
  28944. HRESULT _hr = get_Application(&_result);
  28945. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28946. return IVGApplicationPtr(_result, false);
  28947. }
  28948. #pragma implementation_key(4430)
  28949. inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffectZipperDistortion::GetParent ( ) {
  28950. struct IVGEffectDistortion * _result = 0;
  28951. HRESULT _hr = get_Parent(&_result);
  28952. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28953. return IVGEffectDistortionPtr(_result, false);
  28954. }
  28955. #pragma implementation_key(4431)
  28956. inline long VGCore::IVGEffectZipperDistortion::GetAmplitude ( ) {
  28957. long _result = 0;
  28958. HRESULT _hr = get_Amplitude(&_result);
  28959. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28960. return _result;
  28961. }
  28962. #pragma implementation_key(4432)
  28963. inline void VGCore::IVGEffectZipperDistortion::PutAmplitude ( long pVal ) {
  28964. HRESULT _hr = put_Amplitude(pVal);
  28965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28966. }
  28967. #pragma implementation_key(4433)
  28968. inline long VGCore::IVGEffectZipperDistortion::GetFrequency ( ) {
  28969. long _result = 0;
  28970. HRESULT _hr = get_Frequency(&_result);
  28971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28972. return _result;
  28973. }
  28974. #pragma implementation_key(4434)
  28975. inline void VGCore::IVGEffectZipperDistortion::PutFrequency ( long pVal ) {
  28976. HRESULT _hr = put_Frequency(pVal);
  28977. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28978. }
  28979. #pragma implementation_key(4435)
  28980. inline VARIANT_BOOL VGCore::IVGEffectZipperDistortion::GetRandom ( ) {
  28981. VARIANT_BOOL _result = 0;
  28982. HRESULT _hr = get_Random(&_result);
  28983. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28984. return _result;
  28985. }
  28986. #pragma implementation_key(4436)
  28987. inline void VGCore::IVGEffectZipperDistortion::PutRandom ( VARIANT_BOOL pVal ) {
  28988. HRESULT _hr = put_Random(pVal);
  28989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28990. }
  28991. #pragma implementation_key(4437)
  28992. inline VARIANT_BOOL VGCore::IVGEffectZipperDistortion::GetSmooth ( ) {
  28993. VARIANT_BOOL _result = 0;
  28994. HRESULT _hr = get_Smooth(&_result);
  28995. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  28996. return _result;
  28997. }
  28998. #pragma implementation_key(4438)
  28999. inline void VGCore::IVGEffectZipperDistortion::PutSmooth ( VARIANT_BOOL pVal ) {
  29000. HRESULT _hr = put_Smooth(pVal);
  29001. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29002. }
  29003. #pragma implementation_key(4439)
  29004. inline VARIANT_BOOL VGCore::IVGEffectZipperDistortion::GetLocal ( ) {
  29005. VARIANT_BOOL _result = 0;
  29006. HRESULT _hr = get_Local(&_result);
  29007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29008. return _result;
  29009. }
  29010. #pragma implementation_key(4440)
  29011. inline void VGCore::IVGEffectZipperDistortion::PutLocal ( VARIANT_BOOL pVal ) {
  29012. HRESULT _hr = put_Local(pVal);
  29013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29014. }
  29015. //
  29016. // interface IVGEffectTwisterDistortion wrapper method implementations
  29017. //
  29018. #pragma implementation_key(4441)
  29019. inline VGCore::IVGApplicationPtr VGCore::IVGEffectTwisterDistortion::GetApplication ( ) {
  29020. struct IVGApplication * _result = 0;
  29021. HRESULT _hr = get_Application(&_result);
  29022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29023. return IVGApplicationPtr(_result, false);
  29024. }
  29025. #pragma implementation_key(4442)
  29026. inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffectTwisterDistortion::GetParent ( ) {
  29027. struct IVGEffectDistortion * _result = 0;
  29028. HRESULT _hr = get_Parent(&_result);
  29029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29030. return IVGEffectDistortionPtr(_result, false);
  29031. }
  29032. #pragma implementation_key(4443)
  29033. inline double VGCore::IVGEffectTwisterDistortion::GetAngle ( ) {
  29034. double _result = 0;
  29035. HRESULT _hr = get_Angle(&_result);
  29036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29037. return _result;
  29038. }
  29039. #pragma implementation_key(4444)
  29040. inline void VGCore::IVGEffectTwisterDistortion::PutAngle ( double pVal ) {
  29041. HRESULT _hr = put_Angle(pVal);
  29042. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29043. }
  29044. //
  29045. // interface IVGTextRange wrapper method implementations
  29046. //
  29047. #pragma implementation_key(4445)
  29048. inline _bstr_t VGCore::IVGTextRange::GetText ( ) {
  29049. BSTR _result = 0;
  29050. HRESULT _hr = get_Text(&_result);
  29051. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29052. return _bstr_t(_result, false);
  29053. }
  29054. #pragma implementation_key(4446)
  29055. inline void VGCore::IVGTextRange::PutText ( _bstr_t ppVal ) {
  29056. HRESULT _hr = put_Text(ppVal);
  29057. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29058. }
  29059. #pragma implementation_key(4447)
  29060. inline _bstr_t VGCore::IVGTextRange::GetWideText ( ) {
  29061. BSTR _result = 0;
  29062. HRESULT _hr = get_WideText(&_result);
  29063. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29064. return _bstr_t(_result, false);
  29065. }
  29066. #pragma implementation_key(4448)
  29067. inline void VGCore::IVGTextRange::PutWideText ( _bstr_t ppVal ) {
  29068. HRESULT _hr = put_WideText(ppVal);
  29069. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29070. }
  29071. #pragma implementation_key(4449)
  29072. inline VGCore::IVGTextCharactersPtr VGCore::IVGTextRange::GetCharacters ( ) {
  29073. struct IVGTextCharacters * _result = 0;
  29074. HRESULT _hr = get_Characters(&_result);
  29075. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29076. return IVGTextCharactersPtr(_result, false);
  29077. }
  29078. #pragma implementation_key(4450)
  29079. inline VGCore::IVGTextWordsPtr VGCore::IVGTextRange::GetWords ( ) {
  29080. struct IVGTextWords * _result = 0;
  29081. HRESULT _hr = get_Words(&_result);
  29082. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29083. return IVGTextWordsPtr(_result, false);
  29084. }
  29085. #pragma implementation_key(4451)
  29086. inline VGCore::IVGTextLinesPtr VGCore::IVGTextRange::GetLines ( ) {
  29087. struct IVGTextLines * _result = 0;
  29088. HRESULT _hr = get_Lines(&_result);
  29089. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29090. return IVGTextLinesPtr(_result, false);
  29091. }
  29092. #pragma implementation_key(4452)
  29093. inline VGCore::IVGTextParagraphsPtr VGCore::IVGTextRange::GetParagraphs ( ) {
  29094. struct IVGTextParagraphs * _result = 0;
  29095. HRESULT _hr = get_Paragraphs(&_result);
  29096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29097. return IVGTextParagraphsPtr(_result, false);
  29098. }
  29099. #pragma implementation_key(4453)
  29100. inline long VGCore::IVGTextRange::GetStart ( ) {
  29101. long _result = 0;
  29102. HRESULT _hr = get_Start(&_result);
  29103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29104. return _result;
  29105. }
  29106. #pragma implementation_key(4454)
  29107. inline void VGCore::IVGTextRange::PutStart ( long pVal ) {
  29108. HRESULT _hr = put_Start(pVal);
  29109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29110. }
  29111. #pragma implementation_key(4455)
  29112. inline long VGCore::IVGTextRange::GetEnd ( ) {
  29113. long _result = 0;
  29114. HRESULT _hr = get_End(&_result);
  29115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29116. return _result;
  29117. }
  29118. #pragma implementation_key(4456)
  29119. inline void VGCore::IVGTextRange::PutEnd ( long pVal ) {
  29120. HRESULT _hr = put_End(pVal);
  29121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29122. }
  29123. #pragma implementation_key(4457)
  29124. inline long VGCore::IVGTextRange::GetLength ( ) {
  29125. long _result = 0;
  29126. HRESULT _hr = get_Length(&_result);
  29127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29128. return _result;
  29129. }
  29130. #pragma implementation_key(4458)
  29131. inline void VGCore::IVGTextRange::PutLength ( long pVal ) {
  29132. HRESULT _hr = put_Length(pVal);
  29133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29134. }
  29135. #pragma implementation_key(4459)
  29136. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Duplicate ( ) {
  29137. struct IVGTextRange * _result = 0;
  29138. HRESULT _hr = raw_Duplicate(&_result);
  29139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29140. return IVGTextRangePtr(_result, false);
  29141. }
  29142. #pragma implementation_key(4460)
  29143. inline enum VGCore::cdrFontStyle VGCore::IVGTextRange::GetStyle ( ) {
  29144. enum cdrFontStyle _result;
  29145. HRESULT _hr = get_Style(&_result);
  29146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29147. return _result;
  29148. }
  29149. #pragma implementation_key(4461)
  29150. inline void VGCore::IVGTextRange::PutStyle ( enum cdrFontStyle pVal ) {
  29151. HRESULT _hr = put_Style(pVal);
  29152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29153. }
  29154. #pragma implementation_key(4462)
  29155. inline VARIANT_BOOL VGCore::IVGTextRange::GetBold ( ) {
  29156. VARIANT_BOOL _result = 0;
  29157. HRESULT _hr = get_Bold(&_result);
  29158. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29159. return _result;
  29160. }
  29161. #pragma implementation_key(4463)
  29162. inline void VGCore::IVGTextRange::PutBold ( VARIANT_BOOL pVal ) {
  29163. HRESULT _hr = put_Bold(pVal);
  29164. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29165. }
  29166. #pragma implementation_key(4464)
  29167. inline VARIANT_BOOL VGCore::IVGTextRange::GetItalic ( ) {
  29168. VARIANT_BOOL _result = 0;
  29169. HRESULT _hr = get_Italic(&_result);
  29170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29171. return _result;
  29172. }
  29173. #pragma implementation_key(4465)
  29174. inline void VGCore::IVGTextRange::PutItalic ( VARIANT_BOOL pVal ) {
  29175. HRESULT _hr = put_Italic(pVal);
  29176. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29177. }
  29178. #pragma implementation_key(4466)
  29179. inline enum VGCore::cdrFontLine VGCore::IVGTextRange::GetUnderline ( ) {
  29180. enum cdrFontLine _result;
  29181. HRESULT _hr = get_Underline(&_result);
  29182. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29183. return _result;
  29184. }
  29185. #pragma implementation_key(4467)
  29186. inline void VGCore::IVGTextRange::PutUnderline ( enum cdrFontLine pVal ) {
  29187. HRESULT _hr = put_Underline(pVal);
  29188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29189. }
  29190. #pragma implementation_key(4468)
  29191. inline enum VGCore::cdrFontLine VGCore::IVGTextRange::GetStrikethru ( ) {
  29192. enum cdrFontLine _result;
  29193. HRESULT _hr = get_Strikethru(&_result);
  29194. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29195. return _result;
  29196. }
  29197. #pragma implementation_key(4469)
  29198. inline void VGCore::IVGTextRange::PutStrikethru ( enum cdrFontLine pVal ) {
  29199. HRESULT _hr = put_Strikethru(pVal);
  29200. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29201. }
  29202. #pragma implementation_key(4470)
  29203. inline enum VGCore::cdrFontLine VGCore::IVGTextRange::GetOverscore ( ) {
  29204. enum cdrFontLine _result;
  29205. HRESULT _hr = get_Overscore(&_result);
  29206. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29207. return _result;
  29208. }
  29209. #pragma implementation_key(4471)
  29210. inline void VGCore::IVGTextRange::PutOverscore ( enum cdrFontLine pVal ) {
  29211. HRESULT _hr = put_Overscore(pVal);
  29212. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29213. }
  29214. #pragma implementation_key(4472)
  29215. inline _bstr_t VGCore::IVGTextRange::GetFont ( ) {
  29216. BSTR _result = 0;
  29217. HRESULT _hr = get_Font(&_result);
  29218. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29219. return _bstr_t(_result, false);
  29220. }
  29221. #pragma implementation_key(4473)
  29222. inline void VGCore::IVGTextRange::PutFont ( _bstr_t pVal ) {
  29223. HRESULT _hr = put_Font(pVal);
  29224. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29225. }
  29226. #pragma implementation_key(4474)
  29227. inline float VGCore::IVGTextRange::GetSize ( ) {
  29228. float _result = 0;
  29229. HRESULT _hr = get_Size(&_result);
  29230. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29231. return _result;
  29232. }
  29233. #pragma implementation_key(4475)
  29234. inline void VGCore::IVGTextRange::PutSize ( float pVal ) {
  29235. HRESULT _hr = put_Size(pVal);
  29236. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29237. }
  29238. #pragma implementation_key(4476)
  29239. inline enum VGCore::cdrFontPosition VGCore::IVGTextRange::GetPosition ( ) {
  29240. enum cdrFontPosition _result;
  29241. HRESULT _hr = get_Position(&_result);
  29242. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29243. return _result;
  29244. }
  29245. #pragma implementation_key(4477)
  29246. inline void VGCore::IVGTextRange::PutPosition ( enum cdrFontPosition pVal ) {
  29247. HRESULT _hr = put_Position(pVal);
  29248. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29249. }
  29250. #pragma implementation_key(4478)
  29251. inline enum VGCore::cdrFontCase VGCore::IVGTextRange::GetCase ( ) {
  29252. enum cdrFontCase _result;
  29253. HRESULT _hr = get_Case(&_result);
  29254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29255. return _result;
  29256. }
  29257. #pragma implementation_key(4479)
  29258. inline void VGCore::IVGTextRange::PutCase ( enum cdrFontCase pVal ) {
  29259. HRESULT _hr = put_Case(pVal);
  29260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29261. }
  29262. #pragma implementation_key(4480)
  29263. inline float VGCore::IVGTextRange::GetCharAngle ( ) {
  29264. float _result = 0;
  29265. HRESULT _hr = get_CharAngle(&_result);
  29266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29267. return _result;
  29268. }
  29269. #pragma implementation_key(4481)
  29270. inline void VGCore::IVGTextRange::PutCharAngle ( float pVal ) {
  29271. HRESULT _hr = put_CharAngle(pVal);
  29272. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29273. }
  29274. #pragma implementation_key(4482)
  29275. inline enum VGCore::cdrAlignment VGCore::IVGTextRange::GetAlignment ( ) {
  29276. enum cdrAlignment _result;
  29277. HRESULT _hr = get_Alignment(&_result);
  29278. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29279. return _result;
  29280. }
  29281. #pragma implementation_key(4483)
  29282. inline void VGCore::IVGTextRange::PutAlignment ( enum cdrAlignment pVal ) {
  29283. HRESULT _hr = put_Alignment(pVal);
  29284. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29285. }
  29286. #pragma implementation_key(4484)
  29287. inline double VGCore::IVGTextRange::GetFirstLineIndent ( ) {
  29288. double _result = 0;
  29289. HRESULT _hr = get_FirstLineIndent(&_result);
  29290. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29291. return _result;
  29292. }
  29293. #pragma implementation_key(4485)
  29294. inline void VGCore::IVGTextRange::PutFirstLineIndent ( double pVal ) {
  29295. HRESULT _hr = put_FirstLineIndent(pVal);
  29296. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29297. }
  29298. #pragma implementation_key(4486)
  29299. inline long VGCore::IVGTextRange::GetHorizShift ( ) {
  29300. long _result = 0;
  29301. HRESULT _hr = get_HorizShift(&_result);
  29302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29303. return _result;
  29304. }
  29305. #pragma implementation_key(4487)
  29306. inline void VGCore::IVGTextRange::PutHorizShift ( long pVal ) {
  29307. HRESULT _hr = put_HorizShift(pVal);
  29308. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29309. }
  29310. #pragma implementation_key(4488)
  29311. inline long VGCore::IVGTextRange::GetVertShift ( ) {
  29312. long _result = 0;
  29313. HRESULT _hr = get_VertShift(&_result);
  29314. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29315. return _result;
  29316. }
  29317. #pragma implementation_key(4489)
  29318. inline void VGCore::IVGTextRange::PutVertShift ( long pVal ) {
  29319. HRESULT _hr = put_VertShift(pVal);
  29320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29321. }
  29322. #pragma implementation_key(4490)
  29323. inline double VGCore::IVGTextRange::GetLeftIndent ( ) {
  29324. double _result = 0;
  29325. HRESULT _hr = get_LeftIndent(&_result);
  29326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29327. return _result;
  29328. }
  29329. #pragma implementation_key(4491)
  29330. inline void VGCore::IVGTextRange::PutLeftIndent ( double pVal ) {
  29331. HRESULT _hr = put_LeftIndent(pVal);
  29332. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29333. }
  29334. #pragma implementation_key(4492)
  29335. inline double VGCore::IVGTextRange::GetRightIndent ( ) {
  29336. double _result = 0;
  29337. HRESULT _hr = get_RightIndent(&_result);
  29338. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29339. return _result;
  29340. }
  29341. #pragma implementation_key(4493)
  29342. inline void VGCore::IVGTextRange::PutRightIndent ( double pVal ) {
  29343. HRESULT _hr = put_RightIndent(pVal);
  29344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29345. }
  29346. #pragma implementation_key(4494)
  29347. inline float VGCore::IVGTextRange::GetMinWordSpacing ( ) {
  29348. float _result = 0;
  29349. HRESULT _hr = get_MinWordSpacing(&_result);
  29350. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29351. return _result;
  29352. }
  29353. #pragma implementation_key(4495)
  29354. inline void VGCore::IVGTextRange::PutMinWordSpacing ( float pVal ) {
  29355. HRESULT _hr = put_MinWordSpacing(pVal);
  29356. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29357. }
  29358. #pragma implementation_key(4496)
  29359. inline float VGCore::IVGTextRange::GetMaxWordSpacing ( ) {
  29360. float _result = 0;
  29361. HRESULT _hr = get_MaxWordSpacing(&_result);
  29362. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29363. return _result;
  29364. }
  29365. #pragma implementation_key(4497)
  29366. inline void VGCore::IVGTextRange::PutMaxWordSpacing ( float pVal ) {
  29367. HRESULT _hr = put_MaxWordSpacing(pVal);
  29368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29369. }
  29370. #pragma implementation_key(4498)
  29371. inline float VGCore::IVGTextRange::GetMaxCharSpacing ( ) {
  29372. float _result = 0;
  29373. HRESULT _hr = get_MaxCharSpacing(&_result);
  29374. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29375. return _result;
  29376. }
  29377. #pragma implementation_key(4499)
  29378. inline void VGCore::IVGTextRange::PutMaxCharSpacing ( float pVal ) {
  29379. HRESULT _hr = put_MaxCharSpacing(pVal);
  29380. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29381. }
  29382. #pragma implementation_key(4500)
  29383. inline float VGCore::IVGTextRange::GetParaSpacingBefore ( ) {
  29384. float _result = 0;
  29385. HRESULT _hr = get_ParaSpacingBefore(&_result);
  29386. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29387. return _result;
  29388. }
  29389. #pragma implementation_key(4501)
  29390. inline void VGCore::IVGTextRange::PutParaSpacingBefore ( float pVal ) {
  29391. HRESULT _hr = put_ParaSpacingBefore(pVal);
  29392. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29393. }
  29394. #pragma implementation_key(4502)
  29395. inline float VGCore::IVGTextRange::GetParaSpacingAfter ( ) {
  29396. float _result = 0;
  29397. HRESULT _hr = get_ParaSpacingAfter(&_result);
  29398. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29399. return _result;
  29400. }
  29401. #pragma implementation_key(4503)
  29402. inline void VGCore::IVGTextRange::PutParaSpacingAfter ( float pVal ) {
  29403. HRESULT _hr = put_ParaSpacingAfter(pVal);
  29404. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29405. }
  29406. #pragma implementation_key(4504)
  29407. inline float VGCore::IVGTextRange::GetCharSpacing ( ) {
  29408. float _result = 0;
  29409. HRESULT _hr = get_CharSpacing(&_result);
  29410. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29411. return _result;
  29412. }
  29413. #pragma implementation_key(4505)
  29414. inline void VGCore::IVGTextRange::PutCharSpacing ( float pVal ) {
  29415. HRESULT _hr = put_CharSpacing(pVal);
  29416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29417. }
  29418. #pragma implementation_key(4506)
  29419. inline float VGCore::IVGTextRange::GetLineSpacing ( ) {
  29420. float _result = 0;
  29421. HRESULT _hr = get_LineSpacing(&_result);
  29422. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29423. return _result;
  29424. }
  29425. #pragma implementation_key(4507)
  29426. inline void VGCore::IVGTextRange::PutLineSpacing ( float pVal ) {
  29427. HRESULT _hr = put_LineSpacing(pVal);
  29428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29429. }
  29430. #pragma implementation_key(4508)
  29431. inline enum VGCore::cdrLineSpacingType VGCore::IVGTextRange::GetLineSpacingType ( ) {
  29432. enum cdrLineSpacingType _result;
  29433. HRESULT _hr = get_LineSpacingType(&_result);
  29434. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29435. return _result;
  29436. }
  29437. #pragma implementation_key(4509)
  29438. inline float VGCore::IVGTextRange::GetWordSpacing ( ) {
  29439. float _result = 0;
  29440. HRESULT _hr = get_WordSpacing(&_result);
  29441. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29442. return _result;
  29443. }
  29444. #pragma implementation_key(4510)
  29445. inline void VGCore::IVGTextRange::PutWordSpacing ( float pVal ) {
  29446. HRESULT _hr = put_WordSpacing(pVal);
  29447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29448. }
  29449. #pragma implementation_key(4511)
  29450. inline enum VGCore::cdrTriState VGCore::IVGTextRange::GetAutoHyphenate ( ) {
  29451. enum cdrTriState _result;
  29452. HRESULT _hr = get_AutoHyphenate(&_result);
  29453. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29454. return _result;
  29455. }
  29456. #pragma implementation_key(4512)
  29457. inline void VGCore::IVGTextRange::PutAutoHyphenate ( enum cdrTriState pVal ) {
  29458. HRESULT _hr = put_AutoHyphenate(pVal);
  29459. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29460. }
  29461. #pragma implementation_key(4513)
  29462. inline double VGCore::IVGTextRange::GetHyphenHotZone ( ) {
  29463. double _result = 0;
  29464. HRESULT _hr = get_HyphenHotZone(&_result);
  29465. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29466. return _result;
  29467. }
  29468. #pragma implementation_key(4514)
  29469. inline void VGCore::IVGTextRange::PutHyphenHotZone ( double pVal ) {
  29470. HRESULT _hr = put_HyphenHotZone(pVal);
  29471. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29472. }
  29473. #pragma implementation_key(4515)
  29474. inline long VGCore::IVGTextRange::GetHyphenMinCharsBefore ( ) {
  29475. long _result = 0;
  29476. HRESULT _hr = get_HyphenMinCharsBefore(&_result);
  29477. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29478. return _result;
  29479. }
  29480. #pragma implementation_key(4516)
  29481. inline void VGCore::IVGTextRange::PutHyphenMinCharsBefore ( long pVal ) {
  29482. HRESULT _hr = put_HyphenMinCharsBefore(pVal);
  29483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29484. }
  29485. #pragma implementation_key(4517)
  29486. inline long VGCore::IVGTextRange::GetHyphenMinCharsAfter ( ) {
  29487. long _result = 0;
  29488. HRESULT _hr = get_HyphenMinCharsAfter(&_result);
  29489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29490. return _result;
  29491. }
  29492. #pragma implementation_key(4518)
  29493. inline void VGCore::IVGTextRange::PutHyphenMinCharsAfter ( long pVal ) {
  29494. HRESULT _hr = put_HyphenMinCharsAfter(pVal);
  29495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29496. }
  29497. #pragma implementation_key(4519)
  29498. inline long VGCore::IVGTextRange::GetHyphenMinWordLength ( ) {
  29499. long _result = 0;
  29500. HRESULT _hr = get_HyphenMinWordLength(&_result);
  29501. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29502. return _result;
  29503. }
  29504. #pragma implementation_key(4520)
  29505. inline void VGCore::IVGTextRange::PutHyphenMinWordLength ( long pVal ) {
  29506. HRESULT _hr = put_HyphenMinWordLength(pVal);
  29507. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29508. }
  29509. #pragma implementation_key(4521)
  29510. inline VARIANT_BOOL VGCore::IVGTextRange::GetHyphenateCapitals ( ) {
  29511. VARIANT_BOOL _result = 0;
  29512. HRESULT _hr = get_HyphenateCapitals(&_result);
  29513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29514. return _result;
  29515. }
  29516. #pragma implementation_key(4522)
  29517. inline void VGCore::IVGTextRange::PutHyphenateCapitals ( VARIANT_BOOL pVal ) {
  29518. HRESULT _hr = put_HyphenateCapitals(pVal);
  29519. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29520. }
  29521. #pragma implementation_key(4523)
  29522. inline HRESULT VGCore::IVGTextRange::Delete ( ) {
  29523. HRESULT _hr = raw_Delete();
  29524. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29525. return _hr;
  29526. }
  29527. #pragma implementation_key(4524)
  29528. inline HRESULT VGCore::IVGTextRange::Select ( ) {
  29529. HRESULT _hr = raw_Select();
  29530. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29531. return _hr;
  29532. }
  29533. #pragma implementation_key(4525)
  29534. inline HRESULT VGCore::IVGTextRange::Copy ( ) {
  29535. HRESULT _hr = raw_Copy();
  29536. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29537. return _hr;
  29538. }
  29539. #pragma implementation_key(4526)
  29540. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Paste ( ) {
  29541. struct IVGTextRange * _result = 0;
  29542. HRESULT _hr = raw_Paste(&_result);
  29543. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29544. return IVGTextRangePtr(_result, false);
  29545. }
  29546. #pragma implementation_key(4527)
  29547. inline HRESULT VGCore::IVGTextRange::ChangeCase ( enum cdrTextChangeCase Case ) {
  29548. HRESULT _hr = raw_ChangeCase(Case);
  29549. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29550. return _hr;
  29551. }
  29552. #pragma implementation_key(4528)
  29553. inline HRESULT VGCore::IVGTextRange::SetRange ( long Start, long End ) {
  29554. HRESULT _hr = raw_SetRange(Start, End);
  29555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29556. return _hr;
  29557. }
  29558. #pragma implementation_key(4529)
  29559. inline enum VGCore::cdrTextLanguage VGCore::IVGTextRange::GetLanguageID ( ) {
  29560. enum cdrTextLanguage _result;
  29561. HRESULT _hr = get_LanguageID(&_result);
  29562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29563. return _result;
  29564. }
  29565. #pragma implementation_key(4530)
  29566. inline void VGCore::IVGTextRange::PutLanguageID ( enum cdrTextLanguage pVal ) {
  29567. HRESULT _hr = put_LanguageID(pVal);
  29568. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29569. }
  29570. #pragma implementation_key(4531)
  29571. inline enum VGCore::cdrTextCharSet VGCore::IVGTextRange::GetCharSet ( ) {
  29572. enum cdrTextCharSet _result;
  29573. HRESULT _hr = get_CharSet(&_result);
  29574. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29575. return _result;
  29576. }
  29577. #pragma implementation_key(4532)
  29578. inline void VGCore::IVGTextRange::PutCharSet ( enum cdrTextCharSet pVal ) {
  29579. HRESULT _hr = put_CharSet(pVal);
  29580. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29581. }
  29582. #pragma implementation_key(4533)
  29583. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertBefore ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
  29584. struct IVGTextRange * _result = 0;
  29585. HRESULT _hr = raw_InsertBefore(Text, LanguageID, CharSet, Font, &_result);
  29586. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29587. return IVGTextRangePtr(_result, false);
  29588. }
  29589. #pragma implementation_key(4534)
  29590. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertBeforeWide ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
  29591. struct IVGTextRange * _result = 0;
  29592. HRESULT _hr = raw_InsertBeforeWide(Text, LanguageID, CharSet, Font, &_result);
  29593. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29594. return IVGTextRangePtr(_result, false);
  29595. }
  29596. #pragma implementation_key(4535)
  29597. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertAfter ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
  29598. struct IVGTextRange * _result = 0;
  29599. HRESULT _hr = raw_InsertAfter(Text, LanguageID, CharSet, Font, &_result);
  29600. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29601. return IVGTextRangePtr(_result, false);
  29602. }
  29603. #pragma implementation_key(4536)
  29604. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertAfterWide ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
  29605. struct IVGTextRange * _result = 0;
  29606. HRESULT _hr = raw_InsertAfterWide(Text, LanguageID, CharSet, Font, &_result);
  29607. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29608. return IVGTextRangePtr(_result, false);
  29609. }
  29610. #pragma implementation_key(4537)
  29611. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Replace ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
  29612. struct IVGTextRange * _result = 0;
  29613. HRESULT _hr = raw_Replace(Text, LanguageID, CharSet, Font, &_result);
  29614. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29615. return IVGTextRangePtr(_result, false);
  29616. }
  29617. #pragma implementation_key(4538)
  29618. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::ReplaceWide ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
  29619. struct IVGTextRange * _result = 0;
  29620. HRESULT _hr = raw_ReplaceWide(Text, LanguageID, CharSet, Font, &_result);
  29621. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29622. return IVGTextRangePtr(_result, false);
  29623. }
  29624. #pragma implementation_key(4539)
  29625. inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Range ( long Start, long End ) {
  29626. struct IVGTextRange * _result = 0;
  29627. HRESULT _hr = raw_Range(Start, End, &_result);
  29628. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29629. return IVGTextRangePtr(_result, false);
  29630. }
  29631. #pragma implementation_key(4540)
  29632. inline HRESULT VGCore::IVGTextRange::SetLineSpacing ( enum cdrLineSpacingType Type, float LineSpacing, float ParaBefore, float ParaAfter ) {
  29633. HRESULT _hr = raw_SetLineSpacing(Type, LineSpacing, ParaBefore, ParaAfter);
  29634. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29635. return _hr;
  29636. }
  29637. #pragma implementation_key(4541)
  29638. inline VGCore::IVGTextColumnsPtr VGCore::IVGTextRange::GetColumns ( ) {
  29639. struct IVGTextColumns * _result = 0;
  29640. HRESULT _hr = get_Columns(&_result);
  29641. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29642. return IVGTextColumnsPtr(_result, false);
  29643. }
  29644. #pragma implementation_key(4542)
  29645. inline VGCore::IVGTextFramesPtr VGCore::IVGTextRange::GetFrames ( ) {
  29646. struct IVGTextFrames * _result = 0;
  29647. HRESULT _hr = get_Frames(&_result);
  29648. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29649. return IVGTextFramesPtr(_result, false);
  29650. }
  29651. #pragma implementation_key(4543)
  29652. inline HRESULT VGCore::IVGTextRange::Collapse ( VARIANT_BOOL ToEnd ) {
  29653. HRESULT _hr = raw_Collapse(ToEnd);
  29654. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29655. return _hr;
  29656. }
  29657. #pragma implementation_key(4544)
  29658. inline HRESULT VGCore::IVGTextRange::Combine ( struct IVGTextRange * Range ) {
  29659. HRESULT _hr = raw_Combine(Range);
  29660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29661. return _hr;
  29662. }
  29663. #pragma implementation_key(4545)
  29664. inline VARIANT_BOOL VGCore::IVGTextRange::InRange ( struct IVGTextRange * Range ) {
  29665. VARIANT_BOOL _result = 0;
  29666. HRESULT _hr = raw_InRange(Range, &_result);
  29667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29668. return _result;
  29669. }
  29670. #pragma implementation_key(4546)
  29671. inline VARIANT_BOOL VGCore::IVGTextRange::IsSame ( struct IVGTextRange * Range ) {
  29672. VARIANT_BOOL _result = 0;
  29673. HRESULT _hr = raw_IsSame(Range, &_result);
  29674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29675. return _result;
  29676. }
  29677. #pragma implementation_key(4547)
  29678. inline VGCore::IVGFillPtr VGCore::IVGTextRange::GetFill ( ) {
  29679. struct IVGFill * _result = 0;
  29680. HRESULT _hr = get_Fill(&_result);
  29681. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29682. return IVGFillPtr(_result, false);
  29683. }
  29684. #pragma implementation_key(4548)
  29685. inline VGCore::IVGOutlinePtr VGCore::IVGTextRange::GetOutline ( ) {
  29686. struct IVGOutline * _result = 0;
  29687. HRESULT _hr = get_Outline(&_result);
  29688. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29689. return IVGOutlinePtr(_result, false);
  29690. }
  29691. #pragma implementation_key(4549)
  29692. inline long VGCore::IVGTextRange::GetRangeKerning ( ) {
  29693. long _result = 0;
  29694. HRESULT _hr = get_RangeKerning(&_result);
  29695. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29696. return _result;
  29697. }
  29698. #pragma implementation_key(4550)
  29699. inline void VGCore::IVGTextRange::PutRangeKerning ( long pVal ) {
  29700. HRESULT _hr = put_RangeKerning(pVal);
  29701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29702. }
  29703. #pragma implementation_key(4551)
  29704. inline VGCore::IVGTextTabPositionsPtr VGCore::IVGTextRange::GetTabs ( ) {
  29705. struct IVGTextTabPositions * _result = 0;
  29706. HRESULT _hr = get_Tabs(&_result);
  29707. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29708. return IVGTextTabPositionsPtr(_result, false);
  29709. }
  29710. #pragma implementation_key(4552)
  29711. inline enum VGCore::cdrTextEffect VGCore::IVGTextRange::GetEffect ( ) {
  29712. enum cdrTextEffect _result;
  29713. HRESULT _hr = get_Effect(&_result);
  29714. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29715. return _result;
  29716. }
  29717. #pragma implementation_key(4553)
  29718. inline long VGCore::IVGTextRange::GetDropCapLinesDropped ( ) {
  29719. long _result = 0;
  29720. HRESULT _hr = get_DropCapLinesDropped(&_result);
  29721. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29722. return _result;
  29723. }
  29724. #pragma implementation_key(4554)
  29725. inline void VGCore::IVGTextRange::PutDropCapLinesDropped ( long pVal ) {
  29726. HRESULT _hr = put_DropCapLinesDropped(pVal);
  29727. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29728. }
  29729. #pragma implementation_key(4555)
  29730. inline double VGCore::IVGTextRange::GetDropCapDistanceFromText ( ) {
  29731. double _result = 0;
  29732. HRESULT _hr = get_DropCapDistanceFromText(&_result);
  29733. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29734. return _result;
  29735. }
  29736. #pragma implementation_key(4556)
  29737. inline void VGCore::IVGTextRange::PutDropCapDistanceFromText ( double pVal ) {
  29738. HRESULT _hr = put_DropCapDistanceFromText(pVal);
  29739. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29740. }
  29741. #pragma implementation_key(4557)
  29742. inline VARIANT_BOOL VGCore::IVGTextRange::GetDropCapHangingIndent ( ) {
  29743. VARIANT_BOOL _result = 0;
  29744. HRESULT _hr = get_DropCapHangingIndent(&_result);
  29745. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29746. return _result;
  29747. }
  29748. #pragma implementation_key(4558)
  29749. inline void VGCore::IVGTextRange::PutDropCapHangingIndent ( VARIANT_BOOL pVal ) {
  29750. HRESULT _hr = put_DropCapHangingIndent(pVal);
  29751. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29752. }
  29753. #pragma implementation_key(4559)
  29754. inline _bstr_t VGCore::IVGTextRange::GetBulletFont ( ) {
  29755. BSTR _result = 0;
  29756. HRESULT _hr = get_BulletFont(&_result);
  29757. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29758. return _bstr_t(_result, false);
  29759. }
  29760. #pragma implementation_key(4560)
  29761. inline void VGCore::IVGTextRange::PutBulletFont ( _bstr_t pVal ) {
  29762. HRESULT _hr = put_BulletFont(pVal);
  29763. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29764. }
  29765. #pragma implementation_key(4561)
  29766. inline _bstr_t VGCore::IVGTextRange::GetBulletSymbol ( ) {
  29767. BSTR _result = 0;
  29768. HRESULT _hr = get_BulletSymbol(&_result);
  29769. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29770. return _bstr_t(_result, false);
  29771. }
  29772. #pragma implementation_key(4562)
  29773. inline void VGCore::IVGTextRange::PutBulletSymbol ( _bstr_t pVal ) {
  29774. HRESULT _hr = put_BulletSymbol(pVal);
  29775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29776. }
  29777. #pragma implementation_key(4563)
  29778. inline float VGCore::IVGTextRange::GetBulletSize ( ) {
  29779. float _result = 0;
  29780. HRESULT _hr = get_BulletSize(&_result);
  29781. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29782. return _result;
  29783. }
  29784. #pragma implementation_key(4564)
  29785. inline void VGCore::IVGTextRange::PutBulletSize ( float pVal ) {
  29786. HRESULT _hr = put_BulletSize(pVal);
  29787. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29788. }
  29789. #pragma implementation_key(4565)
  29790. inline float VGCore::IVGTextRange::GetBulletBaselineShift ( ) {
  29791. float _result = 0;
  29792. HRESULT _hr = get_BulletBaselineShift(&_result);
  29793. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29794. return _result;
  29795. }
  29796. #pragma implementation_key(4566)
  29797. inline void VGCore::IVGTextRange::PutBulletBaselineShift ( float pVal ) {
  29798. HRESULT _hr = put_BulletBaselineShift(pVal);
  29799. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29800. }
  29801. #pragma implementation_key(4567)
  29802. inline double VGCore::IVGTextRange::GetBulletHorizontalPosition ( ) {
  29803. double _result = 0;
  29804. HRESULT _hr = get_BulletHorizontalPosition(&_result);
  29805. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29806. return _result;
  29807. }
  29808. #pragma implementation_key(4568)
  29809. inline void VGCore::IVGTextRange::PutBulletHorizontalPosition ( double pVal ) {
  29810. HRESULT _hr = put_BulletHorizontalPosition(pVal);
  29811. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29812. }
  29813. #pragma implementation_key(4569)
  29814. inline VARIANT_BOOL VGCore::IVGTextRange::GetBulletHangingIndent ( ) {
  29815. VARIANT_BOOL _result = 0;
  29816. HRESULT _hr = get_BulletHangingIndent(&_result);
  29817. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29818. return _result;
  29819. }
  29820. #pragma implementation_key(4570)
  29821. inline void VGCore::IVGTextRange::PutBulletHangingIndent ( VARIANT_BOOL pVal ) {
  29822. HRESULT _hr = put_BulletHangingIndent(pVal);
  29823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29824. }
  29825. #pragma implementation_key(4571)
  29826. inline VARIANT_BOOL VGCore::IVGTextRange::GetIsEmpty ( ) {
  29827. VARIANT_BOOL _result = 0;
  29828. HRESULT _hr = get_IsEmpty(&_result);
  29829. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29830. return _result;
  29831. }
  29832. #pragma implementation_key(4572)
  29833. inline HRESULT VGCore::IVGTextRange::ApplyNoEffect ( ) {
  29834. HRESULT _hr = raw_ApplyNoEffect();
  29835. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29836. return _hr;
  29837. }
  29838. #pragma implementation_key(4573)
  29839. inline HRESULT VGCore::IVGTextRange::ApplyBulletEffect ( _bstr_t Symbol, _bstr_t Font, float Size, float BaselineShift, double HorizontalPosition, VARIANT_BOOL HangingIndent ) {
  29840. HRESULT _hr = raw_ApplyBulletEffect(Symbol, Font, Size, BaselineShift, HorizontalPosition, HangingIndent);
  29841. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29842. return _hr;
  29843. }
  29844. #pragma implementation_key(4574)
  29845. inline HRESULT VGCore::IVGTextRange::ApplyDropCapEffect ( long LinesDropped, double DistanceFromText, VARIANT_BOOL HangingIndent ) {
  29846. HRESULT _hr = raw_ApplyDropCapEffect(LinesDropped, DistanceFromText, HangingIndent);
  29847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29848. return _hr;
  29849. }
  29850. #pragma implementation_key(4575)
  29851. inline VARIANT_BOOL VGCore::IVGTextRange::GetHyphenateAllCapWords ( ) {
  29852. VARIANT_BOOL _result = 0;
  29853. HRESULT _hr = get_HyphenateAllCapWords(&_result);
  29854. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29855. return _result;
  29856. }
  29857. #pragma implementation_key(4576)
  29858. inline void VGCore::IVGTextRange::PutHyphenateAllCapWords ( VARIANT_BOOL pVal ) {
  29859. HRESULT _hr = put_HyphenateAllCapWords(pVal);
  29860. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29861. }
  29862. #pragma implementation_key(4577)
  29863. inline VGCore::IVGTextRangesPtr VGCore::IVGTextRange::EnumRanges ( enum cdrTextPropertySet PropertyFilter ) {
  29864. struct IVGTextRanges * _result = 0;
  29865. HRESULT _hr = raw_EnumRanges(PropertyFilter, &_result);
  29866. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29867. return IVGTextRangesPtr(_result, false);
  29868. }
  29869. #pragma implementation_key(4578)
  29870. inline _variant_t VGCore::IVGTextRange::Evaluate ( _bstr_t Expression ) {
  29871. VARIANT _result;
  29872. VariantInit(&_result);
  29873. HRESULT _hr = raw_Evaluate(Expression, &_result);
  29874. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29875. return _variant_t(_result, false);
  29876. }
  29877. #pragma implementation_key(4579)
  29878. inline VGCore::IVGTextRangesPtr VGCore::IVGTextRange::FindRanges ( _bstr_t Query ) {
  29879. struct IVGTextRanges * _result = 0;
  29880. HRESULT _hr = raw_FindRanges(Query, &_result);
  29881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29882. return IVGTextRangesPtr(_result, false);
  29883. }
  29884. #pragma implementation_key(4580)
  29885. inline VGCore::IVGCurvePtr VGCore::IVGTextRange::GetBaselines ( ) {
  29886. struct IVGCurve * _result = 0;
  29887. HRESULT _hr = get_Baselines(&_result);
  29888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29889. return IVGCurvePtr(_result, false);
  29890. }
  29891. #pragma implementation_key(4581)
  29892. inline HRESULT VGCore::IVGTextRange::Straighten ( ) {
  29893. HRESULT _hr = raw_Straighten();
  29894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29895. return _hr;
  29896. }
  29897. #pragma implementation_key(4582)
  29898. inline HRESULT VGCore::IVGTextRange::AlignToBaseline ( ) {
  29899. HRESULT _hr = raw_AlignToBaseline();
  29900. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29901. return _hr;
  29902. }
  29903. #pragma implementation_key(4583)
  29904. inline VGCore::IVGCurvePtr VGCore::IVGTextRange::GetTextLineRects ( ) {
  29905. struct IVGCurve * _result = 0;
  29906. HRESULT _hr = get_TextLineRects(&_result);
  29907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29908. return IVGCurvePtr(_result, false);
  29909. }
  29910. #pragma implementation_key(4584)
  29911. inline VGCore::IVGFillPtr VGCore::IVGTextRange::GetCharBackFill ( ) {
  29912. struct IVGFill * _result = 0;
  29913. HRESULT _hr = get_CharBackFill(&_result);
  29914. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29915. return IVGFillPtr(_result, false);
  29916. }
  29917. #pragma implementation_key(4585)
  29918. inline HRESULT VGCore::IVGTextRange::CopyAttributes ( struct IVGTextRange * SourceRange ) {
  29919. HRESULT _hr = raw_CopyAttributes(SourceRange);
  29920. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29921. return _hr;
  29922. }
  29923. #pragma implementation_key(4586)
  29924. inline long VGCore::IVGTextRange::GetOpenTypeFeature ( _bstr_t Feature ) {
  29925. long _result = 0;
  29926. HRESULT _hr = raw_GetOpenTypeFeature(Feature, &_result);
  29927. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29928. return _result;
  29929. }
  29930. #pragma implementation_key(4587)
  29931. inline HRESULT VGCore::IVGTextRange::SetOpenTypeFeature ( _bstr_t Feature, long State ) {
  29932. HRESULT _hr = raw_SetOpenTypeFeature(Feature, State);
  29933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29934. return _hr;
  29935. }
  29936. #pragma implementation_key(4588)
  29937. inline long VGCore::IVGTextRange::GetTextFormatter ( ) {
  29938. long _result = 0;
  29939. HRESULT _hr = get_TextFormatter(&_result);
  29940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29941. return _result;
  29942. }
  29943. #pragma implementation_key(4589)
  29944. inline void VGCore::IVGTextRange::PutTextFormatter ( long pVal ) {
  29945. HRESULT _hr = put_TextFormatter(pVal);
  29946. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29947. }
  29948. #pragma implementation_key(4590)
  29949. inline HRESULT VGCore::IVGTextRange::ApplyStyle ( _bstr_t StyleName ) {
  29950. HRESULT _hr = raw_ApplyStyle(StyleName);
  29951. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29952. return _hr;
  29953. }
  29954. #pragma implementation_key(4591)
  29955. inline VGCore::IVGStylePtr VGCore::IVGTextRange::GetObjectStyle ( ) {
  29956. struct IVGStyle * _result = 0;
  29957. HRESULT _hr = get_ObjectStyle(&_result);
  29958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29959. return IVGStylePtr(_result, false);
  29960. }
  29961. #pragma implementation_key(4592)
  29962. inline VGCore::IVGTextIndentLevelStylesPtr VGCore::IVGTextRange::GetIndentLevelStyles ( ) {
  29963. struct IVGTextIndentLevelStyles * _result = 0;
  29964. HRESULT _hr = get_IndentLevelStyles(&_result);
  29965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29966. return IVGTextIndentLevelStylesPtr(_result, false);
  29967. }
  29968. #pragma implementation_key(4593)
  29969. inline long VGCore::IVGTextRange::GetIndentLevel ( ) {
  29970. long _result = 0;
  29971. HRESULT _hr = get_IndentLevel(&_result);
  29972. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29973. return _result;
  29974. }
  29975. #pragma implementation_key(4594)
  29976. inline void VGCore::IVGTextRange::PutIndentLevel ( long pVal ) {
  29977. HRESULT _hr = put_IndentLevel(pVal);
  29978. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29979. }
  29980. #pragma implementation_key(4595)
  29981. inline VGCore::IVGTextVariableAxesPtr VGCore::IVGTextRange::GetVariableAxes ( ) {
  29982. struct IVGTextVariableAxes * _result = 0;
  29983. HRESULT _hr = get_VariableAxes(&_result);
  29984. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29985. return IVGTextVariableAxesPtr(_result, false);
  29986. }
  29987. //
  29988. // interface IVGTextCharacters wrapper method implementations
  29989. //
  29990. #pragma implementation_key(4596)
  29991. inline IUnknownPtr VGCore::IVGTextCharacters::Get_NewEnum ( ) {
  29992. IUnknown * _result = 0;
  29993. HRESULT _hr = get__NewEnum(&_result);
  29994. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  29995. return IUnknownPtr(_result, false);
  29996. }
  29997. #pragma implementation_key(4597)
  29998. inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetItem ( long Index, long Count ) {
  29999. struct IVGTextRange * _result = 0;
  30000. HRESULT _hr = get_Item(Index, Count, &_result);
  30001. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30002. return IVGTextRangePtr(_result, false);
  30003. }
  30004. #pragma implementation_key(4598)
  30005. inline long VGCore::IVGTextCharacters::GetCount ( ) {
  30006. long _result = 0;
  30007. HRESULT _hr = get_Count(&_result);
  30008. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30009. return _result;
  30010. }
  30011. #pragma implementation_key(4599)
  30012. inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetAll ( ) {
  30013. struct IVGTextRange * _result = 0;
  30014. HRESULT _hr = get_All(&_result);
  30015. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30016. return IVGTextRangePtr(_result, false);
  30017. }
  30018. #pragma implementation_key(4600)
  30019. inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetFirst ( ) {
  30020. struct IVGTextRange * _result = 0;
  30021. HRESULT _hr = get_First(&_result);
  30022. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30023. return IVGTextRangePtr(_result, false);
  30024. }
  30025. #pragma implementation_key(4601)
  30026. inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetLast ( ) {
  30027. struct IVGTextRange * _result = 0;
  30028. HRESULT _hr = get_Last(&_result);
  30029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30030. return IVGTextRangePtr(_result, false);
  30031. }
  30032. //
  30033. // interface IVGTextWords wrapper method implementations
  30034. //
  30035. #pragma implementation_key(4602)
  30036. inline IUnknownPtr VGCore::IVGTextWords::Get_NewEnum ( ) {
  30037. IUnknown * _result = 0;
  30038. HRESULT _hr = get__NewEnum(&_result);
  30039. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30040. return IUnknownPtr(_result, false);
  30041. }
  30042. #pragma implementation_key(4603)
  30043. inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetItem ( long Index, long Count ) {
  30044. struct IVGTextRange * _result = 0;
  30045. HRESULT _hr = get_Item(Index, Count, &_result);
  30046. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30047. return IVGTextRangePtr(_result, false);
  30048. }
  30049. #pragma implementation_key(4604)
  30050. inline long VGCore::IVGTextWords::GetCount ( ) {
  30051. long _result = 0;
  30052. HRESULT _hr = get_Count(&_result);
  30053. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30054. return _result;
  30055. }
  30056. #pragma implementation_key(4605)
  30057. inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetAll ( ) {
  30058. struct IVGTextRange * _result = 0;
  30059. HRESULT _hr = get_All(&_result);
  30060. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30061. return IVGTextRangePtr(_result, false);
  30062. }
  30063. #pragma implementation_key(4606)
  30064. inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetFirst ( ) {
  30065. struct IVGTextRange * _result = 0;
  30066. HRESULT _hr = get_First(&_result);
  30067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30068. return IVGTextRangePtr(_result, false);
  30069. }
  30070. #pragma implementation_key(4607)
  30071. inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetLast ( ) {
  30072. struct IVGTextRange * _result = 0;
  30073. HRESULT _hr = get_Last(&_result);
  30074. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30075. return IVGTextRangePtr(_result, false);
  30076. }
  30077. //
  30078. // interface IVGTextLines wrapper method implementations
  30079. //
  30080. #pragma implementation_key(4608)
  30081. inline IUnknownPtr VGCore::IVGTextLines::Get_NewEnum ( ) {
  30082. IUnknown * _result = 0;
  30083. HRESULT _hr = get__NewEnum(&_result);
  30084. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30085. return IUnknownPtr(_result, false);
  30086. }
  30087. #pragma implementation_key(4609)
  30088. inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetItem ( long Index, long Count ) {
  30089. struct IVGTextRange * _result = 0;
  30090. HRESULT _hr = get_Item(Index, Count, &_result);
  30091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30092. return IVGTextRangePtr(_result, false);
  30093. }
  30094. #pragma implementation_key(4610)
  30095. inline long VGCore::IVGTextLines::GetCount ( ) {
  30096. long _result = 0;
  30097. HRESULT _hr = get_Count(&_result);
  30098. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30099. return _result;
  30100. }
  30101. #pragma implementation_key(4611)
  30102. inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetAll ( ) {
  30103. struct IVGTextRange * _result = 0;
  30104. HRESULT _hr = get_All(&_result);
  30105. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30106. return IVGTextRangePtr(_result, false);
  30107. }
  30108. #pragma implementation_key(4612)
  30109. inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetFirst ( ) {
  30110. struct IVGTextRange * _result = 0;
  30111. HRESULT _hr = get_First(&_result);
  30112. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30113. return IVGTextRangePtr(_result, false);
  30114. }
  30115. #pragma implementation_key(4613)
  30116. inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetLast ( ) {
  30117. struct IVGTextRange * _result = 0;
  30118. HRESULT _hr = get_Last(&_result);
  30119. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30120. return IVGTextRangePtr(_result, false);
  30121. }
  30122. //
  30123. // interface IVGTextParagraphs wrapper method implementations
  30124. //
  30125. #pragma implementation_key(4614)
  30126. inline IUnknownPtr VGCore::IVGTextParagraphs::Get_NewEnum ( ) {
  30127. IUnknown * _result = 0;
  30128. HRESULT _hr = get__NewEnum(&_result);
  30129. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30130. return IUnknownPtr(_result, false);
  30131. }
  30132. #pragma implementation_key(4615)
  30133. inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetItem ( long Index, long Count ) {
  30134. struct IVGTextRange * _result = 0;
  30135. HRESULT _hr = get_Item(Index, Count, &_result);
  30136. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30137. return IVGTextRangePtr(_result, false);
  30138. }
  30139. #pragma implementation_key(4616)
  30140. inline long VGCore::IVGTextParagraphs::GetCount ( ) {
  30141. long _result = 0;
  30142. HRESULT _hr = get_Count(&_result);
  30143. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30144. return _result;
  30145. }
  30146. #pragma implementation_key(4617)
  30147. inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetAll ( ) {
  30148. struct IVGTextRange * _result = 0;
  30149. HRESULT _hr = get_All(&_result);
  30150. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30151. return IVGTextRangePtr(_result, false);
  30152. }
  30153. #pragma implementation_key(4618)
  30154. inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetFirst ( ) {
  30155. struct IVGTextRange * _result = 0;
  30156. HRESULT _hr = get_First(&_result);
  30157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30158. return IVGTextRangePtr(_result, false);
  30159. }
  30160. #pragma implementation_key(4619)
  30161. inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetLast ( ) {
  30162. struct IVGTextRange * _result = 0;
  30163. HRESULT _hr = get_Last(&_result);
  30164. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30165. return IVGTextRangePtr(_result, false);
  30166. }
  30167. //
  30168. // interface IVGTextColumns wrapper method implementations
  30169. //
  30170. #pragma implementation_key(4620)
  30171. inline IUnknownPtr VGCore::IVGTextColumns::Get_NewEnum ( ) {
  30172. IUnknown * _result = 0;
  30173. HRESULT _hr = get__NewEnum(&_result);
  30174. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30175. return IUnknownPtr(_result, false);
  30176. }
  30177. #pragma implementation_key(4621)
  30178. inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetItem ( long Index, long Count ) {
  30179. struct IVGTextRange * _result = 0;
  30180. HRESULT _hr = get_Item(Index, Count, &_result);
  30181. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30182. return IVGTextRangePtr(_result, false);
  30183. }
  30184. #pragma implementation_key(4622)
  30185. inline long VGCore::IVGTextColumns::GetCount ( ) {
  30186. long _result = 0;
  30187. HRESULT _hr = get_Count(&_result);
  30188. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30189. return _result;
  30190. }
  30191. #pragma implementation_key(4623)
  30192. inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetAll ( ) {
  30193. struct IVGTextRange * _result = 0;
  30194. HRESULT _hr = get_All(&_result);
  30195. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30196. return IVGTextRangePtr(_result, false);
  30197. }
  30198. #pragma implementation_key(4624)
  30199. inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetFirst ( ) {
  30200. struct IVGTextRange * _result = 0;
  30201. HRESULT _hr = get_First(&_result);
  30202. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30203. return IVGTextRangePtr(_result, false);
  30204. }
  30205. #pragma implementation_key(4625)
  30206. inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetLast ( ) {
  30207. struct IVGTextRange * _result = 0;
  30208. HRESULT _hr = get_Last(&_result);
  30209. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30210. return IVGTextRangePtr(_result, false);
  30211. }
  30212. //
  30213. // interface IVGTextFrame wrapper method implementations
  30214. //
  30215. #pragma implementation_key(4626)
  30216. inline VGCore::IVGTextRangePtr VGCore::IVGTextFrame::GetRange ( ) {
  30217. struct IVGTextRange * _result = 0;
  30218. HRESULT _hr = get_Range(&_result);
  30219. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30220. return IVGTextRangePtr(_result, false);
  30221. }
  30222. #pragma implementation_key(4627)
  30223. inline VGCore::IVGTextFramePtr VGCore::IVGTextFrame::GetPrevious ( ) {
  30224. struct IVGTextFrame * _result = 0;
  30225. HRESULT _hr = get_Previous(&_result);
  30226. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30227. return IVGTextFramePtr(_result, false);
  30228. }
  30229. #pragma implementation_key(4628)
  30230. inline VGCore::IVGTextFramePtr VGCore::IVGTextFrame::GetNext ( ) {
  30231. struct IVGTextFrame * _result = 0;
  30232. HRESULT _hr = get_Next(&_result);
  30233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30234. return IVGTextFramePtr(_result, false);
  30235. }
  30236. #pragma implementation_key(4629)
  30237. inline long VGCore::IVGTextFrame::GetIndex ( ) {
  30238. long _result = 0;
  30239. HRESULT _hr = get_Index(&_result);
  30240. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30241. return _result;
  30242. }
  30243. #pragma implementation_key(4630)
  30244. inline VARIANT_BOOL VGCore::IVGTextFrame::GetEmpty ( ) {
  30245. VARIANT_BOOL _result = 0;
  30246. HRESULT _hr = get_Empty(&_result);
  30247. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30248. return _result;
  30249. }
  30250. #pragma implementation_key(4631)
  30251. inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsFirst ( ) {
  30252. VARIANT_BOOL _result = 0;
  30253. HRESULT _hr = get_IsFirst(&_result);
  30254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30255. return _result;
  30256. }
  30257. #pragma implementation_key(4632)
  30258. inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsLast ( ) {
  30259. VARIANT_BOOL _result = 0;
  30260. HRESULT _hr = get_IsLast(&_result);
  30261. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30262. return _result;
  30263. }
  30264. #pragma implementation_key(4633)
  30265. inline enum VGCore::cdrVerticalAlignment VGCore::IVGTextFrame::GetVerticalAlignment ( ) {
  30266. enum cdrVerticalAlignment _result;
  30267. HRESULT _hr = get_VerticalAlignment(&_result);
  30268. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30269. return _result;
  30270. }
  30271. #pragma implementation_key(4634)
  30272. inline void VGCore::IVGTextFrame::PutVerticalAlignment ( enum cdrVerticalAlignment pVal ) {
  30273. HRESULT _hr = put_VerticalAlignment(pVal);
  30274. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30275. }
  30276. #pragma implementation_key(4635)
  30277. inline VARIANT_BOOL VGCore::IVGTextFrame::GetMulticolumn ( ) {
  30278. VARIANT_BOOL _result = 0;
  30279. HRESULT _hr = get_Multicolumn(&_result);
  30280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30281. return _result;
  30282. }
  30283. #pragma implementation_key(4636)
  30284. inline long VGCore::IVGTextFrame::GetColumnCount ( ) {
  30285. long _result = 0;
  30286. HRESULT _hr = get_ColumnCount(&_result);
  30287. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30288. return _result;
  30289. }
  30290. #pragma implementation_key(4637)
  30291. inline double VGCore::IVGTextFrame::GetColumnWidth ( long Index ) {
  30292. double _result = 0;
  30293. HRESULT _hr = get_ColumnWidth(Index, &_result);
  30294. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30295. return _result;
  30296. }
  30297. #pragma implementation_key(4638)
  30298. inline double VGCore::IVGTextFrame::GetColumnGutter ( long Index ) {
  30299. double _result = 0;
  30300. HRESULT _hr = get_ColumnGutter(Index, &_result);
  30301. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30302. return _result;
  30303. }
  30304. #pragma implementation_key(4639)
  30305. inline HRESULT VGCore::IVGTextFrame::SetColumns ( long NumColumns, VARIANT_BOOL EqualColumns, SAFEARRAY * * WidthsAndGutters ) {
  30306. HRESULT _hr = raw_SetColumns(NumColumns, EqualColumns, WidthsAndGutters);
  30307. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30308. return _hr;
  30309. }
  30310. #pragma implementation_key(4640)
  30311. inline HRESULT VGCore::IVGTextFrame::LinkTo ( struct IVGShape * Shape ) {
  30312. HRESULT _hr = raw_LinkTo(Shape);
  30313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30314. return _hr;
  30315. }
  30316. #pragma implementation_key(4641)
  30317. inline HRESULT VGCore::IVGTextFrame::UnLink ( ) {
  30318. HRESULT _hr = raw_UnLink();
  30319. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30320. return _hr;
  30321. }
  30322. #pragma implementation_key(4642)
  30323. inline VGCore::IVGShapePtr VGCore::IVGTextFrame::GetContainer ( ) {
  30324. struct IVGShape * _result = 0;
  30325. HRESULT _hr = get_Container(&_result);
  30326. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30327. return IVGShapePtr(_result, false);
  30328. }
  30329. #pragma implementation_key(4643)
  30330. inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsInsideContainer ( ) {
  30331. VARIANT_BOOL _result = 0;
  30332. HRESULT _hr = get_IsInsideContainer(&_result);
  30333. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30334. return _result;
  30335. }
  30336. #pragma implementation_key(4644)
  30337. inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsFittedToPath ( ) {
  30338. VARIANT_BOOL _result = 0;
  30339. HRESULT _hr = get_IsFittedToPath(&_result);
  30340. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30341. return _result;
  30342. }
  30343. #pragma implementation_key(4645)
  30344. inline VGCore::IVGShapePtr VGCore::IVGTextFrame::GetPath ( ) {
  30345. struct IVGShape * _result = 0;
  30346. HRESULT _hr = get_Path(&_result);
  30347. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30348. return IVGShapePtr(_result, false);
  30349. }
  30350. #pragma implementation_key(4646)
  30351. inline VGCore::IVGShapePtr VGCore::IVGTextFrame::GetFrameShape ( ) {
  30352. struct IVGShape * _result = 0;
  30353. HRESULT _hr = get_FrameShape(&_result);
  30354. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30355. return IVGShapePtr(_result, false);
  30356. }
  30357. #pragma implementation_key(4647)
  30358. inline VGCore::IVGFillPtr VGCore::IVGTextFrame::GetFill ( ) {
  30359. struct IVGFill * _result = 0;
  30360. HRESULT _hr = get_Fill(&_result);
  30361. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30362. return IVGFillPtr(_result, false);
  30363. }
  30364. #pragma implementation_key(4648)
  30365. inline void VGCore::IVGTextFrame::PutFill ( struct IVGFill * ppVal ) {
  30366. HRESULT _hr = put_Fill(ppVal);
  30367. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30368. }
  30369. #pragma implementation_key(4649)
  30370. inline VGCore::IVGOutlinePtr VGCore::IVGTextFrame::GetOutline ( ) {
  30371. struct IVGOutline * _result = 0;
  30372. HRESULT _hr = get_Outline(&_result);
  30373. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30374. return IVGOutlinePtr(_result, false);
  30375. }
  30376. #pragma implementation_key(4650)
  30377. inline void VGCore::IVGTextFrame::PutOutline ( struct IVGOutline * ppVal ) {
  30378. HRESULT _hr = put_Outline(ppVal);
  30379. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30380. }
  30381. //
  30382. // interface IVGTextFrames wrapper method implementations
  30383. //
  30384. #pragma implementation_key(4651)
  30385. inline IUnknownPtr VGCore::IVGTextFrames::Get_NewEnum ( ) {
  30386. IUnknown * _result = 0;
  30387. HRESULT _hr = get__NewEnum(&_result);
  30388. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30389. return IUnknownPtr(_result, false);
  30390. }
  30391. #pragma implementation_key(4652)
  30392. inline VGCore::IVGTextFramePtr VGCore::IVGTextFrames::GetItem ( long Index ) {
  30393. struct IVGTextFrame * _result = 0;
  30394. HRESULT _hr = get_Item(Index, &_result);
  30395. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30396. return IVGTextFramePtr(_result, false);
  30397. }
  30398. #pragma implementation_key(4653)
  30399. inline long VGCore::IVGTextFrames::GetCount ( ) {
  30400. long _result = 0;
  30401. HRESULT _hr = get_Count(&_result);
  30402. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30403. return _result;
  30404. }
  30405. #pragma implementation_key(4654)
  30406. inline VGCore::IVGTextRangePtr VGCore::IVGTextFrames::GetRange ( long Index, long Count ) {
  30407. struct IVGTextRange * _result = 0;
  30408. HRESULT _hr = get_Range(Index, Count, &_result);
  30409. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30410. return IVGTextRangePtr(_result, false);
  30411. }
  30412. #pragma implementation_key(4655)
  30413. inline VGCore::IVGTextRangePtr VGCore::IVGTextFrames::GetAll ( ) {
  30414. struct IVGTextRange * _result = 0;
  30415. HRESULT _hr = get_All(&_result);
  30416. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30417. return IVGTextRangePtr(_result, false);
  30418. }
  30419. #pragma implementation_key(4656)
  30420. inline VGCore::IVGTextFramePtr VGCore::IVGTextFrames::GetFirst ( ) {
  30421. struct IVGTextFrame * _result = 0;
  30422. HRESULT _hr = get_First(&_result);
  30423. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30424. return IVGTextFramePtr(_result, false);
  30425. }
  30426. #pragma implementation_key(4657)
  30427. inline VGCore::IVGTextFramePtr VGCore::IVGTextFrames::GetLast ( ) {
  30428. struct IVGTextFrame * _result = 0;
  30429. HRESULT _hr = get_Last(&_result);
  30430. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30431. return IVGTextFramePtr(_result, false);
  30432. }
  30433. //
  30434. // interface IVGTextRanges wrapper method implementations
  30435. //
  30436. #pragma implementation_key(4658)
  30437. inline IUnknownPtr VGCore::IVGTextRanges::Get_NewEnum ( ) {
  30438. IUnknown * _result = 0;
  30439. HRESULT _hr = get__NewEnum(&_result);
  30440. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30441. return IUnknownPtr(_result, false);
  30442. }
  30443. #pragma implementation_key(4659)
  30444. inline VGCore::IVGTextRangePtr VGCore::IVGTextRanges::GetItem ( long Index ) {
  30445. struct IVGTextRange * _result = 0;
  30446. HRESULT _hr = get_Item(Index, &_result);
  30447. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30448. return IVGTextRangePtr(_result, false);
  30449. }
  30450. #pragma implementation_key(4660)
  30451. inline long VGCore::IVGTextRanges::GetCount ( ) {
  30452. long _result = 0;
  30453. HRESULT _hr = get_Count(&_result);
  30454. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30455. return _result;
  30456. }
  30457. #pragma implementation_key(4661)
  30458. inline VGCore::IVGTextRangePtr VGCore::IVGTextRanges::GetFirst ( ) {
  30459. struct IVGTextRange * _result = 0;
  30460. HRESULT _hr = get_First(&_result);
  30461. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30462. return IVGTextRangePtr(_result, false);
  30463. }
  30464. #pragma implementation_key(4662)
  30465. inline VGCore::IVGTextRangePtr VGCore::IVGTextRanges::GetLast ( ) {
  30466. struct IVGTextRange * _result = 0;
  30467. HRESULT _hr = get_Last(&_result);
  30468. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30469. return IVGTextRangePtr(_result, false);
  30470. }
  30471. #pragma implementation_key(4663)
  30472. inline VGCore::IVGTextRangesPtr VGCore::IVGTextRanges::Reverse ( ) {
  30473. struct IVGTextRanges * _result = 0;
  30474. HRESULT _hr = raw_Reverse(&_result);
  30475. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30476. return IVGTextRangesPtr(_result, false);
  30477. }
  30478. //
  30479. // interface IVGStyle wrapper method implementations
  30480. //
  30481. #pragma implementation_key(4664)
  30482. inline _bstr_t VGCore::IVGStyle::GetCategoryName ( ) {
  30483. BSTR _result = 0;
  30484. HRESULT _hr = get_CategoryName(&_result);
  30485. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30486. return _bstr_t(_result, false);
  30487. }
  30488. #pragma implementation_key(4665)
  30489. inline SAFEARRAY * VGCore::IVGStyle::GetAllPropertyNames ( ) {
  30490. SAFEARRAY * _result = 0;
  30491. HRESULT _hr = raw_GetAllPropertyNames(&_result);
  30492. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30493. return _result;
  30494. }
  30495. #pragma implementation_key(4666)
  30496. inline SAFEARRAY * VGCore::IVGStyle::GetOverridePropertyNames ( ) {
  30497. SAFEARRAY * _result = 0;
  30498. HRESULT _hr = raw_GetOverridePropertyNames(&_result);
  30499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30500. return _result;
  30501. }
  30502. #pragma implementation_key(4667)
  30503. inline VARIANT_BOOL VGCore::IVGStyle::IsPropertyInherited ( _bstr_t Name ) {
  30504. VARIANT_BOOL _result = 0;
  30505. HRESULT _hr = raw_IsPropertyInherited(Name, &_result);
  30506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30507. return _result;
  30508. }
  30509. #pragma implementation_key(4668)
  30510. inline _variant_t VGCore::IVGStyle::GetProperty ( _bstr_t Name ) {
  30511. VARIANT _result;
  30512. VariantInit(&_result);
  30513. HRESULT _hr = raw_GetProperty(Name, &_result);
  30514. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30515. return _variant_t(_result, false);
  30516. }
  30517. #pragma implementation_key(4669)
  30518. inline HRESULT VGCore::IVGStyle::SetProperty ( _bstr_t Name, const _variant_t & Value ) {
  30519. HRESULT _hr = raw_SetProperty(Name, Value);
  30520. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30521. return _hr;
  30522. }
  30523. #pragma implementation_key(4670)
  30524. inline VARIANT_BOOL VGCore::IVGStyle::ClearProperty ( _bstr_t Name ) {
  30525. VARIANT_BOOL _result = 0;
  30526. HRESULT _hr = raw_ClearProperty(Name, &_result);
  30527. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30528. return _result;
  30529. }
  30530. #pragma implementation_key(4671)
  30531. inline VGCore::IVGStyleOutlinePtr VGCore::IVGStyle::GetOutline ( ) {
  30532. struct IVGStyleOutline * _result = 0;
  30533. HRESULT _hr = get_Outline(&_result);
  30534. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30535. return IVGStyleOutlinePtr(_result, false);
  30536. }
  30537. #pragma implementation_key(4672)
  30538. inline VGCore::IVGStyleFillPtr VGCore::IVGStyle::GetFill ( ) {
  30539. struct IVGStyleFill * _result = 0;
  30540. HRESULT _hr = get_Fill(&_result);
  30541. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30542. return IVGStyleFillPtr(_result, false);
  30543. }
  30544. #pragma implementation_key(4673)
  30545. inline VGCore::IVGStyleCharacterPtr VGCore::IVGStyle::GetCharacter ( ) {
  30546. struct IVGStyleCharacter * _result = 0;
  30547. HRESULT _hr = get_Character(&_result);
  30548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30549. return IVGStyleCharacterPtr(_result, false);
  30550. }
  30551. #pragma implementation_key(4674)
  30552. inline VGCore::IVGStyleParagraphPtr VGCore::IVGStyle::GetParagraph ( ) {
  30553. struct IVGStyleParagraph * _result = 0;
  30554. HRESULT _hr = get_Paragraph(&_result);
  30555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30556. return IVGStyleParagraphPtr(_result, false);
  30557. }
  30558. #pragma implementation_key(4675)
  30559. inline VGCore::IVGStyleFramePtr VGCore::IVGStyle::GetFrame ( ) {
  30560. struct IVGStyleFrame * _result = 0;
  30561. HRESULT _hr = get_Frame(&_result);
  30562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30563. return IVGStyleFramePtr(_result, false);
  30564. }
  30565. #pragma implementation_key(4676)
  30566. inline _bstr_t VGCore::IVGStyle::GetName ( ) {
  30567. BSTR _result = 0;
  30568. HRESULT _hr = get_Name(&_result);
  30569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30570. return _bstr_t(_result, false);
  30571. }
  30572. #pragma implementation_key(4677)
  30573. inline _bstr_t VGCore::IVGStyle::GetDisplayName ( ) {
  30574. BSTR _result = 0;
  30575. HRESULT _hr = get_DisplayName(&_result);
  30576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30577. return _bstr_t(_result, false);
  30578. }
  30579. #pragma implementation_key(4678)
  30580. inline VARIANT_BOOL VGCore::IVGStyle::GetIsStyleSet ( ) {
  30581. VARIANT_BOOL _result = 0;
  30582. HRESULT _hr = get_IsStyleSet(&_result);
  30583. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30584. return _result;
  30585. }
  30586. #pragma implementation_key(4679)
  30587. inline VARIANT_BOOL VGCore::IVGStyle::GetIsObjectDefaults ( ) {
  30588. VARIANT_BOOL _result = 0;
  30589. HRESULT _hr = get_IsObjectDefaults(&_result);
  30590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30591. return _result;
  30592. }
  30593. #pragma implementation_key(4680)
  30594. inline _bstr_t VGCore::IVGStyle::GetDisplayCategoryName ( ) {
  30595. BSTR _result = 0;
  30596. HRESULT _hr = get_DisplayCategoryName(&_result);
  30597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30598. return _bstr_t(_result, false);
  30599. }
  30600. #pragma implementation_key(4681)
  30601. inline VGCore::IVGStylePtr VGCore::IVGStyle::GetBasedOn ( ) {
  30602. struct IVGStyle * _result = 0;
  30603. HRESULT _hr = get_BasedOn(&_result);
  30604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30605. return IVGStylePtr(_result, false);
  30606. }
  30607. #pragma implementation_key(4682)
  30608. inline VGCore::IVGStylesPtr VGCore::IVGStyle::GetDerivedStyles ( ) {
  30609. struct IVGStyles * _result = 0;
  30610. HRESULT _hr = get_DerivedStyles(&_result);
  30611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30612. return IVGStylesPtr(_result, false);
  30613. }
  30614. #pragma implementation_key(4683)
  30615. inline _bstr_t VGCore::IVGStyle::ToString ( ) {
  30616. BSTR _result = 0;
  30617. HRESULT _hr = raw_ToString(&_result);
  30618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30619. return _bstr_t(_result, false);
  30620. }
  30621. #pragma implementation_key(4684)
  30622. inline VARIANT_BOOL VGCore::IVGStyle::StringAssign ( _bstr_t StyleString ) {
  30623. VARIANT_BOOL _result = 0;
  30624. HRESULT _hr = raw_StringAssign(StyleString, &_result);
  30625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30626. return _result;
  30627. }
  30628. #pragma implementation_key(4685)
  30629. inline _bstr_t VGCore::IVGStyle::GetPropertyAsString ( _bstr_t Name ) {
  30630. BSTR _result = 0;
  30631. HRESULT _hr = raw_GetPropertyAsString(Name, &_result);
  30632. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30633. return _bstr_t(_result, false);
  30634. }
  30635. #pragma implementation_key(4686)
  30636. inline VARIANT_BOOL VGCore::IVGStyle::SetPropertyAsString ( _bstr_t Name, _bstr_t Value ) {
  30637. VARIANT_BOOL _result = 0;
  30638. HRESULT _hr = raw_SetPropertyAsString(Name, Value, &_result);
  30639. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30640. return _result;
  30641. }
  30642. #pragma implementation_key(4687)
  30643. inline VARIANT_BOOL VGCore::IVGStyle::Rename ( _bstr_t NewName ) {
  30644. VARIANT_BOOL _result = 0;
  30645. HRESULT _hr = raw_Rename(NewName, &_result);
  30646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30647. return _result;
  30648. }
  30649. #pragma implementation_key(4688)
  30650. inline VARIANT_BOOL VGCore::IVGStyle::SetBasedOn ( _bstr_t NewParent ) {
  30651. VARIANT_BOOL _result = 0;
  30652. HRESULT _hr = raw_SetBasedOn(NewParent, &_result);
  30653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30654. return _result;
  30655. }
  30656. #pragma implementation_key(4689)
  30657. inline VARIANT_BOOL VGCore::IVGStyle::Delete ( ) {
  30658. VARIANT_BOOL _result = 0;
  30659. HRESULT _hr = raw_Delete(&_result);
  30660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30661. return _result;
  30662. }
  30663. #pragma implementation_key(4690)
  30664. inline HRESULT VGCore::IVGStyle::Assign ( struct IVGStyle * pVal ) {
  30665. HRESULT _hr = raw_Assign(pVal);
  30666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30667. return _hr;
  30668. }
  30669. #pragma implementation_key(4691)
  30670. inline VGCore::IVGStylePtr VGCore::IVGStyle::GetCopy ( ) {
  30671. struct IVGStyle * _result = 0;
  30672. HRESULT _hr = raw_GetCopy(&_result);
  30673. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30674. return IVGStylePtr(_result, false);
  30675. }
  30676. #pragma implementation_key(4692)
  30677. inline VGCore::IVGStyleTransparencyPtr VGCore::IVGStyle::GetTransparency ( ) {
  30678. struct IVGStyleTransparency * _result = 0;
  30679. HRESULT _hr = get_Transparency(&_result);
  30680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30681. return IVGStyleTransparencyPtr(_result, false);
  30682. }
  30683. //
  30684. // interface IVGStyleOutline wrapper method implementations
  30685. //
  30686. #pragma implementation_key(4693)
  30687. inline VGCore::IVGStylePtr VGCore::IVGStyleOutline::GetStyle ( ) {
  30688. struct IVGStyle * _result = 0;
  30689. HRESULT _hr = get_Style(&_result);
  30690. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30691. return IVGStylePtr(_result, false);
  30692. }
  30693. #pragma implementation_key(4694)
  30694. inline enum VGCore::cdrOutlineType VGCore::IVGStyleOutline::GetType ( ) {
  30695. enum cdrOutlineType _result;
  30696. HRESULT _hr = get_Type(&_result);
  30697. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30698. return _result;
  30699. }
  30700. #pragma implementation_key(4695)
  30701. inline void VGCore::IVGStyleOutline::PutType ( enum cdrOutlineType pVal ) {
  30702. HRESULT _hr = put_Type(pVal);
  30703. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30704. }
  30705. #pragma implementation_key(4696)
  30706. inline VARIANT_BOOL VGCore::IVGStyleOutline::GetOverprint ( ) {
  30707. VARIANT_BOOL _result = 0;
  30708. HRESULT _hr = get_Overprint(&_result);
  30709. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30710. return _result;
  30711. }
  30712. #pragma implementation_key(4697)
  30713. inline void VGCore::IVGStyleOutline::PutOverprint ( VARIANT_BOOL pVal ) {
  30714. HRESULT _hr = put_Overprint(pVal);
  30715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30716. }
  30717. #pragma implementation_key(4698)
  30718. inline VARIANT_BOOL VGCore::IVGStyleOutline::GetBehindFill ( ) {
  30719. VARIANT_BOOL _result = 0;
  30720. HRESULT _hr = get_BehindFill(&_result);
  30721. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30722. return _result;
  30723. }
  30724. #pragma implementation_key(4699)
  30725. inline void VGCore::IVGStyleOutline::PutBehindFill ( VARIANT_BOOL pVal ) {
  30726. HRESULT _hr = put_BehindFill(pVal);
  30727. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30728. }
  30729. #pragma implementation_key(4700)
  30730. inline VARIANT_BOOL VGCore::IVGStyleOutline::GetScaleWithShape ( ) {
  30731. VARIANT_BOOL _result = 0;
  30732. HRESULT _hr = get_ScaleWithShape(&_result);
  30733. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30734. return _result;
  30735. }
  30736. #pragma implementation_key(4701)
  30737. inline void VGCore::IVGStyleOutline::PutScaleWithShape ( VARIANT_BOOL pVal ) {
  30738. HRESULT _hr = put_ScaleWithShape(pVal);
  30739. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30740. }
  30741. #pragma implementation_key(4702)
  30742. inline double VGCore::IVGStyleOutline::GetWidth ( ) {
  30743. double _result = 0;
  30744. HRESULT _hr = get_Width(&_result);
  30745. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30746. return _result;
  30747. }
  30748. #pragma implementation_key(4703)
  30749. inline void VGCore::IVGStyleOutline::PutWidth ( double pVal ) {
  30750. HRESULT _hr = put_Width(pVal);
  30751. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30752. }
  30753. #pragma implementation_key(4704)
  30754. inline VGCore::IVGColorPtr VGCore::IVGStyleOutline::GetColor ( ) {
  30755. struct IVGColor * _result = 0;
  30756. HRESULT _hr = get_Color(&_result);
  30757. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30758. return IVGColorPtr(_result, false);
  30759. }
  30760. #pragma implementation_key(4705)
  30761. inline void VGCore::IVGStyleOutline::PutColor ( struct IVGColor * ppVal ) {
  30762. HRESULT _hr = put_Color(ppVal);
  30763. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30764. }
  30765. #pragma implementation_key(4706)
  30766. inline VARIANT_BOOL VGCore::IVGStyleOutline::GetOverlapArrow ( ) {
  30767. VARIANT_BOOL _result = 0;
  30768. HRESULT _hr = get_OverlapArrow(&_result);
  30769. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30770. return _result;
  30771. }
  30772. #pragma implementation_key(4707)
  30773. inline void VGCore::IVGStyleOutline::PutOverlapArrow ( VARIANT_BOOL pVal ) {
  30774. HRESULT _hr = put_OverlapArrow(pVal);
  30775. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30776. }
  30777. #pragma implementation_key(4708)
  30778. inline VARIANT_BOOL VGCore::IVGStyleOutline::GetShareArrow ( ) {
  30779. VARIANT_BOOL _result = 0;
  30780. HRESULT _hr = get_ShareArrow(&_result);
  30781. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30782. return _result;
  30783. }
  30784. #pragma implementation_key(4709)
  30785. inline void VGCore::IVGStyleOutline::PutShareArrow ( VARIANT_BOOL pVal ) {
  30786. HRESULT _hr = put_ShareArrow(pVal);
  30787. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30788. }
  30789. #pragma implementation_key(4710)
  30790. inline double VGCore::IVGStyleOutline::GetMiterLimit ( ) {
  30791. double _result = 0;
  30792. HRESULT _hr = get_MiterLimit(&_result);
  30793. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30794. return _result;
  30795. }
  30796. #pragma implementation_key(4711)
  30797. inline void VGCore::IVGStyleOutline::PutMiterLimit ( double pVal ) {
  30798. HRESULT _hr = put_MiterLimit(pVal);
  30799. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30800. }
  30801. #pragma implementation_key(4712)
  30802. inline long VGCore::IVGStyleOutline::GetNibStretch ( ) {
  30803. long _result = 0;
  30804. HRESULT _hr = get_NibStretch(&_result);
  30805. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30806. return _result;
  30807. }
  30808. #pragma implementation_key(4713)
  30809. inline void VGCore::IVGStyleOutline::PutNibStretch ( long pVal ) {
  30810. HRESULT _hr = put_NibStretch(pVal);
  30811. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30812. }
  30813. #pragma implementation_key(4714)
  30814. inline double VGCore::IVGStyleOutline::GetNibAngle ( ) {
  30815. double _result = 0;
  30816. HRESULT _hr = get_NibAngle(&_result);
  30817. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30818. return _result;
  30819. }
  30820. #pragma implementation_key(4715)
  30821. inline void VGCore::IVGStyleOutline::PutNibAngle ( double pVal ) {
  30822. HRESULT _hr = put_NibAngle(pVal);
  30823. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30824. }
  30825. #pragma implementation_key(4716)
  30826. inline double VGCore::IVGStyleOutline::GetWidelineWidth ( ) {
  30827. double _result = 0;
  30828. HRESULT _hr = get_WidelineWidth(&_result);
  30829. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30830. return _result;
  30831. }
  30832. #pragma implementation_key(4717)
  30833. inline void VGCore::IVGStyleOutline::PutWidelineWidth ( double pVal ) {
  30834. HRESULT _hr = put_WidelineWidth(pVal);
  30835. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30836. }
  30837. #pragma implementation_key(4718)
  30838. inline enum VGCore::cdrOutlineLineCaps VGCore::IVGStyleOutline::GetLineCaps ( ) {
  30839. enum cdrOutlineLineCaps _result;
  30840. HRESULT _hr = get_LineCaps(&_result);
  30841. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30842. return _result;
  30843. }
  30844. #pragma implementation_key(4719)
  30845. inline void VGCore::IVGStyleOutline::PutLineCaps ( enum cdrOutlineLineCaps pVal ) {
  30846. HRESULT _hr = put_LineCaps(pVal);
  30847. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30848. }
  30849. #pragma implementation_key(4720)
  30850. inline enum VGCore::cdrOutlineLineJoin VGCore::IVGStyleOutline::GetLineJoin ( ) {
  30851. enum cdrOutlineLineJoin _result;
  30852. HRESULT _hr = get_LineJoin(&_result);
  30853. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30854. return _result;
  30855. }
  30856. #pragma implementation_key(4721)
  30857. inline void VGCore::IVGStyleOutline::PutLineJoin ( enum cdrOutlineLineJoin pVal ) {
  30858. HRESULT _hr = put_LineJoin(pVal);
  30859. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30860. }
  30861. #pragma implementation_key(4722)
  30862. inline enum VGCore::cdrOutlineJustification VGCore::IVGStyleOutline::GetJustification ( ) {
  30863. enum cdrOutlineJustification _result;
  30864. HRESULT _hr = get_Justification(&_result);
  30865. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30866. return _result;
  30867. }
  30868. #pragma implementation_key(4723)
  30869. inline void VGCore::IVGStyleOutline::PutJustification ( enum cdrOutlineJustification pVal ) {
  30870. HRESULT _hr = put_Justification(pVal);
  30871. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30872. }
  30873. #pragma implementation_key(4724)
  30874. inline enum VGCore::cdrOutlineDashAdjust VGCore::IVGStyleOutline::GetAdjustDashes ( ) {
  30875. enum cdrOutlineDashAdjust _result;
  30876. HRESULT _hr = get_AdjustDashes(&_result);
  30877. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30878. return _result;
  30879. }
  30880. #pragma implementation_key(4725)
  30881. inline void VGCore::IVGStyleOutline::PutAdjustDashes ( enum cdrOutlineDashAdjust pVal ) {
  30882. HRESULT _hr = put_AdjustDashes(pVal);
  30883. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30884. }
  30885. //
  30886. // interface IVGStyleFill wrapper method implementations
  30887. //
  30888. #pragma implementation_key(4726)
  30889. inline VGCore::IVGStylePtr VGCore::IVGStyleFill::GetStyle ( ) {
  30890. struct IVGStyle * _result = 0;
  30891. HRESULT _hr = get_Style(&_result);
  30892. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30893. return IVGStylePtr(_result, false);
  30894. }
  30895. #pragma implementation_key(4727)
  30896. inline enum VGCore::cdrFillStyleType VGCore::IVGStyleFill::GetType ( ) {
  30897. enum cdrFillStyleType _result;
  30898. HRESULT _hr = get_Type(&_result);
  30899. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30900. return _result;
  30901. }
  30902. #pragma implementation_key(4728)
  30903. inline void VGCore::IVGStyleFill::PutType ( enum cdrFillStyleType pVal ) {
  30904. HRESULT _hr = put_Type(pVal);
  30905. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30906. }
  30907. #pragma implementation_key(4729)
  30908. inline VARIANT_BOOL VGCore::IVGStyleFill::GetOverprint ( ) {
  30909. VARIANT_BOOL _result = 0;
  30910. HRESULT _hr = get_Overprint(&_result);
  30911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30912. return _result;
  30913. }
  30914. #pragma implementation_key(4730)
  30915. inline void VGCore::IVGStyleFill::PutOverprint ( VARIANT_BOOL pVal ) {
  30916. HRESULT _hr = put_Overprint(pVal);
  30917. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30918. }
  30919. #pragma implementation_key(4731)
  30920. inline VARIANT_BOOL VGCore::IVGStyleFill::GetWindingFill ( ) {
  30921. VARIANT_BOOL _result = 0;
  30922. HRESULT _hr = get_WindingFill(&_result);
  30923. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30924. return _result;
  30925. }
  30926. #pragma implementation_key(4732)
  30927. inline void VGCore::IVGStyleFill::PutWindingFill ( VARIANT_BOOL pVal ) {
  30928. HRESULT _hr = put_WindingFill(pVal);
  30929. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30930. }
  30931. #pragma implementation_key(4733)
  30932. inline enum VGCore::cdrFountainFillType VGCore::IVGStyleFill::GetFountainFillType ( ) {
  30933. enum cdrFountainFillType _result;
  30934. HRESULT _hr = get_FountainFillType(&_result);
  30935. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30936. return _result;
  30937. }
  30938. #pragma implementation_key(4734)
  30939. inline void VGCore::IVGStyleFill::PutFountainFillType ( enum cdrFountainFillType pVal ) {
  30940. HRESULT _hr = put_FountainFillType(pVal);
  30941. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30942. }
  30943. #pragma implementation_key(4735)
  30944. inline long VGCore::IVGStyleFill::GetEdgePad ( ) {
  30945. long _result = 0;
  30946. HRESULT _hr = get_EdgePad(&_result);
  30947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30948. return _result;
  30949. }
  30950. #pragma implementation_key(4736)
  30951. inline void VGCore::IVGStyleFill::PutEdgePad ( long pVal ) {
  30952. HRESULT _hr = put_EdgePad(pVal);
  30953. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30954. }
  30955. #pragma implementation_key(4737)
  30956. inline long VGCore::IVGStyleFill::GetFountainCenterOffsetX ( ) {
  30957. long _result = 0;
  30958. HRESULT _hr = get_FountainCenterOffsetX(&_result);
  30959. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30960. return _result;
  30961. }
  30962. #pragma implementation_key(4738)
  30963. inline void VGCore::IVGStyleFill::PutFountainCenterOffsetX ( long pVal ) {
  30964. HRESULT _hr = put_FountainCenterOffsetX(pVal);
  30965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30966. }
  30967. #pragma implementation_key(4739)
  30968. inline long VGCore::IVGStyleFill::GetFountainCenterOffsetY ( ) {
  30969. long _result = 0;
  30970. HRESULT _hr = get_FountainCenterOffsetY(&_result);
  30971. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30972. return _result;
  30973. }
  30974. #pragma implementation_key(4740)
  30975. inline void VGCore::IVGStyleFill::PutFountainCenterOffsetY ( long pVal ) {
  30976. HRESULT _hr = put_FountainCenterOffsetY(pVal);
  30977. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30978. }
  30979. #pragma implementation_key(4741)
  30980. inline long VGCore::IVGStyleFill::GetFountainSteps ( ) {
  30981. long _result = 0;
  30982. HRESULT _hr = get_FountainSteps(&_result);
  30983. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30984. return _result;
  30985. }
  30986. #pragma implementation_key(4742)
  30987. inline void VGCore::IVGStyleFill::PutFountainSteps ( long pVal ) {
  30988. HRESULT _hr = put_FountainSteps(pVal);
  30989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30990. }
  30991. #pragma implementation_key(4743)
  30992. inline enum VGCore::cdrFountainFillBlendType VGCore::IVGStyleFill::GetFountainBlendType ( ) {
  30993. enum cdrFountainFillBlendType _result;
  30994. HRESULT _hr = get_FountainBlendType(&_result);
  30995. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  30996. return _result;
  30997. }
  30998. #pragma implementation_key(4744)
  30999. inline void VGCore::IVGStyleFill::PutFountainBlendType ( enum cdrFountainFillBlendType pVal ) {
  31000. HRESULT _hr = put_FountainBlendType(pVal);
  31001. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31002. }
  31003. #pragma implementation_key(4745)
  31004. inline long VGCore::IVGStyleFill::GetMidPoint ( ) {
  31005. long _result = 0;
  31006. HRESULT _hr = get_MidPoint(&_result);
  31007. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31008. return _result;
  31009. }
  31010. #pragma implementation_key(4746)
  31011. inline void VGCore::IVGStyleFill::PutMidPoint ( long pVal ) {
  31012. HRESULT _hr = put_MidPoint(pVal);
  31013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31014. }
  31015. #pragma implementation_key(4747)
  31016. inline VARIANT_BOOL VGCore::IVGStyleFill::GetFlipColors ( ) {
  31017. VARIANT_BOOL _result = 0;
  31018. HRESULT _hr = get_FlipColors(&_result);
  31019. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31020. return _result;
  31021. }
  31022. #pragma implementation_key(4748)
  31023. inline void VGCore::IVGStyleFill::PutFlipColors ( VARIANT_BOOL pVal ) {
  31024. HRESULT _hr = put_FlipColors(pVal);
  31025. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31026. }
  31027. #pragma implementation_key(4749)
  31028. inline _bstr_t VGCore::IVGStyleFill::GetPostScriptName ( ) {
  31029. BSTR _result = 0;
  31030. HRESULT _hr = get_PostScriptName(&_result);
  31031. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31032. return _bstr_t(_result, false);
  31033. }
  31034. #pragma implementation_key(4750)
  31035. inline void VGCore::IVGStyleFill::PutPostScriptName ( _bstr_t pVal ) {
  31036. HRESULT _hr = put_PostScriptName(pVal);
  31037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31038. }
  31039. #pragma implementation_key(4751)
  31040. inline double VGCore::IVGStyleFill::GetTileWidth ( ) {
  31041. double _result = 0;
  31042. HRESULT _hr = get_TileWidth(&_result);
  31043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31044. return _result;
  31045. }
  31046. #pragma implementation_key(4752)
  31047. inline void VGCore::IVGStyleFill::PutTileWidth ( double pVal ) {
  31048. HRESULT _hr = put_TileWidth(pVal);
  31049. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31050. }
  31051. #pragma implementation_key(4753)
  31052. inline double VGCore::IVGStyleFill::GetTileHeight ( ) {
  31053. double _result = 0;
  31054. HRESULT _hr = get_TileHeight(&_result);
  31055. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31056. return _result;
  31057. }
  31058. #pragma implementation_key(4754)
  31059. inline void VGCore::IVGStyleFill::PutTileHeight ( double pVal ) {
  31060. HRESULT _hr = put_TileHeight(pVal);
  31061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31062. }
  31063. #pragma implementation_key(4755)
  31064. inline double VGCore::IVGStyleFill::GetTileOriginX ( ) {
  31065. double _result = 0;
  31066. HRESULT _hr = get_TileOriginX(&_result);
  31067. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31068. return _result;
  31069. }
  31070. #pragma implementation_key(4756)
  31071. inline void VGCore::IVGStyleFill::PutTileOriginX ( double pVal ) {
  31072. HRESULT _hr = put_TileOriginX(pVal);
  31073. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31074. }
  31075. #pragma implementation_key(4757)
  31076. inline double VGCore::IVGStyleFill::GetTileOriginY ( ) {
  31077. double _result = 0;
  31078. HRESULT _hr = get_TileOriginY(&_result);
  31079. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31080. return _result;
  31081. }
  31082. #pragma implementation_key(4758)
  31083. inline void VGCore::IVGStyleFill::PutTileOriginY ( double pVal ) {
  31084. HRESULT _hr = put_TileOriginY(pVal);
  31085. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31086. }
  31087. #pragma implementation_key(4759)
  31088. inline enum VGCore::cdrTileOffsetType VGCore::IVGStyleFill::GetTileOffsetType ( ) {
  31089. enum cdrTileOffsetType _result;
  31090. HRESULT _hr = get_TileOffsetType(&_result);
  31091. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31092. return _result;
  31093. }
  31094. #pragma implementation_key(4760)
  31095. inline void VGCore::IVGStyleFill::PutTileOffsetType ( enum cdrTileOffsetType pVal ) {
  31096. HRESULT _hr = put_TileOffsetType(pVal);
  31097. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31098. }
  31099. #pragma implementation_key(4761)
  31100. inline long VGCore::IVGStyleFill::GetTileOffset ( ) {
  31101. long _result = 0;
  31102. HRESULT _hr = get_TileOffset(&_result);
  31103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31104. return _result;
  31105. }
  31106. #pragma implementation_key(4762)
  31107. inline void VGCore::IVGStyleFill::PutTileOffset ( long pVal ) {
  31108. HRESULT _hr = put_TileOffset(pVal);
  31109. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31110. }
  31111. #pragma implementation_key(4763)
  31112. inline double VGCore::IVGStyleFill::GetRotationAngle ( ) {
  31113. double _result = 0;
  31114. HRESULT _hr = get_RotationAngle(&_result);
  31115. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31116. return _result;
  31117. }
  31118. #pragma implementation_key(4764)
  31119. inline void VGCore::IVGStyleFill::PutRotationAngle ( double pVal ) {
  31120. HRESULT _hr = put_RotationAngle(pVal);
  31121. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31122. }
  31123. #pragma implementation_key(4765)
  31124. inline double VGCore::IVGStyleFill::GetSkewAngle ( ) {
  31125. double _result = 0;
  31126. HRESULT _hr = get_SkewAngle(&_result);
  31127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31128. return _result;
  31129. }
  31130. #pragma implementation_key(4766)
  31131. inline void VGCore::IVGStyleFill::PutSkewAngle ( double pVal ) {
  31132. HRESULT _hr = put_SkewAngle(pVal);
  31133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31134. }
  31135. #pragma implementation_key(4767)
  31136. inline VARIANT_BOOL VGCore::IVGStyleFill::GetMirrorFill ( ) {
  31137. VARIANT_BOOL _result = 0;
  31138. HRESULT _hr = get_MirrorFill(&_result);
  31139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31140. return _result;
  31141. }
  31142. #pragma implementation_key(4768)
  31143. inline void VGCore::IVGStyleFill::PutMirrorFill ( VARIANT_BOOL pVal ) {
  31144. HRESULT _hr = put_MirrorFill(pVal);
  31145. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31146. }
  31147. #pragma implementation_key(4769)
  31148. inline VARIANT_BOOL VGCore::IVGStyleFill::GetTransformWithShape ( ) {
  31149. VARIANT_BOOL _result = 0;
  31150. HRESULT _hr = get_TransformWithShape(&_result);
  31151. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31152. return _result;
  31153. }
  31154. #pragma implementation_key(4770)
  31155. inline void VGCore::IVGStyleFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
  31156. HRESULT _hr = put_TransformWithShape(pVal);
  31157. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31158. }
  31159. #pragma implementation_key(4771)
  31160. inline VGCore::IVGColorPtr VGCore::IVGStyleFill::GetPrimaryColor ( ) {
  31161. struct IVGColor * _result = 0;
  31162. HRESULT _hr = get_PrimaryColor(&_result);
  31163. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31164. return IVGColorPtr(_result, false);
  31165. }
  31166. #pragma implementation_key(4772)
  31167. inline VGCore::IVGColorPtr VGCore::IVGStyleFill::GetSecondaryColor ( ) {
  31168. struct IVGColor * _result = 0;
  31169. HRESULT _hr = get_SecondaryColor(&_result);
  31170. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31171. return IVGColorPtr(_result, false);
  31172. }
  31173. #pragma implementation_key(4773)
  31174. inline VARIANT_BOOL VGCore::IVGStyleFill::GetMirrorFillX ( ) {
  31175. VARIANT_BOOL _result = 0;
  31176. HRESULT _hr = get_MirrorFillX(&_result);
  31177. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31178. return _result;
  31179. }
  31180. #pragma implementation_key(4774)
  31181. inline void VGCore::IVGStyleFill::PutMirrorFillX ( VARIANT_BOOL pVal ) {
  31182. HRESULT _hr = put_MirrorFillX(pVal);
  31183. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31184. }
  31185. #pragma implementation_key(4775)
  31186. inline VARIANT_BOOL VGCore::IVGStyleFill::GetMirrorFillY ( ) {
  31187. VARIANT_BOOL _result = 0;
  31188. HRESULT _hr = get_MirrorFillY(&_result);
  31189. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31190. return _result;
  31191. }
  31192. #pragma implementation_key(4776)
  31193. inline void VGCore::IVGStyleFill::PutMirrorFillY ( VARIANT_BOOL pVal ) {
  31194. HRESULT _hr = put_MirrorFillY(pVal);
  31195. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31196. }
  31197. #pragma implementation_key(4777)
  31198. inline double VGCore::IVGStyleFill::GetFountainCenterXOffset ( ) {
  31199. double _result = 0;
  31200. HRESULT _hr = get_FountainCenterXOffset(&_result);
  31201. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31202. return _result;
  31203. }
  31204. #pragma implementation_key(4778)
  31205. inline void VGCore::IVGStyleFill::PutFountainCenterXOffset ( double pVal ) {
  31206. HRESULT _hr = put_FountainCenterXOffset(pVal);
  31207. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31208. }
  31209. #pragma implementation_key(4779)
  31210. inline double VGCore::IVGStyleFill::GetFountainCenterYOffset ( ) {
  31211. double _result = 0;
  31212. HRESULT _hr = get_FountainCenterYOffset(&_result);
  31213. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31214. return _result;
  31215. }
  31216. #pragma implementation_key(4780)
  31217. inline void VGCore::IVGStyleFill::PutFountainCenterYOffset ( double pVal ) {
  31218. HRESULT _hr = put_FountainCenterYOffset(pVal);
  31219. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31220. }
  31221. #pragma implementation_key(4781)
  31222. inline double VGCore::IVGStyleFill::GetFountainBlendAcceleration ( ) {
  31223. double _result = 0;
  31224. HRESULT _hr = get_FountainBlendAcceleration(&_result);
  31225. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31226. return _result;
  31227. }
  31228. #pragma implementation_key(4782)
  31229. inline void VGCore::IVGStyleFill::PutFountainBlendAcceleration ( double pVal ) {
  31230. HRESULT _hr = put_FountainBlendAcceleration(pVal);
  31231. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31232. }
  31233. #pragma implementation_key(4783)
  31234. inline double VGCore::IVGStyleFill::GetFountainScaleX ( ) {
  31235. double _result = 0;
  31236. HRESULT _hr = get_FountainScaleX(&_result);
  31237. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31238. return _result;
  31239. }
  31240. #pragma implementation_key(4784)
  31241. inline void VGCore::IVGStyleFill::PutFountainScaleX ( double pVal ) {
  31242. HRESULT _hr = put_FountainScaleX(pVal);
  31243. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31244. }
  31245. #pragma implementation_key(4785)
  31246. inline double VGCore::IVGStyleFill::GetFountainScaleY ( ) {
  31247. double _result = 0;
  31248. HRESULT _hr = get_FountainScaleY(&_result);
  31249. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31250. return _result;
  31251. }
  31252. #pragma implementation_key(4786)
  31253. inline void VGCore::IVGStyleFill::PutFountainScaleY ( double pVal ) {
  31254. HRESULT _hr = put_FountainScaleY(pVal);
  31255. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31256. }
  31257. #pragma implementation_key(4787)
  31258. inline VARIANT_BOOL VGCore::IVGStyleFill::GetFountainAnisotropic ( ) {
  31259. VARIANT_BOOL _result = 0;
  31260. HRESULT _hr = get_FountainAnisotropic(&_result);
  31261. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31262. return _result;
  31263. }
  31264. #pragma implementation_key(4788)
  31265. inline void VGCore::IVGStyleFill::PutFountainAnisotropic ( VARIANT_BOOL pVal ) {
  31266. HRESULT _hr = put_FountainAnisotropic(pVal);
  31267. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31268. }
  31269. #pragma implementation_key(4789)
  31270. inline enum VGCore::cdrFountainFillSpreadMethod VGCore::IVGStyleFill::GetFountainSpreadMethod ( ) {
  31271. enum cdrFountainFillSpreadMethod _result;
  31272. HRESULT _hr = get_FountainSpreadMethod(&_result);
  31273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31274. return _result;
  31275. }
  31276. #pragma implementation_key(4790)
  31277. inline void VGCore::IVGStyleFill::PutFountainSpreadMethod ( enum cdrFountainFillSpreadMethod pVal ) {
  31278. HRESULT _hr = put_FountainSpreadMethod(pVal);
  31279. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31280. }
  31281. #pragma implementation_key(4791)
  31282. inline unsigned char VGCore::IVGStyleFill::GetPrimaryOpacity ( ) {
  31283. unsigned char _result = 0;
  31284. HRESULT _hr = get_PrimaryOpacity(&_result);
  31285. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31286. return _result;
  31287. }
  31288. #pragma implementation_key(4792)
  31289. inline void VGCore::IVGStyleFill::PutPrimaryOpacity ( unsigned char pVal ) {
  31290. HRESULT _hr = put_PrimaryOpacity(pVal);
  31291. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31292. }
  31293. #pragma implementation_key(4793)
  31294. inline unsigned char VGCore::IVGStyleFill::GetSecondaryOpacity ( ) {
  31295. unsigned char _result = 0;
  31296. HRESULT _hr = get_SecondaryOpacity(&_result);
  31297. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31298. return _result;
  31299. }
  31300. #pragma implementation_key(4794)
  31301. inline void VGCore::IVGStyleFill::PutSecondaryOpacity ( unsigned char pVal ) {
  31302. HRESULT _hr = put_SecondaryOpacity(pVal);
  31303. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31304. }
  31305. #pragma implementation_key(4795)
  31306. inline enum VGCore::cdrMergeMode VGCore::IVGStyleFill::GetMergeMode ( ) {
  31307. enum cdrMergeMode _result;
  31308. HRESULT _hr = get_MergeMode(&_result);
  31309. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31310. return _result;
  31311. }
  31312. #pragma implementation_key(4796)
  31313. inline void VGCore::IVGStyleFill::PutMergeMode ( enum cdrMergeMode pVal ) {
  31314. HRESULT _hr = put_MergeMode(pVal);
  31315. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31316. }
  31317. #pragma implementation_key(4797)
  31318. inline VARIANT_BOOL VGCore::IVGStyleFill::SaveFill ( _bstr_t FileName, struct IVGFillMetadata * Metadata ) {
  31319. VARIANT_BOOL _result = 0;
  31320. HRESULT _hr = raw_SaveFill(FileName, Metadata, &_result);
  31321. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31322. return _result;
  31323. }
  31324. #pragma implementation_key(4798)
  31325. inline VARIANT_BOOL VGCore::IVGStyleFill::LoadFill ( _bstr_t FileName, struct IVGFillMetadata * * Metadata ) {
  31326. VARIANT_BOOL _result = 0;
  31327. HRESULT _hr = raw_LoadFill(FileName, Metadata, &_result);
  31328. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31329. return _result;
  31330. }
  31331. //
  31332. // interface IVGStyleCharacter wrapper method implementations
  31333. //
  31334. #pragma implementation_key(4799)
  31335. inline VGCore::IVGStylePtr VGCore::IVGStyleCharacter::GetStyle ( ) {
  31336. struct IVGStyle * _result = 0;
  31337. HRESULT _hr = get_Style(&_result);
  31338. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31339. return IVGStylePtr(_result, false);
  31340. }
  31341. //
  31342. // interface IVGStyleParagraph wrapper method implementations
  31343. //
  31344. #pragma implementation_key(4800)
  31345. inline VGCore::IVGStylePtr VGCore::IVGStyleParagraph::GetStyle ( ) {
  31346. struct IVGStyle * _result = 0;
  31347. HRESULT _hr = get_Style(&_result);
  31348. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31349. return IVGStylePtr(_result, false);
  31350. }
  31351. //
  31352. // interface IVGStyleFrame wrapper method implementations
  31353. //
  31354. #pragma implementation_key(4801)
  31355. inline VGCore::IVGStylePtr VGCore::IVGStyleFrame::GetStyle ( ) {
  31356. struct IVGStyle * _result = 0;
  31357. HRESULT _hr = get_Style(&_result);
  31358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31359. return IVGStylePtr(_result, false);
  31360. }
  31361. //
  31362. // interface IVGStyles wrapper method implementations
  31363. //
  31364. #pragma implementation_key(4802)
  31365. inline long VGCore::IVGStyles::GetCount ( ) {
  31366. long _result = 0;
  31367. HRESULT _hr = get_Count(&_result);
  31368. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31369. return _result;
  31370. }
  31371. #pragma implementation_key(4803)
  31372. inline VGCore::IVGStylePtr VGCore::IVGStyles::GetItem ( long Index ) {
  31373. struct IVGStyle * _result = 0;
  31374. HRESULT _hr = get_Item(Index, &_result);
  31375. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31376. return IVGStylePtr(_result, false);
  31377. }
  31378. #pragma implementation_key(4804)
  31379. inline IUnknownPtr VGCore::IVGStyles::Get_NewEnum ( ) {
  31380. IUnknown * _result = 0;
  31381. HRESULT _hr = get__NewEnum(&_result);
  31382. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31383. return IUnknownPtr(_result, false);
  31384. }
  31385. #pragma implementation_key(4805)
  31386. inline VGCore::IVGStylePtr VGCore::IVGStyles::Find ( _bstr_t Name ) {
  31387. struct IVGStyle * _result = 0;
  31388. HRESULT _hr = raw_Find(Name, &_result);
  31389. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31390. return IVGStylePtr(_result, false);
  31391. }
  31392. #pragma implementation_key(4806)
  31393. inline VGCore::IVGStylePtr VGCore::IVGStyles::GetFirst ( ) {
  31394. struct IVGStyle * _result = 0;
  31395. HRESULT _hr = get_First(&_result);
  31396. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31397. return IVGStylePtr(_result, false);
  31398. }
  31399. #pragma implementation_key(4807)
  31400. inline VGCore::IVGStylePtr VGCore::IVGStyles::GetLast ( ) {
  31401. struct IVGStyle * _result = 0;
  31402. HRESULT _hr = get_Last(&_result);
  31403. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31404. return IVGStylePtr(_result, false);
  31405. }
  31406. //
  31407. // interface IVGStyleTransparency wrapper method implementations
  31408. //
  31409. #pragma implementation_key(4808)
  31410. inline VGCore::IVGStylePtr VGCore::IVGStyleTransparency::GetStyle ( ) {
  31411. struct IVGStyle * _result = 0;
  31412. HRESULT _hr = get_Style(&_result);
  31413. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31414. return IVGStylePtr(_result, false);
  31415. }
  31416. #pragma implementation_key(4809)
  31417. inline VGCore::IVGStyleFillPtr VGCore::IVGStyleTransparency::GetFill ( ) {
  31418. struct IVGStyleFill * _result = 0;
  31419. HRESULT _hr = get_Fill(&_result);
  31420. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31421. return IVGStyleFillPtr(_result, false);
  31422. }
  31423. #pragma implementation_key(4810)
  31424. inline enum VGCore::cdrMergeMode VGCore::IVGStyleTransparency::GetMode ( ) {
  31425. enum cdrMergeMode _result;
  31426. HRESULT _hr = get_Mode(&_result);
  31427. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31428. return _result;
  31429. }
  31430. #pragma implementation_key(4811)
  31431. inline void VGCore::IVGStyleTransparency::PutMode ( enum cdrMergeMode pVal ) {
  31432. HRESULT _hr = put_Mode(pVal);
  31433. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31434. }
  31435. #pragma implementation_key(4812)
  31436. inline double VGCore::IVGStyleTransparency::GetUniformTransparency ( ) {
  31437. double _result = 0;
  31438. HRESULT _hr = get_UniformTransparency(&_result);
  31439. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31440. return _result;
  31441. }
  31442. #pragma implementation_key(4813)
  31443. inline void VGCore::IVGStyleTransparency::PutUniformTransparency ( double pVal ) {
  31444. HRESULT _hr = put_UniformTransparency(pVal);
  31445. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31446. }
  31447. #pragma implementation_key(4814)
  31448. inline double VGCore::IVGStyleTransparency::GetWhiteTransparency ( ) {
  31449. double _result = 0;
  31450. HRESULT _hr = get_WhiteTransparency(&_result);
  31451. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31452. return _result;
  31453. }
  31454. #pragma implementation_key(4815)
  31455. inline void VGCore::IVGStyleTransparency::PutWhiteTransparency ( double pVal ) {
  31456. HRESULT _hr = put_WhiteTransparency(pVal);
  31457. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31458. }
  31459. #pragma implementation_key(4816)
  31460. inline double VGCore::IVGStyleTransparency::GetBlackTransparency ( ) {
  31461. double _result = 0;
  31462. HRESULT _hr = get_BlackTransparency(&_result);
  31463. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31464. return _result;
  31465. }
  31466. #pragma implementation_key(4817)
  31467. inline void VGCore::IVGStyleTransparency::PutBlackTransparency ( double pVal ) {
  31468. HRESULT _hr = put_BlackTransparency(pVal);
  31469. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31470. }
  31471. #pragma implementation_key(4818)
  31472. inline enum VGCore::cdrTransparencyAppliedTo VGCore::IVGStyleTransparency::GetAppliesTo ( ) {
  31473. enum cdrTransparencyAppliedTo _result;
  31474. HRESULT _hr = get_AppliesTo(&_result);
  31475. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31476. return _result;
  31477. }
  31478. #pragma implementation_key(4819)
  31479. inline void VGCore::IVGStyleTransparency::PutAppliesTo ( enum cdrTransparencyAppliedTo pVal ) {
  31480. HRESULT _hr = put_AppliesTo(pVal);
  31481. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31482. }
  31483. //
  31484. // interface IVGToolShape wrapper method implementations
  31485. //
  31486. #pragma implementation_key(4820)
  31487. inline HRESULT VGCore::IVGToolShape::OnGenerateShape ( struct IVGLayer * Parent, struct IVGProperties * ObjectProperties, struct IVGStyle * pStyleAttributes, struct IVGTransformMatrix * pTransformation, VARIANT_BOOL IsPreviewOnly ) {
  31488. HRESULT _hr = raw_OnGenerateShape(Parent, ObjectProperties, pStyleAttributes, pTransformation, IsPreviewOnly);
  31489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31490. return _hr;
  31491. }
  31492. //
  31493. // interface IVGStyleSheet wrapper method implementations
  31494. //
  31495. #pragma implementation_key(4821)
  31496. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetStyles ( ) {
  31497. struct IVGStyles * _result = 0;
  31498. HRESULT _hr = get_Styles(&_result);
  31499. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31500. return IVGStylesPtr(_result, false);
  31501. }
  31502. #pragma implementation_key(4822)
  31503. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetStyleSets ( ) {
  31504. struct IVGStyles * _result = 0;
  31505. HRESULT _hr = get_StyleSets(&_result);
  31506. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31507. return IVGStylesPtr(_result, false);
  31508. }
  31509. #pragma implementation_key(4823)
  31510. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetObjectDefaults ( ) {
  31511. struct IVGStyles * _result = 0;
  31512. HRESULT _hr = get_ObjectDefaults(&_result);
  31513. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31514. return IVGStylesPtr(_result, false);
  31515. }
  31516. #pragma implementation_key(4824)
  31517. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetAllStyles ( ) {
  31518. struct IVGStyles * _result = 0;
  31519. HRESULT _hr = get_AllStyles(&_result);
  31520. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31521. return IVGStylesPtr(_result, false);
  31522. }
  31523. #pragma implementation_key(4825)
  31524. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetAllStyleSets ( ) {
  31525. struct IVGStyles * _result = 0;
  31526. HRESULT _hr = get_AllStyleSets(&_result);
  31527. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31528. return IVGStylesPtr(_result, false);
  31529. }
  31530. #pragma implementation_key(4826)
  31531. inline VGCore::IVGStylePtr VGCore::IVGStyleSheet::FindStyle ( _bstr_t Name ) {
  31532. struct IVGStyle * _result = 0;
  31533. HRESULT _hr = raw_FindStyle(Name, &_result);
  31534. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31535. return IVGStylePtr(_result, false);
  31536. }
  31537. #pragma implementation_key(4827)
  31538. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleFromShape ( struct IVGShape * Shape, _bstr_t Category, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31539. struct IVGStyles * _result = 0;
  31540. HRESULT _hr = raw_CreateStyleFromShape(Shape, Category, Name, ReplaceExisting, &_result);
  31541. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31542. return IVGStylesPtr(_result, false);
  31543. }
  31544. #pragma implementation_key(4828)
  31545. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleFromShapeRange ( struct IVGShapeRange * ShapeRange, _bstr_t Category, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31546. struct IVGStyles * _result = 0;
  31547. HRESULT _hr = raw_CreateStyleFromShapeRange(ShapeRange, Category, Name, ReplaceExisting, &_result);
  31548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31549. return IVGStylesPtr(_result, false);
  31550. }
  31551. #pragma implementation_key(4829)
  31552. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleFromTextRange ( struct IVGTextRange * TextRange, _bstr_t Category, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31553. struct IVGStyles * _result = 0;
  31554. HRESULT _hr = raw_CreateStyleFromTextRange(TextRange, Category, Name, ReplaceExisting, &_result);
  31555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31556. return IVGStylesPtr(_result, false);
  31557. }
  31558. #pragma implementation_key(4830)
  31559. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleSetFromShape ( struct IVGShape * Shape, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31560. struct IVGStyles * _result = 0;
  31561. HRESULT _hr = raw_CreateStyleSetFromShape(Shape, Name, ReplaceExisting, &_result);
  31562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31563. return IVGStylesPtr(_result, false);
  31564. }
  31565. #pragma implementation_key(4831)
  31566. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleSetFromShapeRange ( struct IVGShapeRange * ShapeRange, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31567. struct IVGStyles * _result = 0;
  31568. HRESULT _hr = raw_CreateStyleSetFromShapeRange(ShapeRange, Name, ReplaceExisting, &_result);
  31569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31570. return IVGStylesPtr(_result, false);
  31571. }
  31572. #pragma implementation_key(4832)
  31573. inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleSetFromTextRange ( struct IVGTextRange * TextRange, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31574. struct IVGStyles * _result = 0;
  31575. HRESULT _hr = raw_CreateStyleSetFromTextRange(TextRange, Name, ReplaceExisting, &_result);
  31576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31577. return IVGStylesPtr(_result, false);
  31578. }
  31579. #pragma implementation_key(4833)
  31580. inline VGCore::IVGStylePtr VGCore::IVGStyleSheet::CreateStyle ( _bstr_t Category, _bstr_t BasedOn, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31581. struct IVGStyle * _result = 0;
  31582. HRESULT _hr = raw_CreateStyle(Category, BasedOn, Name, ReplaceExisting, &_result);
  31583. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31584. return IVGStylePtr(_result, false);
  31585. }
  31586. #pragma implementation_key(4834)
  31587. inline VGCore::IVGStylePtr VGCore::IVGStyleSheet::CreateStyleSet ( _bstr_t BasedOn, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
  31588. struct IVGStyle * _result = 0;
  31589. HRESULT _hr = raw_CreateStyleSet(BasedOn, Name, ReplaceExisting, &_result);
  31590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31591. return IVGStylePtr(_result, false);
  31592. }
  31593. #pragma implementation_key(4835)
  31594. inline VARIANT_BOOL VGCore::IVGStyleSheet::Export ( _bstr_t FileName, VARIANT_BOOL Styles, VARIANT_BOOL StyleSets, VARIANT_BOOL ObjectDefaults, VARIANT_BOOL ColorStyles ) {
  31595. VARIANT_BOOL _result = 0;
  31596. HRESULT _hr = raw_Export(FileName, Styles, StyleSets, ObjectDefaults, ColorStyles, &_result);
  31597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31598. return _result;
  31599. }
  31600. #pragma implementation_key(4836)
  31601. inline VARIANT_BOOL VGCore::IVGStyleSheet::Import ( _bstr_t FileName, VARIANT_BOOL MergeStyles, VARIANT_BOOL Styles, VARIANT_BOOL StyleSets, VARIANT_BOOL ObjectDefaults, VARIANT_BOOL ColorStyles ) {
  31602. VARIANT_BOOL _result = 0;
  31603. HRESULT _hr = raw_Import(FileName, MergeStyles, Styles, StyleSets, ObjectDefaults, ColorStyles, &_result);
  31604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31605. return _result;
  31606. }
  31607. #pragma implementation_key(4837)
  31608. inline VGCore::IVGColorsPtr VGCore::IVGStyleSheet::GetAllColorStyles ( ) {
  31609. struct IVGColors * _result = 0;
  31610. HRESULT _hr = get_AllColorStyles(&_result);
  31611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31612. return IVGColorsPtr(_result, false);
  31613. }
  31614. #pragma implementation_key(4838)
  31615. inline VGCore::IVGColorPtr VGCore::IVGStyleSheet::CreateColorStyle ( _bstr_t Name, struct IVGColor * Color, long HarmonyIndex, long IndexInHarmony, VARIANT_BOOL ReplaceExisting ) {
  31616. struct IVGColor * _result = 0;
  31617. HRESULT _hr = raw_CreateColorStyle(Name, Color, HarmonyIndex, IndexInHarmony, ReplaceExisting, &_result);
  31618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31619. return IVGColorPtr(_result, false);
  31620. }
  31621. #pragma implementation_key(4839)
  31622. inline HRESULT VGCore::IVGStyleSheet::DeleteAllColorStyles ( ) {
  31623. HRESULT _hr = raw_DeleteAllColorStyles();
  31624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31625. return _hr;
  31626. }
  31627. #pragma implementation_key(4840)
  31628. inline HRESULT VGCore::IVGStyleSheet::DeleteColorStyle ( _bstr_t Name ) {
  31629. HRESULT _hr = raw_DeleteColorStyle(Name);
  31630. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31631. return _hr;
  31632. }
  31633. #pragma implementation_key(4841)
  31634. inline HRESULT VGCore::IVGStyleSheet::RenameColorStyle ( _bstr_t OldName, _bstr_t NewName ) {
  31635. HRESULT _hr = raw_RenameColorStyle(OldName, NewName);
  31636. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31637. return _hr;
  31638. }
  31639. //
  31640. // interface IVGDataItems wrapper method implementations
  31641. //
  31642. #pragma implementation_key(4842)
  31643. inline VGCore::IVGApplicationPtr VGCore::IVGDataItems::GetApplication ( ) {
  31644. struct IVGApplication * _result = 0;
  31645. HRESULT _hr = get_Application(&_result);
  31646. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31647. return IVGApplicationPtr(_result, false);
  31648. }
  31649. #pragma implementation_key(4843)
  31650. inline VGCore::IVGShapePtr VGCore::IVGDataItems::GetParent ( ) {
  31651. struct IVGShape * _result = 0;
  31652. HRESULT _hr = get_Parent(&_result);
  31653. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31654. return IVGShapePtr(_result, false);
  31655. }
  31656. #pragma implementation_key(4844)
  31657. inline long VGCore::IVGDataItems::GetCount ( ) {
  31658. long _result = 0;
  31659. HRESULT _hr = get_Count(&_result);
  31660. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31661. return _result;
  31662. }
  31663. #pragma implementation_key(4845)
  31664. inline VGCore::IVGDataItemPtr VGCore::IVGDataItems::GetItem ( const _variant_t & IndexOrName ) {
  31665. struct IVGDataItem * _result = 0;
  31666. HRESULT _hr = get_Item(IndexOrName, &_result);
  31667. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31668. return IVGDataItemPtr(_result, false);
  31669. }
  31670. #pragma implementation_key(4846)
  31671. inline IUnknownPtr VGCore::IVGDataItems::Get_NewEnum ( ) {
  31672. IUnknown * _result = 0;
  31673. HRESULT _hr = get__NewEnum(&_result);
  31674. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31675. return IUnknownPtr(_result, false);
  31676. }
  31677. #pragma implementation_key(4847)
  31678. inline VGCore::IVGDataItemPtr VGCore::IVGDataItems::Add ( struct IVGDataField * DataField, const _variant_t & Value ) {
  31679. struct IVGDataItem * _result = 0;
  31680. HRESULT _hr = raw_Add(DataField, Value, &_result);
  31681. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31682. return IVGDataItemPtr(_result, false);
  31683. }
  31684. #pragma implementation_key(4848)
  31685. inline HRESULT VGCore::IVGDataItems::CopyFrom ( struct IVGShape * Shape ) {
  31686. HRESULT _hr = raw_CopyFrom(Shape);
  31687. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31688. return _hr;
  31689. }
  31690. #pragma implementation_key(4849)
  31691. inline HRESULT VGCore::IVGDataItems::Clear ( ) {
  31692. HRESULT _hr = raw_Clear();
  31693. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31694. return _hr;
  31695. }
  31696. //
  31697. // interface IVGDataItem wrapper method implementations
  31698. //
  31699. #pragma implementation_key(4850)
  31700. inline VGCore::IVGApplicationPtr VGCore::IVGDataItem::GetApplication ( ) {
  31701. struct IVGApplication * _result = 0;
  31702. HRESULT _hr = get_Application(&_result);
  31703. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31704. return IVGApplicationPtr(_result, false);
  31705. }
  31706. #pragma implementation_key(4851)
  31707. inline VGCore::IVGDataItemsPtr VGCore::IVGDataItem::GetParent ( ) {
  31708. struct IVGDataItems * _result = 0;
  31709. HRESULT _hr = get_Parent(&_result);
  31710. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31711. return IVGDataItemsPtr(_result, false);
  31712. }
  31713. #pragma implementation_key(4852)
  31714. inline _variant_t VGCore::IVGDataItem::GetValue ( ) {
  31715. VARIANT _result;
  31716. VariantInit(&_result);
  31717. HRESULT _hr = get_Value(&_result);
  31718. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31719. return _variant_t(_result, false);
  31720. }
  31721. #pragma implementation_key(4853)
  31722. inline void VGCore::IVGDataItem::PutValue ( const _variant_t & pVal ) {
  31723. HRESULT _hr = put_Value(pVal);
  31724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31725. }
  31726. #pragma implementation_key(4854)
  31727. inline VGCore::IVGDataFieldPtr VGCore::IVGDataItem::GetDataField ( ) {
  31728. struct IVGDataField * _result = 0;
  31729. HRESULT _hr = get_DataField(&_result);
  31730. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31731. return IVGDataFieldPtr(_result, false);
  31732. }
  31733. #pragma implementation_key(4855)
  31734. inline HRESULT VGCore::IVGDataItem::Clear ( ) {
  31735. HRESULT _hr = raw_Clear();
  31736. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31737. return _hr;
  31738. }
  31739. #pragma implementation_key(4856)
  31740. inline _bstr_t VGCore::IVGDataItem::GetFormattedValue ( ) {
  31741. BSTR _result = 0;
  31742. HRESULT _hr = get_FormattedValue(&_result);
  31743. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31744. return _bstr_t(_result, false);
  31745. }
  31746. //
  31747. // interface IVGDataField wrapper method implementations
  31748. //
  31749. #pragma implementation_key(4857)
  31750. inline VGCore::IVGApplicationPtr VGCore::IVGDataField::GetApplication ( ) {
  31751. struct IVGApplication * _result = 0;
  31752. HRESULT _hr = get_Application(&_result);
  31753. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31754. return IVGApplicationPtr(_result, false);
  31755. }
  31756. #pragma implementation_key(4858)
  31757. inline VGCore::IVGDataFieldsPtr VGCore::IVGDataField::GetParent ( ) {
  31758. struct IVGDataFields * _result = 0;
  31759. HRESULT _hr = get_Parent(&_result);
  31760. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31761. return IVGDataFieldsPtr(_result, false);
  31762. }
  31763. #pragma implementation_key(4859)
  31764. inline _bstr_t VGCore::IVGDataField::GetName ( ) {
  31765. BSTR _result = 0;
  31766. HRESULT _hr = get_Name(&_result);
  31767. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31768. return _bstr_t(_result, false);
  31769. }
  31770. #pragma implementation_key(4860)
  31771. inline void VGCore::IVGDataField::PutName ( _bstr_t pVal ) {
  31772. HRESULT _hr = put_Name(pVal);
  31773. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31774. }
  31775. #pragma implementation_key(4861)
  31776. inline enum VGCore::cdrDataFormatType VGCore::IVGDataField::GetFormatType ( ) {
  31777. enum cdrDataFormatType _result;
  31778. HRESULT _hr = get_FormatType(&_result);
  31779. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31780. return _result;
  31781. }
  31782. #pragma implementation_key(4862)
  31783. inline _bstr_t VGCore::IVGDataField::GetFormat ( ) {
  31784. BSTR _result = 0;
  31785. HRESULT _hr = get_Format(&_result);
  31786. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31787. return _bstr_t(_result, false);
  31788. }
  31789. #pragma implementation_key(4863)
  31790. inline void VGCore::IVGDataField::PutFormat ( _bstr_t pVal ) {
  31791. HRESULT _hr = put_Format(pVal);
  31792. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31793. }
  31794. #pragma implementation_key(4864)
  31795. inline long VGCore::IVGDataField::GetFieldWidth ( ) {
  31796. long _result = 0;
  31797. HRESULT _hr = get_FieldWidth(&_result);
  31798. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31799. return _result;
  31800. }
  31801. #pragma implementation_key(4865)
  31802. inline void VGCore::IVGDataField::PutFieldWidth ( long pVal ) {
  31803. HRESULT _hr = put_FieldWidth(pVal);
  31804. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31805. }
  31806. #pragma implementation_key(4866)
  31807. inline VARIANT_BOOL VGCore::IVGDataField::GetAppDefault ( ) {
  31808. VARIANT_BOOL _result = 0;
  31809. HRESULT _hr = get_AppDefault(&_result);
  31810. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31811. return _result;
  31812. }
  31813. #pragma implementation_key(4867)
  31814. inline void VGCore::IVGDataField::PutAppDefault ( VARIANT_BOOL pVal ) {
  31815. HRESULT _hr = put_AppDefault(pVal);
  31816. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31817. }
  31818. #pragma implementation_key(4868)
  31819. inline VARIANT_BOOL VGCore::IVGDataField::GetDocDefault ( ) {
  31820. VARIANT_BOOL _result = 0;
  31821. HRESULT _hr = get_DocDefault(&_result);
  31822. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31823. return _result;
  31824. }
  31825. #pragma implementation_key(4869)
  31826. inline void VGCore::IVGDataField::PutDocDefault ( VARIANT_BOOL pVal ) {
  31827. HRESULT _hr = put_DocDefault(pVal);
  31828. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31829. }
  31830. #pragma implementation_key(4870)
  31831. inline VARIANT_BOOL VGCore::IVGDataField::GetSummarizeGroup ( ) {
  31832. VARIANT_BOOL _result = 0;
  31833. HRESULT _hr = get_SummarizeGroup(&_result);
  31834. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31835. return _result;
  31836. }
  31837. #pragma implementation_key(4871)
  31838. inline void VGCore::IVGDataField::PutSummarizeGroup ( VARIANT_BOOL pVal ) {
  31839. HRESULT _hr = put_SummarizeGroup(pVal);
  31840. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31841. }
  31842. #pragma implementation_key(4872)
  31843. inline HRESULT VGCore::IVGDataField::Delete ( ) {
  31844. HRESULT _hr = raw_Delete();
  31845. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31846. return _hr;
  31847. }
  31848. #pragma implementation_key(4873)
  31849. inline HRESULT VGCore::IVGDataField::Reorder ( long NewIndex ) {
  31850. HRESULT _hr = raw_Reorder(NewIndex);
  31851. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31852. return _hr;
  31853. }
  31854. #pragma implementation_key(4874)
  31855. inline long VGCore::IVGDataField::GetIndex ( ) {
  31856. long _result = 0;
  31857. HRESULT _hr = get_Index(&_result);
  31858. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31859. return _result;
  31860. }
  31861. #pragma implementation_key(4875)
  31862. inline _bstr_t VGCore::IVGDataField::GetTarget ( ) {
  31863. BSTR _result = 0;
  31864. HRESULT _hr = get_Target(&_result);
  31865. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31866. return _bstr_t(_result, false);
  31867. }
  31868. #pragma implementation_key(4876)
  31869. inline void VGCore::IVGDataField::PutTarget ( _bstr_t pVal ) {
  31870. HRESULT _hr = put_Target(pVal);
  31871. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31872. }
  31873. #pragma implementation_key(4877)
  31874. inline _bstr_t VGCore::IVGDataField::GetDefaultValue ( ) {
  31875. BSTR _result = 0;
  31876. HRESULT _hr = get_DefaultValue(&_result);
  31877. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31878. return _bstr_t(_result, false);
  31879. }
  31880. #pragma implementation_key(4878)
  31881. inline void VGCore::IVGDataField::PutDefaultValue ( _bstr_t pVal ) {
  31882. HRESULT _hr = put_DefaultValue(pVal);
  31883. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31884. }
  31885. #pragma implementation_key(4879)
  31886. inline _bstr_t VGCore::IVGDataField::GetConstraint ( ) {
  31887. BSTR _result = 0;
  31888. HRESULT _hr = get_Constraint(&_result);
  31889. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31890. return _bstr_t(_result, false);
  31891. }
  31892. #pragma implementation_key(4880)
  31893. inline void VGCore::IVGDataField::PutConstraint ( _bstr_t pVal ) {
  31894. HRESULT _hr = put_Constraint(pVal);
  31895. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31896. }
  31897. #pragma implementation_key(4881)
  31898. inline enum VGCore::cdrDataType VGCore::IVGDataField::GetDataType ( ) {
  31899. enum cdrDataType _result;
  31900. HRESULT _hr = get_DataType(&_result);
  31901. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31902. return _result;
  31903. }
  31904. #pragma implementation_key(4882)
  31905. inline void VGCore::IVGDataField::PutDataType ( enum cdrDataType pVal ) {
  31906. HRESULT _hr = put_DataType(pVal);
  31907. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31908. }
  31909. #pragma implementation_key(4883)
  31910. inline _bstr_t VGCore::IVGDataField::GetParentName ( ) {
  31911. BSTR _result = 0;
  31912. HRESULT _hr = get_ParentName(&_result);
  31913. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31914. return _bstr_t(_result, false);
  31915. }
  31916. #pragma implementation_key(4884)
  31917. inline void VGCore::IVGDataField::PutParentName ( _bstr_t pVal ) {
  31918. HRESULT _hr = put_ParentName(pVal);
  31919. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31920. }
  31921. #pragma implementation_key(4885)
  31922. inline _bstr_t VGCore::IVGDataField::GetElementName ( ) {
  31923. BSTR _result = 0;
  31924. HRESULT _hr = get_ElementName(&_result);
  31925. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31926. return _bstr_t(_result, false);
  31927. }
  31928. #pragma implementation_key(4886)
  31929. inline void VGCore::IVGDataField::PutElementName ( _bstr_t pVal ) {
  31930. HRESULT _hr = put_ElementName(pVal);
  31931. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31932. }
  31933. //
  31934. // interface IVGDataFields wrapper method implementations
  31935. //
  31936. #pragma implementation_key(4887)
  31937. inline VGCore::IVGApplicationPtr VGCore::IVGDataFields::GetApplication ( ) {
  31938. struct IVGApplication * _result = 0;
  31939. HRESULT _hr = get_Application(&_result);
  31940. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31941. return IVGApplicationPtr(_result, false);
  31942. }
  31943. #pragma implementation_key(4888)
  31944. inline VGCore::IVGDocumentPtr VGCore::IVGDataFields::GetParent ( ) {
  31945. struct IVGDocument * _result = 0;
  31946. HRESULT _hr = get_Parent(&_result);
  31947. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31948. return IVGDocumentPtr(_result, false);
  31949. }
  31950. #pragma implementation_key(4889)
  31951. inline long VGCore::IVGDataFields::GetCount ( ) {
  31952. long _result = 0;
  31953. HRESULT _hr = get_Count(&_result);
  31954. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31955. return _result;
  31956. }
  31957. #pragma implementation_key(4890)
  31958. inline VGCore::IVGDataFieldPtr VGCore::IVGDataFields::GetItem ( const _variant_t & IndexOrName ) {
  31959. struct IVGDataField * _result = 0;
  31960. HRESULT _hr = get_Item(IndexOrName, &_result);
  31961. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31962. return IVGDataFieldPtr(_result, false);
  31963. }
  31964. #pragma implementation_key(4891)
  31965. inline IUnknownPtr VGCore::IVGDataFields::Get_NewEnum ( ) {
  31966. IUnknown * _result = 0;
  31967. HRESULT _hr = get__NewEnum(&_result);
  31968. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31969. return IUnknownPtr(_result, false);
  31970. }
  31971. #pragma implementation_key(4892)
  31972. inline VGCore::IVGDataFieldPtr VGCore::IVGDataFields::Add ( _bstr_t Name, _bstr_t Format, VARIANT_BOOL AppDefault, VARIANT_BOOL DocDefault, VARIANT_BOOL SummarizeGroup ) {
  31973. struct IVGDataField * _result = 0;
  31974. HRESULT _hr = raw_Add(Name, Format, AppDefault, DocDefault, SummarizeGroup, &_result);
  31975. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31976. return IVGDataFieldPtr(_result, false);
  31977. }
  31978. #pragma implementation_key(4893)
  31979. inline VGCore::IVGDataFieldPtr VGCore::IVGDataFields::AddEx ( _bstr_t Name, enum cdrDataType DataType, _bstr_t DefaultValue, _bstr_t Constraint, _bstr_t Target, _bstr_t Format, VARIANT_BOOL AppDefault, VARIANT_BOOL DocDefault, VARIANT_BOOL SummarizeGroup, long FieldWidth ) {
  31980. struct IVGDataField * _result = 0;
  31981. HRESULT _hr = raw_AddEx(Name, DataType, DefaultValue, Constraint, Target, Format, AppDefault, DocDefault, SummarizeGroup, FieldWidth, &_result);
  31982. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31983. return IVGDataFieldPtr(_result, false);
  31984. }
  31985. #pragma implementation_key(4894)
  31986. inline VARIANT_BOOL VGCore::IVGDataFields::IsPresent ( _bstr_t FieldName ) {
  31987. VARIANT_BOOL _result = 0;
  31988. HRESULT _hr = raw_IsPresent(FieldName, &_result);
  31989. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31990. return _result;
  31991. }
  31992. #pragma implementation_key(4895)
  31993. inline VGCore::IVGDataFieldPtr VGCore::IVGDataFields::AddEx2 ( _bstr_t ParentName, _bstr_t ElementName, _bstr_t Name, enum cdrDataType DataType, _bstr_t DefaultValue, _bstr_t Constraint, _bstr_t Target, _bstr_t Format, VARIANT_BOOL AppDefault, VARIANT_BOOL DocDefault, VARIANT_BOOL SummarizeGroup, long FieldWidth ) {
  31994. struct IVGDataField * _result = 0;
  31995. HRESULT _hr = raw_AddEx2(ParentName, ElementName, Name, DataType, DefaultValue, Constraint, Target, Format, AppDefault, DocDefault, SummarizeGroup, FieldWidth, &_result);
  31996. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  31997. return IVGDataFieldPtr(_result, false);
  31998. }
  31999. //
  32000. // interface IVGSymbol wrapper method implementations
  32001. //
  32002. #pragma implementation_key(4896)
  32003. inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbol::GetDefinition ( ) {
  32004. struct IVGSymbolDefinition * _result = 0;
  32005. HRESULT _hr = get_Definition(&_result);
  32006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32007. return IVGSymbolDefinitionPtr(_result, false);
  32008. }
  32009. #pragma implementation_key(4897)
  32010. inline VGCore::IVGShapeRangePtr VGCore::IVGSymbol::RevertToShapes ( ) {
  32011. struct IVGShapeRange * _result = 0;
  32012. HRESULT _hr = raw_RevertToShapes(&_result);
  32013. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32014. return IVGShapeRangePtr(_result, false);
  32015. }
  32016. //
  32017. // interface IVGSymbolDefinition wrapper method implementations
  32018. //
  32019. #pragma implementation_key(4898)
  32020. inline _bstr_t VGCore::IVGSymbolDefinition::GetName ( ) {
  32021. BSTR _result = 0;
  32022. HRESULT _hr = get_Name(&_result);
  32023. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32024. return _bstr_t(_result, false);
  32025. }
  32026. #pragma implementation_key(4899)
  32027. inline void VGCore::IVGSymbolDefinition::PutName ( _bstr_t pVal ) {
  32028. HRESULT _hr = put_Name(pVal);
  32029. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32030. }
  32031. #pragma implementation_key(4900)
  32032. inline _bstr_t VGCore::IVGSymbolDefinition::GetDescription ( ) {
  32033. BSTR _result = 0;
  32034. HRESULT _hr = get_Description(&_result);
  32035. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32036. return _bstr_t(_result, false);
  32037. }
  32038. #pragma implementation_key(4901)
  32039. inline void VGCore::IVGSymbolDefinition::PutDescription ( _bstr_t pVal ) {
  32040. HRESULT _hr = put_Description(pVal);
  32041. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32042. }
  32043. #pragma implementation_key(4902)
  32044. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetLinked ( ) {
  32045. VARIANT_BOOL _result = 0;
  32046. HRESULT _hr = get_Linked(&_result);
  32047. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32048. return _result;
  32049. }
  32050. #pragma implementation_key(4903)
  32051. inline _bstr_t VGCore::IVGSymbolDefinition::GetLinkLibraryPath ( ) {
  32052. BSTR _result = 0;
  32053. HRESULT _hr = get_LinkLibraryPath(&_result);
  32054. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32055. return _bstr_t(_result, false);
  32056. }
  32057. #pragma implementation_key(4904)
  32058. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetNested ( ) {
  32059. VARIANT_BOOL _result = 0;
  32060. HRESULT _hr = get_Nested(&_result);
  32061. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32062. return _result;
  32063. }
  32064. #pragma implementation_key(4905)
  32065. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetHasLinks ( ) {
  32066. VARIANT_BOOL _result = 0;
  32067. HRESULT _hr = get_HasLinks(&_result);
  32068. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32069. return _result;
  32070. }
  32071. #pragma implementation_key(4906)
  32072. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetIsLinkBroken ( ) {
  32073. VARIANT_BOOL _result = 0;
  32074. HRESULT _hr = get_IsLinkBroken(&_result);
  32075. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32076. return _result;
  32077. }
  32078. #pragma implementation_key(4907)
  32079. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetIsLinkUpdated ( ) {
  32080. VARIANT_BOOL _result = 0;
  32081. HRESULT _hr = get_IsLinkUpdated(&_result);
  32082. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32083. return _result;
  32084. }
  32085. #pragma implementation_key(4908)
  32086. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetHasBrokenLinks ( ) {
  32087. VARIANT_BOOL _result = 0;
  32088. HRESULT _hr = get_HasBrokenLinks(&_result);
  32089. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32090. return _result;
  32091. }
  32092. #pragma implementation_key(4909)
  32093. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetHasUpdatedLinks ( ) {
  32094. VARIANT_BOOL _result = 0;
  32095. HRESULT _hr = get_HasUpdatedLinks(&_result);
  32096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32097. return _result;
  32098. }
  32099. #pragma implementation_key(4910)
  32100. inline VGCore::IVGSymbolDefinitionsPtr VGCore::IVGSymbolDefinition::GetNestedSymbols ( ) {
  32101. struct IVGSymbolDefinitions * _result = 0;
  32102. HRESULT _hr = get_NestedSymbols(&_result);
  32103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32104. return IVGSymbolDefinitionsPtr(_result, false);
  32105. }
  32106. #pragma implementation_key(4911)
  32107. inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetEditable ( ) {
  32108. VARIANT_BOOL _result = 0;
  32109. HRESULT _hr = get_Editable(&_result);
  32110. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32111. return _result;
  32112. }
  32113. #pragma implementation_key(4912)
  32114. inline long VGCore::IVGSymbolDefinition::GetInstanceCount ( ) {
  32115. long _result = 0;
  32116. HRESULT _hr = get_InstanceCount(&_result);
  32117. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32118. return _result;
  32119. }
  32120. #pragma implementation_key(4913)
  32121. inline VGCore::IVGShapeRangePtr VGCore::IVGSymbolDefinition::GetInstances ( ) {
  32122. struct IVGShapeRange * _result = 0;
  32123. HRESULT _hr = get_Instances(&_result);
  32124. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32125. return IVGShapeRangePtr(_result, false);
  32126. }
  32127. #pragma implementation_key(4914)
  32128. inline HRESULT VGCore::IVGSymbolDefinition::EnterEditMode ( ) {
  32129. HRESULT _hr = raw_EnterEditMode();
  32130. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32131. return _hr;
  32132. }
  32133. #pragma implementation_key(4915)
  32134. inline HRESULT VGCore::IVGSymbolDefinition::LeaveEditMode ( ) {
  32135. HRESULT _hr = raw_LeaveEditMode();
  32136. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32137. return _hr;
  32138. }
  32139. #pragma implementation_key(4916)
  32140. inline HRESULT VGCore::IVGSymbolDefinition::Delete ( ) {
  32141. HRESULT _hr = raw_Delete();
  32142. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32143. return _hr;
  32144. }
  32145. #pragma implementation_key(4917)
  32146. inline HRESULT VGCore::IVGSymbolDefinition::Copy ( ) {
  32147. HRESULT _hr = raw_Copy();
  32148. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32149. return _hr;
  32150. }
  32151. #pragma implementation_key(4918)
  32152. inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbolDefinition::Duplicate ( _bstr_t Name ) {
  32153. struct IVGSymbolDefinition * _result = 0;
  32154. HRESULT _hr = raw_Duplicate(Name, &_result);
  32155. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32156. return IVGSymbolDefinitionPtr(_result, false);
  32157. }
  32158. #pragma implementation_key(4919)
  32159. inline HRESULT VGCore::IVGSymbolDefinition::BreakLink ( ) {
  32160. HRESULT _hr = raw_BreakLink();
  32161. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32162. return _hr;
  32163. }
  32164. #pragma implementation_key(4920)
  32165. inline HRESULT VGCore::IVGSymbolDefinition::UpdateLinks ( ) {
  32166. HRESULT _hr = raw_UpdateLinks();
  32167. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32168. return _hr;
  32169. }
  32170. #pragma implementation_key(4921)
  32171. inline HRESULT VGCore::IVGSymbolDefinition::FixLink ( _bstr_t LibraryPath ) {
  32172. HRESULT _hr = raw_FixLink(LibraryPath);
  32173. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32174. return _hr;
  32175. }
  32176. #pragma implementation_key(4922)
  32177. inline enum VGCore::cdrSymbolType VGCore::IVGSymbolDefinition::GetType ( ) {
  32178. enum cdrSymbolType _result;
  32179. HRESULT _hr = get_Type(&_result);
  32180. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32181. return _result;
  32182. }
  32183. //
  32184. // interface IVGSymbolDefinitions wrapper method implementations
  32185. //
  32186. #pragma implementation_key(4923)
  32187. inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbolDefinitions::GetItem ( const _variant_t & IndexOrName ) {
  32188. struct IVGSymbolDefinition * _result = 0;
  32189. HRESULT _hr = get_Item(IndexOrName, &_result);
  32190. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32191. return IVGSymbolDefinitionPtr(_result, false);
  32192. }
  32193. #pragma implementation_key(4924)
  32194. inline long VGCore::IVGSymbolDefinitions::GetCount ( ) {
  32195. long _result = 0;
  32196. HRESULT _hr = get_Count(&_result);
  32197. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32198. return _result;
  32199. }
  32200. #pragma implementation_key(4925)
  32201. inline IUnknownPtr VGCore::IVGSymbolDefinitions::Get_NewEnum ( ) {
  32202. IUnknown * _result = 0;
  32203. HRESULT _hr = get__NewEnum(&_result);
  32204. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32205. return IUnknownPtr(_result, false);
  32206. }
  32207. //
  32208. // interface IVGSymbolLibrary wrapper method implementations
  32209. //
  32210. #pragma implementation_key(4926)
  32211. inline VGCore::IVGSymbolDefinitionsPtr VGCore::IVGSymbolLibrary::GetSymbols ( ) {
  32212. struct IVGSymbolDefinitions * _result = 0;
  32213. HRESULT _hr = get_Symbols(&_result);
  32214. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32215. return IVGSymbolDefinitionsPtr(_result, false);
  32216. }
  32217. #pragma implementation_key(4927)
  32218. inline _bstr_t VGCore::IVGSymbolLibrary::GetName ( ) {
  32219. BSTR _result = 0;
  32220. HRESULT _hr = get_Name(&_result);
  32221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32222. return _bstr_t(_result, false);
  32223. }
  32224. #pragma implementation_key(4928)
  32225. inline _bstr_t VGCore::IVGSymbolLibrary::GetFilePath ( ) {
  32226. BSTR _result = 0;
  32227. HRESULT _hr = get_FilePath(&_result);
  32228. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32229. return _bstr_t(_result, false);
  32230. }
  32231. #pragma implementation_key(4929)
  32232. inline VARIANT_BOOL VGCore::IVGSymbolLibrary::GetReadOnly ( ) {
  32233. VARIANT_BOOL _result = 0;
  32234. HRESULT _hr = get_ReadOnly(&_result);
  32235. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32236. return _result;
  32237. }
  32238. #pragma implementation_key(4930)
  32239. inline HRESULT VGCore::IVGSymbolLibrary::Delete ( ) {
  32240. HRESULT _hr = raw_Delete();
  32241. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32242. return _hr;
  32243. }
  32244. #pragma implementation_key(4931)
  32245. inline HRESULT VGCore::IVGSymbolLibrary::PurgeUnusedSymbols ( ) {
  32246. HRESULT _hr = raw_PurgeUnusedSymbols();
  32247. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32248. return _hr;
  32249. }
  32250. #pragma implementation_key(4932)
  32251. inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbolLibrary::Paste ( _bstr_t Name ) {
  32252. struct IVGSymbolDefinition * _result = 0;
  32253. HRESULT _hr = raw_Paste(Name, &_result);
  32254. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32255. return IVGSymbolDefinitionPtr(_result, false);
  32256. }
  32257. //
  32258. // interface IVGSymbolLibraries wrapper method implementations
  32259. //
  32260. #pragma implementation_key(4933)
  32261. inline VGCore::IVGSymbolLibraryPtr VGCore::IVGSymbolLibraries::GetItem ( const _variant_t & IndexOrName ) {
  32262. struct IVGSymbolLibrary * _result = 0;
  32263. HRESULT _hr = get_Item(IndexOrName, &_result);
  32264. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32265. return IVGSymbolLibraryPtr(_result, false);
  32266. }
  32267. #pragma implementation_key(4934)
  32268. inline long VGCore::IVGSymbolLibraries::GetCount ( ) {
  32269. long _result = 0;
  32270. HRESULT _hr = get_Count(&_result);
  32271. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32272. return _result;
  32273. }
  32274. #pragma implementation_key(4935)
  32275. inline VGCore::IVGSymbolLibraryPtr VGCore::IVGSymbolLibraries::Add ( _bstr_t FileName, VARIANT_BOOL CopyLocally ) {
  32276. struct IVGSymbolLibrary * _result = 0;
  32277. HRESULT _hr = raw_Add(FileName, CopyLocally, &_result);
  32278. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32279. return IVGSymbolLibraryPtr(_result, false);
  32280. }
  32281. #pragma implementation_key(4936)
  32282. inline long VGCore::IVGSymbolLibraries::AddFromFolder ( _bstr_t Folder, VARIANT_BOOL Recursive, VARIANT_BOOL CopyLocally ) {
  32283. long _result = 0;
  32284. HRESULT _hr = raw_AddFromFolder(Folder, Recursive, CopyLocally, &_result);
  32285. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32286. return _result;
  32287. }
  32288. #pragma implementation_key(4937)
  32289. inline IUnknownPtr VGCore::IVGSymbolLibraries::Get_NewEnum ( ) {
  32290. IUnknown * _result = 0;
  32291. HRESULT _hr = get__NewEnum(&_result);
  32292. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32293. return IUnknownPtr(_result, false);
  32294. }
  32295. //
  32296. // interface IVGTreeNode wrapper method implementations
  32297. //
  32298. #pragma implementation_key(4938)
  32299. inline enum VGCore::cdrTreeNodeType VGCore::IVGTreeNode::GetType ( ) {
  32300. enum cdrTreeNodeType _result;
  32301. HRESULT _hr = get_Type(&_result);
  32302. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32303. return _result;
  32304. }
  32305. #pragma implementation_key(4939)
  32306. inline enum VGCore::cdrShapeType VGCore::IVGTreeNode::GetShapeType ( ) {
  32307. enum cdrShapeType _result;
  32308. HRESULT _hr = get_ShapeType(&_result);
  32309. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32310. return _result;
  32311. }
  32312. #pragma implementation_key(4940)
  32313. inline VGCore::IVGShapePtr VGCore::IVGTreeNode::GetShape ( ) {
  32314. struct IVGShape * _result = 0;
  32315. HRESULT _hr = get_Shape(&_result);
  32316. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32317. return IVGShapePtr(_result, false);
  32318. }
  32319. #pragma implementation_key(4941)
  32320. inline VGCore::IVGShapePtr VGCore::IVGTreeNode::GetVirtualShape ( ) {
  32321. struct IVGShape * _result = 0;
  32322. HRESULT _hr = get_VirtualShape(&_result);
  32323. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32324. return IVGShapePtr(_result, false);
  32325. }
  32326. #pragma implementation_key(4942)
  32327. inline VGCore::IVGPagePtr VGCore::IVGTreeNode::GetPage ( ) {
  32328. struct IVGPage * _result = 0;
  32329. HRESULT _hr = get_Page(&_result);
  32330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32331. return IVGPagePtr(_result, false);
  32332. }
  32333. #pragma implementation_key(4943)
  32334. inline VGCore::IVGLayerPtr VGCore::IVGTreeNode::GetLayer ( ) {
  32335. struct IVGLayer * _result = 0;
  32336. HRESULT _hr = get_Layer(&_result);
  32337. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32338. return IVGLayerPtr(_result, false);
  32339. }
  32340. #pragma implementation_key(4944)
  32341. inline VGCore::IVGDocumentPtr VGCore::IVGTreeNode::GetDocument ( ) {
  32342. struct IVGDocument * _result = 0;
  32343. HRESULT _hr = get_Document(&_result);
  32344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32345. return IVGDocumentPtr(_result, false);
  32346. }
  32347. #pragma implementation_key(4945)
  32348. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetNext ( ) {
  32349. struct IVGTreeNode * _result = 0;
  32350. HRESULT _hr = get_Next(&_result);
  32351. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32352. return IVGTreeNodePtr(_result, false);
  32353. }
  32354. #pragma implementation_key(4946)
  32355. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetPrevious ( ) {
  32356. struct IVGTreeNode * _result = 0;
  32357. HRESULT _hr = get_Previous(&_result);
  32358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32359. return IVGTreeNodePtr(_result, false);
  32360. }
  32361. #pragma implementation_key(4947)
  32362. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetParent ( ) {
  32363. struct IVGTreeNode * _result = 0;
  32364. HRESULT _hr = get_Parent(&_result);
  32365. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32366. return IVGTreeNodePtr(_result, false);
  32367. }
  32368. #pragma implementation_key(4948)
  32369. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetFirstChild ( ) {
  32370. struct IVGTreeNode * _result = 0;
  32371. HRESULT _hr = get_FirstChild(&_result);
  32372. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32373. return IVGTreeNodePtr(_result, false);
  32374. }
  32375. #pragma implementation_key(4949)
  32376. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetLastChild ( ) {
  32377. struct IVGTreeNode * _result = 0;
  32378. HRESULT _hr = get_LastChild(&_result);
  32379. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32380. return IVGTreeNodePtr(_result, false);
  32381. }
  32382. #pragma implementation_key(4950)
  32383. inline VGCore::IVGTreeNodesPtr VGCore::IVGTreeNode::GetChildren ( ) {
  32384. struct IVGTreeNodes * _result = 0;
  32385. HRESULT _hr = get_Children(&_result);
  32386. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32387. return IVGTreeNodesPtr(_result, false);
  32388. }
  32389. #pragma implementation_key(4951)
  32390. inline VARIANT_BOOL VGCore::IVGTreeNode::GetIsGroupChild ( ) {
  32391. VARIANT_BOOL _result = 0;
  32392. HRESULT _hr = get_IsGroupChild(&_result);
  32393. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32394. return _result;
  32395. }
  32396. #pragma implementation_key(4952)
  32397. inline VARIANT_BOOL VGCore::IVGTreeNode::GetSelected ( ) {
  32398. VARIANT_BOOL _result = 0;
  32399. HRESULT _hr = get_Selected(&_result);
  32400. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32401. return _result;
  32402. }
  32403. #pragma implementation_key(4953)
  32404. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetNextSelected ( ) {
  32405. struct IVGTreeNode * _result = 0;
  32406. HRESULT _hr = get_NextSelected(&_result);
  32407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32408. return IVGTreeNodePtr(_result, false);
  32409. }
  32410. #pragma implementation_key(4954)
  32411. inline VARIANT_BOOL VGCore::IVGTreeNode::UnLink ( ) {
  32412. VARIANT_BOOL _result = 0;
  32413. HRESULT _hr = raw_UnLink(&_result);
  32414. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32415. return _result;
  32416. }
  32417. #pragma implementation_key(4955)
  32418. inline VARIANT_BOOL VGCore::IVGTreeNode::LinkBefore ( struct IVGTreeNode * TreeNode ) {
  32419. VARIANT_BOOL _result = 0;
  32420. HRESULT _hr = raw_LinkBefore(TreeNode, &_result);
  32421. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32422. return _result;
  32423. }
  32424. #pragma implementation_key(4956)
  32425. inline VARIANT_BOOL VGCore::IVGTreeNode::LinkAfter ( struct IVGTreeNode * TreeNode ) {
  32426. VARIANT_BOOL _result = 0;
  32427. HRESULT _hr = raw_LinkAfter(TreeNode, &_result);
  32428. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32429. return _result;
  32430. }
  32431. #pragma implementation_key(4957)
  32432. inline VARIANT_BOOL VGCore::IVGTreeNode::LinkAsChildOf ( struct IVGTreeNode * TreeNode ) {
  32433. VARIANT_BOOL _result = 0;
  32434. HRESULT _hr = raw_LinkAsChildOf(TreeNode, &_result);
  32435. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32436. return _result;
  32437. }
  32438. #pragma implementation_key(4958)
  32439. inline VARIANT_BOOL VGCore::IVGTreeNode::MoveToFirst ( ) {
  32440. VARIANT_BOOL _result = 0;
  32441. HRESULT _hr = raw_MoveToFirst(&_result);
  32442. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32443. return _result;
  32444. }
  32445. #pragma implementation_key(4959)
  32446. inline VARIANT_BOOL VGCore::IVGTreeNode::MoveToLast ( ) {
  32447. VARIANT_BOOL _result = 0;
  32448. HRESULT _hr = raw_MoveToLast(&_result);
  32449. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32450. return _result;
  32451. }
  32452. #pragma implementation_key(4960)
  32453. inline VARIANT_BOOL VGCore::IVGTreeNode::MoveBefore ( struct IVGTreeNode * TreeNode ) {
  32454. VARIANT_BOOL _result = 0;
  32455. HRESULT _hr = raw_MoveBefore(TreeNode, &_result);
  32456. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32457. return _result;
  32458. }
  32459. #pragma implementation_key(4961)
  32460. inline VARIANT_BOOL VGCore::IVGTreeNode::MoveAfter ( struct IVGTreeNode * TreeNode ) {
  32461. VARIANT_BOOL _result = 0;
  32462. HRESULT _hr = raw_MoveAfter(TreeNode, &_result);
  32463. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32464. return _result;
  32465. }
  32466. #pragma implementation_key(4962)
  32467. inline VARIANT_BOOL VGCore::IVGTreeNode::IsDescendentOf ( struct IVGTreeNode * TreeNode ) {
  32468. VARIANT_BOOL _result = 0;
  32469. HRESULT _hr = raw_IsDescendentOf(TreeNode, &_result);
  32470. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32471. return _result;
  32472. }
  32473. #pragma implementation_key(4963)
  32474. inline HRESULT VGCore::IVGTreeNode::Delete ( ) {
  32475. HRESULT _hr = raw_Delete();
  32476. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32477. return _hr;
  32478. }
  32479. #pragma implementation_key(4964)
  32480. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetCopy ( ) {
  32481. struct IVGTreeNode * _result = 0;
  32482. HRESULT _hr = raw_GetCopy(&_result);
  32483. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32484. return IVGTreeNodePtr(_result, false);
  32485. }
  32486. #pragma implementation_key(4965)
  32487. inline HRESULT VGCore::IVGTreeNode::SwapData ( struct IVGTreeNode * TreeNode ) {
  32488. HRESULT _hr = raw_SwapData(TreeNode);
  32489. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32490. return _hr;
  32491. }
  32492. #pragma implementation_key(4966)
  32493. inline HRESULT VGCore::IVGTreeNode::SwapGroupData ( struct IVGTreeNode * GroupNode ) {
  32494. HRESULT _hr = raw_SwapGroupData(GroupNode);
  32495. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32496. return _hr;
  32497. }
  32498. #pragma implementation_key(4967)
  32499. inline long VGCore::IVGTreeNode::GetHandle ( ) {
  32500. long _result = 0;
  32501. HRESULT _hr = get_Handle(&_result);
  32502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32503. return _result;
  32504. }
  32505. #pragma implementation_key(4968)
  32506. inline _bstr_t VGCore::IVGTreeNode::GetName ( ) {
  32507. BSTR _result = 0;
  32508. HRESULT _hr = get_Name(&_result);
  32509. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32510. return _bstr_t(_result, false);
  32511. }
  32512. #pragma implementation_key(4969)
  32513. inline void VGCore::IVGTreeNode::PutName ( _bstr_t pVal ) {
  32514. HRESULT _hr = put_Name(pVal);
  32515. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32516. }
  32517. //
  32518. // interface IVGTreeNodes wrapper method implementations
  32519. //
  32520. #pragma implementation_key(4970)
  32521. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNodes::GetItem ( long Index ) {
  32522. struct IVGTreeNode * _result = 0;
  32523. HRESULT _hr = get_Item(Index, &_result);
  32524. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32525. return IVGTreeNodePtr(_result, false);
  32526. }
  32527. #pragma implementation_key(4971)
  32528. inline long VGCore::IVGTreeNodes::GetCount ( ) {
  32529. long _result = 0;
  32530. HRESULT _hr = get_Count(&_result);
  32531. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32532. return _result;
  32533. }
  32534. #pragma implementation_key(4972)
  32535. inline IUnknownPtr VGCore::IVGTreeNodes::Get_NewEnum ( ) {
  32536. IUnknown * _result = 0;
  32537. HRESULT _hr = get__NewEnum(&_result);
  32538. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32539. return IUnknownPtr(_result, false);
  32540. }
  32541. //
  32542. // interface IVGSpread wrapper method implementations
  32543. //
  32544. #pragma implementation_key(4973)
  32545. inline long VGCore::IVGSpread::GetIndex ( ) {
  32546. long _result = 0;
  32547. HRESULT _hr = get_Index(&_result);
  32548. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32549. return _result;
  32550. }
  32551. #pragma implementation_key(4974)
  32552. inline double VGCore::IVGSpread::GetSizeWidth ( ) {
  32553. double _result = 0;
  32554. HRESULT _hr = get_SizeWidth(&_result);
  32555. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32556. return _result;
  32557. }
  32558. #pragma implementation_key(4975)
  32559. inline double VGCore::IVGSpread::GetSizeHeight ( ) {
  32560. double _result = 0;
  32561. HRESULT _hr = get_SizeHeight(&_result);
  32562. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32563. return _result;
  32564. }
  32565. #pragma implementation_key(4976)
  32566. inline double VGCore::IVGSpread::GetLeftX ( ) {
  32567. double _result = 0;
  32568. HRESULT _hr = get_LeftX(&_result);
  32569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32570. return _result;
  32571. }
  32572. #pragma implementation_key(4977)
  32573. inline double VGCore::IVGSpread::GetRightX ( ) {
  32574. double _result = 0;
  32575. HRESULT _hr = get_RightX(&_result);
  32576. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32577. return _result;
  32578. }
  32579. #pragma implementation_key(4978)
  32580. inline double VGCore::IVGSpread::GetTopY ( ) {
  32581. double _result = 0;
  32582. HRESULT _hr = get_TopY(&_result);
  32583. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32584. return _result;
  32585. }
  32586. #pragma implementation_key(4979)
  32587. inline double VGCore::IVGSpread::GetBottomY ( ) {
  32588. double _result = 0;
  32589. HRESULT _hr = get_BottomY(&_result);
  32590. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32591. return _result;
  32592. }
  32593. #pragma implementation_key(4980)
  32594. inline double VGCore::IVGSpread::GetCenterX ( ) {
  32595. double _result = 0;
  32596. HRESULT _hr = get_CenterX(&_result);
  32597. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32598. return _result;
  32599. }
  32600. #pragma implementation_key(4981)
  32601. inline double VGCore::IVGSpread::GetCenterY ( ) {
  32602. double _result = 0;
  32603. HRESULT _hr = get_CenterY(&_result);
  32604. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32605. return _result;
  32606. }
  32607. #pragma implementation_key(4982)
  32608. inline VGCore::IVGRectPtr VGCore::IVGSpread::GetBoundingBox ( ) {
  32609. struct IVGRect * _result = 0;
  32610. HRESULT _hr = get_BoundingBox(&_result);
  32611. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32612. return IVGRectPtr(_result, false);
  32613. }
  32614. #pragma implementation_key(4983)
  32615. inline HRESULT VGCore::IVGSpread::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
  32616. HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height);
  32617. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32618. return _hr;
  32619. }
  32620. #pragma implementation_key(4984)
  32621. inline VGCore::IVGPagesPtr VGCore::IVGSpread::GetPages ( ) {
  32622. struct IVGPages * _result = 0;
  32623. HRESULT _hr = get_Pages(&_result);
  32624. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32625. return IVGPagesPtr(_result, false);
  32626. }
  32627. #pragma implementation_key(4985)
  32628. inline VGCore::IVGSpreadPtr VGCore::IVGSpread::GetNext ( ) {
  32629. struct IVGSpread * _result = 0;
  32630. HRESULT _hr = get_Next(&_result);
  32631. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32632. return IVGSpreadPtr(_result, false);
  32633. }
  32634. #pragma implementation_key(4986)
  32635. inline VGCore::IVGSpreadPtr VGCore::IVGSpread::GetPrevious ( ) {
  32636. struct IVGSpread * _result = 0;
  32637. HRESULT _hr = get_Previous(&_result);
  32638. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32639. return IVGSpreadPtr(_result, false);
  32640. }
  32641. #pragma implementation_key(4987)
  32642. inline VGCore::IVGLayersPtr VGCore::IVGSpread::GetLayers ( ) {
  32643. struct IVGLayers * _result = 0;
  32644. HRESULT _hr = get_Layers(&_result);
  32645. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32646. return IVGLayersPtr(_result, false);
  32647. }
  32648. #pragma implementation_key(4988)
  32649. inline VGCore::IVGLayersPtr VGCore::IVGSpread::GetAllLayers ( ) {
  32650. struct IVGLayers * _result = 0;
  32651. HRESULT _hr = get_AllLayers(&_result);
  32652. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32653. return IVGLayersPtr(_result, false);
  32654. }
  32655. #pragma implementation_key(4989)
  32656. inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetActiveLayer ( ) {
  32657. struct IVGLayer * _result = 0;
  32658. HRESULT _hr = get_ActiveLayer(&_result);
  32659. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32660. return IVGLayerPtr(_result, false);
  32661. }
  32662. #pragma implementation_key(4990)
  32663. inline VGCore::IVGShapesPtr VGCore::IVGSpread::GetShapes ( ) {
  32664. struct IVGShapes * _result = 0;
  32665. HRESULT _hr = get_Shapes(&_result);
  32666. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32667. return IVGShapesPtr(_result, false);
  32668. }
  32669. #pragma implementation_key(4991)
  32670. inline VGCore::IVGShapesPtr VGCore::IVGSpread::GetSelectableShapes ( ) {
  32671. struct IVGShapes * _result = 0;
  32672. HRESULT _hr = get_SelectableShapes(&_result);
  32673. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32674. return IVGShapesPtr(_result, false);
  32675. }
  32676. #pragma implementation_key(4992)
  32677. inline VGCore::IVGLayerPtr VGCore::IVGSpread::CreateLayer ( _bstr_t LayerName ) {
  32678. struct IVGLayer * _result = 0;
  32679. HRESULT _hr = raw_CreateLayer(LayerName, &_result);
  32680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32681. return IVGLayerPtr(_result, false);
  32682. }
  32683. #pragma implementation_key(4993)
  32684. inline VGCore::IVGShapeRangePtr VGCore::IVGSpread::GetGuides ( enum cdrGuideType Type ) {
  32685. struct IVGShapeRange * _result = 0;
  32686. HRESULT _hr = get_Guides(Type, &_result);
  32687. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32688. return IVGShapeRangePtr(_result, false);
  32689. }
  32690. #pragma implementation_key(4994)
  32691. inline VGCore::IVGTreeNodePtr VGCore::IVGSpread::GetTreeNode ( ) {
  32692. struct IVGTreeNode * _result = 0;
  32693. HRESULT _hr = get_TreeNode(&_result);
  32694. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32695. return IVGTreeNodePtr(_result, false);
  32696. }
  32697. #pragma implementation_key(4995)
  32698. inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetGuidesLayer ( ) {
  32699. struct IVGLayer * _result = 0;
  32700. HRESULT _hr = get_GuidesLayer(&_result);
  32701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32702. return IVGLayerPtr(_result, false);
  32703. }
  32704. #pragma implementation_key(4996)
  32705. inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetDesktopLayer ( ) {
  32706. struct IVGLayer * _result = 0;
  32707. HRESULT _hr = get_DesktopLayer(&_result);
  32708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32709. return IVGLayerPtr(_result, false);
  32710. }
  32711. #pragma implementation_key(4997)
  32712. inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetGridLayer ( ) {
  32713. struct IVGLayer * _result = 0;
  32714. HRESULT _hr = get_GridLayer(&_result);
  32715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32716. return IVGLayerPtr(_result, false);
  32717. }
  32718. //
  32719. // interface IVGTreeManager wrapper method implementations
  32720. //
  32721. #pragma implementation_key(4998)
  32722. inline VGCore::IVGLayerPtr VGCore::IVGTreeManager::GetVirtualLayer ( ) {
  32723. struct IVGLayer * _result = 0;
  32724. HRESULT _hr = get_VirtualLayer(&_result);
  32725. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32726. return IVGLayerPtr(_result, false);
  32727. }
  32728. #pragma implementation_key(4999)
  32729. inline long VGCore::IVGTreeManager::GetSelectedNodeCount ( ) {
  32730. long _result = 0;
  32731. HRESULT _hr = get_SelectedNodeCount(&_result);
  32732. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32733. return _result;
  32734. }
  32735. #pragma implementation_key(5000)
  32736. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeManager::GetFirstSelectedNode ( ) {
  32737. struct IVGTreeNode * _result = 0;
  32738. HRESULT _hr = get_FirstSelectedNode(&_result);
  32739. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32740. return IVGTreeNodePtr(_result, false);
  32741. }
  32742. #pragma implementation_key(5001)
  32743. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeManager::CreateGroupNode ( ) {
  32744. struct IVGTreeNode * _result = 0;
  32745. HRESULT _hr = raw_CreateGroupNode(&_result);
  32746. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32747. return IVGTreeNodePtr(_result, false);
  32748. }
  32749. #pragma implementation_key(5002)
  32750. inline VGCore::IVGTreeNodePtr VGCore::IVGTreeManager::CleanGroupNode ( struct IVGTreeNode * GroupNode ) {
  32751. struct IVGTreeNode * _result = 0;
  32752. HRESULT _hr = raw_CleanGroupNode(GroupNode, &_result);
  32753. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32754. return IVGTreeNodePtr(_result, false);
  32755. }
  32756. //
  32757. // interface IVGSpreads wrapper method implementations
  32758. //
  32759. #pragma implementation_key(5003)
  32760. inline VGCore::IVGSpreadPtr VGCore::IVGSpreads::GetItem ( long Index ) {
  32761. struct IVGSpread * _result = 0;
  32762. HRESULT _hr = get_Item(Index, &_result);
  32763. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32764. return IVGSpreadPtr(_result, false);
  32765. }
  32766. #pragma implementation_key(5004)
  32767. inline long VGCore::IVGSpreads::GetCount ( ) {
  32768. long _result = 0;
  32769. HRESULT _hr = get_Count(&_result);
  32770. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32771. return _result;
  32772. }
  32773. #pragma implementation_key(5005)
  32774. inline IUnknownPtr VGCore::IVGSpreads::Get_NewEnum ( ) {
  32775. IUnknown * _result = 0;
  32776. HRESULT _hr = get__NewEnum(&_result);
  32777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32778. return IUnknownPtr(_result, false);
  32779. }
  32780. #pragma implementation_key(5006)
  32781. inline VGCore::IVGSpreadPtr VGCore::IVGSpreads::GetFirst ( ) {
  32782. struct IVGSpread * _result = 0;
  32783. HRESULT _hr = get_First(&_result);
  32784. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32785. return IVGSpreadPtr(_result, false);
  32786. }
  32787. #pragma implementation_key(5007)
  32788. inline VGCore::IVGSpreadPtr VGCore::IVGSpreads::GetLast ( ) {
  32789. struct IVGSpread * _result = 0;
  32790. HRESULT _hr = get_Last(&_result);
  32791. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32792. return IVGSpreadPtr(_result, false);
  32793. }
  32794. //
  32795. // interface IVGPageMarkup wrapper method implementations
  32796. //
  32797. #pragma implementation_key(5008)
  32798. inline _bstr_t VGCore::IVGPageMarkup::GetPageGuid ( ) {
  32799. BSTR _result = 0;
  32800. HRESULT _hr = get_PageGuid(&_result);
  32801. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32802. return _bstr_t(_result, false);
  32803. }
  32804. #pragma implementation_key(5009)
  32805. inline VGCore::IVGCommentThreadsPtr VGCore::IVGPageMarkup::GetThreads ( ) {
  32806. struct IVGCommentThreads * _result = 0;
  32807. HRESULT _hr = get_Threads(&_result);
  32808. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32809. return IVGCommentThreadsPtr(_result, false);
  32810. }
  32811. #pragma implementation_key(5010)
  32812. inline VGCore::IVGPagePtr VGCore::IVGPageMarkup::GetPage ( ) {
  32813. struct IVGPage * _result = 0;
  32814. HRESULT _hr = get_Page(&_result);
  32815. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32816. return IVGPagePtr(_result, false);
  32817. }
  32818. #pragma implementation_key(5011)
  32819. inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateHotspot ( _bstr_t Text, double x, double y, struct IVGCommentAuthor * Author ) {
  32820. struct IVGComment * _result = 0;
  32821. HRESULT _hr = raw_CreateHotspot(Text, x, y, Author, &_result);
  32822. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32823. return IVGCommentPtr(_result, false);
  32824. }
  32825. #pragma implementation_key(5012)
  32826. inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateRectangle ( _bstr_t Text, double x, double y, double Width, double Height, long OutlineWidth, struct IVGColor * FillColor, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
  32827. struct IVGComment * _result = 0;
  32828. HRESULT _hr = raw_CreateRectangle(Text, x, y, Width, Height, OutlineWidth, FillColor, OutlineColor, Author, &_result);
  32829. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32830. return IVGCommentPtr(_result, false);
  32831. }
  32832. #pragma implementation_key(5013)
  32833. inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateEllipse ( _bstr_t Text, double x, double y, double RadiusX, double RadiusY, long OutlineWidth, struct IVGColor * FillColor, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
  32834. struct IVGComment * _result = 0;
  32835. HRESULT _hr = raw_CreateEllipse(Text, x, y, RadiusX, RadiusY, OutlineWidth, FillColor, OutlineColor, Author, &_result);
  32836. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32837. return IVGCommentPtr(_result, false);
  32838. }
  32839. #pragma implementation_key(5014)
  32840. inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateArrow ( _bstr_t Text, double x, double y, double VectorX, double VectorY, long OutlineWidth, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
  32841. struct IVGComment * _result = 0;
  32842. HRESULT _hr = raw_CreateArrow(Text, x, y, VectorX, VectorY, OutlineWidth, OutlineColor, Author, &_result);
  32843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32844. return IVGCommentPtr(_result, false);
  32845. }
  32846. #pragma implementation_key(5015)
  32847. inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateFreehand ( _bstr_t Text, struct IVGCurve * Curve, long OutlineWidth, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
  32848. struct IVGComment * _result = 0;
  32849. HRESULT _hr = raw_CreateFreehand(Text, Curve, OutlineWidth, OutlineColor, Author, &_result);
  32850. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32851. return IVGCommentPtr(_result, false);
  32852. }
  32853. #pragma implementation_key(5016)
  32854. inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateHighlight ( _bstr_t Text, struct IVGCurve * Curve, long OutlineWidth, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
  32855. struct IVGComment * _result = 0;
  32856. HRESULT _hr = raw_CreateHighlight(Text, Curve, OutlineWidth, OutlineColor, Author, &_result);
  32857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32858. return IVGCommentPtr(_result, false);
  32859. }
  32860. #pragma implementation_key(5017)
  32861. inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateCollaborativeText ( _bstr_t Text, struct IVGShape * Shape, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
  32862. struct IVGComment * _result = 0;
  32863. HRESULT _hr = raw_CreateCollaborativeText(Text, Shape, OutlineColor, Author, &_result);
  32864. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32865. return IVGCommentPtr(_result, false);
  32866. }
  32867. //
  32868. // interface IVGCommentThreads wrapper method implementations
  32869. //
  32870. #pragma implementation_key(5018)
  32871. inline VGCore::IVGCommentThreadPtr VGCore::IVGCommentThreads::GetItem ( const _variant_t & IndexOrGuid ) {
  32872. struct IVGCommentThread * _result = 0;
  32873. HRESULT _hr = get_Item(IndexOrGuid, &_result);
  32874. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32875. return IVGCommentThreadPtr(_result, false);
  32876. }
  32877. #pragma implementation_key(5019)
  32878. inline IUnknownPtr VGCore::IVGCommentThreads::Get_NewEnum ( ) {
  32879. IUnknown * _result = 0;
  32880. HRESULT _hr = get__NewEnum(&_result);
  32881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32882. return IUnknownPtr(_result, false);
  32883. }
  32884. #pragma implementation_key(5020)
  32885. inline long VGCore::IVGCommentThreads::GetCount ( ) {
  32886. long _result = 0;
  32887. HRESULT _hr = get_Count(&_result);
  32888. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32889. return _result;
  32890. }
  32891. #pragma implementation_key(5021)
  32892. inline VGCore::IVGCommentThreadPtr VGCore::IVGCommentThreads::GetFirst ( ) {
  32893. struct IVGCommentThread * _result = 0;
  32894. HRESULT _hr = get_First(&_result);
  32895. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32896. return IVGCommentThreadPtr(_result, false);
  32897. }
  32898. #pragma implementation_key(5022)
  32899. inline VGCore::IVGCommentThreadPtr VGCore::IVGCommentThreads::GetLast ( ) {
  32900. struct IVGCommentThread * _result = 0;
  32901. HRESULT _hr = get_Last(&_result);
  32902. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32903. return IVGCommentThreadPtr(_result, false);
  32904. }
  32905. //
  32906. // interface IVGCommentThread wrapper method implementations
  32907. //
  32908. #pragma implementation_key(5023)
  32909. inline VGCore::IVGCommentTargetPtr VGCore::IVGCommentThread::GetTarget ( ) {
  32910. struct IVGCommentTarget * _result = 0;
  32911. HRESULT _hr = get_Target(&_result);
  32912. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32913. return IVGCommentTargetPtr(_result, false);
  32914. }
  32915. #pragma implementation_key(5024)
  32916. inline VGCore::IVGCommentsPtr VGCore::IVGCommentThread::GetComments ( ) {
  32917. struct IVGComments * _result = 0;
  32918. HRESULT _hr = get_Comments(&_result);
  32919. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32920. return IVGCommentsPtr(_result, false);
  32921. }
  32922. #pragma implementation_key(5025)
  32923. inline enum VGCore::cdrCommentStatus VGCore::IVGCommentThread::GetStatus ( ) {
  32924. enum cdrCommentStatus _result;
  32925. HRESULT _hr = get_Status(&_result);
  32926. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32927. return _result;
  32928. }
  32929. #pragma implementation_key(5026)
  32930. inline VGCore::IVGCommentPtr VGCore::IVGCommentThread::Reply ( _bstr_t Text, struct IVGCommentAuthor * Author ) {
  32931. struct IVGComment * _result = 0;
  32932. HRESULT _hr = raw_Reply(Text, Author, &_result);
  32933. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32934. return IVGCommentPtr(_result, false);
  32935. }
  32936. #pragma implementation_key(5027)
  32937. inline HRESULT VGCore::IVGCommentThread::Resolve ( struct IVGCommentAuthor * Author ) {
  32938. HRESULT _hr = raw_Resolve(Author);
  32939. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32940. return _hr;
  32941. }
  32942. #pragma implementation_key(5028)
  32943. inline HRESULT VGCore::IVGCommentThread::Reopen ( struct IVGCommentAuthor * Author ) {
  32944. HRESULT _hr = raw_Reopen(Author);
  32945. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32946. return _hr;
  32947. }
  32948. #pragma implementation_key(5029)
  32949. inline HRESULT VGCore::IVGCommentThread::Delete ( ) {
  32950. HRESULT _hr = raw_Delete();
  32951. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32952. return _hr;
  32953. }
  32954. #pragma implementation_key(5030)
  32955. inline VGCore::IVGPageMarkupPtr VGCore::IVGCommentThread::GetPageMarkup ( ) {
  32956. struct IVGPageMarkup * _result = 0;
  32957. HRESULT _hr = get_PageMarkup(&_result);
  32958. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32959. return IVGPageMarkupPtr(_result, false);
  32960. }
  32961. #pragma implementation_key(5031)
  32962. inline VGCore::IVGCommentAnnotationPtr VGCore::IVGCommentThread::GetAnnotation ( ) {
  32963. struct IVGCommentAnnotation * _result = 0;
  32964. HRESULT _hr = get_Annotation(&_result);
  32965. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32966. return IVGCommentAnnotationPtr(_result, false);
  32967. }
  32968. //
  32969. // interface IVGComment wrapper method implementations
  32970. //
  32971. #pragma implementation_key(5032)
  32972. inline VGCore::IVGCommentAuthorPtr VGCore::IVGComment::GetAuthor ( ) {
  32973. struct IVGCommentAuthor * _result = 0;
  32974. HRESULT _hr = get_Author(&_result);
  32975. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32976. return IVGCommentAuthorPtr(_result, false);
  32977. }
  32978. #pragma implementation_key(5033)
  32979. inline void VGCore::IVGComment::PutRefAuthor ( struct IVGCommentAuthor * * pRet ) {
  32980. HRESULT _hr = putref_Author(pRet);
  32981. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32982. }
  32983. #pragma implementation_key(5034)
  32984. inline _bstr_t VGCore::IVGComment::GetText ( ) {
  32985. BSTR _result = 0;
  32986. HRESULT _hr = get_Text(&_result);
  32987. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32988. return _bstr_t(_result, false);
  32989. }
  32990. #pragma implementation_key(5035)
  32991. inline void VGCore::IVGComment::PutText ( _bstr_t pRet ) {
  32992. HRESULT _hr = put_Text(pRet);
  32993. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  32994. }
  32995. #pragma implementation_key(5036)
  32996. inline DATE VGCore::IVGComment::GetCreationTime ( ) {
  32997. DATE _result = 0;
  32998. HRESULT _hr = get_CreationTime(&_result);
  32999. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33000. return _result;
  33001. }
  33002. #pragma implementation_key(5037)
  33003. inline void VGCore::IVGComment::PutCreationTime ( DATE pRet ) {
  33004. HRESULT _hr = put_CreationTime(pRet);
  33005. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33006. }
  33007. #pragma implementation_key(5038)
  33008. inline DATE VGCore::IVGComment::GetModificationTime ( ) {
  33009. DATE _result = 0;
  33010. HRESULT _hr = get_ModificationTime(&_result);
  33011. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33012. return _result;
  33013. }
  33014. #pragma implementation_key(5039)
  33015. inline void VGCore::IVGComment::PutModificationTime ( DATE pRet ) {
  33016. HRESULT _hr = put_ModificationTime(pRet);
  33017. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33018. }
  33019. #pragma implementation_key(5040)
  33020. inline _bstr_t VGCore::IVGComment::GetGuid ( ) {
  33021. BSTR _result = 0;
  33022. HRESULT _hr = get_Guid(&_result);
  33023. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33024. return _bstr_t(_result, false);
  33025. }
  33026. #pragma implementation_key(5041)
  33027. inline VGCore::IVGCommentThreadPtr VGCore::IVGComment::GetThread ( ) {
  33028. struct IVGCommentThread * _result = 0;
  33029. HRESULT _hr = get_Thread(&_result);
  33030. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33031. return IVGCommentThreadPtr(_result, false);
  33032. }
  33033. #pragma implementation_key(5042)
  33034. inline _bstr_t VGCore::IVGComment::GetOnlineID ( ) {
  33035. BSTR _result = 0;
  33036. HRESULT _hr = get_OnlineID(&_result);
  33037. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33038. return _bstr_t(_result, false);
  33039. }
  33040. #pragma implementation_key(5043)
  33041. inline void VGCore::IVGComment::PutOnlineID ( _bstr_t pRet ) {
  33042. HRESULT _hr = put_OnlineID(pRet);
  33043. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33044. }
  33045. #pragma implementation_key(5044)
  33046. inline HRESULT VGCore::IVGComment::Delete ( ) {
  33047. HRESULT _hr = raw_Delete();
  33048. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33049. return _hr;
  33050. }
  33051. //
  33052. // interface IVGComments wrapper method implementations
  33053. //
  33054. #pragma implementation_key(5045)
  33055. inline VGCore::IVGCommentPtr VGCore::IVGComments::GetItem ( const _variant_t & IndexOrGuid ) {
  33056. struct IVGComment * _result = 0;
  33057. HRESULT _hr = get_Item(IndexOrGuid, &_result);
  33058. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33059. return IVGCommentPtr(_result, false);
  33060. }
  33061. #pragma implementation_key(5046)
  33062. inline IUnknownPtr VGCore::IVGComments::Get_NewEnum ( ) {
  33063. IUnknown * _result = 0;
  33064. HRESULT _hr = get__NewEnum(&_result);
  33065. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33066. return IUnknownPtr(_result, false);
  33067. }
  33068. #pragma implementation_key(5047)
  33069. inline long VGCore::IVGComments::GetCount ( ) {
  33070. long _result = 0;
  33071. HRESULT _hr = get_Count(&_result);
  33072. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33073. return _result;
  33074. }
  33075. #pragma implementation_key(5048)
  33076. inline VGCore::IVGCommentPtr VGCore::IVGComments::GetFirst ( ) {
  33077. struct IVGComment * _result = 0;
  33078. HRESULT _hr = get_First(&_result);
  33079. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33080. return IVGCommentPtr(_result, false);
  33081. }
  33082. #pragma implementation_key(5049)
  33083. inline VGCore::IVGCommentPtr VGCore::IVGComments::GetLast ( ) {
  33084. struct IVGComment * _result = 0;
  33085. HRESULT _hr = get_Last(&_result);
  33086. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33087. return IVGCommentPtr(_result, false);
  33088. }
  33089. //
  33090. // interface IVGDocumentMarkup wrapper method implementations
  33091. //
  33092. #pragma implementation_key(5050)
  33093. inline VGCore::IVGCommentPtr VGCore::IVGDocumentMarkup::FindComment ( _bstr_t Guid ) {
  33094. struct IVGComment * _result = 0;
  33095. HRESULT _hr = raw_FindComment(Guid, &_result);
  33096. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33097. return IVGCommentPtr(_result, false);
  33098. }
  33099. #pragma implementation_key(5051)
  33100. inline VGCore::IVGCommentThreadPtr VGCore::IVGDocumentMarkup::FindThread ( _bstr_t Guid ) {
  33101. struct IVGCommentThread * _result = 0;
  33102. HRESULT _hr = raw_FindThread(Guid, &_result);
  33103. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33104. return IVGCommentThreadPtr(_result, false);
  33105. }
  33106. #pragma implementation_key(5052)
  33107. inline VGCore::IVGPagePtr VGCore::IVGDocumentMarkup::FindPage ( _bstr_t Guid ) {
  33108. struct IVGPage * _result = 0;
  33109. HRESULT _hr = raw_FindPage(Guid, &_result);
  33110. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33111. return IVGPagePtr(_result, false);
  33112. }
  33113. //
  33114. // interface IVGWindow wrapper method implementations
  33115. //
  33116. #pragma implementation_key(5053)
  33117. inline IDispatchPtr VGCore::IVGWindow::GetApplication ( ) {
  33118. IDispatch * _result = 0;
  33119. HRESULT _hr = get_Application(&_result);
  33120. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33121. return IDispatchPtr(_result, false);
  33122. }
  33123. #pragma implementation_key(5054)
  33124. inline VGCore::IVGWindowsPtr VGCore::IVGWindow::GetParent ( ) {
  33125. struct IVGWindows * _result = 0;
  33126. HRESULT _hr = get_Parent(&_result);
  33127. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33128. return IVGWindowsPtr(_result, false);
  33129. }
  33130. #pragma implementation_key(5055)
  33131. inline HRESULT VGCore::IVGWindow::Activate ( ) {
  33132. HRESULT _hr = raw_Activate();
  33133. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33134. return _hr;
  33135. }
  33136. #pragma implementation_key(5056)
  33137. inline HRESULT VGCore::IVGWindow::Close ( ) {
  33138. HRESULT _hr = raw_Close();
  33139. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33140. return _hr;
  33141. }
  33142. #pragma implementation_key(5057)
  33143. inline VARIANT_BOOL VGCore::IVGWindow::GetFullScreen ( ) {
  33144. VARIANT_BOOL _result = 0;
  33145. HRESULT _hr = get_FullScreen(&_result);
  33146. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33147. return _result;
  33148. }
  33149. #pragma implementation_key(5058)
  33150. inline void VGCore::IVGWindow::PutFullScreen ( VARIANT_BOOL FullScreen ) {
  33151. HRESULT _hr = put_FullScreen(FullScreen);
  33152. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33153. }
  33154. #pragma implementation_key(5059)
  33155. inline IDispatchPtr VGCore::IVGWindow::GetPage ( ) {
  33156. IDispatch * _result = 0;
  33157. HRESULT _hr = get_Page(&_result);
  33158. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33159. return IDispatchPtr(_result, false);
  33160. }
  33161. #pragma implementation_key(5060)
  33162. inline VARIANT_BOOL VGCore::IVGWindow::GetActive ( ) {
  33163. VARIANT_BOOL _result = 0;
  33164. HRESULT _hr = get_Active(&_result);
  33165. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33166. return _result;
  33167. }
  33168. #pragma implementation_key(5061)
  33169. inline _bstr_t VGCore::IVGWindow::GetCaption ( ) {
  33170. BSTR _result = 0;
  33171. HRESULT _hr = get_Caption(&_result);
  33172. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33173. return _bstr_t(_result, false);
  33174. }
  33175. #pragma implementation_key(5062)
  33176. inline long VGCore::IVGWindow::GetHeight ( ) {
  33177. long _result = 0;
  33178. HRESULT _hr = get_Height(&_result);
  33179. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33180. return _result;
  33181. }
  33182. #pragma implementation_key(5063)
  33183. inline void VGCore::IVGWindow::PutHeight ( long pVal ) {
  33184. HRESULT _hr = put_Height(pVal);
  33185. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33186. }
  33187. #pragma implementation_key(5064)
  33188. inline long VGCore::IVGWindow::GetWidth ( ) {
  33189. long _result = 0;
  33190. HRESULT _hr = get_Width(&_result);
  33191. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33192. return _result;
  33193. }
  33194. #pragma implementation_key(5065)
  33195. inline void VGCore::IVGWindow::PutWidth ( long pVal ) {
  33196. HRESULT _hr = put_Width(pVal);
  33197. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33198. }
  33199. #pragma implementation_key(5066)
  33200. inline long VGCore::IVGWindow::GetLeft ( ) {
  33201. long _result = 0;
  33202. HRESULT _hr = get_Left(&_result);
  33203. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33204. return _result;
  33205. }
  33206. #pragma implementation_key(5067)
  33207. inline void VGCore::IVGWindow::PutLeft ( long pVal ) {
  33208. HRESULT _hr = put_Left(pVal);
  33209. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33210. }
  33211. #pragma implementation_key(5068)
  33212. inline long VGCore::IVGWindow::GetTop ( ) {
  33213. long _result = 0;
  33214. HRESULT _hr = get_Top(&_result);
  33215. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33216. return _result;
  33217. }
  33218. #pragma implementation_key(5069)
  33219. inline void VGCore::IVGWindow::PutTop ( long pVal ) {
  33220. HRESULT _hr = put_Top(pVal);
  33221. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33222. }
  33223. #pragma implementation_key(5070)
  33224. inline enum VGCore::cdrWindowState VGCore::IVGWindow::GetWindowState ( ) {
  33225. enum cdrWindowState _result;
  33226. HRESULT _hr = get_WindowState(&_result);
  33227. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33228. return _result;
  33229. }
  33230. #pragma implementation_key(5071)
  33231. inline void VGCore::IVGWindow::PutWindowState ( enum cdrWindowState pVal ) {
  33232. HRESULT _hr = put_WindowState(pVal);
  33233. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33234. }
  33235. #pragma implementation_key(5072)
  33236. inline VGCore::IVGWindowPtr VGCore::IVGWindow::GetPrevious ( ) {
  33237. struct IVGWindow * _result = 0;
  33238. HRESULT _hr = get_Previous(&_result);
  33239. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33240. return IVGWindowPtr(_result, false);
  33241. }
  33242. #pragma implementation_key(5073)
  33243. inline VGCore::IVGWindowPtr VGCore::IVGWindow::GetNext ( ) {
  33244. struct IVGWindow * _result = 0;
  33245. HRESULT _hr = get_Next(&_result);
  33246. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33247. return IVGWindowPtr(_result, false);
  33248. }
  33249. #pragma implementation_key(5074)
  33250. inline long VGCore::IVGWindow::GetIndex ( ) {
  33251. long _result = 0;
  33252. HRESULT _hr = get_Index(&_result);
  33253. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33254. return _result;
  33255. }
  33256. #pragma implementation_key(5075)
  33257. inline VGCore::IVGWindowPtr VGCore::IVGWindow::NewWindow ( ) {
  33258. struct IVGWindow * _result = 0;
  33259. HRESULT _hr = raw_NewWindow(&_result);
  33260. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33261. return IVGWindowPtr(_result, false);
  33262. }
  33263. #pragma implementation_key(5076)
  33264. inline HRESULT VGCore::IVGWindow::Refresh ( ) {
  33265. HRESULT _hr = raw_Refresh();
  33266. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33267. return _hr;
  33268. }
  33269. #pragma implementation_key(5077)
  33270. inline VGCore::IVGDocumentPtr VGCore::IVGWindow::GetDocument ( ) {
  33271. struct IVGDocument * _result = 0;
  33272. HRESULT _hr = get_Document(&_result);
  33273. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33274. return IVGDocumentPtr(_result, false);
  33275. }
  33276. #pragma implementation_key(5078)
  33277. inline VGCore::IVGActiveViewPtr VGCore::IVGWindow::GetActiveView ( ) {
  33278. struct IVGActiveView * _result = 0;
  33279. HRESULT _hr = get_ActiveView(&_result);
  33280. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33281. return IVGActiveViewPtr(_result, false);
  33282. }
  33283. #pragma implementation_key(5079)
  33284. inline HRESULT VGCore::IVGWindow::ScreenToDocument ( long XScreen, long YScreen, double * XDoc, double * YDoc ) {
  33285. HRESULT _hr = raw_ScreenToDocument(XScreen, YScreen, XDoc, YDoc);
  33286. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33287. return _hr;
  33288. }
  33289. #pragma implementation_key(5080)
  33290. inline HRESULT VGCore::IVGWindow::DocumentToScreen ( double XDoc, double YDoc, long * XScreen, long * YScreen ) {
  33291. HRESULT _hr = raw_DocumentToScreen(XDoc, YDoc, XScreen, YScreen);
  33292. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33293. return _hr;
  33294. }
  33295. #pragma implementation_key(5081)
  33296. inline long VGCore::IVGWindow::GetHandle ( ) {
  33297. long _result = 0;
  33298. HRESULT _hr = get_Handle(&_result);
  33299. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33300. return _result;
  33301. }
  33302. #pragma implementation_key(5082)
  33303. inline VGCore::ICUIViewWindowPtr VGCore::IVGWindow::GetViewWindow ( ) {
  33304. struct ICUIViewWindow * _result = 0;
  33305. HRESULT _hr = get_ViewWindow(&_result);
  33306. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33307. return ICUIViewWindowPtr(_result, false);
  33308. }
  33309. #pragma implementation_key(5083)
  33310. inline double VGCore::IVGWindow::ScreenDistanceToDocumentDistance ( double ScreenDistance ) {
  33311. double _result = 0;
  33312. HRESULT _hr = raw_ScreenDistanceToDocumentDistance(ScreenDistance, &_result);
  33313. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33314. return _result;
  33315. }
  33316. #pragma implementation_key(5084)
  33317. inline double VGCore::IVGWindow::DocumentDistanceToScreenDistance ( double DocumentDistance ) {
  33318. double _result = 0;
  33319. HRESULT _hr = raw_DocumentDistanceToScreenDistance(DocumentDistance, &_result);
  33320. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33321. return _result;
  33322. }
  33323. //
  33324. // interface IVGWindows wrapper method implementations
  33325. //
  33326. #pragma implementation_key(5085)
  33327. inline IDispatchPtr VGCore::IVGWindows::GetApplication ( ) {
  33328. IDispatch * _result = 0;
  33329. HRESULT _hr = get_Application(&_result);
  33330. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33331. return IDispatchPtr(_result, false);
  33332. }
  33333. #pragma implementation_key(5086)
  33334. inline IDispatchPtr VGCore::IVGWindows::GetParent ( ) {
  33335. IDispatch * _result = 0;
  33336. HRESULT _hr = get_Parent(&_result);
  33337. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33338. return IDispatchPtr(_result, false);
  33339. }
  33340. #pragma implementation_key(5087)
  33341. inline VGCore::IVGWindowPtr VGCore::IVGWindows::GetItem ( long Index ) {
  33342. struct IVGWindow * _result = 0;
  33343. HRESULT _hr = get_Item(Index, &_result);
  33344. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33345. return IVGWindowPtr(_result, false);
  33346. }
  33347. #pragma implementation_key(5088)
  33348. inline IUnknownPtr VGCore::IVGWindows::Get_NewEnum ( ) {
  33349. IUnknown * _result = 0;
  33350. HRESULT _hr = get__NewEnum(&_result);
  33351. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33352. return IUnknownPtr(_result, false);
  33353. }
  33354. #pragma implementation_key(5089)
  33355. inline long VGCore::IVGWindows::GetCount ( ) {
  33356. long _result = 0;
  33357. HRESULT _hr = get_Count(&_result);
  33358. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33359. return _result;
  33360. }
  33361. #pragma implementation_key(5090)
  33362. inline HRESULT VGCore::IVGWindows::CloseAll ( ) {
  33363. HRESULT _hr = raw_CloseAll();
  33364. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33365. return _hr;
  33366. }
  33367. #pragma implementation_key(5091)
  33368. inline HRESULT VGCore::IVGWindows::Arrange ( enum cdrWindowArrangeStyle Style ) {
  33369. HRESULT _hr = raw_Arrange(Style);
  33370. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33371. return _hr;
  33372. }
  33373. #pragma implementation_key(5092)
  33374. inline HRESULT VGCore::IVGWindows::Refresh ( ) {
  33375. HRESULT _hr = raw_Refresh();
  33376. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33377. return _hr;
  33378. }
  33379. #pragma implementation_key(5093)
  33380. inline VGCore::IVGWindowPtr VGCore::IVGWindows::FindWindow ( _bstr_t Caption ) {
  33381. struct IVGWindow * _result = 0;
  33382. HRESULT _hr = raw_FindWindow(Caption, &_result);
  33383. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33384. return IVGWindowPtr(_result, false);
  33385. }
  33386. //
  33387. // interface IVGActiveView wrapper method implementations
  33388. //
  33389. #pragma implementation_key(5094)
  33390. inline VGCore::IVGApplicationPtr VGCore::IVGActiveView::GetApplication ( ) {
  33391. struct IVGApplication * _result = 0;
  33392. HRESULT _hr = get_Application(&_result);
  33393. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33394. return IVGApplicationPtr(_result, false);
  33395. }
  33396. #pragma implementation_key(5095)
  33397. inline VGCore::IVGWindowPtr VGCore::IVGActiveView::GetParent ( ) {
  33398. struct IVGWindow * _result = 0;
  33399. HRESULT _hr = get_Parent(&_result);
  33400. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33401. return IVGWindowPtr(_result, false);
  33402. }
  33403. #pragma implementation_key(5096)
  33404. inline enum VGCore::cdrViewType VGCore::IVGActiveView::GetType ( ) {
  33405. enum cdrViewType _result;
  33406. HRESULT _hr = get_Type(&_result);
  33407. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33408. return _result;
  33409. }
  33410. #pragma implementation_key(5097)
  33411. inline void VGCore::IVGActiveView::PutType ( enum cdrViewType pType ) {
  33412. HRESULT _hr = put_Type(pType);
  33413. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33414. }
  33415. #pragma implementation_key(5098)
  33416. inline double VGCore::IVGActiveView::GetOriginX ( ) {
  33417. double _result = 0;
  33418. HRESULT _hr = get_OriginX(&_result);
  33419. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33420. return _result;
  33421. }
  33422. #pragma implementation_key(5099)
  33423. inline void VGCore::IVGActiveView::PutOriginX ( double pVal ) {
  33424. HRESULT _hr = put_OriginX(pVal);
  33425. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33426. }
  33427. #pragma implementation_key(5100)
  33428. inline double VGCore::IVGActiveView::GetOriginY ( ) {
  33429. double _result = 0;
  33430. HRESULT _hr = get_OriginY(&_result);
  33431. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33432. return _result;
  33433. }
  33434. #pragma implementation_key(5101)
  33435. inline void VGCore::IVGActiveView::PutOriginY ( double pVal ) {
  33436. HRESULT _hr = put_OriginY(pVal);
  33437. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33438. }
  33439. #pragma implementation_key(5102)
  33440. inline double VGCore::IVGActiveView::GetZoom ( ) {
  33441. double _result = 0;
  33442. HRESULT _hr = get_Zoom(&_result);
  33443. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33444. return _result;
  33445. }
  33446. #pragma implementation_key(5103)
  33447. inline void VGCore::IVGActiveView::PutZoom ( double pVal ) {
  33448. HRESULT _hr = put_Zoom(pVal);
  33449. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33450. }
  33451. #pragma implementation_key(5104)
  33452. inline HRESULT VGCore::IVGActiveView::ToFitPage ( ) {
  33453. HRESULT _hr = raw_ToFitPage();
  33454. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33455. return _hr;
  33456. }
  33457. #pragma implementation_key(5105)
  33458. inline HRESULT VGCore::IVGActiveView::ToFitPageWidth ( ) {
  33459. HRESULT _hr = raw_ToFitPageWidth();
  33460. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33461. return _hr;
  33462. }
  33463. #pragma implementation_key(5106)
  33464. inline HRESULT VGCore::IVGActiveView::ToFitPageHeight ( ) {
  33465. HRESULT _hr = raw_ToFitPageHeight();
  33466. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33467. return _hr;
  33468. }
  33469. #pragma implementation_key(5107)
  33470. inline HRESULT VGCore::IVGActiveView::ToFitShape ( struct IVGShape * Shape ) {
  33471. HRESULT _hr = raw_ToFitShape(Shape);
  33472. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33473. return _hr;
  33474. }
  33475. #pragma implementation_key(5108)
  33476. inline HRESULT VGCore::IVGActiveView::ToFitSelection ( ) {
  33477. HRESULT _hr = raw_ToFitSelection();
  33478. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33479. return _hr;
  33480. }
  33481. #pragma implementation_key(5109)
  33482. inline HRESULT VGCore::IVGActiveView::ToFitArea ( double Left, double Top, double Right, double Bottom ) {
  33483. HRESULT _hr = raw_ToFitArea(Left, Top, Right, Bottom);
  33484. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33485. return _hr;
  33486. }
  33487. #pragma implementation_key(5110)
  33488. inline HRESULT VGCore::IVGActiveView::ToFitAllObjects ( ) {
  33489. HRESULT _hr = raw_ToFitAllObjects();
  33490. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33491. return _hr;
  33492. }
  33493. #pragma implementation_key(5111)
  33494. inline HRESULT VGCore::IVGActiveView::ToFitShapeRange ( struct IVGShapeRange * ShapeRange ) {
  33495. HRESULT _hr = raw_ToFitShapeRange(ShapeRange);
  33496. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33497. return _hr;
  33498. }
  33499. #pragma implementation_key(5112)
  33500. inline HRESULT VGCore::IVGActiveView::SetViewPoint ( double x, double y, double Zoom ) {
  33501. HRESULT _hr = raw_SetViewPoint(x, y, Zoom);
  33502. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33503. return _hr;
  33504. }
  33505. #pragma implementation_key(5113)
  33506. inline HRESULT VGCore::IVGActiveView::SetActualSize ( ) {
  33507. HRESULT _hr = raw_SetActualSize();
  33508. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33509. return _hr;
  33510. }
  33511. #pragma implementation_key(5114)
  33512. inline HRESULT VGCore::IVGActiveView::ZoomIn ( ) {
  33513. HRESULT _hr = raw_ZoomIn();
  33514. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33515. return _hr;
  33516. }
  33517. #pragma implementation_key(5115)
  33518. inline HRESULT VGCore::IVGActiveView::ZoomInAtPoint ( double x, double y ) {
  33519. HRESULT _hr = raw_ZoomInAtPoint(x, y);
  33520. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33521. return _hr;
  33522. }
  33523. #pragma implementation_key(5116)
  33524. inline HRESULT VGCore::IVGActiveView::ZoomOut ( ) {
  33525. HRESULT _hr = raw_ZoomOut();
  33526. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33527. return _hr;
  33528. }
  33529. #pragma implementation_key(5117)
  33530. inline HRESULT VGCore::IVGActiveView::GetViewArea ( double * x, double * y, double * Width, double * Height ) {
  33531. HRESULT _hr = raw_GetViewArea(x, y, Width, Height);
  33532. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33533. return _hr;
  33534. }
  33535. #pragma implementation_key(5118)
  33536. inline HRESULT VGCore::IVGActiveView::SetViewArea ( double x, double y, double Width, double Height ) {
  33537. HRESULT _hr = raw_SetViewArea(x, y, Width, Height);
  33538. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33539. return _hr;
  33540. }
  33541. #pragma implementation_key(5119)
  33542. inline VARIANT_BOOL VGCore::IVGActiveView::GetSimulateOverprints ( ) {
  33543. VARIANT_BOOL _result = 0;
  33544. HRESULT _hr = get_SimulateOverprints(&_result);
  33545. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33546. return _result;
  33547. }
  33548. #pragma implementation_key(5120)
  33549. inline void VGCore::IVGActiveView::PutSimulateOverprints ( VARIANT_BOOL pVal ) {
  33550. HRESULT _hr = put_SimulateOverprints(pVal);
  33551. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33552. }
  33553. #pragma implementation_key(5121)
  33554. inline VGCore::IVGProofColorSettingsPtr VGCore::IVGActiveView::GetProofColorSettings ( ) {
  33555. struct IVGProofColorSettings * _result = 0;
  33556. HRESULT _hr = get_ProofColorSettings(&_result);
  33557. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33558. return IVGProofColorSettingsPtr(_result, false);
  33559. }
  33560. #pragma implementation_key(5122)
  33561. inline void VGCore::IVGActiveView::PutProofColorSettings ( struct IVGProofColorSettings * ppVal ) {
  33562. HRESULT _hr = put_ProofColorSettings(ppVal);
  33563. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33564. }
  33565. #pragma implementation_key(5123)
  33566. inline VARIANT_BOOL VGCore::IVGActiveView::GetShowProofColors ( ) {
  33567. VARIANT_BOOL _result = 0;
  33568. HRESULT _hr = get_ShowProofColors(&_result);
  33569. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33570. return _result;
  33571. }
  33572. #pragma implementation_key(5124)
  33573. inline void VGCore::IVGActiveView::PutShowProofColors ( VARIANT_BOOL pVal ) {
  33574. HRESULT _hr = put_ShowProofColors(pVal);
  33575. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33576. }
  33577. //
  33578. // interface IVGWorkspace wrapper method implementations
  33579. //
  33580. #pragma implementation_key(5125)
  33581. inline IDispatchPtr VGCore::IVGWorkspace::GetApplication ( ) {
  33582. IDispatch * _result = 0;
  33583. HRESULT _hr = get_Application(&_result);
  33584. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33585. return IDispatchPtr(_result, false);
  33586. }
  33587. #pragma implementation_key(5126)
  33588. inline VGCore::IVGWorkspacesPtr VGCore::IVGWorkspace::GetParent ( ) {
  33589. struct IVGWorkspaces * _result = 0;
  33590. HRESULT _hr = get_Parent(&_result);
  33591. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33592. return IVGWorkspacesPtr(_result, false);
  33593. }
  33594. #pragma implementation_key(5127)
  33595. inline _bstr_t VGCore::IVGWorkspace::GetName ( ) {
  33596. BSTR _result = 0;
  33597. HRESULT _hr = get_Name(&_result);
  33598. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33599. return _bstr_t(_result, false);
  33600. }
  33601. #pragma implementation_key(5128)
  33602. inline _bstr_t VGCore::IVGWorkspace::GetDescription ( ) {
  33603. BSTR _result = 0;
  33604. HRESULT _hr = get_Description(&_result);
  33605. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33606. return _bstr_t(_result, false);
  33607. }
  33608. #pragma implementation_key(5129)
  33609. inline VARIANT_BOOL VGCore::IVGWorkspace::GetDefault ( ) {
  33610. VARIANT_BOOL _result = 0;
  33611. HRESULT _hr = get_Default(&_result);
  33612. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33613. return _result;
  33614. }
  33615. #pragma implementation_key(5130)
  33616. inline HRESULT VGCore::IVGWorkspace::Activate ( ) {
  33617. HRESULT _hr = raw_Activate();
  33618. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33619. return _hr;
  33620. }
  33621. #pragma implementation_key(5131)
  33622. inline VARIANT_BOOL VGCore::IVGWorkspace::GetActive ( ) {
  33623. VARIANT_BOOL _result = 0;
  33624. HRESULT _hr = get_Active(&_result);
  33625. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33626. return _result;
  33627. }
  33628. //
  33629. // interface IVGWorkspaces wrapper method implementations
  33630. //
  33631. #pragma implementation_key(5132)
  33632. inline IDispatchPtr VGCore::IVGWorkspaces::GetApplication ( ) {
  33633. IDispatch * _result = 0;
  33634. HRESULT _hr = get_Application(&_result);
  33635. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33636. return IDispatchPtr(_result, false);
  33637. }
  33638. #pragma implementation_key(5133)
  33639. inline IDispatchPtr VGCore::IVGWorkspaces::GetParent ( ) {
  33640. IDispatch * _result = 0;
  33641. HRESULT _hr = get_Parent(&_result);
  33642. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33643. return IDispatchPtr(_result, false);
  33644. }
  33645. #pragma implementation_key(5134)
  33646. inline VGCore::IVGWorkspacePtr VGCore::IVGWorkspaces::GetItem ( const _variant_t & IndexOrName ) {
  33647. struct IVGWorkspace * _result = 0;
  33648. HRESULT _hr = get_Item(IndexOrName, &_result);
  33649. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33650. return IVGWorkspacePtr(_result, false);
  33651. }
  33652. #pragma implementation_key(5135)
  33653. inline IUnknownPtr VGCore::IVGWorkspaces::Get_NewEnum ( ) {
  33654. IUnknown * _result = 0;
  33655. HRESULT _hr = get__NewEnum(&_result);
  33656. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33657. return IUnknownPtr(_result, false);
  33658. }
  33659. #pragma implementation_key(5136)
  33660. inline long VGCore::IVGWorkspaces::GetCount ( ) {
  33661. long _result = 0;
  33662. HRESULT _hr = get_Count(&_result);
  33663. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33664. return _result;
  33665. }
  33666. //
  33667. // interface IVGRecentFiles wrapper method implementations
  33668. //
  33669. #pragma implementation_key(5137)
  33670. inline VGCore::IVGRecentFilePtr VGCore::IVGRecentFiles::Add ( _bstr_t Name, _bstr_t Path ) {
  33671. struct IVGRecentFile * _result = 0;
  33672. HRESULT _hr = raw_Add(Name, Path, &_result);
  33673. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33674. return IVGRecentFilePtr(_result, false);
  33675. }
  33676. #pragma implementation_key(5138)
  33677. inline IDispatchPtr VGCore::IVGRecentFiles::GetApplication ( ) {
  33678. IDispatch * _result = 0;
  33679. HRESULT _hr = get_Application(&_result);
  33680. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33681. return IDispatchPtr(_result, false);
  33682. }
  33683. #pragma implementation_key(5139)
  33684. inline IDispatchPtr VGCore::IVGRecentFiles::GetParent ( ) {
  33685. IDispatch * _result = 0;
  33686. HRESULT _hr = get_Parent(&_result);
  33687. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33688. return IDispatchPtr(_result, false);
  33689. }
  33690. #pragma implementation_key(5140)
  33691. inline VGCore::IVGRecentFilePtr VGCore::IVGRecentFiles::GetItem ( long Index ) {
  33692. struct IVGRecentFile * _result = 0;
  33693. HRESULT _hr = get_Item(Index, &_result);
  33694. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33695. return IVGRecentFilePtr(_result, false);
  33696. }
  33697. #pragma implementation_key(5141)
  33698. inline IUnknownPtr VGCore::IVGRecentFiles::Get_NewEnum ( ) {
  33699. IUnknown * _result = 0;
  33700. HRESULT _hr = get__NewEnum(&_result);
  33701. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33702. return IUnknownPtr(_result, false);
  33703. }
  33704. #pragma implementation_key(5142)
  33705. inline long VGCore::IVGRecentFiles::GetCount ( ) {
  33706. long _result = 0;
  33707. HRESULT _hr = get_Count(&_result);
  33708. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33709. return _result;
  33710. }
  33711. #pragma implementation_key(5143)
  33712. inline long VGCore::IVGRecentFiles::GetMaximum ( ) {
  33713. long _result = 0;
  33714. HRESULT _hr = get_Maximum(&_result);
  33715. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33716. return _result;
  33717. }
  33718. //
  33719. // interface IVGRecentFile wrapper method implementations
  33720. //
  33721. #pragma implementation_key(5144)
  33722. inline HRESULT VGCore::IVGRecentFile::Delete ( ) {
  33723. HRESULT _hr = raw_Delete();
  33724. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33725. return _hr;
  33726. }
  33727. #pragma implementation_key(5145)
  33728. inline IDispatchPtr VGCore::IVGRecentFile::Open ( ) {
  33729. IDispatch * _result = 0;
  33730. HRESULT _hr = raw_Open(&_result);
  33731. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33732. return IDispatchPtr(_result, false);
  33733. }
  33734. #pragma implementation_key(5146)
  33735. inline IDispatchPtr VGCore::IVGRecentFile::GetApplication ( ) {
  33736. IDispatch * _result = 0;
  33737. HRESULT _hr = get_Application(&_result);
  33738. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33739. return IDispatchPtr(_result, false);
  33740. }
  33741. #pragma implementation_key(5147)
  33742. inline VGCore::IVGRecentFilesPtr VGCore::IVGRecentFile::GetParent ( ) {
  33743. struct IVGRecentFiles * _result = 0;
  33744. HRESULT _hr = get_Parent(&_result);
  33745. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33746. return IVGRecentFilesPtr(_result, false);
  33747. }
  33748. #pragma implementation_key(5148)
  33749. inline long VGCore::IVGRecentFile::GetIndex ( ) {
  33750. long _result = 0;
  33751. HRESULT _hr = get_Index(&_result);
  33752. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33753. return _result;
  33754. }
  33755. #pragma implementation_key(5149)
  33756. inline _bstr_t VGCore::IVGRecentFile::GetName ( ) {
  33757. BSTR _result = 0;
  33758. HRESULT _hr = get_Name(&_result);
  33759. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33760. return _bstr_t(_result, false);
  33761. }
  33762. #pragma implementation_key(5150)
  33763. inline void VGCore::IVGRecentFile::PutName ( _bstr_t pVal ) {
  33764. HRESULT _hr = put_Name(pVal);
  33765. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33766. }
  33767. #pragma implementation_key(5151)
  33768. inline _bstr_t VGCore::IVGRecentFile::GetPath ( ) {
  33769. BSTR _result = 0;
  33770. HRESULT _hr = get_Path(&_result);
  33771. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33772. return _bstr_t(_result, false);
  33773. }
  33774. #pragma implementation_key(5152)
  33775. inline void VGCore::IVGRecentFile::PutPath ( _bstr_t pVal ) {
  33776. HRESULT _hr = put_Path(pVal);
  33777. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33778. }
  33779. #pragma implementation_key(5153)
  33780. inline _bstr_t VGCore::IVGRecentFile::GetFullName ( ) {
  33781. BSTR _result = 0;
  33782. HRESULT _hr = get_FullName(&_result);
  33783. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33784. return _bstr_t(_result, false);
  33785. }
  33786. #pragma implementation_key(5154)
  33787. inline void VGCore::IVGRecentFile::PutFullName ( _bstr_t pVal ) {
  33788. HRESULT _hr = put_FullName(pVal);
  33789. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33790. }
  33791. //
  33792. // interface IVGPageSizes wrapper method implementations
  33793. //
  33794. #pragma implementation_key(5155)
  33795. inline VGCore::IVGApplicationPtr VGCore::IVGPageSizes::GetParent ( ) {
  33796. struct IVGApplication * _result = 0;
  33797. HRESULT _hr = get_Parent(&_result);
  33798. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33799. return IVGApplicationPtr(_result, false);
  33800. }
  33801. #pragma implementation_key(5156)
  33802. inline long VGCore::IVGPageSizes::GetCount ( ) {
  33803. long _result = 0;
  33804. HRESULT _hr = get_Count(&_result);
  33805. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33806. return _result;
  33807. }
  33808. #pragma implementation_key(5157)
  33809. inline VGCore::IVGPageSizePtr VGCore::IVGPageSizes::GetItem ( const _variant_t & IndexOrName ) {
  33810. struct IVGPageSize * _result = 0;
  33811. HRESULT _hr = get_Item(IndexOrName, &_result);
  33812. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33813. return IVGPageSizePtr(_result, false);
  33814. }
  33815. #pragma implementation_key(5158)
  33816. inline IUnknownPtr VGCore::IVGPageSizes::Get_NewEnum ( ) {
  33817. IUnknown * _result = 0;
  33818. HRESULT _hr = get__NewEnum(&_result);
  33819. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33820. return IUnknownPtr(_result, false);
  33821. }
  33822. #pragma implementation_key(5159)
  33823. inline VGCore::IVGPageSizePtr VGCore::IVGPageSizes::Add ( _bstr_t Name, double Width, double Height ) {
  33824. struct IVGPageSize * _result = 0;
  33825. HRESULT _hr = raw_Add(Name, Width, Height, &_result);
  33826. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33827. return IVGPageSizePtr(_result, false);
  33828. }
  33829. //
  33830. // interface IVGPageSize wrapper method implementations
  33831. //
  33832. #pragma implementation_key(5160)
  33833. inline VGCore::IVGPageSizesPtr VGCore::IVGPageSize::GetParent ( ) {
  33834. struct IVGPageSizes * _result = 0;
  33835. HRESULT _hr = get_Parent(&_result);
  33836. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33837. return IVGPageSizesPtr(_result, false);
  33838. }
  33839. #pragma implementation_key(5161)
  33840. inline VARIANT_BOOL VGCore::IVGPageSize::GetBuiltIn ( ) {
  33841. VARIANT_BOOL _result = 0;
  33842. HRESULT _hr = get_BuiltIn(&_result);
  33843. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33844. return _result;
  33845. }
  33846. #pragma implementation_key(5162)
  33847. inline _bstr_t VGCore::IVGPageSize::GetName ( ) {
  33848. BSTR _result = 0;
  33849. HRESULT _hr = get_Name(&_result);
  33850. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33851. return _bstr_t(_result, false);
  33852. }
  33853. #pragma implementation_key(5163)
  33854. inline double VGCore::IVGPageSize::GetWidth ( ) {
  33855. double _result = 0;
  33856. HRESULT _hr = get_Width(&_result);
  33857. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33858. return _result;
  33859. }
  33860. #pragma implementation_key(5164)
  33861. inline void VGCore::IVGPageSize::PutWidth ( double pVal ) {
  33862. HRESULT _hr = put_Width(pVal);
  33863. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33864. }
  33865. #pragma implementation_key(5165)
  33866. inline double VGCore::IVGPageSize::GetHeight ( ) {
  33867. double _result = 0;
  33868. HRESULT _hr = get_Height(&_result);
  33869. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33870. return _result;
  33871. }
  33872. #pragma implementation_key(5166)
  33873. inline void VGCore::IVGPageSize::PutHeight ( double pVal ) {
  33874. HRESULT _hr = put_Height(pVal);
  33875. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33876. }
  33877. #pragma implementation_key(5167)
  33878. inline long VGCore::IVGPageSize::GetIndex ( ) {
  33879. long _result = 0;
  33880. HRESULT _hr = get_Index(&_result);
  33881. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33882. return _result;
  33883. }
  33884. #pragma implementation_key(5168)
  33885. inline HRESULT VGCore::IVGPageSize::Delete ( ) {
  33886. HRESULT _hr = raw_Delete();
  33887. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33888. return _hr;
  33889. }
  33890. #pragma implementation_key(5169)
  33891. inline VARIANT_BOOL VGCore::IVGPageSize::GetFixedOrientation ( ) {
  33892. VARIANT_BOOL _result = 0;
  33893. HRESULT _hr = get_FixedOrientation(&_result);
  33894. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33895. return _result;
  33896. }
  33897. #pragma implementation_key(5170)
  33898. inline enum VGCore::cdrUnit VGCore::IVGPageSize::GetDefaultUnit ( ) {
  33899. enum cdrUnit _result;
  33900. HRESULT _hr = get_DefaultUnit(&_result);
  33901. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33902. return _result;
  33903. }
  33904. //
  33905. // interface IVGViews wrapper method implementations
  33906. //
  33907. #pragma implementation_key(5171)
  33908. inline VGCore::IVGApplicationPtr VGCore::IVGViews::GetApplication ( ) {
  33909. struct IVGApplication * _result = 0;
  33910. HRESULT _hr = get_Application(&_result);
  33911. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33912. return IVGApplicationPtr(_result, false);
  33913. }
  33914. #pragma implementation_key(5172)
  33915. inline VGCore::IVGDocumentPtr VGCore::IVGViews::GetParent ( ) {
  33916. struct IVGDocument * _result = 0;
  33917. HRESULT _hr = get_Parent(&_result);
  33918. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33919. return IVGDocumentPtr(_result, false);
  33920. }
  33921. #pragma implementation_key(5173)
  33922. inline VGCore::IVGViewPtr VGCore::IVGViews::GetItem ( const _variant_t & IndexOrName ) {
  33923. struct IVGView * _result = 0;
  33924. HRESULT _hr = get_Item(IndexOrName, &_result);
  33925. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33926. return IVGViewPtr(_result, false);
  33927. }
  33928. #pragma implementation_key(5174)
  33929. inline IUnknownPtr VGCore::IVGViews::Get_NewEnum ( ) {
  33930. IUnknown * _result = 0;
  33931. HRESULT _hr = get__NewEnum(&_result);
  33932. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33933. return IUnknownPtr(_result, false);
  33934. }
  33935. #pragma implementation_key(5175)
  33936. inline long VGCore::IVGViews::GetCount ( ) {
  33937. long _result = 0;
  33938. HRESULT _hr = get_Count(&_result);
  33939. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33940. return _result;
  33941. }
  33942. #pragma implementation_key(5176)
  33943. inline VGCore::IVGViewPtr VGCore::IVGViews::AddActiveView ( _bstr_t Name ) {
  33944. struct IVGView * _result = 0;
  33945. HRESULT _hr = raw_AddActiveView(Name, &_result);
  33946. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33947. return IVGViewPtr(_result, false);
  33948. }
  33949. //
  33950. // interface IVGView wrapper method implementations
  33951. //
  33952. #pragma implementation_key(5177)
  33953. inline VGCore::IVGApplicationPtr VGCore::IVGView::GetApplication ( ) {
  33954. struct IVGApplication * _result = 0;
  33955. HRESULT _hr = get_Application(&_result);
  33956. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33957. return IVGApplicationPtr(_result, false);
  33958. }
  33959. #pragma implementation_key(5178)
  33960. inline VGCore::IVGViewsPtr VGCore::IVGView::GetParent ( ) {
  33961. struct IVGViews * _result = 0;
  33962. HRESULT _hr = get_Parent(&_result);
  33963. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33964. return IVGViewsPtr(_result, false);
  33965. }
  33966. #pragma implementation_key(5179)
  33967. inline _bstr_t VGCore::IVGView::GetName ( ) {
  33968. BSTR _result = 0;
  33969. HRESULT _hr = get_Name(&_result);
  33970. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33971. return _bstr_t(_result, false);
  33972. }
  33973. #pragma implementation_key(5180)
  33974. inline void VGCore::IVGView::PutName ( _bstr_t Name ) {
  33975. HRESULT _hr = put_Name(Name);
  33976. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33977. }
  33978. #pragma implementation_key(5181)
  33979. inline double VGCore::IVGView::GetOriginX ( ) {
  33980. double _result = 0;
  33981. HRESULT _hr = get_OriginX(&_result);
  33982. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33983. return _result;
  33984. }
  33985. #pragma implementation_key(5182)
  33986. inline void VGCore::IVGView::PutOriginX ( double pVal ) {
  33987. HRESULT _hr = put_OriginX(pVal);
  33988. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33989. }
  33990. #pragma implementation_key(5183)
  33991. inline double VGCore::IVGView::GetOriginY ( ) {
  33992. double _result = 0;
  33993. HRESULT _hr = get_OriginY(&_result);
  33994. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  33995. return _result;
  33996. }
  33997. #pragma implementation_key(5184)
  33998. inline void VGCore::IVGView::PutOriginY ( double pVal ) {
  33999. HRESULT _hr = put_OriginY(pVal);
  34000. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34001. }
  34002. #pragma implementation_key(5185)
  34003. inline VARIANT_BOOL VGCore::IVGView::GetUsePage ( ) {
  34004. VARIANT_BOOL _result = 0;
  34005. HRESULT _hr = get_UsePage(&_result);
  34006. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34007. return _result;
  34008. }
  34009. #pragma implementation_key(5186)
  34010. inline void VGCore::IVGView::PutUsePage ( VARIANT_BOOL pVal ) {
  34011. HRESULT _hr = put_UsePage(pVal);
  34012. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34013. }
  34014. #pragma implementation_key(5187)
  34015. inline VGCore::IVGPagePtr VGCore::IVGView::GetPage ( ) {
  34016. struct IVGPage * _result = 0;
  34017. HRESULT _hr = get_Page(&_result);
  34018. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34019. return IVGPagePtr(_result, false);
  34020. }
  34021. #pragma implementation_key(5188)
  34022. inline void VGCore::IVGView::PutPage ( struct IVGPage * Page ) {
  34023. HRESULT _hr = put_Page(Page);
  34024. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34025. }
  34026. #pragma implementation_key(5189)
  34027. inline VARIANT_BOOL VGCore::IVGView::GetUseZoom ( ) {
  34028. VARIANT_BOOL _result = 0;
  34029. HRESULT _hr = get_UseZoom(&_result);
  34030. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34031. return _result;
  34032. }
  34033. #pragma implementation_key(5190)
  34034. inline void VGCore::IVGView::PutUseZoom ( VARIANT_BOOL pVal ) {
  34035. HRESULT _hr = put_UseZoom(pVal);
  34036. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34037. }
  34038. #pragma implementation_key(5191)
  34039. inline double VGCore::IVGView::GetZoom ( ) {
  34040. double _result = 0;
  34041. HRESULT _hr = get_Zoom(&_result);
  34042. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34043. return _result;
  34044. }
  34045. #pragma implementation_key(5192)
  34046. inline void VGCore::IVGView::PutZoom ( double pVal ) {
  34047. HRESULT _hr = put_Zoom(pVal);
  34048. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34049. }
  34050. #pragma implementation_key(5193)
  34051. inline HRESULT VGCore::IVGView::Activate ( ) {
  34052. HRESULT _hr = raw_Activate();
  34053. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34054. return _hr;
  34055. }
  34056. #pragma implementation_key(5194)
  34057. inline HRESULT VGCore::IVGView::Delete ( ) {
  34058. HRESULT _hr = raw_Delete();
  34059. if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  34060. return _hr;
  34061. }