123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531 |
- // Created by Microsoft (R) C/C++ Compiler Version 14.40.33808.0 (cc163f71).
- //
- // R:\lycpg64\obj\Release\vgcoreauto.tli
- //
- // Wrapper implementations for type library vgcoreauto.tlb
- // compiler-generated file - DO NOT EDIT!
- //
- // interface ICorelImportFilter wrapper method implementations
- //
- #pragma implementation_key(1)
- inline HRESULT VGCore::ICorelImportFilter::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2)
- inline HRESULT VGCore::ICorelImportFilter::Finish ( ) {
- HRESULT _hr = raw_Finish();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3)
- inline VARIANT_BOOL VGCore::ICorelImportFilter::GetHasDialog ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasDialog(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4)
- inline VARIANT_BOOL VGCore::ICorelImportFilter::ShowDialog ( long hWnd ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ShowDialog(hWnd, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ICorelExportFilter wrapper method implementations
- //
- #pragma implementation_key(5)
- inline HRESULT VGCore::ICorelExportFilter::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(6)
- inline HRESULT VGCore::ICorelExportFilter::Finish ( ) {
- HRESULT _hr = raw_Finish();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(7)
- inline VARIANT_BOOL VGCore::ICorelExportFilter::GetHasDialog ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasDialog(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(8)
- inline VARIANT_BOOL VGCore::ICorelExportFilter::ShowDialog ( long hWnd ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ShowDialog(hWnd, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ICUIControlData wrapper method implementations
- //
- #pragma implementation_key(9)
- inline _variant_t VGCore::ICUIControlData::GetValue ( _bstr_t PropertyName ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetValue(PropertyName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface ICUIAutomation wrapper method implementations
- //
- #pragma implementation_key(10)
- inline long VGCore::ICUIAutomation::GetNumItemsOnBar ( _bstr_t GuidBar ) {
- long _result = 0;
- HRESULT _hr = raw_GetNumItemsOnBar(GuidBar, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(11)
- inline _bstr_t VGCore::ICUIAutomation::GetItem ( _bstr_t GuidBar, long Index, VARIANT_BOOL * HasSubBar ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetItem(GuidBar, Index, HasSubBar, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(12)
- inline long VGCore::ICUIAutomation::GetItemInstanceHwnd ( _bstr_t GuidParent, _bstr_t GuidItem ) {
- long _result = 0;
- HRESULT _hr = raw_GetItemInstanceHwnd(GuidParent, GuidItem, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(13)
- inline VARIANT_BOOL VGCore::ICUIAutomation::GetSubBar ( _bstr_t GuidBar, BSTR * GuidSubBar ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetSubBar(GuidBar, GuidSubBar, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(14)
- inline VARIANT_BOOL VGCore::ICUIAutomation::ShowBar ( _bstr_t GuidBar, VARIANT_BOOL Show ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ShowBar(GuidBar, Show, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(15)
- inline _bstr_t VGCore::ICUIAutomation::GetCaptionText ( _bstr_t GuidItem ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetCaptionText(GuidItem, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(16)
- inline HRESULT VGCore::ICUIAutomation::Invoke ( _bstr_t GuidItem ) {
- HRESULT _hr = raw_Invoke(GuidItem);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(17)
- inline VARIANT_BOOL VGCore::ICUIAutomation::IsEnabled ( _bstr_t GuidItem ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsEnabled(GuidItem, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(18)
- inline VARIANT_BOOL VGCore::ICUIAutomation::GetItemScreenRect ( _bstr_t GuidParent, _bstr_t GuidItem, long * TopLeftX, long * TopLeftY, long * Width, long * Height ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetItemScreenRect(GuidParent, GuidItem, TopLeftX, TopLeftY, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(19)
- inline HRESULT VGCore::ICUIAutomation::InvokeItem ( _bstr_t GuidItem ) {
- HRESULT _hr = raw_InvokeItem(GuidItem);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(20)
- inline HRESULT VGCore::ICUIAutomation::InvokeDialogItem ( _bstr_t GuidDialog, _bstr_t GuidItem ) {
- HRESULT _hr = raw_InvokeDialogItem(GuidDialog, GuidItem);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(21)
- inline VGCore::ICUIControlDataPtr VGCore::ICUIAutomation::GetControlData ( _bstr_t Guid ) {
- struct ICUIControlData * _result = 0;
- HRESULT _hr = raw_GetControlData(Guid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlDataPtr(_result, false);
- }
- #pragma implementation_key(22)
- inline VGCore::ICUIControlDataPtr VGCore::ICUIAutomation::GetControlDataEx ( _bstr_t GuidParent, _bstr_t Guid ) {
- struct ICUIControlData * _result = 0;
- HRESULT _hr = raw_GetControlDataEx(GuidParent, Guid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlDataPtr(_result, false);
- }
- #pragma implementation_key(23)
- inline VARIANT_BOOL VGCore::ICUIAutomation::GetActiveMenuItemScreenRect ( int itemIndex, long * TopLeftX, long * TopLeftY, long * Width, long * Height ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetActiveMenuItemScreenRect(itemIndex, TopLeftX, TopLeftY, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(24)
- inline _bstr_t VGCore::ICUIAutomation::GetActiveMenuItemGuid ( int itemIndex ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetActiveMenuItemGuid(itemIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface ICUIControl wrapper method implementations
- //
- #pragma implementation_key(25)
- inline _bstr_t VGCore::ICUIControl::GetCaption ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Caption(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(26)
- inline void VGCore::ICUIControl::PutCaption ( _bstr_t pVal ) {
- HRESULT _hr = put_Caption(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(27)
- inline _bstr_t VGCore::ICUIControl::GetDescriptionText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DescriptionText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(28)
- inline void VGCore::ICUIControl::PutDescriptionText ( _bstr_t pVal ) {
- HRESULT _hr = put_DescriptionText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(29)
- inline long VGCore::ICUIControl::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(30)
- inline void VGCore::ICUIControl::PutHeight ( long pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(31)
- inline long VGCore::ICUIControl::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(32)
- inline void VGCore::ICUIControl::PutWidth ( long pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(33)
- inline _bstr_t VGCore::ICUIControl::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(34)
- inline _variant_t VGCore::ICUIControl::GetParameter ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Parameter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(35)
- inline void VGCore::ICUIControl::PutParameter ( const _variant_t & pVal ) {
- HRESULT _hr = put_Parameter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(36)
- inline _bstr_t VGCore::ICUIControl::GetTag ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Tag(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(37)
- inline void VGCore::ICUIControl::PutTag ( _bstr_t pVal ) {
- HRESULT _hr = put_Tag(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(38)
- inline _bstr_t VGCore::ICUIControl::GetToolTipText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ToolTipText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(39)
- inline void VGCore::ICUIControl::PutToolTipText ( _bstr_t pVal ) {
- HRESULT _hr = put_ToolTipText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(40)
- inline VARIANT_BOOL VGCore::ICUIControl::GetVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Visible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(41)
- inline void VGCore::ICUIControl::PutVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Visible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(42)
- inline HRESULT VGCore::ICUIControl::SetIcon ( long RowIndex, long ColumnIndex ) {
- HRESULT _hr = raw_SetIcon(RowIndex, ColumnIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(43)
- inline HRESULT VGCore::ICUIControl::SetCustomIcon ( _bstr_t ImageFile ) {
- HRESULT _hr = raw_SetCustomIcon(ImageFile);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(44)
- inline HRESULT VGCore::ICUIControl::SetIcon2 ( _bstr_t Icon ) {
- HRESULT _hr = raw_SetIcon2(Icon);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUIControls wrapper method implementations
- //
- #pragma implementation_key(45)
- inline long VGCore::ICUIControls::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(46)
- inline VGCore::ICUIControlPtr VGCore::ICUIControls::GetItem ( long Index ) {
- struct ICUIControl * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlPtr(_result, false);
- }
- #pragma implementation_key(47)
- inline IUnknownPtr VGCore::ICUIControls::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(48)
- inline VGCore::ICUIControlPtr VGCore::ICUIControls::Add ( _bstr_t ControlID, long Index, VARIANT_BOOL Temporary ) {
- struct ICUIControl * _result = 0;
- HRESULT _hr = raw_Add(ControlID, Index, Temporary, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlPtr(_result, false);
- }
- #pragma implementation_key(49)
- inline VGCore::ICUIControlPtr VGCore::ICUIControls::AddCustomButton ( _bstr_t CategoryID, _bstr_t Command, long Index, VARIANT_BOOL Temporary ) {
- struct ICUIControl * _result = 0;
- HRESULT _hr = raw_AddCustomButton(CategoryID, Command, Index, Temporary, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlPtr(_result, false);
- }
- #pragma implementation_key(50)
- inline VGCore::ICUIControlPtr VGCore::ICUIControls::AddCustomControl ( _bstr_t ClassName, _bstr_t AssemblyPath, long Index, VARIANT_BOOL Temporary ) {
- struct ICUIControl * _result = 0;
- HRESULT _hr = raw_AddCustomControl(ClassName, AssemblyPath, Index, Temporary, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlPtr(_result, false);
- }
- #pragma implementation_key(51)
- inline VGCore::ICUIControlPtr VGCore::ICUIControls::AddToggleButton ( _bstr_t Guid, long Index, VARIANT_BOOL Temporary ) {
- struct ICUIControl * _result = 0;
- HRESULT _hr = raw_AddToggleButton(Guid, Index, Temporary, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlPtr(_result, false);
- }
- #pragma implementation_key(52)
- inline HRESULT VGCore::ICUIControls::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUICommandBarMode wrapper method implementations
- //
- #pragma implementation_key(53)
- inline _bstr_t VGCore::ICUICommandBarMode::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(54)
- inline _bstr_t VGCore::ICUICommandBarMode::GetNameLocal ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_NameLocal(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(55)
- inline VGCore::ICUIControlsPtr VGCore::ICUICommandBarMode::GetControls ( ) {
- struct ICUIControls * _result = 0;
- HRESULT _hr = get_Controls(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlsPtr(_result, false);
- }
- //
- // interface ICUICommandBarModes wrapper method implementations
- //
- #pragma implementation_key(56)
- inline VGCore::ICUICommandBarModePtr VGCore::ICUICommandBarModes::GetItem ( const _variant_t & IndexOrName ) {
- struct ICUICommandBarMode * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarModePtr(_result, false);
- }
- #pragma implementation_key(57)
- inline long VGCore::ICUICommandBarModes::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(58)
- inline IUnknownPtr VGCore::ICUICommandBarModes::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface ICUICommandBar wrapper method implementations
- //
- #pragma implementation_key(59)
- inline enum VGCore::cuiBarType VGCore::ICUICommandBar::GetType ( ) {
- enum cuiBarType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(60)
- inline VARIANT_BOOL VGCore::ICUICommandBar::GetVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Visible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(61)
- inline void VGCore::ICUICommandBar::PutVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Visible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(62)
- inline VGCore::ICUIControlsPtr VGCore::ICUICommandBar::GetControls ( ) {
- struct ICUIControls * _result = 0;
- HRESULT _hr = get_Controls(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIControlsPtr(_result, false);
- }
- #pragma implementation_key(63)
- inline VGCore::ICUICommandBarModesPtr VGCore::ICUICommandBar::GetModes ( ) {
- struct ICUICommandBarModes * _result = 0;
- HRESULT _hr = get_Modes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarModesPtr(_result, false);
- }
- #pragma implementation_key(64)
- inline VARIANT_BOOL VGCore::ICUICommandBar::GetBuiltIn ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BuiltIn(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(65)
- inline VARIANT_BOOL VGCore::ICUICommandBar::GetEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Enabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(66)
- inline void VGCore::ICUICommandBar::PutEnabled ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Enabled(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(67)
- inline long VGCore::ICUICommandBar::GetLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_Left(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(68)
- inline void VGCore::ICUICommandBar::PutLeft ( long pVal ) {
- HRESULT _hr = put_Left(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(69)
- inline long VGCore::ICUICommandBar::GetTop ( ) {
- long _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(70)
- inline void VGCore::ICUICommandBar::PutTop ( long pVal ) {
- HRESULT _hr = put_Top(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(71)
- inline long VGCore::ICUICommandBar::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(72)
- inline long VGCore::ICUICommandBar::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(73)
- inline long VGCore::ICUICommandBar::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(74)
- inline _bstr_t VGCore::ICUICommandBar::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(75)
- inline void VGCore::ICUICommandBar::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(76)
- inline _bstr_t VGCore::ICUICommandBar::GetNameLocal ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_NameLocal(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(77)
- inline void VGCore::ICUICommandBar::PutNameLocal ( _bstr_t pVal ) {
- HRESULT _hr = put_NameLocal(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(78)
- inline enum VGCore::cuiBarPosition VGCore::ICUICommandBar::GetPosition ( ) {
- enum cuiBarPosition _result;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(79)
- inline void VGCore::ICUICommandBar::PutPosition ( enum cuiBarPosition pVal ) {
- HRESULT _hr = put_Position(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(80)
- inline enum VGCore::cuiBarProtection VGCore::ICUICommandBar::GetProtection ( ) {
- enum cuiBarProtection _result;
- HRESULT _hr = get_Protection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(81)
- inline void VGCore::ICUICommandBar::PutProtection ( enum cuiBarProtection pVal ) {
- HRESULT _hr = put_Protection(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(82)
- inline HRESULT VGCore::ICUICommandBar::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(83)
- inline HRESULT VGCore::ICUICommandBar::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(84)
- inline HRESULT VGCore::ICUICommandBar::ShowPopup ( const _variant_t & x, const _variant_t & y ) {
- HRESULT _hr = raw_ShowPopup(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(85)
- inline HRESULT VGCore::ICUICommandBar::SetWidth ( long Width ) {
- HRESULT _hr = raw_SetWidth(Width);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUICommandBars wrapper method implementations
- //
- #pragma implementation_key(86)
- inline VGCore::ICUICommandBarPtr VGCore::ICUICommandBars::GetItem ( const _variant_t & IndexOrName ) {
- struct ICUICommandBar * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarPtr(_result, false);
- }
- #pragma implementation_key(87)
- inline long VGCore::ICUICommandBars::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(88)
- inline IUnknownPtr VGCore::ICUICommandBars::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(89)
- inline VGCore::ICUICommandBarPtr VGCore::ICUICommandBars::Add ( _bstr_t Name, enum cuiBarPosition Position, VARIANT_BOOL Temporary ) {
- struct ICUICommandBar * _result = 0;
- HRESULT _hr = raw_Add(Name, Position, Temporary, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarPtr(_result, false);
- }
- //
- // interface ICUIScreenRect wrapper method implementations
- //
- #pragma implementation_key(90)
- inline long VGCore::ICUIScreenRect::GetLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_Left(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(91)
- inline void VGCore::ICUIScreenRect::PutLeft ( long pVal ) {
- HRESULT _hr = put_Left(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(92)
- inline long VGCore::ICUIScreenRect::GetRight ( ) {
- long _result = 0;
- HRESULT _hr = get_Right(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(93)
- inline void VGCore::ICUIScreenRect::PutRight ( long pVal ) {
- HRESULT _hr = put_Right(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(94)
- inline long VGCore::ICUIScreenRect::GetTop ( ) {
- long _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(95)
- inline void VGCore::ICUIScreenRect::PutTop ( long pVal ) {
- HRESULT _hr = put_Top(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(96)
- inline long VGCore::ICUIScreenRect::GetBottom ( ) {
- long _result = 0;
- HRESULT _hr = get_Bottom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(97)
- inline void VGCore::ICUIScreenRect::PutBottom ( long pVal ) {
- HRESULT _hr = put_Bottom(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(98)
- inline long VGCore::ICUIScreenRect::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(99)
- inline void VGCore::ICUIScreenRect::PutWidth ( long pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(100)
- inline long VGCore::ICUIScreenRect::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(101)
- inline void VGCore::ICUIScreenRect::PutHeight ( long pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(102)
- inline long VGCore::ICUIScreenRect::GetCenterX ( ) {
- long _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(103)
- inline void VGCore::ICUIScreenRect::PutCenterX ( long pVal ) {
- HRESULT _hr = put_CenterX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(104)
- inline long VGCore::ICUIScreenRect::GetCenterY ( ) {
- long _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(105)
- inline void VGCore::ICUIScreenRect::PutCenterY ( long pVal ) {
- HRESULT _hr = put_CenterY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(106)
- inline HRESULT VGCore::ICUIScreenRect::SetPosition ( long Left, long Top, long Width, long Height ) {
- HRESULT _hr = raw_SetPosition(Left, Top, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(107)
- inline HRESULT VGCore::ICUIScreenRect::Resize ( long Width, long Height ) {
- HRESULT _hr = raw_Resize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(108)
- inline HRESULT VGCore::ICUIScreenRect::Move ( long Left, long Top ) {
- HRESULT _hr = raw_Move(Left, Top);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(109)
- inline VARIANT_BOOL VGCore::ICUIScreenRect::GetReadOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ReadOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(110)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIScreenRect::GetCopy ( ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- #pragma implementation_key(111)
- inline HRESULT VGCore::ICUIScreenRect::CopyAssign ( struct ICUIScreenRect * Source ) {
- HRESULT _hr = raw_CopyAssign(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(112)
- inline HRESULT VGCore::ICUIScreenRect::Offset ( long OffsetX, long OffsetY ) {
- HRESULT _hr = raw_Offset(OffsetX, OffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(113)
- inline HRESULT VGCore::ICUIScreenRect::Inflate ( long Left, long Top, long Right, long Bottom ) {
- HRESULT _hr = raw_Inflate(Left, Top, Right, Bottom);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(114)
- inline VARIANT_BOOL VGCore::ICUIScreenRect::IsPointInside ( long x, long y ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsPointInside(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(115)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIScreenRect::Union ( struct ICUIScreenRect * Source ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = raw_Union(Source, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- #pragma implementation_key(116)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIScreenRect::Intersect ( struct ICUIScreenRect * Source ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = raw_Intersect(Source, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- #pragma implementation_key(117)
- inline VARIANT_BOOL VGCore::ICUIScreenRect::IsEmpty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsEmpty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ICUIBitmapImage wrapper method implementations
- //
- #pragma implementation_key(118)
- inline VARIANT_BOOL VGCore::ICUIBitmapImage::GetValid ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Valid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(119)
- inline long VGCore::ICUIBitmapImage::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(120)
- inline long VGCore::ICUIBitmapImage::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ICUIImageList wrapper method implementations
- //
- #pragma implementation_key(121)
- inline long VGCore::ICUIImageList::GetImageCount ( ) {
- long _result = 0;
- HRESULT _hr = get_ImageCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(122)
- inline VARIANT_BOOL VGCore::ICUIImageList::ImageExists ( _bstr_t Key ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ImageExists(Key, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(123)
- inline HRESULT VGCore::ICUIImageList::RemoveAll ( ) {
- HRESULT _hr = raw_RemoveAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(124)
- inline VARIANT_BOOL VGCore::ICUIImageList::AddImage ( _bstr_t Key, const _variant_t & ImageData, long MaxSize ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_AddImage(Key, ImageData, MaxSize, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(125)
- inline SAFEARRAY * VGCore::ICUIImageList::GetImageKeys ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = get_ImageKeys(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(126)
- inline VARIANT_BOOL VGCore::ICUIImageList::RemoveImage ( _bstr_t Key ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_RemoveImage(Key, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(127)
- inline HRESULT VGCore::ICUIImageList::AddBitmap ( _bstr_t Key, struct ICUIBitmapImage * Bitmap ) {
- HRESULT _hr = raw_AddBitmap(Key, Bitmap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUIStatusText wrapper method implementations
- //
- #pragma implementation_key(128)
- inline HRESULT VGCore::ICUIStatusText::SetCaptionText ( _bstr_t Text ) {
- HRESULT _hr = raw_SetCaptionText(Text);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(129)
- inline HRESULT VGCore::ICUIStatusText::SetBitmap ( struct ICUIBitmapImage * Bitmap ) {
- HRESULT _hr = raw_SetBitmap(Bitmap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUIWarning wrapper method implementations
- //
- #pragma implementation_key(130)
- inline VARIANT_BOOL VGCore::ICUIWarning::GetEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Enabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(131)
- inline void VGCore::ICUIWarning::PutEnabled ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Enabled(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(132)
- inline _bstr_t VGCore::ICUIWarning::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(133)
- inline _bstr_t VGCore::ICUIWarning::GetDescription ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Description(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(134)
- inline _bstr_t VGCore::ICUIWarning::GetText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Text(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(135)
- inline _bstr_t VGCore::ICUIWarning::GetTitle ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Title(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(136)
- inline long VGCore::ICUIWarning::DoWarningDialog ( long unFlags, _bstr_t Text ) {
- long _result = 0;
- HRESULT _hr = raw_DoWarningDialog(unFlags, Text, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ICUITask wrapper method implementations
- //
- #pragma implementation_key(137)
- inline HRESULT VGCore::ICUITask::RunTask ( ) {
- HRESULT _hr = raw_RunTask();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUIBackgroundTask wrapper method implementations
- //
- #pragma implementation_key(138)
- inline HRESULT VGCore::ICUIBackgroundTask::FinalizeTask ( ) {
- HRESULT _hr = raw_FinalizeTask();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(139)
- inline HRESULT VGCore::ICUIBackgroundTask::FreeTask ( ) {
- HRESULT _hr = raw_FreeTask();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(140)
- inline HRESULT VGCore::ICUIBackgroundTask::QuitTask ( ) {
- HRESULT _hr = raw_QuitTask();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(141)
- inline _bstr_t VGCore::ICUIBackgroundTask::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface ICUIRunningTask wrapper method implementations
- //
- #pragma implementation_key(142)
- inline HRESULT VGCore::ICUIRunningTask::TryAbort ( ) {
- HRESULT _hr = raw_TryAbort();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUIRunningBackgroundTask wrapper method implementations
- //
- #pragma implementation_key(143)
- inline HRESULT VGCore::ICUIRunningBackgroundTask::WaitUntilDone ( ) {
- HRESULT _hr = raw_WaitUntilDone();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(144)
- inline HRESULT VGCore::ICUIRunningBackgroundTask::Reprioritize ( enum cuiTaskPriority __MIDL__ICUIRunningBackgroundTask0000 ) {
- HRESULT _hr = raw_Reprioritize(__MIDL__ICUIRunningBackgroundTask0000);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(145)
- inline VARIANT_BOOL VGCore::ICUIRunningBackgroundTask::FinalizeIfDone ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_FinalizeIfDone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ICUITaskManager wrapper method implementations
- //
- #pragma implementation_key(146)
- inline HRESULT VGCore::ICUITaskManager::RunOnUIThread ( struct ICUITask * pTask ) {
- HRESULT _hr = raw_RunOnUIThread(pTask);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(147)
- inline VGCore::ICUIRunningBackgroundTaskPtr VGCore::ICUITaskManager::RunInBackground ( enum cuiTaskPriority priority, struct ICUIBackgroundTask * pTask ) {
- struct ICUIRunningBackgroundTask * _result = 0;
- HRESULT _hr = raw_RunInBackground(priority, pTask, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIRunningBackgroundTaskPtr(_result, false);
- }
- //
- // interface IPrnVBAPrintLayout wrapper method implementations
- //
- #pragma implementation_key(148)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintLayout::GetUseBleedLimit ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseBleedLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(149)
- inline void VGCore::IPrnVBAPrintLayout::PutUseBleedLimit ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseBleedLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(150)
- inline double VGCore::IPrnVBAPrintLayout::GetBleedLimit ( ) {
- double _result = 0;
- HRESULT _hr = get_BleedLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(151)
- inline void VGCore::IPrnVBAPrintLayout::PutBleedLimit ( double pVal ) {
- HRESULT _hr = put_BleedLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(152)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintLayout::GetPrintTiledPages ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintTiledPages(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(153)
- inline void VGCore::IPrnVBAPrintLayout::PutPrintTiledPages ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintTiledPages(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(154)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintLayout::GetPrintTilingMarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintTilingMarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(155)
- inline void VGCore::IPrnVBAPrintLayout::PutPrintTilingMarks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintTilingMarks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(156)
- inline double VGCore::IPrnVBAPrintLayout::GetTileOverlap ( ) {
- double _result = 0;
- HRESULT _hr = get_TileOverlap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(157)
- inline void VGCore::IPrnVBAPrintLayout::PutTileOverlap ( double pVal ) {
- HRESULT _hr = put_TileOverlap(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(158)
- inline enum VGCore::PrnPlaceType VGCore::IPrnVBAPrintLayout::GetPlacement ( ) {
- enum PrnPlaceType _result;
- HRESULT _hr = get_Placement(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(159)
- inline void VGCore::IPrnVBAPrintLayout::PutPlacement ( enum PrnPlaceType pVal ) {
- HRESULT _hr = put_Placement(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBAPrinter wrapper method implementations
- //
- #pragma implementation_key(160)
- inline _bstr_t VGCore::IPrnVBAPrinter::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(161)
- inline _bstr_t VGCore::IPrnVBAPrinter::GetType ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(162)
- inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetDefault ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Default(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(163)
- inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetReady ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Ready(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(164)
- inline _bstr_t VGCore::IPrnVBAPrinter::GetPort ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Port(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(165)
- inline _bstr_t VGCore::IPrnVBAPrinter::GetDescription ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Description(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(166)
- inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetPostScriptEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PostScriptEnabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(167)
- inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetColorEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ColorEnabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(168)
- inline HRESULT VGCore::IPrnVBAPrinter::ShowDialog ( ) {
- HRESULT _hr = raw_ShowDialog();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(169)
- inline VARIANT_BOOL VGCore::IPrnVBAPrinter::GetPageSizeMatchingSupported ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PageSizeMatchingSupported(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(170)
- inline void VGCore::IPrnVBAPrinter::PutPageSizeMatchingSupported ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PageSizeMatchingSupported(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBAPrinters wrapper method implementations
- //
- #pragma implementation_key(171)
- inline VGCore::IPrnVBAPrinterPtr VGCore::IPrnVBAPrinters::GetItem ( long nIndex ) {
- struct IPrnVBAPrinter * _result = 0;
- HRESULT _hr = get_Item(nIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrinterPtr(_result, false);
- }
- #pragma implementation_key(172)
- inline long VGCore::IPrnVBAPrinters::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(173)
- inline VGCore::IPrnVBAPrinterPtr VGCore::IPrnVBAPrinters::GetDefault ( ) {
- struct IPrnVBAPrinter * _result = 0;
- HRESULT _hr = get_Default(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrinterPtr(_result, false);
- }
- //
- // interface IPrnVBASeparationPlate wrapper method implementations
- //
- #pragma implementation_key(174)
- inline VARIANT_BOOL VGCore::IPrnVBASeparationPlate::GetEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Enabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(175)
- inline void VGCore::IPrnVBASeparationPlate::PutEnabled ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Enabled(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(176)
- inline enum VGCore::PrnPlateType VGCore::IPrnVBASeparationPlate::GetType ( ) {
- enum PrnPlateType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(177)
- inline _bstr_t VGCore::IPrnVBASeparationPlate::GetColor ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(178)
- inline double VGCore::IPrnVBASeparationPlate::GetFrequency ( ) {
- double _result = 0;
- HRESULT _hr = get_Frequency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(179)
- inline void VGCore::IPrnVBASeparationPlate::PutFrequency ( double pVal ) {
- HRESULT _hr = put_Frequency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(180)
- inline double VGCore::IPrnVBASeparationPlate::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(181)
- inline void VGCore::IPrnVBASeparationPlate::PutAngle ( double pVal ) {
- HRESULT _hr = put_Angle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(182)
- inline VARIANT_BOOL VGCore::IPrnVBASeparationPlate::GetOverprintText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OverprintText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(183)
- inline void VGCore::IPrnVBASeparationPlate::PutOverprintText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OverprintText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(184)
- inline VARIANT_BOOL VGCore::IPrnVBASeparationPlate::GetOverprintGraphic ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OverprintGraphic(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(185)
- inline void VGCore::IPrnVBASeparationPlate::PutOverprintGraphic ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OverprintGraphic(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBASeparationPlates wrapper method implementations
- //
- #pragma implementation_key(186)
- inline VGCore::IPrnVBASeparationPlatePtr VGCore::IPrnVBASeparationPlates::GetItem ( long Index ) {
- struct IPrnVBASeparationPlate * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBASeparationPlatePtr(_result, false);
- }
- #pragma implementation_key(187)
- inline long VGCore::IPrnVBASeparationPlates::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IPrnVBAPrintSeparations wrapper method implementations
- //
- #pragma implementation_key(188)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Enabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(189)
- inline void VGCore::IPrnVBAPrintSeparations::PutEnabled ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Enabled(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(190)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetInColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_InColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(191)
- inline void VGCore::IPrnVBAPrintSeparations::PutInColor ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_InColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(192)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetHexachrome ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Hexachrome(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(193)
- inline void VGCore::IPrnVBAPrintSeparations::PutHexachrome ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Hexachrome(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(194)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetSpotToCMYK ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SpotToCMYK(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(195)
- inline void VGCore::IPrnVBAPrintSeparations::PutSpotToCMYK ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_SpotToCMYK(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(196)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetEmptyPlates ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EmptyPlates(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(197)
- inline void VGCore::IPrnVBAPrintSeparations::PutEmptyPlates ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_EmptyPlates(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(198)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetPreserveOverprints ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PreserveOverprints(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(199)
- inline void VGCore::IPrnVBAPrintSeparations::PutPreserveOverprints ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PreserveOverprints(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(200)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAlwaysOverprintBlack ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AlwaysOverprintBlack(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(201)
- inline void VGCore::IPrnVBAPrintSeparations::PutAlwaysOverprintBlack ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AlwaysOverprintBlack(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(202)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAutoSpreading ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AutoSpreading(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(203)
- inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreading ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AutoSpreading(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(204)
- inline double VGCore::IPrnVBAPrintSeparations::GetAutoSpreadAmount ( ) {
- double _result = 0;
- HRESULT _hr = get_AutoSpreadAmount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(205)
- inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreadAmount ( double pVal ) {
- HRESULT _hr = put_AutoSpreadAmount(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(206)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAutoSpreadFixed ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AutoSpreadFixed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(207)
- inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreadFixed ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AutoSpreadFixed(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(208)
- inline double VGCore::IPrnVBAPrintSeparations::GetAutoSpreadTextAbove ( ) {
- double _result = 0;
- HRESULT _hr = get_AutoSpreadTextAbove(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(209)
- inline void VGCore::IPrnVBAPrintSeparations::PutAutoSpreadTextAbove ( double pVal ) {
- HRESULT _hr = put_AutoSpreadTextAbove(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(210)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSeparations::GetAdvancedSettings ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AdvancedSettings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(211)
- inline void VGCore::IPrnVBAPrintSeparations::PutAdvancedSettings ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AdvancedSettings(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(212)
- inline VGCore::IPrnVBASeparationPlatesPtr VGCore::IPrnVBAPrintSeparations::GetPlates ( ) {
- struct IPrnVBASeparationPlates * _result = 0;
- HRESULT _hr = get_Plates(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBASeparationPlatesPtr(_result, false);
- }
- #pragma implementation_key(213)
- inline long VGCore::IPrnVBAPrintSeparations::GetResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_Resolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(214)
- inline void VGCore::IPrnVBAPrintSeparations::PutResolution ( long pVal ) {
- HRESULT _hr = put_Resolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(215)
- inline _bstr_t VGCore::IPrnVBAPrintSeparations::GetBasicScreen ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_BasicScreen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(216)
- inline void VGCore::IPrnVBAPrintSeparations::PutBasicScreen ( _bstr_t pVal ) {
- HRESULT _hr = put_BasicScreen(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(217)
- inline _bstr_t VGCore::IPrnVBAPrintSeparations::GetHalftoneType ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_HalftoneType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(218)
- inline void VGCore::IPrnVBAPrintSeparations::PutHalftoneType ( _bstr_t pVal ) {
- HRESULT _hr = put_HalftoneType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(219)
- inline _bstr_t VGCore::IPrnVBAPrintSeparations::GetScreenTechnology ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ScreenTechnology(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(220)
- inline void VGCore::IPrnVBAPrintSeparations::PutScreenTechnology ( _bstr_t pVal ) {
- HRESULT _hr = put_ScreenTechnology(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBAPrintPrepress wrapper method implementations
- //
- #pragma implementation_key(221)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetInvert ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Invert(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(222)
- inline void VGCore::IPrnVBAPrintPrepress::PutInvert ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Invert(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(223)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetMirror ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Mirror(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(224)
- inline void VGCore::IPrnVBAPrintPrepress::PutMirror ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Mirror(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(225)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetFileInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FileInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(226)
- inline void VGCore::IPrnVBAPrintPrepress::PutFileInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FileInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(227)
- inline _bstr_t VGCore::IPrnVBAPrintPrepress::GetJobName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_JobName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(228)
- inline void VGCore::IPrnVBAPrintPrepress::PutJobName ( _bstr_t pVal ) {
- HRESULT _hr = put_JobName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(229)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetPageNumbers ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PageNumbers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(230)
- inline void VGCore::IPrnVBAPrintPrepress::PutPageNumbers ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PageNumbers(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(231)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetInfoWithinPage ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_InfoWithinPage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(232)
- inline void VGCore::IPrnVBAPrintPrepress::PutInfoWithinPage ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_InfoWithinPage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(233)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetCropMarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CropMarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(234)
- inline void VGCore::IPrnVBAPrintPrepress::PutCropMarks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_CropMarks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(235)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetExteriorCropMarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ExteriorCropMarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(236)
- inline void VGCore::IPrnVBAPrintPrepress::PutExteriorCropMarks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ExteriorCropMarks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(237)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetRegistrationMarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RegistrationMarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(238)
- inline void VGCore::IPrnVBAPrintPrepress::PutRegistrationMarks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RegistrationMarks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(239)
- inline enum VGCore::PrnRegistrationStyle VGCore::IPrnVBAPrintPrepress::GetRegistrationStyle ( ) {
- enum PrnRegistrationStyle _result;
- HRESULT _hr = get_RegistrationStyle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(240)
- inline void VGCore::IPrnVBAPrintPrepress::PutRegistrationStyle ( enum PrnRegistrationStyle pVal ) {
- HRESULT _hr = put_RegistrationStyle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(241)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetColorCalibrationBar ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ColorCalibrationBar(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(242)
- inline void VGCore::IPrnVBAPrintPrepress::PutColorCalibrationBar ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ColorCalibrationBar(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(243)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetDensitometerScale ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DensitometerScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(244)
- inline void VGCore::IPrnVBAPrintPrepress::PutDensitometerScale ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DensitometerScale(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(245)
- inline long VGCore::IPrnVBAPrintPrepress::GetDensities ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_Densities(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(246)
- inline void VGCore::IPrnVBAPrintPrepress::PutDensities ( long Index, long pVal ) {
- HRESULT _hr = put_Densities(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(247)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPrepress::GetMarksToObjects ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MarksToObjects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(248)
- inline void VGCore::IPrnVBAPrintPrepress::PutMarksToObjects ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MarksToObjects(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBAPrintPostScript wrapper method implementations
- //
- #pragma implementation_key(249)
- inline enum VGCore::PrnPostScriptLevel VGCore::IPrnVBAPrintPostScript::GetLevel ( ) {
- enum PrnPostScriptLevel _result;
- HRESULT _hr = get_Level(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(250)
- inline void VGCore::IPrnVBAPrintPostScript::PutLevel ( enum PrnPostScriptLevel pVal ) {
- HRESULT _hr = put_Level(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(251)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetConformToDSC ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ConformToDSC(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(252)
- inline void VGCore::IPrnVBAPrintPostScript::PutConformToDSC ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ConformToDSC(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(253)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetJPEGCompression ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_JPEGCompression(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(254)
- inline void VGCore::IPrnVBAPrintPostScript::PutJPEGCompression ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_JPEGCompression(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(255)
- inline long VGCore::IPrnVBAPrintPostScript::GetJPEGQuality ( ) {
- long _result = 0;
- HRESULT _hr = get_JPEGQuality(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(256)
- inline void VGCore::IPrnVBAPrintPostScript::PutJPEGQuality ( long pVal ) {
- HRESULT _hr = put_JPEGQuality(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(257)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetMaintainOPILinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MaintainOPILinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(258)
- inline void VGCore::IPrnVBAPrintPostScript::PutMaintainOPILinks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MaintainOPILinks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(259)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetResolveDCSLinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ResolveDCSLinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(260)
- inline void VGCore::IPrnVBAPrintPostScript::PutResolveDCSLinks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ResolveDCSLinks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(261)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetDownloadType1 ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DownloadType1(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(262)
- inline void VGCore::IPrnVBAPrintPostScript::PutDownloadType1 ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DownloadType1(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(263)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetTrueTypeToType1 ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TrueTypeToType1(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(264)
- inline void VGCore::IPrnVBAPrintPostScript::PutTrueTypeToType1 ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TrueTypeToType1(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(265)
- inline enum VGCore::PrnPDFStartup VGCore::IPrnVBAPrintPostScript::GetPDFStartup ( ) {
- enum PrnPDFStartup _result;
- HRESULT _hr = get_PDFStartup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(266)
- inline void VGCore::IPrnVBAPrintPostScript::PutPDFStartup ( enum PrnPDFStartup pVal ) {
- HRESULT _hr = put_PDFStartup(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(267)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetPDFHyperlinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PDFHyperlinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(268)
- inline void VGCore::IPrnVBAPrintPostScript::PutPDFHyperlinks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PDFHyperlinks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(269)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetpdfBookmarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_pdfBookmarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(270)
- inline void VGCore::IPrnVBAPrintPostScript::PutpdfBookmarks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_pdfBookmarks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(271)
- inline long VGCore::IPrnVBAPrintPostScript::GetMaxPointsPerCurve ( ) {
- long _result = 0;
- HRESULT _hr = get_MaxPointsPerCurve(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(272)
- inline void VGCore::IPrnVBAPrintPostScript::PutMaxPointsPerCurve ( long pVal ) {
- HRESULT _hr = put_MaxPointsPerCurve(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(273)
- inline long VGCore::IPrnVBAPrintPostScript::GetFlatness ( ) {
- long _result = 0;
- HRESULT _hr = get_Flatness(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(274)
- inline void VGCore::IPrnVBAPrintPostScript::PutFlatness ( long pVal ) {
- HRESULT _hr = put_Flatness(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(275)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetAutoIncreaseFlatness ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AutoIncreaseFlatness(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(276)
- inline void VGCore::IPrnVBAPrintPostScript::PutAutoIncreaseFlatness ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AutoIncreaseFlatness(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(277)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetAutoIncreaseFountainSteps ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AutoIncreaseFountainSteps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(278)
- inline void VGCore::IPrnVBAPrintPostScript::PutAutoIncreaseFountainSteps ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AutoIncreaseFountainSteps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(279)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintPostScript::GetOptimizeFountainFills ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OptimizeFountainFills(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(280)
- inline void VGCore::IPrnVBAPrintPostScript::PutOptimizeFountainFills ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OptimizeFountainFills(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(281)
- inline long VGCore::IPrnVBAPrintPostScript::GetScreenFrequency ( ) {
- long _result = 0;
- HRESULT _hr = get_ScreenFrequency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(282)
- inline void VGCore::IPrnVBAPrintPostScript::PutScreenFrequency ( long pVal ) {
- HRESULT _hr = put_ScreenFrequency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBATrapLayer wrapper method implementations
- //
- #pragma implementation_key(283)
- inline enum VGCore::PrnPlateType VGCore::IPrnVBATrapLayer::GetType ( ) {
- enum PrnPlateType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(284)
- inline _bstr_t VGCore::IPrnVBATrapLayer::GetColor ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(285)
- inline double VGCore::IPrnVBATrapLayer::GetDensity ( ) {
- double _result = 0;
- HRESULT _hr = get_Density(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(286)
- inline void VGCore::IPrnVBATrapLayer::PutDensity ( double pVal ) {
- HRESULT _hr = put_Density(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(287)
- inline enum VGCore::PrnTrapType VGCore::IPrnVBATrapLayer::GetTrapType ( ) {
- enum PrnTrapType _result;
- HRESULT _hr = get_TrapType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(288)
- inline void VGCore::IPrnVBATrapLayer::PutTrapType ( enum PrnTrapType pVal ) {
- HRESULT _hr = put_TrapType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(289)
- inline long VGCore::IPrnVBATrapLayer::GetOrder ( ) {
- long _result = 0;
- HRESULT _hr = get_Order(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(290)
- inline void VGCore::IPrnVBATrapLayer::PutOrder ( long pVal ) {
- HRESULT _hr = put_Order(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBATrapLayers wrapper method implementations
- //
- #pragma implementation_key(291)
- inline long VGCore::IPrnVBATrapLayers::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(292)
- inline VGCore::IPrnVBATrapLayerPtr VGCore::IPrnVBATrapLayers::GetItem ( long Index ) {
- struct IPrnVBATrapLayer * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBATrapLayerPtr(_result, false);
- }
- //
- // interface IPrnVBAPrintTrapping wrapper method implementations
- //
- #pragma implementation_key(293)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Enabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(294)
- inline void VGCore::IPrnVBAPrintTrapping::PutEnabled ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Enabled(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(295)
- inline VGCore::IPrnVBATrapLayersPtr VGCore::IPrnVBAPrintTrapping::GetLayers ( ) {
- struct IPrnVBATrapLayers * _result = 0;
- HRESULT _hr = get_Layers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBATrapLayersPtr(_result, false);
- }
- #pragma implementation_key(296)
- inline double VGCore::IPrnVBAPrintTrapping::GetWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(297)
- inline void VGCore::IPrnVBAPrintTrapping::PutWidth ( double pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(298)
- inline double VGCore::IPrnVBAPrintTrapping::GetBlackWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_BlackWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(299)
- inline void VGCore::IPrnVBAPrintTrapping::PutBlackWidth ( double pVal ) {
- HRESULT _hr = put_BlackWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(300)
- inline long VGCore::IPrnVBAPrintTrapping::GetColorScaling ( ) {
- long _result = 0;
- HRESULT _hr = get_ColorScaling(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(301)
- inline void VGCore::IPrnVBAPrintTrapping::PutColorScaling ( long pVal ) {
- HRESULT _hr = put_ColorScaling(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(302)
- inline long VGCore::IPrnVBAPrintTrapping::GetStepLimit ( ) {
- long _result = 0;
- HRESULT _hr = get_StepLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(303)
- inline void VGCore::IPrnVBAPrintTrapping::PutStepLimit ( long pVal ) {
- HRESULT _hr = put_StepLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(304)
- inline long VGCore::IPrnVBAPrintTrapping::GetBlackColorLimit ( ) {
- long _result = 0;
- HRESULT _hr = get_BlackColorLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(305)
- inline void VGCore::IPrnVBAPrintTrapping::PutBlackColorLimit ( long pVal ) {
- HRESULT _hr = put_BlackColorLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(306)
- inline double VGCore::IPrnVBAPrintTrapping::GetBlackDensityLimit ( ) {
- double _result = 0;
- HRESULT _hr = get_BlackDensityLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(307)
- inline void VGCore::IPrnVBAPrintTrapping::PutBlackDensityLimit ( double pVal ) {
- HRESULT _hr = put_BlackDensityLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(308)
- inline long VGCore::IPrnVBAPrintTrapping::GetSlidingTrapLimit ( ) {
- long _result = 0;
- HRESULT _hr = get_SlidingTrapLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(309)
- inline void VGCore::IPrnVBAPrintTrapping::PutSlidingTrapLimit ( long pVal ) {
- HRESULT _hr = put_SlidingTrapLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(310)
- inline enum VGCore::PrnImageTrap VGCore::IPrnVBAPrintTrapping::GetImageTrap ( ) {
- enum PrnImageTrap _result;
- HRESULT _hr = get_ImageTrap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(311)
- inline void VGCore::IPrnVBAPrintTrapping::PutImageTrap ( enum PrnImageTrap pVal ) {
- HRESULT _hr = put_ImageTrap(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(312)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetObjectsToImage ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ObjectsToImage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(313)
- inline void VGCore::IPrnVBAPrintTrapping::PutObjectsToImage ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ObjectsToImage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(314)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetInternalImageTrapping ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_InternalImageTrapping(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(315)
- inline void VGCore::IPrnVBAPrintTrapping::PutInternalImageTrapping ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_InternalImageTrapping(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(316)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintTrapping::GetTrapMonoBitmaps ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TrapMonoBitmaps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(317)
- inline void VGCore::IPrnVBAPrintTrapping::PutTrapMonoBitmaps ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TrapMonoBitmaps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBAPrintOptions wrapper method implementations
- //
- #pragma implementation_key(318)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetUseColorProfile ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseColorProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(319)
- inline void VGCore::IPrnVBAPrintOptions::PutUseColorProfile ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseColorProfile(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(320)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintVectors ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintVectors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(321)
- inline void VGCore::IPrnVBAPrintOptions::PutPrintVectors ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintVectors(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(322)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintBitmaps ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintBitmaps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(323)
- inline void VGCore::IPrnVBAPrintOptions::PutPrintBitmaps ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintBitmaps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(324)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(325)
- inline void VGCore::IPrnVBAPrintOptions::PutPrintText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(326)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetTextInBlack ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TextInBlack(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(327)
- inline void VGCore::IPrnVBAPrintOptions::PutTextInBlack ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TextInBlack(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(328)
- inline enum VGCore::PrnColorMode VGCore::IPrnVBAPrintOptions::GetColorMode ( ) {
- enum PrnColorMode _result;
- HRESULT _hr = get_ColorMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(329)
- inline void VGCore::IPrnVBAPrintOptions::PutColorMode ( enum PrnColorMode pVal ) {
- HRESULT _hr = put_ColorMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(330)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetMarksToPage ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MarksToPage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(331)
- inline void VGCore::IPrnVBAPrintOptions::PutMarksToPage ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MarksToPage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(332)
- inline enum VGCore::PrnBitmapColorMode VGCore::IPrnVBAPrintOptions::GetBitmapColorMode ( ) {
- enum PrnBitmapColorMode _result;
- HRESULT _hr = get_BitmapColorMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(333)
- inline void VGCore::IPrnVBAPrintOptions::PutBitmapColorMode ( enum PrnBitmapColorMode pVal ) {
- HRESULT _hr = put_BitmapColorMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(334)
- inline long VGCore::IPrnVBAPrintOptions::GetFountainSteps ( ) {
- long _result = 0;
- HRESULT _hr = get_FountainSteps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(335)
- inline void VGCore::IPrnVBAPrintOptions::PutFountainSteps ( long pVal ) {
- HRESULT _hr = put_FountainSteps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(336)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetRasterizePage ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RasterizePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(337)
- inline void VGCore::IPrnVBAPrintOptions::PutRasterizePage ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RasterizePage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(338)
- inline long VGCore::IPrnVBAPrintOptions::GetRasterizeResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_RasterizeResolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(339)
- inline void VGCore::IPrnVBAPrintOptions::PutRasterizeResolution ( long pVal ) {
- HRESULT _hr = put_RasterizeResolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(340)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDownsampleColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DownsampleColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(341)
- inline void VGCore::IPrnVBAPrintOptions::PutDownsampleColor ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DownsampleColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(342)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDownsampleGray ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DownsampleGray(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(343)
- inline void VGCore::IPrnVBAPrintOptions::PutDownsampleGray ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DownsampleGray(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(344)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDownsampleMono ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DownsampleMono(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(345)
- inline void VGCore::IPrnVBAPrintOptions::PutDownsampleMono ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DownsampleMono(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(346)
- inline long VGCore::IPrnVBAPrintOptions::GetColorResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_ColorResolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(347)
- inline void VGCore::IPrnVBAPrintOptions::PutColorResolution ( long pVal ) {
- HRESULT _hr = put_ColorResolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(348)
- inline long VGCore::IPrnVBAPrintOptions::GetGrayResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_GrayResolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(349)
- inline void VGCore::IPrnVBAPrintOptions::PutGrayResolution ( long pVal ) {
- HRESULT _hr = put_GrayResolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(350)
- inline long VGCore::IPrnVBAPrintOptions::GetMonoResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_MonoResolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(351)
- inline void VGCore::IPrnVBAPrintOptions::PutMonoResolution ( long pVal ) {
- HRESULT _hr = put_MonoResolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(352)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetJobInformation ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_JobInformation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(353)
- inline void VGCore::IPrnVBAPrintOptions::PutJobInformation ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_JobInformation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(354)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetAppInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AppInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(355)
- inline void VGCore::IPrnVBAPrintOptions::PutAppInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AppInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(356)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetDriverInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DriverInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(357)
- inline void VGCore::IPrnVBAPrintOptions::PutDriverInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DriverInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(358)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPrintJobInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintJobInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(359)
- inline void VGCore::IPrnVBAPrintOptions::PutPrintJobInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintJobInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(360)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetSepsInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SepsInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(361)
- inline void VGCore::IPrnVBAPrintOptions::PutSepsInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_SepsInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(362)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetFontInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FontInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(363)
- inline void VGCore::IPrnVBAPrintOptions::PutFontInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FontInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(364)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetLinkInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_LinkInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(365)
- inline void VGCore::IPrnVBAPrintOptions::PutLinkInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_LinkInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(366)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetInRIPTrapInfo ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_InRIPTrapInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(367)
- inline void VGCore::IPrnVBAPrintOptions::PutInRIPTrapInfo ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_InRIPTrapInfo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(368)
- inline enum VGCore::PrnObjectsColorMode VGCore::IPrnVBAPrintOptions::GetObjectsColorMode ( ) {
- enum PrnObjectsColorMode _result;
- HRESULT _hr = get_ObjectsColorMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(369)
- inline void VGCore::IPrnVBAPrintOptions::PutObjectsColorMode ( enum PrnObjectsColorMode pVal ) {
- HRESULT _hr = put_ObjectsColorMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(370)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintOptions::GetPreservePureBlack ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PreservePureBlack(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(371)
- inline void VGCore::IPrnVBAPrintOptions::PutPreservePureBlack ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PreservePureBlack(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBAPrintSettings wrapper method implementations
- //
- #pragma implementation_key(372)
- inline VGCore::IPrnVBAPrinterPtr VGCore::IPrnVBAPrintSettings::GetPrinter ( ) {
- struct IPrnVBAPrinter * _result = 0;
- HRESULT _hr = get_Printer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrinterPtr(_result, false);
- }
- #pragma implementation_key(373)
- inline void VGCore::IPrnVBAPrintSettings::PutRefPrinter ( struct IPrnVBAPrinter * pVal ) {
- HRESULT _hr = putref_Printer(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(374)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetUsePPD ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UsePPD(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(375)
- inline void VGCore::IPrnVBAPrintSettings::PutUsePPD ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UsePPD(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(376)
- inline _bstr_t VGCore::IPrnVBAPrintSettings::GetPPDFile ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PPDFile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(377)
- inline void VGCore::IPrnVBAPrintSettings::PutPPDFile ( _bstr_t pVal ) {
- HRESULT _hr = put_PPDFile(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(378)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetPrintToFile ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintToFile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(379)
- inline void VGCore::IPrnVBAPrintSettings::PutPrintToFile ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintToFile(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(380)
- inline _bstr_t VGCore::IPrnVBAPrintSettings::GetFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(381)
- inline void VGCore::IPrnVBAPrintSettings::PutFileName ( _bstr_t pVal ) {
- HRESULT _hr = put_FileName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(382)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetForMac ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ForMac(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(383)
- inline void VGCore::IPrnVBAPrintSettings::PutForMac ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ForMac(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(384)
- inline enum VGCore::PrnFileMode VGCore::IPrnVBAPrintSettings::GetFileMode ( ) {
- enum PrnFileMode _result;
- HRESULT _hr = get_FileMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(385)
- inline void VGCore::IPrnVBAPrintSettings::PutFileMode ( enum PrnFileMode pVal ) {
- HRESULT _hr = put_FileMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(386)
- inline enum VGCore::PrnPrintRange VGCore::IPrnVBAPrintSettings::GetPrintRange ( ) {
- enum PrnPrintRange _result;
- HRESULT _hr = get_PrintRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(387)
- inline void VGCore::IPrnVBAPrintSettings::PutPrintRange ( enum PrnPrintRange pVal ) {
- HRESULT _hr = put_PrintRange(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(388)
- inline _bstr_t VGCore::IPrnVBAPrintSettings::GetPageRange ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PageRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(389)
- inline void VGCore::IPrnVBAPrintSettings::PutPageRange ( _bstr_t pVal ) {
- HRESULT _hr = put_PageRange(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(390)
- inline long VGCore::IPrnVBAPrintSettings::GetCopies ( ) {
- long _result = 0;
- HRESULT _hr = get_Copies(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(391)
- inline void VGCore::IPrnVBAPrintSettings::PutCopies ( long pVal ) {
- HRESULT _hr = put_Copies(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(392)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::GetCollate ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Collate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(393)
- inline void VGCore::IPrnVBAPrintSettings::PutCollate ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Collate(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(394)
- inline VGCore::IPrnVBAPrintSeparationsPtr VGCore::IPrnVBAPrintSettings::GetSeparations ( ) {
- struct IPrnVBAPrintSeparations * _result = 0;
- HRESULT _hr = get_Separations(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintSeparationsPtr(_result, false);
- }
- #pragma implementation_key(395)
- inline VGCore::IPrnVBAPrintPrepressPtr VGCore::IPrnVBAPrintSettings::GetPrepress ( ) {
- struct IPrnVBAPrintPrepress * _result = 0;
- HRESULT _hr = get_Prepress(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintPrepressPtr(_result, false);
- }
- #pragma implementation_key(396)
- inline VGCore::IPrnVBAPrintPostScriptPtr VGCore::IPrnVBAPrintSettings::GetPostScript ( ) {
- struct IPrnVBAPrintPostScript * _result = 0;
- HRESULT _hr = get_PostScript(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintPostScriptPtr(_result, false);
- }
- #pragma implementation_key(397)
- inline VGCore::IPrnVBAPrintTrappingPtr VGCore::IPrnVBAPrintSettings::GetTrapping ( ) {
- struct IPrnVBAPrintTrapping * _result = 0;
- HRESULT _hr = get_Trapping(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintTrappingPtr(_result, false);
- }
- #pragma implementation_key(398)
- inline VGCore::IPrnVBAPrintOptionsPtr VGCore::IPrnVBAPrintSettings::GetOptions ( ) {
- struct IPrnVBAPrintOptions * _result = 0;
- HRESULT _hr = get_Options(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintOptionsPtr(_result, false);
- }
- #pragma implementation_key(399)
- inline HRESULT VGCore::IPrnVBAPrintSettings::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(400)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::Load ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Load(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(401)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::Save ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Save(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(402)
- inline VARIANT_BOOL VGCore::IPrnVBAPrintSettings::ShowDialog ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ShowDialog(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(403)
- inline HRESULT VGCore::IPrnVBAPrintSettings::SelectPrinter ( _bstr_t Name ) {
- HRESULT _hr = raw_SelectPrinter(Name);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(404)
- inline enum VGCore::PrnPageSet VGCore::IPrnVBAPrintSettings::GetPageSet ( ) {
- enum PrnPageSet _result;
- HRESULT _hr = get_PageSet(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(405)
- inline void VGCore::IPrnVBAPrintSettings::PutPageSet ( enum PrnPageSet pVal ) {
- HRESULT _hr = put_PageSet(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(406)
- inline enum VGCore::PrnPaperOrientation VGCore::IPrnVBAPrintSettings::GetPaperOrientation ( ) {
- enum PrnPaperOrientation _result;
- HRESULT _hr = get_PaperOrientation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(407)
- inline void VGCore::IPrnVBAPrintSettings::PutPaperOrientation ( enum PrnPaperOrientation pVal ) {
- HRESULT _hr = put_PaperOrientation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(408)
- inline enum VGCore::PrnPaperSize VGCore::IPrnVBAPrintSettings::GetPaperSize ( ) {
- enum PrnPaperSize _result;
- HRESULT _hr = get_PaperSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(409)
- inline void VGCore::IPrnVBAPrintSettings::PutPaperSize ( enum PrnPaperSize pVal ) {
- HRESULT _hr = put_PaperSize(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(410)
- inline HRESULT VGCore::IPrnVBAPrintSettings::SetPaperSize ( enum PrnPaperSize PaperSize, enum PrnPaperOrientation Orientation ) {
- HRESULT _hr = raw_SetPaperSize(PaperSize, Orientation);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(411)
- inline double VGCore::IPrnVBAPrintSettings::GetPaperWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_PaperWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(412)
- inline double VGCore::IPrnVBAPrintSettings::GetPaperHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_PaperHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(413)
- inline HRESULT VGCore::IPrnVBAPrintSettings::SetCustomPaperSize ( double Width, double Height, enum PrnPaperOrientation Orientation ) {
- HRESULT _hr = raw_SetCustomPaperSize(Width, Height, Orientation);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(414)
- inline VGCore::IPrnVBAPrintLayoutPtr VGCore::IPrnVBAPrintSettings::GetLayout ( ) {
- struct IPrnVBAPrintLayout * _result = 0;
- HRESULT _hr = get_Layout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintLayoutPtr(_result, false);
- }
- #pragma implementation_key(415)
- inline HRESULT VGCore::IPrnVBAPrintSettings::PrintOut ( ) {
- HRESULT _hr = raw_PrintOut();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(416)
- inline HRESULT VGCore::IPrnVBAPrintSettings::PrintColorProof ( IDispatch * ProofSettings ) {
- HRESULT _hr = raw_PrintColorProof(ProofSettings);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(417)
- inline enum VGCore::PrnPageMatchingMode VGCore::IPrnVBAPrintSettings::GetPageMatchingMode ( ) {
- enum PrnPageMatchingMode _result;
- HRESULT _hr = get_PageMatchingMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(418)
- inline void VGCore::IPrnVBAPrintSettings::PutPageMatchingMode ( enum PrnPageMatchingMode pVal ) {
- HRESULT _hr = put_PageMatchingMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IPrnVBAPrintDocument wrapper method implementations
- //
- #pragma implementation_key(419)
- inline HRESULT VGCore::IPrnVBAPrintDocument::_GetPrintDocument ( INT_PTR * pDoc ) {
- HRESULT _hr = raw__GetPrintDocument(pDoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IPrnVBAPrintDocuments wrapper method implementations
- //
- #pragma implementation_key(420)
- inline VGCore::IPrnVBAPrintDocumentPtr VGCore::IPrnVBAPrintDocuments::GetItem ( long Index ) {
- struct IPrnVBAPrintDocument * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintDocumentPtr(_result, false);
- }
- #pragma implementation_key(421)
- inline long VGCore::IPrnVBAPrintDocuments::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IPrnVBAPrintPage wrapper method implementations
- //
- #pragma implementation_key(422)
- inline HRESULT VGCore::IPrnVBAPrintPage::_GetPrintDocument ( INT_PTR * pDoc ) {
- HRESULT _hr = raw__GetPrintDocument(pDoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(423)
- inline HRESULT VGCore::IPrnVBAPrintPage::_GetPrintPage ( long * pPage ) {
- HRESULT _hr = raw__GetPrintPage(pPage);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IPrnVBAPrintPages wrapper method implementations
- //
- #pragma implementation_key(424)
- inline VGCore::IPrnVBAPrintPagePtr VGCore::IPrnVBAPrintPages::GetItem ( long Index ) {
- struct IPrnVBAPrintPage * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintPagePtr(_result, false);
- }
- #pragma implementation_key(425)
- inline long VGCore::IPrnVBAPrintPages::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IPrnVBAPrintJob wrapper method implementations
- //
- #pragma implementation_key(426)
- inline VGCore::IPrnVBAPrintSettingsPtr VGCore::IPrnVBAPrintJob::GetSettings ( ) {
- struct IPrnVBAPrintSettings * _result = 0;
- HRESULT _hr = get_Settings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintSettingsPtr(_result, false);
- }
- #pragma implementation_key(427)
- inline VGCore::IPrnVBAPrintDocumentsPtr VGCore::IPrnVBAPrintJob::GetDocuments ( ) {
- struct IPrnVBAPrintDocuments * _result = 0;
- HRESULT _hr = get_Documents(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintDocumentsPtr(_result, false);
- }
- #pragma implementation_key(428)
- inline VGCore::IPrnVBAPrintPagesPtr VGCore::IPrnVBAPrintJob::GetPages ( ) {
- struct IPrnVBAPrintPages * _result = 0;
- HRESULT _hr = get_Pages(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintPagesPtr(_result, false);
- }
- #pragma implementation_key(429)
- inline HRESULT VGCore::IPrnVBAPrintJob::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(430)
- inline HRESULT VGCore::IPrnVBAPrintJob::PrintOut ( ) {
- HRESULT _hr = raw_PrintOut();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(431)
- inline HRESULT VGCore::IPrnVBAPrintJob::AddDocument ( struct IPrnVBAPrintDocument * Document, _bstr_t PageRange ) {
- HRESULT _hr = raw_AddDocument(Document, PageRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(432)
- inline HRESULT VGCore::IPrnVBAPrintJob::AddPage ( struct IPrnVBAPrintPage * Page ) {
- HRESULT _hr = raw_AddPage(Page);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IPDFVBASettings wrapper method implementations
- //
- #pragma implementation_key(433)
- inline HRESULT VGCore::IPDFVBASettings::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(434)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::Load ( _bstr_t SettingName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Load(SettingName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(435)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::Save ( _bstr_t SettingName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Save(SettingName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(436)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::ShowDialog ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ShowDialog(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(437)
- inline HRESULT VGCore::IPDFVBASettings::PublishToPDF ( _bstr_t FileName ) {
- HRESULT _hr = raw_PublishToPDF(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(438)
- inline void VGCore::IPDFVBASettings::PutPublishRange ( enum pdfExportRange pExportRange ) {
- HRESULT _hr = put_PublishRange(pExportRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(439)
- inline enum VGCore::pdfExportRange VGCore::IPDFVBASettings::GetPublishRange ( ) {
- enum pdfExportRange _result;
- HRESULT _hr = get_PublishRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(440)
- inline void VGCore::IPDFVBASettings::PutPageRange ( _bstr_t pszExportPagesRange ) {
- HRESULT _hr = put_PageRange(pszExportPagesRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(441)
- inline _bstr_t VGCore::IPDFVBASettings::GetPageRange ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PageRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(442)
- inline void VGCore::IPDFVBASettings::PutAuthor ( _bstr_t pszAuthor ) {
- HRESULT _hr = put_Author(pszAuthor);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(443)
- inline _bstr_t VGCore::IPDFVBASettings::GetAuthor ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Author(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(444)
- inline void VGCore::IPDFVBASettings::PutSubject ( _bstr_t pszSubject ) {
- HRESULT _hr = put_Subject(pszSubject);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(445)
- inline _bstr_t VGCore::IPDFVBASettings::GetSubject ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Subject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(446)
- inline void VGCore::IPDFVBASettings::PutKeywords ( _bstr_t pszKeywords ) {
- HRESULT _hr = put_Keywords(pszKeywords);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(447)
- inline _bstr_t VGCore::IPDFVBASettings::GetKeywords ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Keywords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(448)
- inline void VGCore::IPDFVBASettings::PutBitmapCompression ( enum pdfBitmapCompressionType pBitmapCompressionType ) {
- HRESULT _hr = put_BitmapCompression(pBitmapCompressionType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(449)
- inline enum VGCore::pdfBitmapCompressionType VGCore::IPDFVBASettings::GetBitmapCompression ( ) {
- enum pdfBitmapCompressionType _result;
- HRESULT _hr = get_BitmapCompression(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(450)
- inline void VGCore::IPDFVBASettings::PutJPEGQualityFactor ( int pnQuality ) {
- HRESULT _hr = put_JPEGQualityFactor(pnQuality);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(451)
- inline int VGCore::IPDFVBASettings::GetJPEGQualityFactor ( ) {
- int _result = 0;
- HRESULT _hr = get_JPEGQualityFactor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(452)
- inline void VGCore::IPDFVBASettings::PutTextAsCurves ( VARIANT_BOOL pbTextAsCurves ) {
- HRESULT _hr = put_TextAsCurves(pbTextAsCurves);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(453)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetTextAsCurves ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TextAsCurves(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(454)
- inline void VGCore::IPDFVBASettings::PutEmbedFonts ( VARIANT_BOOL pbEmbedFonts ) {
- HRESULT _hr = put_EmbedFonts(pbEmbedFonts);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(455)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetEmbedFonts ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EmbedFonts(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(456)
- inline void VGCore::IPDFVBASettings::PutEmbedBaseFonts ( VARIANT_BOOL pbEmbedBaseFonts ) {
- HRESULT _hr = put_EmbedBaseFonts(pbEmbedBaseFonts);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(457)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetEmbedBaseFonts ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EmbedBaseFonts(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(458)
- inline void VGCore::IPDFVBASettings::PutTrueTypeToType1 ( VARIANT_BOOL pbTrueTypeToType1 ) {
- HRESULT _hr = put_TrueTypeToType1(pbTrueTypeToType1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(459)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetTrueTypeToType1 ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TrueTypeToType1(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(460)
- inline void VGCore::IPDFVBASettings::PutSubsetFonts ( VARIANT_BOOL pbSubsetType1Fonts ) {
- HRESULT _hr = put_SubsetFonts(pbSubsetType1Fonts);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(461)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetSubsetFonts ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SubsetFonts(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(462)
- inline void VGCore::IPDFVBASettings::PutSubsetPct ( long pnLevel ) {
- HRESULT _hr = put_SubsetPct(pnLevel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(463)
- inline long VGCore::IPDFVBASettings::GetSubsetPct ( ) {
- long _result = 0;
- HRESULT _hr = get_SubsetPct(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(464)
- inline void VGCore::IPDFVBASettings::PutCompressText ( VARIANT_BOOL pbCompressText ) {
- HRESULT _hr = put_CompressText(pbCompressText);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(465)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetCompressText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CompressText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(466)
- inline void VGCore::IPDFVBASettings::PutEncoding ( enum pdfEncodingType pEncoding ) {
- HRESULT _hr = put_Encoding(pEncoding);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(467)
- inline enum VGCore::pdfEncodingType VGCore::IPDFVBASettings::GetEncoding ( ) {
- enum pdfEncodingType _result;
- HRESULT _hr = get_Encoding(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(468)
- inline void VGCore::IPDFVBASettings::PutDownsampleColor ( VARIANT_BOOL pbDownsample ) {
- HRESULT _hr = put_DownsampleColor(pbDownsample);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(469)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDownsampleColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DownsampleColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(470)
- inline void VGCore::IPDFVBASettings::PutDownsampleGray ( VARIANT_BOOL pbDownsample ) {
- HRESULT _hr = put_DownsampleGray(pbDownsample);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(471)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDownsampleGray ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DownsampleGray(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(472)
- inline void VGCore::IPDFVBASettings::PutDownsampleMono ( VARIANT_BOOL pbDownsample ) {
- HRESULT _hr = put_DownsampleMono(pbDownsample);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(473)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDownsampleMono ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DownsampleMono(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(474)
- inline void VGCore::IPDFVBASettings::PutColorResolution ( long pnDownsampleResolution ) {
- HRESULT _hr = put_ColorResolution(pnDownsampleResolution);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(475)
- inline long VGCore::IPDFVBASettings::GetColorResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_ColorResolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(476)
- inline void VGCore::IPDFVBASettings::PutMonoResolution ( long pnDownsampleResolution ) {
- HRESULT _hr = put_MonoResolution(pnDownsampleResolution);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(477)
- inline long VGCore::IPDFVBASettings::GetMonoResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_MonoResolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(478)
- inline void VGCore::IPDFVBASettings::PutGrayResolution ( long pnDownsampleResolution ) {
- HRESULT _hr = put_GrayResolution(pnDownsampleResolution);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(479)
- inline long VGCore::IPDFVBASettings::GetGrayResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_GrayResolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(480)
- inline void VGCore::IPDFVBASettings::PutHyperlinks ( VARIANT_BOOL pbIncludeHyperlinks ) {
- HRESULT _hr = put_Hyperlinks(pbIncludeHyperlinks);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(481)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetHyperlinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Hyperlinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(482)
- inline void VGCore::IPDFVBASettings::PutBookmarks ( VARIANT_BOOL pbGenerateBookmarks ) {
- HRESULT _hr = put_Bookmarks(pbGenerateBookmarks);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(483)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetBookmarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Bookmarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(484)
- inline void VGCore::IPDFVBASettings::PutThumbnails ( VARIANT_BOOL pbGenerateThumbnails ) {
- HRESULT _hr = put_Thumbnails(pbGenerateThumbnails);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(485)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetThumbnails ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Thumbnails(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(486)
- inline void VGCore::IPDFVBASettings::PutStartup ( enum pdfDisplayOnStart pDisplayOnStart ) {
- HRESULT _hr = put_Startup(pDisplayOnStart);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(487)
- inline enum VGCore::pdfDisplayOnStart VGCore::IPDFVBASettings::GetStartup ( ) {
- enum pdfDisplayOnStart _result;
- HRESULT _hr = get_Startup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(488)
- inline void VGCore::IPDFVBASettings::PutComplexFillsAsBitmaps ( VARIANT_BOOL pbComplexFillsAsBitmaps ) {
- HRESULT _hr = put_ComplexFillsAsBitmaps(pbComplexFillsAsBitmaps);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(489)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetComplexFillsAsBitmaps ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ComplexFillsAsBitmaps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(490)
- inline void VGCore::IPDFVBASettings::PutOverprints ( VARIANT_BOOL pbPreserveOverprints ) {
- HRESULT _hr = put_Overprints(pbPreserveOverprints);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(491)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetOverprints ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Overprints(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(492)
- inline void VGCore::IPDFVBASettings::PutHalftones ( VARIANT_BOOL pbPreserveHalftones ) {
- HRESULT _hr = put_Halftones(pbPreserveHalftones);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(493)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetHalftones ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Halftones(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(494)
- inline void VGCore::IPDFVBASettings::PutSpotColors ( VARIANT_BOOL pbPreserveSpotColors ) {
- HRESULT _hr = put_SpotColors(pbPreserveSpotColors);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(495)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetSpotColors ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SpotColors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(496)
- inline void VGCore::IPDFVBASettings::PutMaintainOPILinks ( VARIANT_BOOL pbMaintainOPILinks ) {
- HRESULT _hr = put_MaintainOPILinks(pbMaintainOPILinks);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(497)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetMaintainOPILinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MaintainOPILinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(498)
- inline void VGCore::IPDFVBASettings::PutFountainSteps ( long pnFountainSteps ) {
- HRESULT _hr = put_FountainSteps(pnFountainSteps);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(499)
- inline long VGCore::IPDFVBASettings::GetFountainSteps ( ) {
- long _result = 0;
- HRESULT _hr = get_FountainSteps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(500)
- inline void VGCore::IPDFVBASettings::PutEPSAs ( enum pdfEPSAs peEPSAs ) {
- HRESULT _hr = put_EPSAs(peEPSAs);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(501)
- inline enum VGCore::pdfEPSAs VGCore::IPDFVBASettings::GetEPSAs ( ) {
- enum pdfEPSAs _result;
- HRESULT _hr = get_EPSAs(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(502)
- inline void VGCore::IPDFVBASettings::PutpdfVersion ( enum pdfVersion pePDFVersion ) {
- HRESULT _hr = put_pdfVersion(pePDFVersion);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(503)
- inline enum VGCore::pdfVersion VGCore::IPDFVBASettings::GetpdfVersion ( ) {
- enum pdfVersion _result;
- HRESULT _hr = get_pdfVersion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(504)
- inline void VGCore::IPDFVBASettings::PutIncludeBleed ( VARIANT_BOOL pbIncludeBleed ) {
- HRESULT _hr = put_IncludeBleed(pbIncludeBleed);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(505)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetIncludeBleed ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IncludeBleed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(506)
- inline void VGCore::IPDFVBASettings::PutBleed ( int pnBleed ) {
- HRESULT _hr = put_Bleed(pnBleed);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(507)
- inline int VGCore::IPDFVBASettings::GetBleed ( ) {
- int _result = 0;
- HRESULT _hr = get_Bleed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(508)
- inline void VGCore::IPDFVBASettings::PutLinearize ( VARIANT_BOOL pbLinearize ) {
- HRESULT _hr = put_Linearize(pbLinearize);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(509)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetLinearize ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Linearize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(510)
- inline void VGCore::IPDFVBASettings::PutCropMarks ( VARIANT_BOOL pbCropMarks ) {
- HRESULT _hr = put_CropMarks(pbCropMarks);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(511)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetCropMarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CropMarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(512)
- inline void VGCore::IPDFVBASettings::PutRegistrationMarks ( VARIANT_BOOL pbRegistrationMarks ) {
- HRESULT _hr = put_RegistrationMarks(pbRegistrationMarks);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(513)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetRegistrationMarks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RegistrationMarks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(514)
- inline void VGCore::IPDFVBASettings::PutDensitometerScales ( VARIANT_BOOL pbDensitometerScales ) {
- HRESULT _hr = put_DensitometerScales(pbDensitometerScales);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(515)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetDensitometerScales ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DensitometerScales(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(516)
- inline void VGCore::IPDFVBASettings::PutFileInformation ( VARIANT_BOOL pbFileInformation ) {
- HRESULT _hr = put_FileInformation(pbFileInformation);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(517)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetFileInformation ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FileInformation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(518)
- inline void VGCore::IPDFVBASettings::PutColorMode ( enum pdfColorMode peColorSet ) {
- HRESULT _hr = put_ColorMode(peColorSet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(519)
- inline enum VGCore::pdfColorMode VGCore::IPDFVBASettings::GetColorMode ( ) {
- enum pdfColorMode _result;
- HRESULT _hr = get_ColorMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(520)
- inline void VGCore::IPDFVBASettings::PutUseColorProfile ( VARIANT_BOOL pbUseColorProfile ) {
- HRESULT _hr = put_UseColorProfile(pbUseColorProfile);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(521)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetUseColorProfile ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseColorProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(522)
- inline void VGCore::IPDFVBASettings::PutColorProfile ( enum pdfColorProfile peColorProfile ) {
- HRESULT _hr = put_ColorProfile(peColorProfile);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(523)
- inline enum VGCore::pdfColorProfile VGCore::IPDFVBASettings::GetColorProfile ( ) {
- enum pdfColorProfile _result;
- HRESULT _hr = get_ColorProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(524)
- inline void VGCore::IPDFVBASettings::PutEmbedFilename ( _bstr_t pszEmbedFilename ) {
- HRESULT _hr = put_EmbedFilename(pszEmbedFilename);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(525)
- inline _bstr_t VGCore::IPDFVBASettings::GetEmbedFilename ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_EmbedFilename(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(526)
- inline void VGCore::IPDFVBASettings::PutEmbedFile ( VARIANT_BOOL pbEmbedFile ) {
- HRESULT _hr = put_EmbedFile(pbEmbedFile);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(527)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetEmbedFile ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EmbedFile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(528)
- inline void VGCore::IPDFVBASettings::PutJP2QualityFactor ( int pnQuality ) {
- HRESULT _hr = put_JP2QualityFactor(pnQuality);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(529)
- inline int VGCore::IPDFVBASettings::GetJP2QualityFactor ( ) {
- int _result = 0;
- HRESULT _hr = get_JP2QualityFactor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(530)
- inline void VGCore::IPDFVBASettings::PutTextExportMode ( enum pdfTextExportMode pExportMode ) {
- HRESULT _hr = put_TextExportMode(pExportMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(531)
- inline enum VGCore::pdfTextExportMode VGCore::IPDFVBASettings::GetTextExportMode ( ) {
- enum pdfTextExportMode _result;
- HRESULT _hr = get_TextExportMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(532)
- inline void VGCore::IPDFVBASettings::PutPrintPermissions ( enum pdfPrintPermissions pPrintPermission ) {
- HRESULT _hr = put_PrintPermissions(pPrintPermission);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(533)
- inline enum VGCore::pdfPrintPermissions VGCore::IPDFVBASettings::GetPrintPermissions ( ) {
- enum pdfPrintPermissions _result;
- HRESULT _hr = get_PrintPermissions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(534)
- inline void VGCore::IPDFVBASettings::PutEditPermissions ( enum pdfEditPermissions pEditPermission ) {
- HRESULT _hr = put_EditPermissions(pEditPermission);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(535)
- inline enum VGCore::pdfEditPermissions VGCore::IPDFVBASettings::GetEditPermissions ( ) {
- enum pdfEditPermissions _result;
- HRESULT _hr = get_EditPermissions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(536)
- inline void VGCore::IPDFVBASettings::PutContentCopyingAllowed ( VARIANT_BOOL pbEnable ) {
- HRESULT _hr = put_ContentCopyingAllowed(pbEnable);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(537)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetContentCopyingAllowed ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ContentCopyingAllowed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(538)
- inline void VGCore::IPDFVBASettings::PutOpenPassword ( _bstr_t pszOpenPassword ) {
- HRESULT _hr = put_OpenPassword(pszOpenPassword);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(539)
- inline _bstr_t VGCore::IPDFVBASettings::GetOpenPassword ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_OpenPassword(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(540)
- inline void VGCore::IPDFVBASettings::PutPermissionPassword ( _bstr_t pszPermissionPassword ) {
- HRESULT _hr = put_PermissionPassword(pszPermissionPassword);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(541)
- inline _bstr_t VGCore::IPDFVBASettings::GetPermissionPassword ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PermissionPassword(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(542)
- inline void VGCore::IPDFVBASettings::PutConvertSpotColors ( VARIANT_BOOL pbConvertSpotColors ) {
- HRESULT _hr = put_ConvertSpotColors(pbConvertSpotColors);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(543)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetConvertSpotColors ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ConvertSpotColors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(544)
- inline void VGCore::IPDFVBASettings::PutEncryptType ( enum pdfEncryptionType peEncryptType ) {
- HRESULT _hr = put_EncryptType(peEncryptType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(545)
- inline enum VGCore::pdfEncryptionType VGCore::IPDFVBASettings::GetEncryptType ( ) {
- enum pdfEncryptionType _result;
- HRESULT _hr = get_EncryptType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(546)
- inline void VGCore::IPDFVBASettings::PutOutputSpotColorsAs ( enum pdfSpotType pnConvertSpotColorsTo ) {
- HRESULT _hr = put_OutputSpotColorsAs(pnConvertSpotColorsTo);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(547)
- inline enum VGCore::pdfSpotType VGCore::IPDFVBASettings::GetOutputSpotColorsAs ( ) {
- enum pdfSpotType _result;
- HRESULT _hr = get_OutputSpotColorsAs(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(548)
- inline void VGCore::IPDFVBASettings::PutOverprintBlackLimit ( int pnOverprintBlackLimit ) {
- HRESULT _hr = put_OverprintBlackLimit(pnOverprintBlackLimit);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(549)
- inline int VGCore::IPDFVBASettings::GetOverprintBlackLimit ( ) {
- int _result = 0;
- HRESULT _hr = get_OverprintBlackLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(550)
- inline void VGCore::IPDFVBASettings::PutProtectedTextAsCurves ( VARIANT_BOOL pbProtectedTextAsCurves ) {
- HRESULT _hr = put_ProtectedTextAsCurves(pbProtectedTextAsCurves);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(551)
- inline VARIANT_BOOL VGCore::IPDFVBASettings::GetProtectedTextAsCurves ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ProtectedTextAsCurves(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGRectangle wrapper method implementations
- //
- #pragma implementation_key(552)
- inline long VGCore::IVGRectangle::GetCornerUpperLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_CornerUpperLeft(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(553)
- inline void VGCore::IVGRectangle::PutCornerUpperLeft ( long pVal ) {
- HRESULT _hr = put_CornerUpperLeft(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(554)
- inline long VGCore::IVGRectangle::GetCornerUpperRight ( ) {
- long _result = 0;
- HRESULT _hr = get_CornerUpperRight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(555)
- inline void VGCore::IVGRectangle::PutCornerUpperRight ( long pVal ) {
- HRESULT _hr = put_CornerUpperRight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(556)
- inline long VGCore::IVGRectangle::GetCornerLowerLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_CornerLowerLeft(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(557)
- inline void VGCore::IVGRectangle::PutCornerLowerLeft ( long pVal ) {
- HRESULT _hr = put_CornerLowerLeft(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(558)
- inline long VGCore::IVGRectangle::GetCornerLowerRight ( ) {
- long _result = 0;
- HRESULT _hr = get_CornerLowerRight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(559)
- inline void VGCore::IVGRectangle::PutCornerLowerRight ( long pVal ) {
- HRESULT _hr = put_CornerLowerRight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(560)
- inline VARIANT_BOOL VGCore::IVGRectangle::GetEqualCorners ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EqualCorners(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(561)
- inline double VGCore::IVGRectangle::GetMaxRadius ( ) {
- double _result = 0;
- HRESULT _hr = get_MaxRadius(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(562)
- inline HRESULT VGCore::IVGRectangle::SetRoundness ( long Roundness ) {
- HRESULT _hr = raw_SetRoundness(Roundness);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(563)
- inline HRESULT VGCore::IVGRectangle::SetRadius ( double Radius ) {
- HRESULT _hr = raw_SetRadius(Radius);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(564)
- inline double VGCore::IVGRectangle::GetRadiusUpperLeft ( ) {
- double _result = 0;
- HRESULT _hr = get_RadiusUpperLeft(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(565)
- inline void VGCore::IVGRectangle::PutRadiusUpperLeft ( double pVal ) {
- HRESULT _hr = put_RadiusUpperLeft(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(566)
- inline double VGCore::IVGRectangle::GetRadiusUpperRight ( ) {
- double _result = 0;
- HRESULT _hr = get_RadiusUpperRight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(567)
- inline void VGCore::IVGRectangle::PutRadiusUpperRight ( double pVal ) {
- HRESULT _hr = put_RadiusUpperRight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(568)
- inline double VGCore::IVGRectangle::GetRadiusLowerLeft ( ) {
- double _result = 0;
- HRESULT _hr = get_RadiusLowerLeft(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(569)
- inline void VGCore::IVGRectangle::PutRadiusLowerLeft ( double pVal ) {
- HRESULT _hr = put_RadiusLowerLeft(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(570)
- inline double VGCore::IVGRectangle::GetRadiusLowerRight ( ) {
- double _result = 0;
- HRESULT _hr = get_RadiusLowerRight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(571)
- inline void VGCore::IVGRectangle::PutRadiusLowerRight ( double pVal ) {
- HRESULT _hr = put_RadiusLowerRight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(572)
- inline enum VGCore::cdrCornerType VGCore::IVGRectangle::GetCornerType ( ) {
- enum cdrCornerType _result;
- HRESULT _hr = get_CornerType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(573)
- inline void VGCore::IVGRectangle::PutCornerType ( enum cdrCornerType pVal ) {
- HRESULT _hr = put_CornerType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(574)
- inline VARIANT_BOOL VGCore::IVGRectangle::GetRelativeCornerScaling ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RelativeCornerScaling(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(575)
- inline void VGCore::IVGRectangle::PutRelativeCornerScaling ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RelativeCornerScaling(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEllipse wrapper method implementations
- //
- #pragma implementation_key(576)
- inline enum VGCore::cdrEllipseType VGCore::IVGEllipse::GetType ( ) {
- enum cdrEllipseType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(577)
- inline void VGCore::IVGEllipse::PutType ( enum cdrEllipseType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(578)
- inline double VGCore::IVGEllipse::GetStartAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_StartAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(579)
- inline void VGCore::IVGEllipse::PutStartAngle ( double pVal ) {
- HRESULT _hr = put_StartAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(580)
- inline double VGCore::IVGEllipse::GetEndAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_EndAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(581)
- inline void VGCore::IVGEllipse::PutEndAngle ( double pVal ) {
- HRESULT _hr = put_EndAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(582)
- inline VARIANT_BOOL VGCore::IVGEllipse::GetClockwise ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Clockwise(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(583)
- inline void VGCore::IVGEllipse::PutClockwise ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Clockwise(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(584)
- inline double VGCore::IVGEllipse::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(585)
- inline void VGCore::IVGEllipse::PutCenterX ( double pVal ) {
- HRESULT _hr = put_CenterX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(586)
- inline double VGCore::IVGEllipse::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(587)
- inline void VGCore::IVGEllipse::PutCenterY ( double pVal ) {
- HRESULT _hr = put_CenterY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(588)
- inline double VGCore::IVGEllipse::GetHRadius ( ) {
- double _result = 0;
- HRESULT _hr = get_HRadius(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(589)
- inline void VGCore::IVGEllipse::PutHRadius ( double pVal ) {
- HRESULT _hr = put_HRadius(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(590)
- inline double VGCore::IVGEllipse::GetVRadius ( ) {
- double _result = 0;
- HRESULT _hr = get_VRadius(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(591)
- inline void VGCore::IVGEllipse::PutVRadius ( double pVal ) {
- HRESULT _hr = put_VRadius(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(592)
- inline HRESULT VGCore::IVGEllipse::SetCenterPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetCenterPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(593)
- inline HRESULT VGCore::IVGEllipse::GetCenterPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetCenterPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(594)
- inline HRESULT VGCore::IVGEllipse::SetRadius ( double HRadius, double VRadius ) {
- HRESULT _hr = raw_SetRadius(HRadius, VRadius);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(595)
- inline HRESULT VGCore::IVGEllipse::GetRadius ( double * HRadius, double * VRadius ) {
- HRESULT _hr = raw_GetRadius(HRadius, VRadius);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGPolygon wrapper method implementations
- //
- #pragma implementation_key(596)
- inline enum VGCore::cdrPolygonType VGCore::IVGPolygon::GetType ( ) {
- enum cdrPolygonType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(597)
- inline void VGCore::IVGPolygon::PutType ( enum cdrPolygonType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(598)
- inline long VGCore::IVGPolygon::GetSides ( ) {
- long _result = 0;
- HRESULT _hr = get_Sides(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(599)
- inline void VGCore::IVGPolygon::PutSides ( long pVal ) {
- HRESULT _hr = put_Sides(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(600)
- inline long VGCore::IVGPolygon::GetSharpness ( ) {
- long _result = 0;
- HRESULT _hr = get_Sharpness(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(601)
- inline void VGCore::IVGPolygon::PutSharpness ( long pVal ) {
- HRESULT _hr = put_Sharpness(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGCrossPoint wrapper method implementations
- //
- #pragma implementation_key(602)
- inline double VGCore::IVGCrossPoint::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(603)
- inline double VGCore::IVGCrossPoint::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(604)
- inline double VGCore::IVGCrossPoint::GetOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_Offset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(605)
- inline double VGCore::IVGCrossPoint::GetOffset2 ( ) {
- double _result = 0;
- HRESULT _hr = get_Offset2(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGCrossPoints wrapper method implementations
- //
- #pragma implementation_key(606)
- inline VGCore::IVGCrossPointPtr VGCore::IVGCrossPoints::GetItem ( long Index ) {
- struct IVGCrossPoint * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCrossPointPtr(_result, false);
- }
- #pragma implementation_key(607)
- inline IUnknownPtr VGCore::IVGCrossPoints::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(608)
- inline long VGCore::IVGCrossPoints::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGStructPaletteOptions wrapper method implementations
- //
- #pragma implementation_key(609)
- inline void VGCore::IVGStructPaletteOptions::PutNumColors ( long pVal ) {
- HRESULT _hr = put_NumColors(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(610)
- inline long VGCore::IVGStructPaletteOptions::GetNumColors ( ) {
- long _result = 0;
- HRESULT _hr = get_NumColors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(611)
- inline void VGCore::IVGStructPaletteOptions::PutDitherIntensity ( long pVal ) {
- HRESULT _hr = put_DitherIntensity(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(612)
- inline long VGCore::IVGStructPaletteOptions::GetDitherIntensity ( ) {
- long _result = 0;
- HRESULT _hr = get_DitherIntensity(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(613)
- inline void VGCore::IVGStructPaletteOptions::PutSmoothing ( long pVal ) {
- HRESULT _hr = put_Smoothing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(614)
- inline long VGCore::IVGStructPaletteOptions::GetSmoothing ( ) {
- long _result = 0;
- HRESULT _hr = get_Smoothing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(615)
- inline void VGCore::IVGStructPaletteOptions::PutDitherType ( enum cdrDitherType pVal ) {
- HRESULT _hr = put_DitherType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(616)
- inline enum VGCore::cdrDitherType VGCore::IVGStructPaletteOptions::GetDitherType ( ) {
- enum cdrDitherType _result;
- HRESULT _hr = get_DitherType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(617)
- inline void VGCore::IVGStructPaletteOptions::PutPaletteType ( enum cdrImagePaletteType pVal ) {
- HRESULT _hr = put_PaletteType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(618)
- inline enum VGCore::cdrImagePaletteType VGCore::IVGStructPaletteOptions::GetPaletteType ( ) {
- enum cdrImagePaletteType _result;
- HRESULT _hr = get_PaletteType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(619)
- inline void VGCore::IVGStructPaletteOptions::PutImportance ( long pVal ) {
- HRESULT _hr = put_Importance(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(620)
- inline long VGCore::IVGStructPaletteOptions::GetImportance ( ) {
- long _result = 0;
- HRESULT _hr = get_Importance(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(621)
- inline void VGCore::IVGStructPaletteOptions::PutLightness ( long pVal ) {
- HRESULT _hr = put_Lightness(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(622)
- inline long VGCore::IVGStructPaletteOptions::GetLightness ( ) {
- long _result = 0;
- HRESULT _hr = get_Lightness(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(623)
- inline void VGCore::IVGStructPaletteOptions::PutToleranceA ( long pVal ) {
- HRESULT _hr = put_ToleranceA(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(624)
- inline long VGCore::IVGStructPaletteOptions::GetToleranceA ( ) {
- long _result = 0;
- HRESULT _hr = get_ToleranceA(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(625)
- inline void VGCore::IVGStructPaletteOptions::PutToleranceB ( long pVal ) {
- HRESULT _hr = put_ToleranceB(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(626)
- inline long VGCore::IVGStructPaletteOptions::GetToleranceB ( ) {
- long _result = 0;
- HRESULT _hr = get_ToleranceB(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(627)
- inline void VGCore::IVGStructPaletteOptions::PutColorSensitive ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ColorSensitive(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(628)
- inline VARIANT_BOOL VGCore::IVGStructPaletteOptions::GetColorSensitive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ColorSensitive(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(629)
- inline void VGCore::IVGStructPaletteOptions::PutTargetColor ( long pVal ) {
- HRESULT _hr = put_TargetColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(630)
- inline long VGCore::IVGStructPaletteOptions::GetTargetColor ( ) {
- long _result = 0;
- HRESULT _hr = get_TargetColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(631)
- inline void VGCore::IVGStructPaletteOptions::PutPalette ( const _variant_t & pVal ) {
- HRESULT _hr = put_Palette(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(632)
- inline _variant_t VGCore::IVGStructPaletteOptions::GetPalette ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Palette(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface IVGOutlineStyle wrapper method implementations
- //
- #pragma implementation_key(633)
- inline long VGCore::IVGOutlineStyle::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(634)
- inline long VGCore::IVGOutlineStyle::GetDashCount ( ) {
- long _result = 0;
- HRESULT _hr = get_DashCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(635)
- inline void VGCore::IVGOutlineStyle::PutDashCount ( long pVal ) {
- HRESULT _hr = put_DashCount(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(636)
- inline long VGCore::IVGOutlineStyle::GetDashLength ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_DashLength(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(637)
- inline void VGCore::IVGOutlineStyle::PutDashLength ( long Index, long pVal ) {
- HRESULT _hr = put_DashLength(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(638)
- inline long VGCore::IVGOutlineStyle::GetGapLength ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_GapLength(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(639)
- inline void VGCore::IVGOutlineStyle::PutGapLength ( long Index, long pVal ) {
- HRESULT _hr = put_GapLength(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(640)
- inline VARIANT_BOOL VGCore::IVGOutlineStyle::GetEnhanced ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Enhanced(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGPatternCanvas wrapper method implementations
- //
- #pragma implementation_key(641)
- inline enum VGCore::cdrPatternCanvasSize VGCore::IVGPatternCanvas::GetSize ( ) {
- enum cdrPatternCanvasSize _result;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(642)
- inline void VGCore::IVGPatternCanvas::PutSize ( enum cdrPatternCanvasSize pVal ) {
- HRESULT _hr = put_Size(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(643)
- inline VARIANT_BOOL VGCore::IVGPatternCanvas::GetPixel ( long x, long y ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Pixel(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(644)
- inline void VGCore::IVGPatternCanvas::PutPixel ( long x, long y, VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Pixel(x, y, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(645)
- inline long VGCore::IVGPatternCanvas::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(646)
- inline HRESULT VGCore::IVGPatternCanvas::FillArea ( long x1, long y1, long x2, long y2, VARIANT_BOOL State ) {
- HRESULT _hr = raw_FillArea(x1, y1, x2, y2, State);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(647)
- inline HRESULT VGCore::IVGPatternCanvas::CopyArea ( long x1, long y1, long x2, long y2, long x, long y ) {
- HRESULT _hr = raw_CopyArea(x1, y1, x2, y2, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(648)
- inline HRESULT VGCore::IVGPatternCanvas::FlipArea ( long x1, long y1, long x2, long y2, enum cdrFlipAxes Axes ) {
- HRESULT _hr = raw_FlipArea(x1, y1, x2, y2, Axes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(649)
- inline HRESULT VGCore::IVGPatternCanvas::RotateArea ( long x1, long y1, long x2, long y2, double Angle ) {
- HRESULT _hr = raw_RotateArea(x1, y1, x2, y2, Angle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(650)
- inline HRESULT VGCore::IVGPatternCanvas::Select ( long Index ) {
- HRESULT _hr = raw_Select(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(651)
- inline HRESULT VGCore::IVGPatternCanvas::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(652)
- inline HRESULT VGCore::IVGPatternCanvas::PutCopy ( struct IVGPatternCanvas * PatternCanvas ) {
- HRESULT _hr = raw_PutCopy(PatternCanvas);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(653)
- inline long VGCore::IVGPatternCanvas::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(654)
- inline void VGCore::IVGPatternCanvas::PutWidth ( long pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(655)
- inline long VGCore::IVGPatternCanvas::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(656)
- inline void VGCore::IVGPatternCanvas::PutHeight ( long pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(657)
- inline _bstr_t VGCore::IVGPatternCanvas::GetData ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Data(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(658)
- inline void VGCore::IVGPatternCanvas::PutData ( _bstr_t pVal ) {
- HRESULT _hr = put_Data(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(659)
- inline HRESULT VGCore::IVGPatternCanvas::PSet ( short Step, long x, long y, VARIANT_BOOL Color ) {
- HRESULT _hr = raw_PSet(Step, x, y, Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(660)
- inline HRESULT VGCore::IVGPatternCanvas::Line ( short Flags, long x1, long y1, long x2, long y2, VARIANT_BOOL Color ) {
- HRESULT _hr = raw_Line(Flags, x1, y1, x2, y2, Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGTextureFillProperty wrapper method implementations
- //
- #pragma implementation_key(661)
- inline _bstr_t VGCore::IVGTextureFillProperty::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(662)
- inline enum VGCore::cdrTexturePropertyType VGCore::IVGTextureFillProperty::GetType ( ) {
- enum cdrTexturePropertyType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(663)
- inline _variant_t VGCore::IVGTextureFillProperty::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(664)
- inline void VGCore::IVGTextureFillProperty::PutValue ( const _variant_t & pVal ) {
- HRESULT _hr = put_Value(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGTextureFillProperties wrapper method implementations
- //
- #pragma implementation_key(665)
- inline long VGCore::IVGTextureFillProperties::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(666)
- inline VGCore::IVGTextureFillPropertyPtr VGCore::IVGTextureFillProperties::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGTextureFillProperty * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextureFillPropertyPtr(_result, false);
- }
- #pragma implementation_key(667)
- inline IUnknownPtr VGCore::IVGTextureFillProperties::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IVGTextureFill wrapper method implementations
- //
- #pragma implementation_key(668)
- inline double VGCore::IVGTextureFill::GetOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(669)
- inline void VGCore::IVGTextureFill::PutOriginX ( double pVal ) {
- HRESULT _hr = put_OriginX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(670)
- inline double VGCore::IVGTextureFill::GetOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(671)
- inline void VGCore::IVGTextureFill::PutOriginY ( double pVal ) {
- HRESULT _hr = put_OriginY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(672)
- inline double VGCore::IVGTextureFill::GetTileWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_TileWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(673)
- inline void VGCore::IVGTextureFill::PutTileWidth ( double pVal ) {
- HRESULT _hr = put_TileWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(674)
- inline double VGCore::IVGTextureFill::GetTileHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_TileHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(675)
- inline void VGCore::IVGTextureFill::PutTileHeight ( double pVal ) {
- HRESULT _hr = put_TileHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(676)
- inline enum VGCore::cdrTileOffsetType VGCore::IVGTextureFill::GetTileOffsetType ( ) {
- enum cdrTileOffsetType _result;
- HRESULT _hr = get_TileOffsetType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(677)
- inline void VGCore::IVGTextureFill::PutTileOffsetType ( enum cdrTileOffsetType pVal ) {
- HRESULT _hr = put_TileOffsetType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(678)
- inline long VGCore::IVGTextureFill::GetTileOffset ( ) {
- long _result = 0;
- HRESULT _hr = get_TileOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(679)
- inline void VGCore::IVGTextureFill::PutTileOffset ( long pVal ) {
- HRESULT _hr = put_TileOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(680)
- inline double VGCore::IVGTextureFill::GetSkewAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_SkewAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(681)
- inline void VGCore::IVGTextureFill::PutSkewAngle ( double pVal ) {
- HRESULT _hr = put_SkewAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(682)
- inline double VGCore::IVGTextureFill::GetRotationAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(683)
- inline void VGCore::IVGTextureFill::PutRotationAngle ( double pVal ) {
- HRESULT _hr = put_RotationAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(684)
- inline VARIANT_BOOL VGCore::IVGTextureFill::GetTransformWithShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TransformWithShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(685)
- inline void VGCore::IVGTextureFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TransformWithShape(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(686)
- inline long VGCore::IVGTextureFill::GetResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_Resolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(687)
- inline void VGCore::IVGTextureFill::PutResolution ( long pVal ) {
- HRESULT _hr = put_Resolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(688)
- inline long VGCore::IVGTextureFill::GetMaximumTileWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_MaximumTileWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(689)
- inline void VGCore::IVGTextureFill::PutMaximumTileWidth ( long pVal ) {
- HRESULT _hr = put_MaximumTileWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(690)
- inline _bstr_t VGCore::IVGTextureFill::GetLibraryName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LibraryName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(691)
- inline _bstr_t VGCore::IVGTextureFill::GetTextureName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TextureName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(692)
- inline _bstr_t VGCore::IVGTextureFill::GetStyleName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_StyleName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(693)
- inline HRESULT VGCore::IVGTextureFill::Select ( _bstr_t Texture, _bstr_t Library ) {
- HRESULT _hr = raw_Select(Texture, Library);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(694)
- inline HRESULT VGCore::IVGTextureFill::SetProperties ( SAFEARRAY * * SettingArray ) {
- HRESULT _hr = raw_SetProperties(SettingArray);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(695)
- inline VARIANT_BOOL VGCore::IVGTextureFill::GetMirrorFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(696)
- inline void VGCore::IVGTextureFill::PutMirrorFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(697)
- inline VGCore::IVGTextureFillPropertiesPtr VGCore::IVGTextureFill::GetProperties ( ) {
- struct IVGTextureFillProperties * _result = 0;
- HRESULT _hr = get_Properties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextureFillPropertiesPtr(_result, false);
- }
- #pragma implementation_key(698)
- inline VARIANT_BOOL VGCore::IVGTextureFill::GetMirrorFillX ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFillX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(699)
- inline void VGCore::IVGTextureFill::PutMirrorFillX ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFillX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(700)
- inline VARIANT_BOOL VGCore::IVGTextureFill::GetMirrorFillY ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFillY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(701)
- inline void VGCore::IVGTextureFill::PutMirrorFillY ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFillY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGPostScriptFill wrapper method implementations
- //
- #pragma implementation_key(702)
- inline _bstr_t VGCore::IVGPostScriptFill::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(703)
- inline long VGCore::IVGPostScriptFill::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(704)
- inline long VGCore::IVGPostScriptFill::GetProperties ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_Properties(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(705)
- inline void VGCore::IVGPostScriptFill::PutProperties ( long Index, long pVal ) {
- HRESULT _hr = put_Properties(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(706)
- inline HRESULT VGCore::IVGPostScriptFill::Select ( const _variant_t & IndexOrName ) {
- HRESULT _hr = raw_Select(IndexOrName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(707)
- inline HRESULT VGCore::IVGPostScriptFill::SetProperties ( long Param1, long Param2, long Param3, long Param4, long Param5 ) {
- HRESULT _hr = raw_SetProperties(Param1, Param2, Param3, Param4, Param5);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGPSScreenOptions wrapper method implementations
- //
- #pragma implementation_key(708)
- inline long VGCore::IVGPSScreenOptions::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(709)
- inline _bstr_t VGCore::IVGPSScreenOptions::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(710)
- inline double VGCore::IVGPSScreenOptions::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(711)
- inline void VGCore::IVGPSScreenOptions::PutAngle ( double pVal ) {
- HRESULT _hr = put_Angle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(712)
- inline long VGCore::IVGPSScreenOptions::GetFrequency ( ) {
- long _result = 0;
- HRESULT _hr = get_Frequency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(713)
- inline void VGCore::IVGPSScreenOptions::PutFrequency ( long pVal ) {
- HRESULT _hr = put_Frequency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(714)
- inline VARIANT_BOOL VGCore::IVGPSScreenOptions::Select ( _bstr_t Name ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Select(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(715)
- inline VARIANT_BOOL VGCore::IVGPSScreenOptions::SetProperties ( const _variant_t & IndexOrName, double Angle, long Frequency ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_SetProperties(IndexOrName, Angle, Frequency, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(716)
- inline _bstr_t VGCore::IVGPSScreenOptions::NameByIndex ( long Index ) {
- BSTR _result = 0;
- HRESULT _hr = raw_NameByIndex(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(717)
- inline HRESULT VGCore::IVGPSScreenOptions::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(718)
- inline VARIANT_BOOL VGCore::IVGPSScreenOptions::UserAssign ( long ParentWindowHandle ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UserAssign(ParentWindowHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGArrowHeadOptions wrapper method implementations
- //
- #pragma implementation_key(719)
- inline double VGCore::IVGArrowHeadOptions::GetLength ( ) {
- double _result = 0;
- HRESULT _hr = get_Length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(720)
- inline void VGCore::IVGArrowHeadOptions::PutLength ( double pVal ) {
- HRESULT _hr = put_Length(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(721)
- inline double VGCore::IVGArrowHeadOptions::GetWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(722)
- inline void VGCore::IVGArrowHeadOptions::PutWidth ( double pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(723)
- inline double VGCore::IVGArrowHeadOptions::GetOffsetX ( ) {
- double _result = 0;
- HRESULT _hr = get_OffsetX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(724)
- inline void VGCore::IVGArrowHeadOptions::PutOffsetX ( double pVal ) {
- HRESULT _hr = put_OffsetX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(725)
- inline double VGCore::IVGArrowHeadOptions::GetOffsetY ( ) {
- double _result = 0;
- HRESULT _hr = get_OffsetY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(726)
- inline void VGCore::IVGArrowHeadOptions::PutOffsetY ( double pVal ) {
- HRESULT _hr = put_OffsetY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(727)
- inline VARIANT_BOOL VGCore::IVGArrowHeadOptions::GetFlipHorizontal ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FlipHorizontal(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(728)
- inline void VGCore::IVGArrowHeadOptions::PutFlipHorizontal ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FlipHorizontal(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(729)
- inline VARIANT_BOOL VGCore::IVGArrowHeadOptions::GetFlipVertical ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FlipVertical(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(730)
- inline void VGCore::IVGArrowHeadOptions::PutFlipVertical ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FlipVertical(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(731)
- inline HRESULT VGCore::IVGArrowHeadOptions::Flip ( enum cdrFlipAxes Axes ) {
- HRESULT _hr = raw_Flip(Axes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(732)
- inline double VGCore::IVGArrowHeadOptions::GetRotationAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(733)
- inline void VGCore::IVGArrowHeadOptions::PutRotationAngle ( double pVal ) {
- HRESULT _hr = put_RotationAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(734)
- inline HRESULT VGCore::IVGArrowHeadOptions::CopyAssign ( struct IVGArrowHeadOptions * Source ) {
- HRESULT _hr = raw_CopyAssign(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(735)
- inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGArrowHeadOptions::GetCopy ( ) {
- struct IVGArrowHeadOptions * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadOptionsPtr(_result, false);
- }
- #pragma implementation_key(736)
- inline VARIANT_BOOL VGCore::IVGArrowHeadOptions::GetFlipVerical ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FlipVerical(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(737)
- inline void VGCore::IVGArrowHeadOptions::PutFlipVerical ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FlipVerical(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGImageTile wrapper method implementations
- //
- #pragma implementation_key(738)
- inline long VGCore::IVGImageTile::GetLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_Left(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(739)
- inline long VGCore::IVGImageTile::GetTop ( ) {
- long _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(740)
- inline long VGCore::IVGImageTile::GetRight ( ) {
- long _result = 0;
- HRESULT _hr = get_Right(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(741)
- inline long VGCore::IVGImageTile::GetBottom ( ) {
- long _result = 0;
- HRESULT _hr = get_Bottom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(742)
- inline long VGCore::IVGImageTile::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(743)
- inline long VGCore::IVGImageTile::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(744)
- inline long VGCore::IVGImageTile::GetBytesPerTile ( ) {
- long _result = 0;
- HRESULT _hr = get_BytesPerTile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(745)
- inline long VGCore::IVGImageTile::GetBytesPerLine ( ) {
- long _result = 0;
- HRESULT _hr = get_BytesPerLine(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(746)
- inline long VGCore::IVGImageTile::GetBytesPerPixel ( ) {
- long _result = 0;
- HRESULT _hr = get_BytesPerPixel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(747)
- inline SAFEARRAY * VGCore::IVGImageTile::GetPixelData ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = get_PixelData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(748)
- inline void VGCore::IVGImageTile::PutPixelData ( SAFEARRAY * * pVal ) {
- HRESULT _hr = put_PixelData(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(749)
- inline VARIANT_BOOL VGCore::IVGImageTile::GetReadOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ReadOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGImageTiles wrapper method implementations
- //
- #pragma implementation_key(750)
- inline long VGCore::IVGImageTiles::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(751)
- inline VGCore::IVGImageTilePtr VGCore::IVGImageTiles::GetItem ( long Index ) {
- struct IVGImageTile * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImageTilePtr(_result, false);
- }
- #pragma implementation_key(752)
- inline IUnknownPtr VGCore::IVGImageTiles::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(753)
- inline VGCore::IVGImageTilePtr VGCore::IVGImageTiles::GetFirst ( ) {
- struct IVGImageTile * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImageTilePtr(_result, false);
- }
- #pragma implementation_key(754)
- inline VGCore::IVGImageTilePtr VGCore::IVGImageTiles::GetLast ( ) {
- struct IVGImageTile * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImageTilePtr(_result, false);
- }
- //
- // interface IVGStructAlignProperties wrapper method implementations
- //
- #pragma implementation_key(755)
- inline void VGCore::IVGStructAlignProperties::PutAlignment ( enum cdrAlignment pVal ) {
- HRESULT _hr = put_Alignment(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(756)
- inline enum VGCore::cdrAlignment VGCore::IVGStructAlignProperties::GetAlignment ( ) {
- enum cdrAlignment _result;
- HRESULT _hr = get_Alignment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(757)
- inline void VGCore::IVGStructAlignProperties::PutFirstLineIndent ( double pVal ) {
- HRESULT _hr = put_FirstLineIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(758)
- inline double VGCore::IVGStructAlignProperties::GetFirstLineIndent ( ) {
- double _result = 0;
- HRESULT _hr = get_FirstLineIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(759)
- inline void VGCore::IVGStructAlignProperties::PutLeftIndent ( double pVal ) {
- HRESULT _hr = put_LeftIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(760)
- inline double VGCore::IVGStructAlignProperties::GetLeftIndent ( ) {
- double _result = 0;
- HRESULT _hr = get_LeftIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(761)
- inline void VGCore::IVGStructAlignProperties::PutRightIndent ( double pVal ) {
- HRESULT _hr = put_RightIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(762)
- inline double VGCore::IVGStructAlignProperties::GetRightIndent ( ) {
- double _result = 0;
- HRESULT _hr = get_RightIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(763)
- inline void VGCore::IVGStructAlignProperties::PutMaxWordSpacing ( float pVal ) {
- HRESULT _hr = put_MaxWordSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(764)
- inline float VGCore::IVGStructAlignProperties::GetMaxWordSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_MaxWordSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(765)
- inline void VGCore::IVGStructAlignProperties::PutMinWordSpacing ( float pVal ) {
- HRESULT _hr = put_MinWordSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(766)
- inline float VGCore::IVGStructAlignProperties::GetMinWordSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_MinWordSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(767)
- inline void VGCore::IVGStructAlignProperties::PutMaxCharacterSpacing ( float pVal ) {
- HRESULT _hr = put_MaxCharacterSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(768)
- inline float VGCore::IVGStructAlignProperties::GetMaxCharacterSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_MaxCharacterSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(769)
- inline void VGCore::IVGStructAlignProperties::PutHorizontalCharacterShift ( long pVal ) {
- HRESULT _hr = put_HorizontalCharacterShift(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(770)
- inline long VGCore::IVGStructAlignProperties::GetHorizontalCharacterShift ( ) {
- long _result = 0;
- HRESULT _hr = get_HorizontalCharacterShift(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(771)
- inline void VGCore::IVGStructAlignProperties::PutVerticalCharacterShift ( long pVal ) {
- HRESULT _hr = put_VerticalCharacterShift(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(772)
- inline long VGCore::IVGStructAlignProperties::GetVerticalCharacterShift ( ) {
- long _result = 0;
- HRESULT _hr = get_VerticalCharacterShift(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(773)
- inline void VGCore::IVGStructAlignProperties::PutCharacterRotation ( float pVal ) {
- HRESULT _hr = put_CharacterRotation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(774)
- inline float VGCore::IVGStructAlignProperties::GetCharacterRotation ( ) {
- float _result = 0;
- HRESULT _hr = get_CharacterRotation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGStructSpaceProperties wrapper method implementations
- //
- #pragma implementation_key(775)
- inline void VGCore::IVGStructSpaceProperties::PutCharacterSpacing ( float pVal ) {
- HRESULT _hr = put_CharacterSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(776)
- inline float VGCore::IVGStructSpaceProperties::GetCharacterSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_CharacterSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(777)
- inline void VGCore::IVGStructSpaceProperties::PutWordSpacing ( float pVal ) {
- HRESULT _hr = put_WordSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(778)
- inline float VGCore::IVGStructSpaceProperties::GetWordSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_WordSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(779)
- inline void VGCore::IVGStructSpaceProperties::PutLineSpacing ( float pVal ) {
- HRESULT _hr = put_LineSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(780)
- inline float VGCore::IVGStructSpaceProperties::GetLineSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_LineSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(781)
- inline void VGCore::IVGStructSpaceProperties::PutLineSpacingType ( enum cdrLineSpacingType pVal ) {
- HRESULT _hr = put_LineSpacingType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(782)
- inline enum VGCore::cdrLineSpacingType VGCore::IVGStructSpaceProperties::GetLineSpacingType ( ) {
- enum cdrLineSpacingType _result;
- HRESULT _hr = get_LineSpacingType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(783)
- inline void VGCore::IVGStructSpaceProperties::PutBeforeParagraphSpacing ( float pVal ) {
- HRESULT _hr = put_BeforeParagraphSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(784)
- inline float VGCore::IVGStructSpaceProperties::GetBeforeParagraphSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_BeforeParagraphSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(785)
- inline void VGCore::IVGStructSpaceProperties::PutAfterParagraphSpacing ( float pVal ) {
- HRESULT _hr = put_AfterParagraphSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(786)
- inline float VGCore::IVGStructSpaceProperties::GetAfterParagraphSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_AfterParagraphSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGStructHyphenationSettings wrapper method implementations
- //
- #pragma implementation_key(787)
- inline void VGCore::IVGStructHyphenationSettings::PutUseAutomaticHyphenation ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseAutomaticHyphenation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(788)
- inline VARIANT_BOOL VGCore::IVGStructHyphenationSettings::GetUseAutomaticHyphenation ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseAutomaticHyphenation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(789)
- inline void VGCore::IVGStructHyphenationSettings::PutBreakCapitalized ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BreakCapitalized(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(790)
- inline VARIANT_BOOL VGCore::IVGStructHyphenationSettings::GetBreakCapitalized ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BreakCapitalized(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(791)
- inline void VGCore::IVGStructHyphenationSettings::PutHotZone ( double pVal ) {
- HRESULT _hr = put_HotZone(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(792)
- inline double VGCore::IVGStructHyphenationSettings::GetHotZone ( ) {
- double _result = 0;
- HRESULT _hr = get_HotZone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(793)
- inline void VGCore::IVGStructHyphenationSettings::PutMinWordLength ( long pVal ) {
- HRESULT _hr = put_MinWordLength(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(794)
- inline long VGCore::IVGStructHyphenationSettings::GetMinWordLength ( ) {
- long _result = 0;
- HRESULT _hr = get_MinWordLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(795)
- inline void VGCore::IVGStructHyphenationSettings::PutMinCharactersBefore ( long pVal ) {
- HRESULT _hr = put_MinCharactersBefore(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(796)
- inline long VGCore::IVGStructHyphenationSettings::GetMinCharactersBefore ( ) {
- long _result = 0;
- HRESULT _hr = get_MinCharactersBefore(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(797)
- inline void VGCore::IVGStructHyphenationSettings::PutMinCharactersAfter ( long pVal ) {
- HRESULT _hr = put_MinCharactersAfter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(798)
- inline long VGCore::IVGStructHyphenationSettings::GetMinCharactersAfter ( ) {
- long _result = 0;
- HRESULT _hr = get_MinCharactersAfter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(799)
- inline void VGCore::IVGStructHyphenationSettings::PutBreakAllCapWords ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BreakAllCapWords(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(800)
- inline VARIANT_BOOL VGCore::IVGStructHyphenationSettings::GetBreakAllCapWords ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BreakAllCapWords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGUserSnapPoint wrapper method implementations
- //
- #pragma implementation_key(801)
- inline _bstr_t VGCore::IVGUserSnapPoint::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(802)
- inline VARIANT_BOOL VGCore::IVGUserSnapPoint::GetAutoSnap ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AutoSnap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(803)
- inline void VGCore::IVGUserSnapPoint::PutAutoSnap ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AutoSnap(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGObjectSnapPoint wrapper method implementations
- //
- #pragma implementation_key(804)
- inline enum VGCore::cdrObjectSnapPointType VGCore::IVGObjectSnapPoint::GetType ( ) {
- enum cdrObjectSnapPointType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGBBoxSnapPoint wrapper method implementations
- //
- #pragma implementation_key(805)
- inline enum VGCore::cdrReferencePoint VGCore::IVGBBoxSnapPoint::GetType ( ) {
- enum cdrReferencePoint _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGEdgeSnapPoint wrapper method implementations
- //
- #pragma implementation_key(806)
- inline long VGCore::IVGEdgeSnapPoint::GetSegmentIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_SegmentIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(807)
- inline double VGCore::IVGEdgeSnapPoint::GetSegmentOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_SegmentOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGEffectCustomDistortion wrapper method implementations
- //
- #pragma implementation_key(808)
- inline _bstr_t VGCore::IVGEffectCustomDistortion::GetDistortionID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DistortionID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVGTextTabPosition wrapper method implementations
- //
- #pragma implementation_key(809)
- inline double VGCore::IVGTextTabPosition::GetPosition ( ) {
- double _result = 0;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(810)
- inline void VGCore::IVGTextTabPosition::PutPosition ( double pVal ) {
- HRESULT _hr = put_Position(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(811)
- inline long VGCore::IVGTextTabPosition::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(812)
- inline enum VGCore::cdrTextTabAlignment VGCore::IVGTextTabPosition::GetAlignment ( ) {
- enum cdrTextTabAlignment _result;
- HRESULT _hr = get_Alignment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(813)
- inline void VGCore::IVGTextTabPosition::PutAlignment ( enum cdrTextTabAlignment pVal ) {
- HRESULT _hr = put_Alignment(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(814)
- inline VARIANT_BOOL VGCore::IVGTextTabPosition::GetLeadered ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Leadered(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(815)
- inline void VGCore::IVGTextTabPosition::PutLeadered ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Leadered(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(816)
- inline HRESULT VGCore::IVGTextTabPosition::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGTextTabPositions wrapper method implementations
- //
- #pragma implementation_key(817)
- inline VGCore::IVGTextTabPositionPtr VGCore::IVGTextTabPositions::GetItem ( long Index ) {
- struct IVGTextTabPosition * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextTabPositionPtr(_result, false);
- }
- #pragma implementation_key(818)
- inline long VGCore::IVGTextTabPositions::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(819)
- inline IUnknownPtr VGCore::IVGTextTabPositions::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(820)
- inline long VGCore::IVGTextTabPositions::GetLeaderSpacing ( ) {
- long _result = 0;
- HRESULT _hr = get_LeaderSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(821)
- inline void VGCore::IVGTextTabPositions::PutLeaderSpacing ( long pVal ) {
- HRESULT _hr = put_LeaderSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(822)
- inline _bstr_t VGCore::IVGTextTabPositions::GetLeaderCharacter ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LeaderCharacter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(823)
- inline void VGCore::IVGTextTabPositions::PutLeaderCharacter ( _bstr_t pVal ) {
- HRESULT _hr = put_LeaderCharacter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(824)
- inline HRESULT VGCore::IVGTextTabPositions::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(825)
- inline VGCore::IVGTextTabPositionPtr VGCore::IVGTextTabPositions::Add ( double Position, enum cdrTextTabAlignment Alignment, VARIANT_BOOL Leadered ) {
- struct IVGTextTabPosition * _result = 0;
- HRESULT _hr = raw_Add(Position, Alignment, Leadered, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextTabPositionPtr(_result, false);
- }
- #pragma implementation_key(826)
- inline HRESULT VGCore::IVGTextTabPositions::AddEvery ( double Position, enum cdrTextTabAlignment Alignment, VARIANT_BOOL Leadered ) {
- HRESULT _hr = raw_AddEvery(Position, Alignment, Leadered);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGLocalizableString wrapper method implementations
- //
- #pragma implementation_key(827)
- inline HRESULT VGCore::IVGLocalizableString::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(828)
- inline VARIANT_BOOL VGCore::IVGLocalizableString::GetIsEmpty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEmpty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(829)
- inline _bstr_t VGCore::IVGLocalizableString::GetLangString ( _bstr_t Language ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetLangString(Language, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(830)
- inline HRESULT VGCore::IVGLocalizableString::SetLangString ( _bstr_t Language, _bstr_t Value ) {
- HRESULT _hr = raw_SetLangString(Language, Value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(831)
- inline VARIANT_BOOL VGCore::IVGLocalizableString::HasLangString ( _bstr_t Language ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_HasLangString(Language, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(832)
- inline VARIANT_BOOL VGCore::IVGLocalizableString::GetHasDefaultLangString ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasDefaultLangString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(833)
- inline VARIANT_BOOL VGCore::IVGLocalizableString::GetHasDefaultLangStringOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasDefaultLangStringOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(834)
- inline VARIANT_BOOL VGCore::IVGLocalizableString::GetHasNonDefaultLangStrings ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasNonDefaultLangStrings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(835)
- inline _bstr_t VGCore::IVGLocalizableString::GetDefaultLangString ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DefaultLangString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(836)
- inline void VGCore::IVGLocalizableString::PutDefaultLangString ( _bstr_t pVal ) {
- HRESULT _hr = put_DefaultLangString(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(837)
- inline SAFEARRAY * VGCore::IVGLocalizableString::GetLanguages ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetLanguages(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGFillMetadata wrapper method implementations
- //
- #pragma implementation_key(838)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetTitle ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_Title(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(839)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetDescription ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_Description(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(840)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetKeywords ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_Keywords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(841)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetSubject ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_Subject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(842)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetCopyright ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_Copyright(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(843)
- inline _bstr_t VGCore::IVGFillMetadata::GetCreatorTool ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_CreatorTool(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(844)
- inline DATE VGCore::IVGFillMetadata::GetCreationDate ( ) {
- DATE _result = 0;
- HRESULT _hr = get_CreationDate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(845)
- inline DATE VGCore::IVGFillMetadata::GetModificationDate ( ) {
- DATE _result = 0;
- HRESULT _hr = get_ModificationDate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(846)
- inline _bstr_t VGCore::IVGFillMetadata::GetDocumentID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DocumentID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(847)
- inline _bstr_t VGCore::IVGFillMetadata::GetInstanceID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_InstanceID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(848)
- inline SAFEARRAY * VGCore::IVGFillMetadata::GetDerivedFrom ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = get_DerivedFrom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(849)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGFillMetadata::GetCategory ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_Category(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- //
- // interface IVGTextIndentLevelStyle wrapper method implementations
- //
- #pragma implementation_key(850)
- inline long VGCore::IVGTextIndentLevelStyle::GetLevel ( ) {
- long _result = 0;
- HRESULT _hr = get_Level(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(851)
- inline _bstr_t VGCore::IVGTextIndentLevelStyle::GetFont ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Font(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(852)
- inline void VGCore::IVGTextIndentLevelStyle::PutFont ( _bstr_t pVal ) {
- HRESULT _hr = put_Font(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(853)
- inline VARIANT_BOOL VGCore::IVGTextIndentLevelStyle::GetUseParagraphFont ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseParagraphFont(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(854)
- inline void VGCore::IVGTextIndentLevelStyle::PutUseParagraphFont ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseParagraphFont(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(855)
- inline _bstr_t VGCore::IVGTextIndentLevelStyle::GetSymbol ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Symbol(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(856)
- inline void VGCore::IVGTextIndentLevelStyle::PutSymbol ( _bstr_t pVal ) {
- HRESULT _hr = put_Symbol(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(857)
- inline float VGCore::IVGTextIndentLevelStyle::GetSize ( ) {
- float _result = 0;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(858)
- inline void VGCore::IVGTextIndentLevelStyle::PutSize ( float pVal ) {
- HRESULT _hr = put_Size(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(859)
- inline float VGCore::IVGTextIndentLevelStyle::GetBaselineShift ( ) {
- float _result = 0;
- HRESULT _hr = get_BaselineShift(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(860)
- inline void VGCore::IVGTextIndentLevelStyle::PutBaselineShift ( float pVal ) {
- HRESULT _hr = put_BaselineShift(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(861)
- inline VARIANT_BOOL VGCore::IVGTextIndentLevelStyle::GetHangingIndent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HangingIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(862)
- inline void VGCore::IVGTextIndentLevelStyle::PutHangingIndent ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_HangingIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(863)
- inline double VGCore::IVGTextIndentLevelStyle::GetFirstCharIndent ( ) {
- double _result = 0;
- HRESULT _hr = get_FirstCharIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(864)
- inline void VGCore::IVGTextIndentLevelStyle::PutFirstCharIndent ( double pVal ) {
- HRESULT _hr = put_FirstCharIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(865)
- inline VARIANT_BOOL VGCore::IVGTextIndentLevelStyle::GetFirstCharIndentIncludesBullet ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FirstCharIndentIncludesBullet(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(866)
- inline void VGCore::IVGTextIndentLevelStyle::PutFirstCharIndentIncludesBullet ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FirstCharIndentIncludesBullet(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(867)
- inline _bstr_t VGCore::IVGTextIndentLevelStyle::GetFormat ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Format(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(868)
- inline void VGCore::IVGTextIndentLevelStyle::PutFormat ( _bstr_t pVal ) {
- HRESULT _hr = put_Format(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(869)
- inline enum VGCore::cdrTextIndentLevelStyle VGCore::IVGTextIndentLevelStyle::GetNumberStyle ( ) {
- enum cdrTextIndentLevelStyle _result;
- HRESULT _hr = get_NumberStyle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(870)
- inline void VGCore::IVGTextIndentLevelStyle::PutNumberStyle ( enum cdrTextIndentLevelStyle pVal ) {
- HRESULT _hr = put_NumberStyle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGTextIndentLevelStyles wrapper method implementations
- //
- #pragma implementation_key(871)
- inline IUnknownPtr VGCore::IVGTextIndentLevelStyles::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(872)
- inline VGCore::IVGTextIndentLevelStylePtr VGCore::IVGTextIndentLevelStyles::GetItem ( long Index ) {
- struct IVGTextIndentLevelStyle * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextIndentLevelStylePtr(_result, false);
- }
- #pragma implementation_key(873)
- inline long VGCore::IVGTextIndentLevelStyles::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGTextVariableAxis wrapper method implementations
- //
- #pragma implementation_key(874)
- inline long VGCore::IVGTextVariableAxis::GetTag ( ) {
- long _result = 0;
- HRESULT _hr = get_Tag(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(875)
- inline _bstr_t VGCore::IVGTextVariableAxis::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(876)
- inline double VGCore::IVGTextVariableAxis::GetValue ( ) {
- double _result = 0;
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(877)
- inline void VGCore::IVGTextVariableAxis::PutValue ( double pVal ) {
- HRESULT _hr = put_Value(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(878)
- inline double VGCore::IVGTextVariableAxis::GetMinValue ( ) {
- double _result = 0;
- HRESULT _hr = get_MinValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(879)
- inline double VGCore::IVGTextVariableAxis::GetMaxValue ( ) {
- double _result = 0;
- HRESULT _hr = get_MaxValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(880)
- inline double VGCore::IVGTextVariableAxis::GetDefaultValue ( ) {
- double _result = 0;
- HRESULT _hr = get_DefaultValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGTextVariableAxes wrapper method implementations
- //
- #pragma implementation_key(881)
- inline IUnknownPtr VGCore::IVGTextVariableAxes::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(882)
- inline VGCore::IVGTextVariableAxisPtr VGCore::IVGTextVariableAxes::GetItem ( long Index ) {
- struct IVGTextVariableAxis * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextVariableAxisPtr(_result, false);
- }
- #pragma implementation_key(883)
- inline long VGCore::IVGTextVariableAxes::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGGuide wrapper method implementations
- //
- #pragma implementation_key(884)
- inline enum VGCore::cdrGuideType VGCore::IVGGuide::GetType ( ) {
- enum cdrGuideType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(885)
- inline VARIANT_BOOL VGCore::IVGGuide::GetPreset ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Preset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(886)
- inline HRESULT VGCore::IVGGuide::MakeEditable ( ) {
- HRESULT _hr = raw_MakeEditable();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(887)
- inline double VGCore::IVGGuide::GetPoint1X ( ) {
- double _result = 0;
- HRESULT _hr = get_Point1X(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(888)
- inline double VGCore::IVGGuide::GetPoint1Y ( ) {
- double _result = 0;
- HRESULT _hr = get_Point1Y(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(889)
- inline double VGCore::IVGGuide::GetPoint2X ( ) {
- double _result = 0;
- HRESULT _hr = get_Point2X(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(890)
- inline double VGCore::IVGGuide::GetPoint2Y ( ) {
- double _result = 0;
- HRESULT _hr = get_Point2Y(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(891)
- inline double VGCore::IVGGuide::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(892)
- inline HRESULT VGCore::IVGGuide::GetPoints ( double * Point1X, double * Point1Y, double * Point2X, double * Point2Y ) {
- HRESULT _hr = raw_GetPoints(Point1X, Point1Y, Point2X, Point2Y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(893)
- inline HRESULT VGCore::IVGGuide::GetPointAndAngle ( double * PointX, double * PointY, double * Angle ) {
- HRESULT _hr = raw_GetPointAndAngle(PointX, PointY, Angle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(894)
- inline HRESULT VGCore::IVGGuide::SetPoints ( double Point1X, double Point1Y, double Point2X, double Point2Y ) {
- HRESULT _hr = raw_SetPoints(Point1X, Point1Y, Point2X, Point2Y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(895)
- inline HRESULT VGCore::IVGGuide::SetPointAndAngle ( double PointX, double PointY, double Angle ) {
- HRESULT _hr = raw_SetPointAndAngle(PointX, PointY, Angle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(896)
- inline double VGCore::IVGGuide::GetInterceptX ( ) {
- double _result = 0;
- HRESULT _hr = get_InterceptX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(897)
- inline double VGCore::IVGGuide::GetInterceptY ( ) {
- double _result = 0;
- HRESULT _hr = get_InterceptY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(898)
- inline double VGCore::IVGGuide::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(899)
- inline double VGCore::IVGGuide::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGURL wrapper method implementations
- //
- #pragma implementation_key(900)
- inline _bstr_t VGCore::IVGURL::GetAddress ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Address(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(901)
- inline void VGCore::IVGURL::PutAddress ( _bstr_t pVal ) {
- HRESULT _hr = put_Address(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(902)
- inline _bstr_t VGCore::IVGURL::GetTargetFrame ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TargetFrame(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(903)
- inline void VGCore::IVGURL::PutTargetFrame ( _bstr_t pVal ) {
- HRESULT _hr = put_TargetFrame(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(904)
- inline _bstr_t VGCore::IVGURL::GetAltComment ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_AltComment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(905)
- inline void VGCore::IVGURL::PutAltComment ( _bstr_t pVal ) {
- HRESULT _hr = put_AltComment(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(906)
- inline _bstr_t VGCore::IVGURL::GetBookMark ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_BookMark(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(907)
- inline void VGCore::IVGURL::PutBookMark ( _bstr_t pVal ) {
- HRESULT _hr = put_BookMark(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(908)
- inline enum VGCore::cdrURLRegion VGCore::IVGURL::GetRegion ( ) {
- enum cdrURLRegion _result;
- HRESULT _hr = get_Region(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(909)
- inline void VGCore::IVGURL::PutRegion ( enum cdrURLRegion pVal ) {
- HRESULT _hr = put_Region(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGCustomShape wrapper method implementations
- //
- #pragma implementation_key(910)
- inline _bstr_t VGCore::IVGCustomShape::GetTypeID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TypeID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVGOLE wrapper method implementations
- //
- #pragma implementation_key(911)
- inline _bstr_t VGCore::IVGOLE::GetClassID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ClassID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(912)
- inline _bstr_t VGCore::IVGOLE::GetProgID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ProgID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(913)
- inline enum VGCore::cdrOLEType VGCore::IVGOLE::GetType ( ) {
- enum cdrOLEType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(914)
- inline _bstr_t VGCore::IVGOLE::GetFullName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FullName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(915)
- inline _bstr_t VGCore::IVGOLE::GetShortName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ShortName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(916)
- inline _bstr_t VGCore::IVGOLE::GetServerName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ServerName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(917)
- inline VARIANT_BOOL VGCore::IVGOLE::GetModified ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Modified(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(918)
- inline VARIANT_BOOL VGCore::IVGOLE::GetIsInPlaceActive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsInPlaceActive(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(919)
- inline VARIANT_BOOL VGCore::IVGOLE::GetIsOpen ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOpen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(920)
- inline VARIANT_BOOL VGCore::IVGOLE::GetIsServerRunning ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsServerRunning(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(921)
- inline long VGCore::IVGOLE::GetInPlaceWindowHandle ( ) {
- long _result = 0;
- HRESULT _hr = get_InPlaceWindowHandle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(922)
- inline HRESULT VGCore::IVGOLE::Edit ( ) {
- HRESULT _hr = raw_Edit();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(923)
- inline HRESULT VGCore::IVGOLE::Open ( ) {
- HRESULT _hr = raw_Open();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(924)
- inline HRESULT VGCore::IVGOLE::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(925)
- inline HRESULT VGCore::IVGOLE::Deactivate ( ) {
- HRESULT _hr = raw_Deactivate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(926)
- inline HRESULT VGCore::IVGOLE::DoVerb ( long VerbID ) {
- HRESULT _hr = raw_DoVerb(VerbID);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(927)
- inline VARIANT_BOOL VGCore::IVGOLE::GetIsLinkUpToDate ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsLinkUpToDate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(928)
- inline _bstr_t VGCore::IVGOLE::GetLinkPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LinkPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(929)
- inline HRESULT VGCore::IVGOLE::UpdateLink ( ) {
- HRESULT _hr = raw_UpdateLink();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGBSplineControlPoint wrapper method implementations
- //
- #pragma implementation_key(930)
- inline double VGCore::IVGBSplineControlPoint::Getx ( ) {
- double _result = 0;
- HRESULT _hr = get_x(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(931)
- inline void VGCore::IVGBSplineControlPoint::Putx ( double pVal ) {
- HRESULT _hr = put_x(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(932)
- inline double VGCore::IVGBSplineControlPoint::Gety ( ) {
- double _result = 0;
- HRESULT _hr = get_y(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(933)
- inline void VGCore::IVGBSplineControlPoint::Puty ( double pVal ) {
- HRESULT _hr = put_y(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(934)
- inline VARIANT_BOOL VGCore::IVGBSplineControlPoint::GetClamped ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Clamped(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(935)
- inline void VGCore::IVGBSplineControlPoint::PutClamped ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Clamped(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(936)
- inline HRESULT VGCore::IVGBSplineControlPoint::Move ( double x, double y ) {
- HRESULT _hr = raw_Move(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(937)
- inline HRESULT VGCore::IVGBSplineControlPoint::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(938)
- inline HRESULT VGCore::IVGBSplineControlPoint::GetPosition ( double * x, double * y ) {
- HRESULT _hr = raw_GetPosition(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(939)
- inline HRESULT VGCore::IVGBSplineControlPoint::SetPosition ( double x, double y ) {
- HRESULT _hr = raw_SetPosition(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(940)
- inline HRESULT VGCore::IVGBSplineControlPoint::SetProperties ( double x, double y, VARIANT_BOOL Clamped ) {
- HRESULT _hr = raw_SetProperties(x, y, Clamped);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(941)
- inline long VGCore::IVGBSplineControlPoint::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGBSplineControlPoints wrapper method implementations
- //
- #pragma implementation_key(942)
- inline VGCore::IVGBSplineControlPointPtr VGCore::IVGBSplineControlPoints::GetFirst ( ) {
- struct IVGBSplineControlPoint * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBSplineControlPointPtr(_result, false);
- }
- #pragma implementation_key(943)
- inline VGCore::IVGBSplineControlPointPtr VGCore::IVGBSplineControlPoints::GetLast ( ) {
- struct IVGBSplineControlPoint * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBSplineControlPointPtr(_result, false);
- }
- #pragma implementation_key(944)
- inline VGCore::IVGBSplineControlPointPtr VGCore::IVGBSplineControlPoints::GetItem ( long Index ) {
- struct IVGBSplineControlPoint * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBSplineControlPointPtr(_result, false);
- }
- #pragma implementation_key(945)
- inline long VGCore::IVGBSplineControlPoints::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(946)
- inline IUnknownPtr VGCore::IVGBSplineControlPoints::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(947)
- inline HRESULT VGCore::IVGBSplineControlPoints::Resize ( long HowMany ) {
- HRESULT _hr = raw_Resize(HowMany);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGBSpline wrapper method implementations
- //
- #pragma implementation_key(948)
- inline VGCore::IVGBSplineControlPointsPtr VGCore::IVGBSpline::GetControlPoints ( ) {
- struct IVGBSplineControlPoints * _result = 0;
- HRESULT _hr = get_ControlPoints(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBSplineControlPointsPtr(_result, false);
- }
- #pragma implementation_key(949)
- inline VARIANT_BOOL VGCore::IVGBSpline::GetClosed ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Closed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(950)
- inline void VGCore::IVGBSpline::PutClosed ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Closed(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(951)
- inline HRESULT VGCore::IVGBSpline::InsertControlPoint ( long Index, double x, double y, VARIANT_BOOL Clamped ) {
- HRESULT _hr = raw_InsertControlPoint(Index, x, y, Clamped);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(952)
- inline HRESULT VGCore::IVGBSpline::InsertControlPoints ( long Index, long HowMany, double x, double y, VARIANT_BOOL Clamped ) {
- HRESULT _hr = raw_InsertControlPoints(Index, HowMany, x, y, Clamped);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(953)
- inline VGCore::IVGBSplinePtr VGCore::IVGBSpline::GetCopy ( ) {
- struct IVGBSpline * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBSplinePtr(_result, false);
- }
- #pragma implementation_key(954)
- inline HRESULT VGCore::IVGBSpline::CopyAssign ( struct IVGBSpline * rhs ) {
- HRESULT _hr = raw_CopyAssign(rhs);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IStructImportCropOptions wrapper method implementations
- //
- #pragma implementation_key(955)
- inline _bstr_t VGCore::IStructImportCropOptions::GetFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(956)
- inline long VGCore::IStructImportCropOptions::GetFilterID ( ) {
- long _result = 0;
- HRESULT _hr = get_FilterID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(957)
- inline long VGCore::IStructImportCropOptions::GetCustomData ( ) {
- long _result = 0;
- HRESULT _hr = get_CustomData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(958)
- inline long VGCore::IStructImportCropOptions::GetImageWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_ImageWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(959)
- inline long VGCore::IStructImportCropOptions::GetImageHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_ImageHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(960)
- inline long VGCore::IStructImportCropOptions::GetDpiX ( ) {
- long _result = 0;
- HRESULT _hr = get_DpiX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(961)
- inline long VGCore::IStructImportCropOptions::GetDpiY ( ) {
- long _result = 0;
- HRESULT _hr = get_DpiY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(962)
- inline long VGCore::IStructImportCropOptions::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(963)
- inline void VGCore::IStructImportCropOptions::PutWidth ( long pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(964)
- inline long VGCore::IStructImportCropOptions::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(965)
- inline void VGCore::IStructImportCropOptions::PutHeight ( long pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(966)
- inline long VGCore::IStructImportCropOptions::GetLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_Left(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(967)
- inline void VGCore::IStructImportCropOptions::PutLeft ( long pVal ) {
- HRESULT _hr = put_Left(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(968)
- inline long VGCore::IStructImportCropOptions::GetTop ( ) {
- long _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(969)
- inline void VGCore::IStructImportCropOptions::PutTop ( long pVal ) {
- HRESULT _hr = put_Top(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IImportCropHandler wrapper method implementations
- //
- #pragma implementation_key(970)
- inline VARIANT_BOOL VGCore::IImportCropHandler::Crop ( struct IStructImportCropOptions * Options ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Crop(Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IStructImportResampleOptions wrapper method implementations
- //
- #pragma implementation_key(971)
- inline _bstr_t VGCore::IStructImportResampleOptions::GetFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(972)
- inline long VGCore::IStructImportResampleOptions::GetFilterID ( ) {
- long _result = 0;
- HRESULT _hr = get_FilterID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(973)
- inline long VGCore::IStructImportResampleOptions::GetCustomData ( ) {
- long _result = 0;
- HRESULT _hr = get_CustomData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(974)
- inline long VGCore::IStructImportResampleOptions::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(975)
- inline void VGCore::IStructImportResampleOptions::PutWidth ( long pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(976)
- inline long VGCore::IStructImportResampleOptions::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(977)
- inline void VGCore::IStructImportResampleOptions::PutHeight ( long pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(978)
- inline long VGCore::IStructImportResampleOptions::GetDpiX ( ) {
- long _result = 0;
- HRESULT _hr = get_DpiX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(979)
- inline void VGCore::IStructImportResampleOptions::PutDpiX ( long pVal ) {
- HRESULT _hr = put_DpiX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(980)
- inline long VGCore::IStructImportResampleOptions::GetDpiY ( ) {
- long _result = 0;
- HRESULT _hr = get_DpiY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(981)
- inline void VGCore::IStructImportResampleOptions::PutDpiY ( long pVal ) {
- HRESULT _hr = put_DpiY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IImportResampleHandler wrapper method implementations
- //
- #pragma implementation_key(982)
- inline VARIANT_BOOL VGCore::IImportResampleHandler::Resample ( struct IStructImportResampleOptions * Options ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Resample(Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGColorManagementPolicy wrapper method implementations
- //
- #pragma implementation_key(983)
- inline enum VGCore::clrColorPolicyAction VGCore::IVGColorManagementPolicy::GetActionForRGB ( ) {
- enum clrColorPolicyAction _result;
- HRESULT _hr = get_ActionForRGB(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(984)
- inline void VGCore::IVGColorManagementPolicy::PutActionForRGB ( enum clrColorPolicyAction pVal ) {
- HRESULT _hr = put_ActionForRGB(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(985)
- inline enum VGCore::clrColorPolicyAction VGCore::IVGColorManagementPolicy::GetActionForCMYK ( ) {
- enum clrColorPolicyAction _result;
- HRESULT _hr = get_ActionForCMYK(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(986)
- inline void VGCore::IVGColorManagementPolicy::PutActionForCMYK ( enum clrColorPolicyAction pVal ) {
- HRESULT _hr = put_ActionForCMYK(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(987)
- inline enum VGCore::clrColorPolicyAction VGCore::IVGColorManagementPolicy::GetActionForGrayscale ( ) {
- enum clrColorPolicyAction _result;
- HRESULT _hr = get_ActionForGrayscale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(988)
- inline void VGCore::IVGColorManagementPolicy::PutActionForGrayscale ( enum clrColorPolicyAction pVal ) {
- HRESULT _hr = put_ActionForGrayscale(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(989)
- inline VARIANT_BOOL VGCore::IVGColorManagementPolicy::GetWarnOnMismatchedProfiles ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_WarnOnMismatchedProfiles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(990)
- inline void VGCore::IVGColorManagementPolicy::PutWarnOnMismatchedProfiles ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_WarnOnMismatchedProfiles(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(991)
- inline VARIANT_BOOL VGCore::IVGColorManagementPolicy::GetWarnOnMissingProfiles ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_WarnOnMissingProfiles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(992)
- inline void VGCore::IVGColorManagementPolicy::PutWarnOnMissingProfiles ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_WarnOnMissingProfiles(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGStructColorConversionOptions wrapper method implementations
- //
- #pragma implementation_key(993)
- inline VGCore::IVGColorManagementPolicyPtr VGCore::IVGStructColorConversionOptions::GetColorPolicy ( ) {
- struct IVGColorManagementPolicy * _result = 0;
- HRESULT _hr = get_ColorPolicy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorManagementPolicyPtr(_result, false);
- }
- #pragma implementation_key(994)
- inline _bstr_t VGCore::IVGStructColorConversionOptions::GetSourceColorProfileList ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_SourceColorProfileList(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(995)
- inline void VGCore::IVGStructColorConversionOptions::PutSourceColorProfileList ( _bstr_t pVal ) {
- HRESULT _hr = put_SourceColorProfileList(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(996)
- inline _bstr_t VGCore::IVGStructColorConversionOptions::GetTargetColorProfileList ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TargetColorProfileList(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(997)
- inline void VGCore::IVGStructColorConversionOptions::PutTargetColorProfileList ( _bstr_t pVal ) {
- HRESULT _hr = put_TargetColorProfileList(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(998)
- inline VGCore::IColorConversionHandlerPtr VGCore::IVGStructColorConversionOptions::GetColorConversionHandler ( ) {
- struct IColorConversionHandler * _result = 0;
- HRESULT _hr = get_ColorConversionHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IColorConversionHandlerPtr(_result, false);
- }
- #pragma implementation_key(999)
- inline void VGCore::IVGStructColorConversionOptions::PutRefColorConversionHandler ( struct IColorConversionHandler * * ppVal ) {
- HRESULT _hr = putref_ColorConversionHandler(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGStructImportOptions wrapper method implementations
- //
- #pragma implementation_key(1000)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetLinkBitmapExternally ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_LinkBitmapExternally(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1001)
- inline void VGCore::IVGStructImportOptions::PutLinkBitmapExternally ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_LinkBitmapExternally(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1002)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetCombineMultilayerBitmaps ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CombineMultilayerBitmaps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1003)
- inline void VGCore::IVGStructImportOptions::PutCombineMultilayerBitmaps ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_CombineMultilayerBitmaps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1004)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetExtractICCProfile ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ExtractICCProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1005)
- inline void VGCore::IVGStructImportOptions::PutExtractICCProfile ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ExtractICCProfile(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1006)
- inline _bstr_t VGCore::IVGStructImportOptions::GetICCFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ICCFileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1007)
- inline void VGCore::IVGStructImportOptions::PutICCFileName ( _bstr_t pVal ) {
- HRESULT _hr = put_ICCFileName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1008)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetMaintainLayers ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MaintainLayers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1009)
- inline void VGCore::IVGStructImportOptions::PutMaintainLayers ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MaintainLayers(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1010)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetUseOPILinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseOPILinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1011)
- inline void VGCore::IVGStructImportOptions::PutUseOPILinks ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseOPILinks(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1012)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetDetectWatermark ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DetectWatermark(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1013)
- inline void VGCore::IVGStructImportOptions::PutDetectWatermark ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DetectWatermark(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1014)
- inline enum VGCore::cdrImportMode VGCore::IVGStructImportOptions::GetMode ( ) {
- enum cdrImportMode _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1015)
- inline void VGCore::IVGStructImportOptions::PutMode ( enum cdrImportMode pVal ) {
- HRESULT _hr = put_Mode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1016)
- inline long VGCore::IVGStructImportOptions::GetCustomData ( ) {
- long _result = 0;
- HRESULT _hr = get_CustomData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1017)
- inline void VGCore::IVGStructImportOptions::PutCustomData ( long pVal ) {
- HRESULT _hr = put_CustomData(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1018)
- inline long VGCore::IVGStructImportOptions::GetImageIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_ImageIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1019)
- inline void VGCore::IVGStructImportOptions::PutImageIndex ( long pVal ) {
- HRESULT _hr = put_ImageIndex(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1020)
- inline VGCore::IImportCropHandlerPtr VGCore::IVGStructImportOptions::GetCropHandler ( ) {
- struct IImportCropHandler * _result = 0;
- HRESULT _hr = get_CropHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IImportCropHandlerPtr(_result, false);
- }
- #pragma implementation_key(1021)
- inline void VGCore::IVGStructImportOptions::PutRefCropHandler ( struct IImportCropHandler * * ppVal ) {
- HRESULT _hr = putref_CropHandler(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1022)
- inline VGCore::IImportResampleHandlerPtr VGCore::IVGStructImportOptions::GetResampleHandler ( ) {
- struct IImportResampleHandler * _result = 0;
- HRESULT _hr = get_ResampleHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IImportResampleHandlerPtr(_result, false);
- }
- #pragma implementation_key(1023)
- inline void VGCore::IVGStructImportOptions::PutRefResampleHandler ( struct IImportResampleHandler * * ppVal ) {
- HRESULT _hr = putref_ResampleHandler(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1024)
- inline enum VGCore::cdrImportTextFormatting VGCore::IVGStructImportOptions::GetTextFormatting ( ) {
- enum cdrImportTextFormatting _result;
- HRESULT _hr = get_TextFormatting(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1025)
- inline void VGCore::IVGStructImportOptions::PutTextFormatting ( enum cdrImportTextFormatting pVal ) {
- HRESULT _hr = put_TextFormatting(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1026)
- inline enum VGCore::cdrImportTableOutline VGCore::IVGStructImportOptions::GetTableOutline ( ) {
- enum cdrImportTableOutline _result;
- HRESULT _hr = get_TableOutline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1027)
- inline void VGCore::IVGStructImportOptions::PutTableOutline ( enum cdrImportTableOutline pVal ) {
- HRESULT _hr = put_TableOutline(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1028)
- inline long VGCore::IVGStructImportOptions::GetCodePage ( ) {
- long _result = 0;
- HRESULT _hr = get_CodePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1029)
- inline void VGCore::IVGStructImportOptions::PutCodePage ( long pVal ) {
- HRESULT _hr = put_CodePage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1030)
- inline long VGCore::IVGStructImportOptions::GetResampleWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_ResampleWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1031)
- inline void VGCore::IVGStructImportOptions::PutResampleWidth ( long pVal ) {
- HRESULT _hr = put_ResampleWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1032)
- inline long VGCore::IVGStructImportOptions::GetResampleHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_ResampleHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1033)
- inline void VGCore::IVGStructImportOptions::PutResampleHeight ( long pVal ) {
- HRESULT _hr = put_ResampleHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1034)
- inline long VGCore::IVGStructImportOptions::GetCropLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_CropLeft(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1035)
- inline void VGCore::IVGStructImportOptions::PutCropLeft ( long pVal ) {
- HRESULT _hr = put_CropLeft(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1036)
- inline long VGCore::IVGStructImportOptions::GetCropTop ( ) {
- long _result = 0;
- HRESULT _hr = get_CropTop(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1037)
- inline void VGCore::IVGStructImportOptions::PutCropTop ( long pVal ) {
- HRESULT _hr = put_CropTop(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1038)
- inline long VGCore::IVGStructImportOptions::GetCropWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_CropWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1039)
- inline void VGCore::IVGStructImportOptions::PutCropWidth ( long pVal ) {
- HRESULT _hr = put_CropWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1040)
- inline long VGCore::IVGStructImportOptions::GetCropHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_CropHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1041)
- inline void VGCore::IVGStructImportOptions::PutCropHeight ( long pVal ) {
- HRESULT _hr = put_CropHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1042)
- inline long VGCore::IVGStructImportOptions::GetResampleDpiX ( ) {
- long _result = 0;
- HRESULT _hr = get_ResampleDpiX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1043)
- inline void VGCore::IVGStructImportOptions::PutResampleDpiX ( long pVal ) {
- HRESULT _hr = put_ResampleDpiX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1044)
- inline long VGCore::IVGStructImportOptions::GetResampleDpiY ( ) {
- long _result = 0;
- HRESULT _hr = get_ResampleDpiY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1045)
- inline void VGCore::IVGStructImportOptions::PutResampleDpiY ( long pVal ) {
- HRESULT _hr = put_ResampleDpiY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1046)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetForceCMYKBlackText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ForceCMYKBlackText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1047)
- inline void VGCore::IVGStructImportOptions::PutForceCMYKBlackText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ForceCMYKBlackText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1048)
- inline VARIANT_BOOL VGCore::IVGStructImportOptions::GetConvertTablesToText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ConvertTablesToText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1049)
- inline void VGCore::IVGStructImportOptions::PutConvertTablesToText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ConvertTablesToText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1050)
- inline _bstr_t VGCore::IVGStructImportOptions::GetTableColumnDelimiter ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TableColumnDelimiter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1051)
- inline void VGCore::IVGStructImportOptions::PutTableColumnDelimiter ( _bstr_t pVal ) {
- HRESULT _hr = put_TableColumnDelimiter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1052)
- inline VGCore::IVGStructColorConversionOptionsPtr VGCore::IVGStructImportOptions::GetColorConversionOptions ( ) {
- struct IVGStructColorConversionOptions * _result = 0;
- HRESULT _hr = get_ColorConversionOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructColorConversionOptionsPtr(_result, false);
- }
- //
- // interface IVGStructPasteOptions wrapper method implementations
- //
- #pragma implementation_key(1053)
- inline VGCore::IVGStructColorConversionOptionsPtr VGCore::IVGStructPasteOptions::GetColorConversionOptions ( ) {
- struct IVGStructColorConversionOptions * _result = 0;
- HRESULT _hr = get_ColorConversionOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructColorConversionOptionsPtr(_result, false);
- }
- //
- // interface IVGCommentAuthor wrapper method implementations
- //
- #pragma implementation_key(1054)
- inline _bstr_t VGCore::IVGCommentAuthor::GetEmail ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Email(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1055)
- inline _bstr_t VGCore::IVGCommentAuthor::GetAvatar ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Avatar(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1056)
- inline enum VGCore::cdrAuthorAuthentication VGCore::IVGCommentAuthor::GetAuthentication ( ) {
- enum cdrAuthorAuthentication _result;
- HRESULT _hr = get_Authentication(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1057)
- inline _bstr_t VGCore::IVGCommentAuthor::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1058)
- inline _bstr_t VGCore::IVGCommentAuthor::GetOnlineID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_OnlineID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1059)
- inline void VGCore::IVGCommentAuthor::PutOnlineID ( _bstr_t pRet ) {
- HRESULT _hr = put_OnlineID(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface ICorelScriptTools wrapper method implementations
- //
- #pragma implementation_key(1060)
- inline double VGCore::ICorelScriptTools::AngleConvert ( long FromUnit, long ToUnit, double Value ) {
- double _result = 0;
- HRESULT _hr = raw_AngleConvert(FromUnit, ToUnit, Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1061)
- inline double VGCore::ICorelScriptTools::ASin ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_ASin(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1062)
- inline HRESULT VGCore::ICorelScriptTools::BeginWaitCursor ( ) {
- HRESULT _hr = raw_BeginWaitCursor();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1063)
- inline HRESULT VGCore::ICorelScriptTools::EndWaitCursor ( ) {
- HRESULT _hr = raw_EndWaitCursor();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1064)
- inline DATE VGCore::ICorelScriptTools::BuildDate ( long Year, long Month, long Day ) {
- DATE _result = 0;
- HRESULT _hr = raw_BuildDate(Year, Month, Day, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1065)
- inline DATE VGCore::ICorelScriptTools::BuildTime ( long Hour, long Minute, long Second ) {
- DATE _result = 0;
- HRESULT _hr = raw_BuildTime(Hour, Minute, Second, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1066)
- inline long VGCore::ICorelScriptTools::Dec ( _bstr_t Hex ) {
- long _result = 0;
- HRESULT _hr = raw_Dec(Hex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1067)
- inline long VGCore::ICorelScriptTools::FileAttr ( _bstr_t FolderFile ) {
- long _result = 0;
- HRESULT _hr = raw_FileAttr(FolderFile, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1068)
- inline _bstr_t VGCore::ICorelScriptTools::FindFirstFolder ( _bstr_t SearchCriteria, long Attributes ) {
- BSTR _result = 0;
- HRESULT _hr = raw_FindFirstFolder(SearchCriteria, Attributes, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1069)
- inline _bstr_t VGCore::ICorelScriptTools::FindNextFolder ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_FindNextFolder(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1070)
- inline _bstr_t VGCore::ICorelScriptTools::FormatTime ( DATE Time, _bstr_t Format ) {
- BSTR _result = 0;
- HRESULT _hr = raw_FormatTime(Time, Format, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1071)
- inline double VGCore::ICorelScriptTools::FromCentimeters ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_FromCentimeters(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1072)
- inline double VGCore::ICorelScriptTools::FromCiceros ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_FromCiceros(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1073)
- inline double VGCore::ICorelScriptTools::FromDidots ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_FromDidots(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1074)
- inline double VGCore::ICorelScriptTools::FromInches ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_FromInches(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1075)
- inline double VGCore::ICorelScriptTools::FromPicas ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_FromPicas(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1076)
- inline double VGCore::ICorelScriptTools::FromPoints ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_FromPoints(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1077)
- inline long VGCore::ICorelScriptTools::GetAppHandle ( ) {
- long _result = 0;
- HRESULT _hr = raw_GetAppHandle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1078)
- inline VARIANT_BOOL VGCore::ICorelScriptTools::GetColor ( long * Red, long * Green, long * Blue ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetColor(Red, Green, Blue, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1079)
- inline _bstr_t VGCore::ICorelScriptTools::GetCommandLine ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetCommandLine(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1080)
- inline _bstr_t VGCore::ICorelScriptTools::GetCurrFolder ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetCurrFolder(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1081)
- inline HRESULT VGCore::ICorelScriptTools::GetDateInfo ( DATE Date, long * Year, long * Month, long * Day, long * DayOfWeek ) {
- HRESULT _hr = raw_GetDateInfo(Date, Year, Month, Day, DayOfWeek);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1082)
- 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 ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetFileBox(Filter, Title, Type, File, Extension, Folder, Button, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1083)
- inline _bstr_t VGCore::ICorelScriptTools::GetFolder ( _bstr_t InitFolder, _bstr_t Title, long ParentWindowHandle ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetFolder(InitFolder, Title, ParentWindowHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1084)
- 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 ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetFont(FaceName, PointSize, Weight, Italic, Underline, StrikeOut, Red, Green, Blue, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1085)
- inline long VGCore::ICorelScriptTools::GetProcessInfo ( long ProcessHandle ) {
- long _result = 0;
- HRESULT _hr = raw_GetProcessInfo(ProcessHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1086)
- inline _bstr_t VGCore::ICorelScriptTools::GetScriptFolder ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetScriptFolder(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1087)
- inline _bstr_t VGCore::ICorelScriptTools::GetTempFolder ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetTempFolder(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1088)
- inline HRESULT VGCore::ICorelScriptTools::GetTimeInfo ( DATE Time, long * Hour, long * Minute, long * Second ) {
- HRESULT _hr = raw_GetTimeInfo(Time, Hour, Minute, Second);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1089)
- inline long VGCore::ICorelScriptTools::GetType ( const _variant_t & Expression ) {
- long _result = 0;
- HRESULT _hr = raw_GetType(Expression, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1090)
- inline long VGCore::ICorelScriptTools::GetVersion ( long Option ) {
- long _result = 0;
- HRESULT _hr = raw_GetVersion(Option, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1091)
- inline long VGCore::ICorelScriptTools::GetWinHandle ( ) {
- long _result = 0;
- HRESULT _hr = raw_GetWinHandle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1092)
- inline VARIANT_BOOL VGCore::ICorelScriptTools::Kill ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Kill(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1093)
- inline double VGCore::ICorelScriptTools::LengthConvert ( long FromUnit, long ToUnit, double Value ) {
- double _result = 0;
- HRESULT _hr = raw_LengthConvert(FromUnit, ToUnit, Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1094)
- inline double VGCore::ICorelScriptTools::Log ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_Log(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1095)
- inline VARIANT_BOOL VGCore::ICorelScriptTools::MkFolder ( _bstr_t Folder ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_MkFolder(Folder, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1096)
- inline _variant_t VGCore::ICorelScriptTools::RegistryQuery ( long MainKey, _bstr_t SubKey, _bstr_t Value ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_RegistryQuery(MainKey, SubKey, Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(1097)
- inline VARIANT_BOOL VGCore::ICorelScriptTools::Rename ( _bstr_t Src, _bstr_t Dst, long Overwrite ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Rename(Src, Dst, Overwrite, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1098)
- inline VARIANT_BOOL VGCore::ICorelScriptTools::RmFolder ( _bstr_t Folder ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_RmFolder(Folder, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1099)
- inline double VGCore::ICorelScriptTools::ToCentimeters ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_ToCentimeters(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1100)
- inline double VGCore::ICorelScriptTools::ToCiceros ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_ToCiceros(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1101)
- inline double VGCore::ICorelScriptTools::ToDidots ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_ToDidots(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1102)
- inline double VGCore::ICorelScriptTools::ToInches ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_ToInches(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1103)
- inline double VGCore::ICorelScriptTools::ToPicas ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_ToPicas(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1104)
- inline double VGCore::ICorelScriptTools::ToPoints ( double Value ) {
- double _result = 0;
- HRESULT _hr = raw_ToPoints(Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGFontList wrapper method implementations
- //
- #pragma implementation_key(1105)
- inline IDispatchPtr VGCore::IVGFontList::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1106)
- inline IDispatchPtr VGCore::IVGFontList::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1107)
- inline _bstr_t VGCore::IVGFontList::GetItem ( long Index ) {
- BSTR _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1108)
- inline IUnknownPtr VGCore::IVGFontList::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1109)
- inline long VGCore::IVGFontList::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGAppWindow wrapper method implementations
- //
- #pragma implementation_key(1110)
- inline IDispatchPtr VGCore::IVGAppWindow::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1111)
- inline IDispatchPtr VGCore::IVGAppWindow::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1112)
- inline HRESULT VGCore::IVGAppWindow::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1113)
- inline VARIANT_BOOL VGCore::IVGAppWindow::GetActive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Active(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1114)
- inline _bstr_t VGCore::IVGAppWindow::GetCaption ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Caption(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1115)
- inline void VGCore::IVGAppWindow::PutCaption ( _bstr_t pVal ) {
- HRESULT _hr = put_Caption(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1116)
- inline long VGCore::IVGAppWindow::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1117)
- inline void VGCore::IVGAppWindow::PutHeight ( long pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1118)
- inline long VGCore::IVGAppWindow::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1119)
- inline void VGCore::IVGAppWindow::PutWidth ( long pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1120)
- inline long VGCore::IVGAppWindow::GetLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_Left(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1121)
- inline void VGCore::IVGAppWindow::PutLeft ( long pVal ) {
- HRESULT _hr = put_Left(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1122)
- inline long VGCore::IVGAppWindow::GetTop ( ) {
- long _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1123)
- inline void VGCore::IVGAppWindow::PutTop ( long pVal ) {
- HRESULT _hr = put_Top(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1124)
- inline enum VGCore::cdrWindowState VGCore::IVGAppWindow::GetWindowState ( ) {
- enum cdrWindowState _result;
- HRESULT _hr = get_WindowState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1125)
- inline void VGCore::IVGAppWindow::PutWindowState ( enum cdrWindowState pVal ) {
- HRESULT _hr = put_WindowState(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1126)
- inline long VGCore::IVGAppWindow::GetClientWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_ClientWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1127)
- inline long VGCore::IVGAppWindow::GetClientHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_ClientHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1128)
- inline long VGCore::IVGAppWindow::GetHandle ( ) {
- long _result = 0;
- HRESULT _hr = get_Handle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGPatternCanvases wrapper method implementations
- //
- #pragma implementation_key(1129)
- inline VGCore::IVGPatternCanvasPtr VGCore::IVGPatternCanvases::GetItem ( long Index ) {
- struct IVGPatternCanvas * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternCanvasPtr(_result, false);
- }
- #pragma implementation_key(1130)
- inline void VGCore::IVGPatternCanvases::PutItem ( long Index, struct IVGPatternCanvas * ppVal ) {
- HRESULT _hr = put_Item(Index, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1131)
- inline IUnknownPtr VGCore::IVGPatternCanvases::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1132)
- inline long VGCore::IVGPatternCanvases::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1133)
- inline long VGCore::IVGPatternCanvases::Add ( struct IVGPatternCanvas * PatternCanvas ) {
- long _result = 0;
- HRESULT _hr = raw_Add(PatternCanvas, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1134)
- inline HRESULT VGCore::IVGPatternCanvases::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGClipboard wrapper method implementations
- //
- #pragma implementation_key(1135)
- inline IDispatchPtr VGCore::IVGClipboard::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1136)
- inline IDispatchPtr VGCore::IVGClipboard::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1137)
- inline VARIANT_BOOL VGCore::IVGClipboard::GetValid ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Valid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1138)
- inline VARIANT_BOOL VGCore::IVGClipboard::GetEmpty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Empty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1139)
- inline HRESULT VGCore::IVGClipboard::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1140)
- inline VARIANT_BOOL VGCore::IVGClipboard::DataPresent ( _bstr_t FormatName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_DataPresent(FormatName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGGMSMacro wrapper method implementations
- //
- #pragma implementation_key(1141)
- inline _bstr_t VGCore::IVGGMSMacro::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1142)
- inline HRESULT VGCore::IVGGMSMacro::Run ( ) {
- HRESULT _hr = raw_Run();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1143)
- inline HRESULT VGCore::IVGGMSMacro::Edit ( ) {
- HRESULT _hr = raw_Edit();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1144)
- inline HRESULT VGCore::IVGGMSMacro::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGGMSMacros wrapper method implementations
- //
- #pragma implementation_key(1145)
- inline IUnknownPtr VGCore::IVGGMSMacros::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1146)
- inline VGCore::IVGGMSMacroPtr VGCore::IVGGMSMacros::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGGMSMacro * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSMacroPtr(_result, false);
- }
- #pragma implementation_key(1147)
- inline long VGCore::IVGGMSMacros::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1148)
- inline VGCore::IVGGMSMacroPtr VGCore::IVGGMSMacros::Create ( _bstr_t Name ) {
- struct IVGGMSMacro * _result = 0;
- HRESULT _hr = raw_Create(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSMacroPtr(_result, false);
- }
- //
- // interface IVGGMSProject wrapper method implementations
- //
- #pragma implementation_key(1149)
- inline _bstr_t VGCore::IVGGMSProject::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1150)
- inline void VGCore::IVGGMSProject::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1151)
- inline _bstr_t VGCore::IVGGMSProject::GetDisplayName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DisplayName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1152)
- inline VGCore::IVGGMSMacrosPtr VGCore::IVGGMSProject::GetMacros ( ) {
- struct IVGGMSMacros * _result = 0;
- HRESULT _hr = get_Macros(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSMacrosPtr(_result, false);
- }
- #pragma implementation_key(1153)
- inline HRESULT VGCore::IVGGMSProject::Unload ( ) {
- HRESULT _hr = raw_Unload();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1154)
- inline _bstr_t VGCore::IVGGMSProject::GetFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1155)
- inline _bstr_t VGCore::IVGGMSProject::GetFilePath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FilePath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1156)
- inline _bstr_t VGCore::IVGGMSProject::GetFullFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FullFileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1157)
- inline VARIANT_BOOL VGCore::IVGGMSProject::GetDirty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Dirty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1158)
- inline void VGCore::IVGGMSProject::PutDirty ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Dirty(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1159)
- inline VARIANT_BOOL VGCore::IVGGMSProject::GetLocked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Locked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1160)
- inline VARIANT_BOOL VGCore::IVGGMSProject::GetPasswordProtected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PasswordProtected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGGMSProjects wrapper method implementations
- //
- #pragma implementation_key(1161)
- inline IUnknownPtr VGCore::IVGGMSProjects::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1162)
- inline VGCore::IVGGMSProjectPtr VGCore::IVGGMSProjects::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGGMSProject * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSProjectPtr(_result, false);
- }
- #pragma implementation_key(1163)
- inline long VGCore::IVGGMSProjects::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1164)
- inline VGCore::IVGGMSProjectPtr VGCore::IVGGMSProjects::Load ( _bstr_t FileName, VARIANT_BOOL CopyFile, VARIANT_BOOL ForAllUsers ) {
- struct IVGGMSProject * _result = 0;
- HRESULT _hr = raw_Load(FileName, CopyFile, ForAllUsers, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSProjectPtr(_result, false);
- }
- #pragma implementation_key(1165)
- inline VGCore::IVGGMSProjectPtr VGCore::IVGGMSProjects::Create ( _bstr_t Name, VARIANT_BOOL ForAllUsers, _bstr_t FileName ) {
- struct IVGGMSProject * _result = 0;
- HRESULT _hr = raw_Create(Name, ForAllUsers, FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSProjectPtr(_result, false);
- }
- //
- // interface IVGGMSManager wrapper method implementations
- //
- #pragma implementation_key(1166)
- inline _bstr_t VGCore::IVGGMSManager::GetGMSPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_GMSPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1167)
- inline _variant_t VGCore::IVGGMSManager::RunMacro ( _bstr_t ModuleName, _bstr_t MacroName, SAFEARRAY * * Parameters ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_RunMacro(ModuleName, MacroName, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(1168)
- inline _bstr_t VGCore::IVGGMSManager::GetUserGMSPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_UserGMSPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1169)
- inline VGCore::IVGGMSProjectsPtr VGCore::IVGGMSManager::GetProjects ( ) {
- struct IVGGMSProjects * _result = 0;
- HRESULT _hr = get_Projects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSProjectsPtr(_result, false);
- }
- //
- // interface IVGStructSaveAsOptions wrapper method implementations
- //
- #pragma implementation_key(1170)
- inline void VGCore::IVGStructSaveAsOptions::PutFilter ( enum cdrFilter pVal ) {
- HRESULT _hr = put_Filter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1171)
- inline enum VGCore::cdrFilter VGCore::IVGStructSaveAsOptions::GetFilter ( ) {
- enum cdrFilter _result;
- HRESULT _hr = get_Filter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1172)
- inline void VGCore::IVGStructSaveAsOptions::PutVersion ( enum cdrFileVersion pVal ) {
- HRESULT _hr = put_Version(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1173)
- inline enum VGCore::cdrFileVersion VGCore::IVGStructSaveAsOptions::GetVersion ( ) {
- enum cdrFileVersion _result;
- HRESULT _hr = get_Version(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1174)
- inline void VGCore::IVGStructSaveAsOptions::PutThumbnailSize ( enum cdrThumbnailSize pVal ) {
- HRESULT _hr = put_ThumbnailSize(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1175)
- inline enum VGCore::cdrThumbnailSize VGCore::IVGStructSaveAsOptions::GetThumbnailSize ( ) {
- enum cdrThumbnailSize _result;
- HRESULT _hr = get_ThumbnailSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1176)
- inline void VGCore::IVGStructSaveAsOptions::PutRange ( enum cdrExportRange pVal ) {
- HRESULT _hr = put_Range(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1177)
- inline enum VGCore::cdrExportRange VGCore::IVGStructSaveAsOptions::GetRange ( ) {
- enum cdrExportRange _result;
- HRESULT _hr = get_Range(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1178)
- inline void VGCore::IVGStructSaveAsOptions::PutOverwrite ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Overwrite(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1179)
- inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetOverwrite ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Overwrite(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1180)
- inline void VGCore::IVGStructSaveAsOptions::PutEmbedICCProfile ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_EmbedICCProfile(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1181)
- inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetEmbedICCProfile ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EmbedICCProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1182)
- inline void VGCore::IVGStructSaveAsOptions::PutEmbedVBAProject ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_EmbedVBAProject(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1183)
- inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetEmbedVBAProject ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EmbedVBAProject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1184)
- inline void VGCore::IVGStructSaveAsOptions::PutIncludeCMXData ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_IncludeCMXData(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1185)
- inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetIncludeCMXData ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IncludeCMXData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1186)
- inline void VGCore::IVGStructSaveAsOptions::PutKeepAppearance ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_KeepAppearance(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1187)
- inline VARIANT_BOOL VGCore::IVGStructSaveAsOptions::GetKeepAppearance ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_KeepAppearance(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGComponent wrapper method implementations
- //
- #pragma implementation_key(1188)
- inline _bstr_t VGCore::IVGComponent::GetComponentID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ComponentID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVGComponents wrapper method implementations
- //
- #pragma implementation_key(1189)
- inline IUnknownPtr VGCore::IVGComponents::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1190)
- inline VGCore::IVGComponentPtr VGCore::IVGComponents::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGComponent * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGComponentPtr(_result, false);
- }
- #pragma implementation_key(1191)
- inline long VGCore::IVGComponents::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1192)
- inline VARIANT_BOOL VGCore::IVGComponents::IsComponentInstalled ( _bstr_t ComponentID ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsComponentInstalled(ComponentID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGAppStatus wrapper method implementations
- //
- #pragma implementation_key(1193)
- inline HRESULT VGCore::IVGAppStatus::BeginProgress ( _bstr_t Message, VARIANT_BOOL CanAbort ) {
- HRESULT _hr = raw_BeginProgress(Message, CanAbort);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1194)
- inline HRESULT VGCore::IVGAppStatus::UpdateProgress ( long Step ) {
- HRESULT _hr = raw_UpdateProgress(Step);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1195)
- inline HRESULT VGCore::IVGAppStatus::SetProgressMessage ( _bstr_t Message ) {
- HRESULT _hr = raw_SetProgressMessage(Message);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1196)
- inline HRESULT VGCore::IVGAppStatus::EndProgress ( ) {
- HRESULT _hr = raw_EndProgress();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1197)
- inline long VGCore::IVGAppStatus::GetProgress ( ) {
- long _result = 0;
- HRESULT _hr = get_Progress(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1198)
- inline void VGCore::IVGAppStatus::PutProgress ( long pVal ) {
- HRESULT _hr = put_Progress(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1199)
- inline VARIANT_BOOL VGCore::IVGAppStatus::GetAborted ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Aborted(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGStructOpenOptions wrapper method implementations
- //
- #pragma implementation_key(1200)
- inline long VGCore::IVGStructOpenOptions::GetCodePage ( ) {
- long _result = 0;
- HRESULT _hr = get_CodePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1201)
- inline void VGCore::IVGStructOpenOptions::PutCodePage ( long pVal ) {
- HRESULT _hr = put_CodePage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1202)
- inline VGCore::IVGStructColorConversionOptionsPtr VGCore::IVGStructOpenOptions::GetColorConversionOptions ( ) {
- struct IVGStructColorConversionOptions * _result = 0;
- HRESULT _hr = get_ColorConversionOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructColorConversionOptionsPtr(_result, false);
- }
- //
- // interface IVGOnScreenHandle wrapper method implementations
- //
- #pragma implementation_key(1203)
- inline HRESULT VGCore::IVGOnScreenHandle::Show ( ) {
- HRESULT _hr = raw_Show();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1204)
- inline HRESULT VGCore::IVGOnScreenHandle::Hide ( ) {
- HRESULT _hr = raw_Hide();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1205)
- inline HRESULT VGCore::IVGOnScreenHandle::SetHandleColor ( long Color ) {
- HRESULT _hr = raw_SetHandleColor(Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1206)
- inline HRESULT VGCore::IVGOnScreenHandle::SetPosition ( double x, double y ) {
- HRESULT _hr = raw_SetPosition(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1207)
- inline HRESULT VGCore::IVGOnScreenHandle::UpdateHotTracking ( double MouseX, double MouseY ) {
- HRESULT _hr = raw_UpdateHotTracking(MouseX, MouseY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1208)
- inline VARIANT_BOOL VGCore::IVGOnScreenHandle::GetIsHotTracked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsHotTracked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1209)
- inline VARIANT_BOOL VGCore::IVGOnScreenHandle::GetIsOnHandle ( double MouseX, double MouseY ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOnHandle(MouseX, MouseY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGOnScreenText wrapper method implementations
- //
- #pragma implementation_key(1210)
- inline HRESULT VGCore::IVGOnScreenText::Show ( ) {
- HRESULT _hr = raw_Show();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1211)
- inline HRESULT VGCore::IVGOnScreenText::Hide ( ) {
- HRESULT _hr = raw_Hide();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1212)
- inline HRESULT VGCore::IVGOnScreenText::SetTextColor ( long Color ) {
- HRESULT _hr = raw_SetTextColor(Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1213)
- inline HRESULT VGCore::IVGOnScreenText::SetTextAndPosition ( _bstr_t Text, double x, double y, enum cdrOnScreenTextAlign align, double xRef, double yRef ) {
- HRESULT _hr = raw_SetTextAndPosition(Text, x, y, align, xRef, yRef);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1214)
- inline HRESULT VGCore::IVGOnScreenText::SetText ( _bstr_t Text ) {
- HRESULT _hr = raw_SetText(Text);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1215)
- inline HRESULT VGCore::IVGOnScreenText::SetPixelOffset ( long x, long y ) {
- HRESULT _hr = raw_SetPixelOffset(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1216)
- inline HRESULT VGCore::IVGOnScreenText::UpdatePosition ( double x, double y ) {
- HRESULT _hr = raw_UpdatePosition(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGToolShapeAttributes wrapper method implementations
- //
- #pragma implementation_key(1217)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetCanResize ( VARIANT_BOOL val ) {
- HRESULT _hr = raw_SetCanResize(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1218)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetCanRotate ( VARIANT_BOOL val ) {
- HRESULT _hr = raw_SetCanRotate(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1219)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetCanSkew ( VARIANT_BOOL val ) {
- HRESULT _hr = raw_SetCanSkew(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1220)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetCanSizeDisproportionally ( VARIANT_BOOL val ) {
- HRESULT _hr = raw_SetCanSizeDisproportionally(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1221)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetCanApplyNonlinearTransforms ( VARIANT_BOOL val ) {
- HRESULT _hr = raw_SetCanApplyNonlinearTransforms(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1222)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetRegenerateOnTransform ( VARIANT_BOOL val ) {
- HRESULT _hr = raw_SetRegenerateOnTransform(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1223)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetRegenerateOnStyleChange ( VARIANT_BOOL val ) {
- HRESULT _hr = raw_SetRegenerateOnStyleChange(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1224)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetPropertyBarGuid ( _bstr_t val ) {
- HRESULT _hr = raw_SetPropertyBarGuid(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1225)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetContextMenuGuid ( _bstr_t val ) {
- HRESULT _hr = raw_SetContextMenuGuid(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1226)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetObjectManagerBitmapGuid ( _bstr_t val ) {
- HRESULT _hr = raw_SetObjectManagerBitmapGuid(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1227)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetEditStateGuid ( _bstr_t val ) {
- HRESULT _hr = raw_SetEditStateGuid(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1228)
- inline HRESULT VGCore::IVGToolShapeAttributes::SetDefaultShapename ( _bstr_t val ) {
- HRESULT _hr = raw_SetDefaultShapename(val);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGMetadata wrapper method implementations
- //
- #pragma implementation_key(1229)
- inline _bstr_t VGCore::IVGMetadata::GetKeywords ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Keywords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1230)
- inline void VGCore::IVGMetadata::PutKeywords ( _bstr_t pVal ) {
- HRESULT _hr = put_Keywords(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1231)
- inline _bstr_t VGCore::IVGMetadata::GetNotes ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Notes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1232)
- inline void VGCore::IVGMetadata::PutNotes ( _bstr_t pVal ) {
- HRESULT _hr = put_Notes(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1233)
- inline _bstr_t VGCore::IVGMetadata::GetAuthor ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Author(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1234)
- inline void VGCore::IVGMetadata::PutAuthor ( _bstr_t pVal ) {
- HRESULT _hr = put_Author(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1235)
- inline _bstr_t VGCore::IVGMetadata::GetLastAuthor ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LastAuthor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1236)
- inline void VGCore::IVGMetadata::PutLastAuthor ( _bstr_t pVal ) {
- HRESULT _hr = put_LastAuthor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1237)
- inline _bstr_t VGCore::IVGMetadata::GetSubject ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Subject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1238)
- inline void VGCore::IVGMetadata::PutSubject ( _bstr_t pVal ) {
- HRESULT _hr = put_Subject(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1239)
- inline _bstr_t VGCore::IVGMetadata::GetCopyright ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Copyright(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1240)
- inline void VGCore::IVGMetadata::PutCopyright ( _bstr_t pVal ) {
- HRESULT _hr = put_Copyright(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1241)
- inline long VGCore::IVGMetadata::GetRevision ( ) {
- long _result = 0;
- HRESULT _hr = get_Revision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1242)
- inline void VGCore::IVGMetadata::PutRevision ( long pVal ) {
- HRESULT _hr = put_Revision(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1243)
- inline _bstr_t VGCore::IVGMetadata::GetTemplateSided ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TemplateSided(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1244)
- inline void VGCore::IVGMetadata::PutTemplateSided ( _bstr_t pVal ) {
- HRESULT _hr = put_TemplateSided(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1245)
- inline _bstr_t VGCore::IVGMetadata::GetTemplateFolds ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TemplateFolds(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1246)
- inline void VGCore::IVGMetadata::PutTemplateFolds ( _bstr_t pVal ) {
- HRESULT _hr = put_TemplateFolds(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1247)
- inline _bstr_t VGCore::IVGMetadata::GetTemplateType ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TemplateType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1248)
- inline void VGCore::IVGMetadata::PutTemplateType ( _bstr_t pVal ) {
- HRESULT _hr = put_TemplateType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1249)
- inline _bstr_t VGCore::IVGMetadata::GetTemplateIndustry ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TemplateIndustry(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1250)
- inline void VGCore::IVGMetadata::PutTemplateIndustry ( _bstr_t pVal ) {
- HRESULT _hr = put_TemplateIndustry(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1251)
- inline _bstr_t VGCore::IVGMetadata::GetTitle ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Title(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1252)
- inline void VGCore::IVGMetadata::PutTitle ( _bstr_t pVal ) {
- HRESULT _hr = put_Title(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1253)
- inline _bstr_t VGCore::IVGMetadata::GetDocID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DocID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1254)
- inline void VGCore::IVGMetadata::PutDocID ( _bstr_t pVal ) {
- HRESULT _hr = put_DocID(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1255)
- inline enum VGCore::cdrTextLanguage VGCore::IVGMetadata::GetDocLanguage ( ) {
- enum cdrTextLanguage _result;
- HRESULT _hr = get_DocLanguage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1256)
- inline void VGCore::IVGMetadata::PutDocLanguage ( enum cdrTextLanguage pVal ) {
- HRESULT _hr = put_DocLanguage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1257)
- inline _bstr_t VGCore::IVGMetadata::GetTemplateDesignerNotes ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_TemplateDesignerNotes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1258)
- inline void VGCore::IVGMetadata::PutTemplateDesignerNotes ( _bstr_t pVal ) {
- HRESULT _hr = put_TemplateDesignerNotes(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1259)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableKeywords ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_LocalizableKeywords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(1260)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableNotes ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_LocalizableNotes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(1261)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableTitle ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_LocalizableTitle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(1262)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableSubject ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_LocalizableSubject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(1263)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableCopyright ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_LocalizableCopyright(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(1264)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetLocalizableTemplateDesignerNotes ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_LocalizableTemplateDesignerNotes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- #pragma implementation_key(1265)
- inline VGCore::IVGLocalizableStringPtr VGCore::IVGMetadata::GetCategory ( ) {
- struct IVGLocalizableString * _result = 0;
- HRESULT _hr = get_Category(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLocalizableStringPtr(_result, false);
- }
- //
- // interface _IGlobalMacroStorage wrapper method implementations
- //
- #pragma implementation_key(1266)
- inline _bstr_t VGCore::_IGlobalMacroStorage::Get_CodeName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get__CodeName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1267)
- inline void VGCore::_IGlobalMacroStorage::Put_CodeName ( _bstr_t pVal ) {
- HRESULT _hr = put__CodeName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // dispinterface DIVGDocumentEvents wrapper method implementations
- //
- #pragma implementation_key(1268)
- inline HRESULT VGCore::DIVGDocumentEvents::QueryClose ( VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x400b", Cancel);
- }
- #pragma implementation_key(1269)
- inline HRESULT VGCore::DIVGDocumentEvents::QuerySave ( VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x400b", Cancel);
- }
- #pragma implementation_key(1270)
- inline HRESULT VGCore::DIVGDocumentEvents::QueryPrint ( VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x400b", Cancel);
- }
- #pragma implementation_key(1271)
- inline HRESULT VGCore::DIVGDocumentEvents::QueryExport ( VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x400b", Cancel);
- }
- #pragma implementation_key(1272)
- inline HRESULT VGCore::DIVGDocumentEvents::Open ( ) {
- return _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- #pragma implementation_key(1273)
- inline HRESULT VGCore::DIVGDocumentEvents::Close ( ) {
- return _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- #pragma implementation_key(1274)
- inline HRESULT VGCore::DIVGDocumentEvents::BeforeSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- return _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x000b\x0008", SaveAs, (BSTR)FileName);
- }
- #pragma implementation_key(1275)
- inline HRESULT VGCore::DIVGDocumentEvents::AfterSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- return _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x000b\x0008", SaveAs, (BSTR)FileName);
- }
- #pragma implementation_key(1276)
- inline HRESULT VGCore::DIVGDocumentEvents::BeforePrint ( ) {
- return _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- #pragma implementation_key(1277)
- inline HRESULT VGCore::DIVGDocumentEvents::AfterPrint ( ) {
- return _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- #pragma implementation_key(1278)
- inline HRESULT VGCore::DIVGDocumentEvents::BeforeExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- return _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0008\x0003\x000b", (BSTR)FileName, Filter, SaveBitmap);
- }
- #pragma implementation_key(1279)
- inline HRESULT VGCore::DIVGDocumentEvents::AfterExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- return _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0008\x0003\x000b", (BSTR)FileName, Filter, SaveBitmap);
- }
- #pragma implementation_key(1280)
- inline HRESULT VGCore::DIVGDocumentEvents::LayerCreate ( struct IVGLayer * Layer ) {
- return _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Layer);
- }
- #pragma implementation_key(1281)
- inline HRESULT VGCore::DIVGDocumentEvents::LayerDelete ( long Count ) {
- return _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0003", Count);
- }
- #pragma implementation_key(1282)
- inline HRESULT VGCore::DIVGDocumentEvents::LayerActivate ( struct IVGLayer * Layer ) {
- return _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Layer);
- }
- #pragma implementation_key(1283)
- inline HRESULT VGCore::DIVGDocumentEvents::LayerChange ( struct IVGLayer * Layer ) {
- return _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Layer);
- }
- #pragma implementation_key(1284)
- inline HRESULT VGCore::DIVGDocumentEvents::PageCreate ( struct IVGPage * Page ) {
- return _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Page);
- }
- #pragma implementation_key(1285)
- inline HRESULT VGCore::DIVGDocumentEvents::PageDelete ( long Count ) {
- return _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0003", Count);
- }
- #pragma implementation_key(1286)
- inline HRESULT VGCore::DIVGDocumentEvents::PageActivate ( struct IVGPage * Page ) {
- return _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Page);
- }
- #pragma implementation_key(1287)
- inline HRESULT VGCore::DIVGDocumentEvents::PageChange ( struct IVGPage * Page ) {
- return _com_dispatch_method(this, 0x14, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Page);
- }
- #pragma implementation_key(1288)
- inline HRESULT VGCore::DIVGDocumentEvents::ShapeCreate ( struct IVGShape * Shape ) {
- return _com_dispatch_method(this, 0x15, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Shape);
- }
- #pragma implementation_key(1289)
- inline HRESULT VGCore::DIVGDocumentEvents::ShapeDelete ( long Count ) {
- return _com_dispatch_method(this, 0x16, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0003", Count);
- }
- #pragma implementation_key(1290)
- inline HRESULT VGCore::DIVGDocumentEvents::ShapeMove ( struct IVGShape * Shape ) {
- return _com_dispatch_method(this, 0x17, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Shape);
- }
- #pragma implementation_key(1291)
- inline HRESULT VGCore::DIVGDocumentEvents::ShapeTransform ( struct IVGShape * Shape ) {
- return _com_dispatch_method(this, 0x18, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Shape);
- }
- #pragma implementation_key(1292)
- inline HRESULT VGCore::DIVGDocumentEvents::ShapeDistort ( struct IVGShape * Shape ) {
- return _com_dispatch_method(this, 0x19, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Shape);
- }
- #pragma implementation_key(1293)
- inline HRESULT VGCore::DIVGDocumentEvents::ShapeChange ( struct IVGShape * Shape, enum cdrShapeChangeScope Scope ) {
- return _com_dispatch_method(this, 0x1a, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x0003", Shape, Scope);
- }
- #pragma implementation_key(1294)
- inline HRESULT VGCore::DIVGDocumentEvents::SelectionChange ( ) {
- return _com_dispatch_method(this, 0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- //
- // interface IVGDocumentEvents wrapper method implementations
- //
- #pragma implementation_key(1295)
- inline HRESULT VGCore::IVGDocumentEvents::QueryClose ( VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryClose(Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1296)
- inline HRESULT VGCore::IVGDocumentEvents::QuerySave ( VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QuerySave(Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1297)
- inline HRESULT VGCore::IVGDocumentEvents::QueryPrint ( VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryPrint(Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1298)
- inline HRESULT VGCore::IVGDocumentEvents::QueryExport ( VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryExport(Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1299)
- inline HRESULT VGCore::IVGDocumentEvents::Open ( ) {
- HRESULT _hr = raw_Open();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1300)
- inline HRESULT VGCore::IVGDocumentEvents::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1301)
- inline HRESULT VGCore::IVGDocumentEvents::BeforeSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- HRESULT _hr = raw_BeforeSave(SaveAs, FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1302)
- inline HRESULT VGCore::IVGDocumentEvents::AfterSave ( VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- HRESULT _hr = raw_AfterSave(SaveAs, FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1303)
- inline HRESULT VGCore::IVGDocumentEvents::BeforePrint ( ) {
- HRESULT _hr = raw_BeforePrint();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1304)
- inline HRESULT VGCore::IVGDocumentEvents::AfterPrint ( ) {
- HRESULT _hr = raw_AfterPrint();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1305)
- inline HRESULT VGCore::IVGDocumentEvents::BeforeExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- HRESULT _hr = raw_BeforeExport(FileName, Filter, SaveBitmap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1306)
- inline HRESULT VGCore::IVGDocumentEvents::AfterExport ( _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- HRESULT _hr = raw_AfterExport(FileName, Filter, SaveBitmap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1307)
- inline HRESULT VGCore::IVGDocumentEvents::LayerCreate ( struct IVGLayer * Layer ) {
- HRESULT _hr = raw_LayerCreate(Layer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1308)
- inline HRESULT VGCore::IVGDocumentEvents::LayerDelete ( long Count ) {
- HRESULT _hr = raw_LayerDelete(Count);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1309)
- inline HRESULT VGCore::IVGDocumentEvents::LayerActivate ( struct IVGLayer * Layer ) {
- HRESULT _hr = raw_LayerActivate(Layer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1310)
- inline HRESULT VGCore::IVGDocumentEvents::LayerChange ( struct IVGLayer * Layer ) {
- HRESULT _hr = raw_LayerChange(Layer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1311)
- inline HRESULT VGCore::IVGDocumentEvents::PageCreate ( struct IVGPage * Page ) {
- HRESULT _hr = raw_PageCreate(Page);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1312)
- inline HRESULT VGCore::IVGDocumentEvents::PageDelete ( long Count ) {
- HRESULT _hr = raw_PageDelete(Count);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1313)
- inline HRESULT VGCore::IVGDocumentEvents::PageActivate ( struct IVGPage * Page ) {
- HRESULT _hr = raw_PageActivate(Page);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1314)
- inline HRESULT VGCore::IVGDocumentEvents::PageChange ( struct IVGPage * Page ) {
- HRESULT _hr = raw_PageChange(Page);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1315)
- inline HRESULT VGCore::IVGDocumentEvents::ShapeCreate ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_ShapeCreate(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1316)
- inline HRESULT VGCore::IVGDocumentEvents::ShapeDelete ( long Count ) {
- HRESULT _hr = raw_ShapeDelete(Count);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1317)
- inline HRESULT VGCore::IVGDocumentEvents::ShapeMove ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_ShapeMove(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1318)
- inline HRESULT VGCore::IVGDocumentEvents::ShapeTransform ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_ShapeTransform(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1319)
- inline HRESULT VGCore::IVGDocumentEvents::ShapeDistort ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_ShapeDistort(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1320)
- inline HRESULT VGCore::IVGDocumentEvents::ShapeChange ( struct IVGShape * Shape, enum cdrShapeChangeScope Scope ) {
- HRESULT _hr = raw_ShapeChange(Shape, Scope);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1321)
- inline HRESULT VGCore::IVGDocumentEvents::SelectionChange ( ) {
- HRESULT _hr = raw_SelectionChange();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGApplicationEvents wrapper method implementations
- //
- #pragma implementation_key(1322)
- inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentClose ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryDocumentClose(Doc, Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1323)
- inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentSave ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryDocumentSave(Doc, Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1324)
- inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentPrint ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryDocumentPrint(Doc, Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1325)
- inline HRESULT VGCore::IVGApplicationEvents::QueryDocumentExport ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryDocumentExport(Doc, Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1326)
- inline HRESULT VGCore::IVGApplicationEvents::QueryQuit ( VARIANT_BOOL * Cancel ) {
- HRESULT _hr = raw_QueryQuit(Cancel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1327)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentOpen ( struct IVGDocument * Doc, _bstr_t FileName ) {
- HRESULT _hr = raw_DocumentOpen(Doc, FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1328)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentNew ( struct IVGDocument * Doc, VARIANT_BOOL FromTemplate, _bstr_t Template, VARIANT_BOOL IncludeGraphics ) {
- HRESULT _hr = raw_DocumentNew(Doc, FromTemplate, Template, IncludeGraphics);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1329)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentClose ( struct IVGDocument * Doc ) {
- HRESULT _hr = raw_DocumentClose(Doc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1330)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentBeforeSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- HRESULT _hr = raw_DocumentBeforeSave(Doc, SaveAs, FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1331)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentAfterSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- HRESULT _hr = raw_DocumentAfterSave(Doc, SaveAs, FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1332)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentBeforePrint ( struct IVGDocument * Doc ) {
- HRESULT _hr = raw_DocumentBeforePrint(Doc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1333)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentAfterPrint ( struct IVGDocument * Doc ) {
- HRESULT _hr = raw_DocumentAfterPrint(Doc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1334)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentBeforeExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- HRESULT _hr = raw_DocumentBeforeExport(Doc, FileName, Filter, SaveBitmap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1335)
- inline HRESULT VGCore::IVGApplicationEvents::DocumentAfterExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- HRESULT _hr = raw_DocumentAfterExport(Doc, FileName, Filter, SaveBitmap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1336)
- inline HRESULT VGCore::IVGApplicationEvents::WindowActivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
- HRESULT _hr = raw_WindowActivate(Doc, Window);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1337)
- inline HRESULT VGCore::IVGApplicationEvents::WindowDeactivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
- HRESULT _hr = raw_WindowDeactivate(Doc, Window);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1338)
- inline HRESULT VGCore::IVGApplicationEvents::SelectionChange ( ) {
- HRESULT _hr = raw_SelectionChange();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1339)
- inline HRESULT VGCore::IVGApplicationEvents::Start ( ) {
- HRESULT _hr = raw_Start();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1340)
- inline HRESULT VGCore::IVGApplicationEvents::Quit ( ) {
- HRESULT _hr = raw_Quit();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1341)
- inline HRESULT VGCore::IVGApplicationEvents::OnPluginCommand ( _bstr_t CommandID ) {
- HRESULT _hr = raw_OnPluginCommand(CommandID);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1342)
- inline HRESULT VGCore::IVGApplicationEvents::OnUpdatePluginCommand ( _bstr_t CommandID, VARIANT_BOOL * Enabled, enum cdrCommandCheckState * Checked ) {
- HRESULT _hr = raw_OnUpdatePluginCommand(CommandID, Enabled, Checked);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1343)
- inline HRESULT VGCore::IVGApplicationEvents::OnApplicationEvent ( _bstr_t EventName, SAFEARRAY * * Parameters ) {
- HRESULT _hr = raw_OnApplicationEvent(EventName, Parameters);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // dispinterface DIVGApplicationEvents wrapper method implementations
- //
- #pragma implementation_key(1344)
- inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentClose ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x400b", Doc, Cancel);
- }
- #pragma implementation_key(1345)
- inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentSave ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x400b", Doc, Cancel);
- }
- #pragma implementation_key(1346)
- inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentPrint ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x400b", Doc, Cancel);
- }
- #pragma implementation_key(1347)
- inline HRESULT VGCore::DIVGApplicationEvents::QueryDocumentExport ( struct IVGDocument * Doc, VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x400b", Doc, Cancel);
- }
- #pragma implementation_key(1348)
- inline HRESULT VGCore::DIVGApplicationEvents::QueryQuit ( VARIANT_BOOL * Cancel ) {
- return _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x400b", Cancel);
- }
- #pragma implementation_key(1349)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentOpen ( struct IVGDocument * Doc, _bstr_t FileName ) {
- return _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x0008", Doc, (BSTR)FileName);
- }
- #pragma implementation_key(1350)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentNew ( struct IVGDocument * Doc, VARIANT_BOOL FromTemplate, _bstr_t Template, VARIANT_BOOL IncludeGraphics ) {
- return _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x000b\x0008\x000b", Doc, FromTemplate, (BSTR)Template, IncludeGraphics);
- }
- #pragma implementation_key(1351)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentClose ( struct IVGDocument * Doc ) {
- return _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Doc);
- }
- #pragma implementation_key(1352)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentBeforeSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- return _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x000b\x0008", Doc, SaveAs, (BSTR)FileName);
- }
- #pragma implementation_key(1353)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentAfterSave ( struct IVGDocument * Doc, VARIANT_BOOL SaveAs, _bstr_t FileName ) {
- return _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x000b\x0008", Doc, SaveAs, (BSTR)FileName);
- }
- #pragma implementation_key(1354)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentBeforePrint ( struct IVGDocument * Doc ) {
- return _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Doc);
- }
- #pragma implementation_key(1355)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentAfterPrint ( struct IVGDocument * Doc ) {
- return _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009", Doc);
- }
- #pragma implementation_key(1356)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentBeforeExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- return _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x0008\x0003\x000b", Doc, (BSTR)FileName, Filter, SaveBitmap);
- }
- #pragma implementation_key(1357)
- inline HRESULT VGCore::DIVGApplicationEvents::DocumentAfterExport ( struct IVGDocument * Doc, _bstr_t FileName, enum cdrFilter Filter, VARIANT_BOOL SaveBitmap ) {
- return _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x0008\x0003\x000b", Doc, (BSTR)FileName, Filter, SaveBitmap);
- }
- #pragma implementation_key(1358)
- inline HRESULT VGCore::DIVGApplicationEvents::WindowActivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
- return _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x0009", Doc, Window);
- }
- #pragma implementation_key(1359)
- inline HRESULT VGCore::DIVGApplicationEvents::WindowDeactivate ( struct IVGDocument * Doc, struct IVGWindow * Window ) {
- return _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0009\x0009", Doc, Window);
- }
- #pragma implementation_key(1360)
- inline HRESULT VGCore::DIVGApplicationEvents::SelectionChange ( ) {
- return _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- #pragma implementation_key(1361)
- inline HRESULT VGCore::DIVGApplicationEvents::Start ( ) {
- return _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- #pragma implementation_key(1362)
- inline HRESULT VGCore::DIVGApplicationEvents::Quit ( ) {
- return _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- #pragma implementation_key(1363)
- inline HRESULT VGCore::DIVGApplicationEvents::OnPluginCommand ( _bstr_t CommandID ) {
- return _com_dispatch_method(this, 0x14, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0008", (BSTR)CommandID);
- }
- #pragma implementation_key(1364)
- inline HRESULT VGCore::DIVGApplicationEvents::OnUpdatePluginCommand ( _bstr_t CommandID, VARIANT_BOOL * Enabled, enum cdrCommandCheckState * Checked ) {
- return _com_dispatch_method(this, 0x15, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0008\x400b\x4003", (BSTR)CommandID, Enabled, Checked);
- }
- #pragma implementation_key(1365)
- inline HRESULT VGCore::DIVGApplicationEvents::OnApplicationEvent ( _bstr_t EventName, SAFEARRAY * * Parameters ) {
- return _com_dispatch_method(this, 0x16, DISPATCH_METHOD, VT_EMPTY, NULL,
- L"\x0008\x600c", (BSTR)EventName, Parameters);
- }
- //
- // interface ICUIFrameWork wrapper method implementations
- //
- #pragma implementation_key(1366)
- inline VGCore::ICUICommandBarsPtr VGCore::ICUIFrameWork::GetCommandBars ( ) {
- struct ICUICommandBars * _result = 0;
- HRESULT _hr = get_CommandBars(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarsPtr(_result, false);
- }
- #pragma implementation_key(1367)
- inline VGCore::ICUICommandBarPtr VGCore::ICUIFrameWork::GetMainMenu ( ) {
- struct ICUICommandBar * _result = 0;
- HRESULT _hr = get_MainMenu(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarPtr(_result, false);
- }
- #pragma implementation_key(1368)
- inline VGCore::ICUICommandBarPtr VGCore::ICUIFrameWork::GetStatusBar ( ) {
- struct ICUICommandBar * _result = 0;
- HRESULT _hr = get_StatusBar(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarPtr(_result, false);
- }
- #pragma implementation_key(1369)
- inline _bstr_t VGCore::ICUIFrameWork::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1370)
- inline HRESULT VGCore::ICUIFrameWork::ImportWorkspace ( _bstr_t FileName ) {
- HRESULT _hr = raw_ImportWorkspace(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1371)
- inline VGCore::ICUIAutomationPtr VGCore::ICUIFrameWork::GetAutomation ( ) {
- struct ICUIAutomation * _result = 0;
- HRESULT _hr = get_Automation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIAutomationPtr(_result, false);
- }
- #pragma implementation_key(1372)
- inline HRESULT VGCore::ICUIFrameWork::ShowDocker ( _bstr_t Guid ) {
- HRESULT _hr = raw_ShowDocker(Guid);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1373)
- inline HRESULT VGCore::ICUIFrameWork::HideDocker ( _bstr_t Guid ) {
- HRESULT _hr = raw_HideDocker(Guid);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1374)
- inline VARIANT_BOOL VGCore::ICUIFrameWork::IsDockerVisible ( _bstr_t Guid ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsDockerVisible(Guid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1375)
- inline HRESULT VGCore::ICUIFrameWork::AddDocker ( _bstr_t Guid, _bstr_t ClassName, _bstr_t AssemblyPath ) {
- HRESULT _hr = raw_AddDocker(Guid, ClassName, AssemblyPath);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1376)
- inline HRESULT VGCore::ICUIFrameWork::RemoveDocker ( _bstr_t Guid ) {
- HRESULT _hr = raw_RemoveDocker(Guid);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1377)
- inline VGCore::ICUIFrameWindowsPtr VGCore::ICUIFrameWork::GetFrameWindows ( ) {
- struct ICUIFrameWindows * _result = 0;
- HRESULT _hr = get_FrameWindows(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowsPtr(_result, false);
- }
- #pragma implementation_key(1378)
- inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWork::GetMainFrameWindow ( ) {
- struct ICUIFrameWindow * _result = 0;
- HRESULT _hr = get_MainFrameWindow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowPtr(_result, false);
- }
- #pragma implementation_key(1379)
- inline VGCore::ICUIApplicationPtr VGCore::ICUIFrameWork::GetApplication ( ) {
- struct ICUIApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIApplicationPtr(_result, false);
- }
- #pragma implementation_key(1380)
- inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWork::CreateFrameWindowForViewHost ( struct ICUIViewHost * ViewHostToInsert ) {
- struct ICUIFrameWindow * _result = 0;
- HRESULT _hr = raw_CreateFrameWindowForViewHost(ViewHostToInsert, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowPtr(_result, false);
- }
- #pragma implementation_key(1381)
- inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWork::CreateFrameWindowForView ( struct ICUIViewWindow * ViewToInsert ) {
- struct ICUIFrameWindow * _result = 0;
- HRESULT _hr = raw_CreateFrameWindowForView(ViewToInsert, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowPtr(_result, false);
- }
- #pragma implementation_key(1382)
- inline HRESULT VGCore::ICUIFrameWork::ShowDialog ( _bstr_t Guid ) {
- HRESULT _hr = raw_ShowDialog(Guid);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1383)
- inline HRESULT VGCore::ICUIFrameWork::HideDialog ( _bstr_t Guid ) {
- HRESULT _hr = raw_HideDialog(Guid);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1384)
- 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 ) {
- long _result = 0;
- HRESULT _hr = raw_ShowMessageBox(szMessage, szMainInstruction, unFlags, pImage, szHelpGuid, szWarningName, eFlags, pDataContext, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1385)
- inline VGCore::ICUIWarningPtr VGCore::ICUIFrameWork::GetWarning ( _bstr_t szWarningID, VARIANT_BOOL bHidden ) {
- struct ICUIWarning * _result = 0;
- HRESULT _hr = raw_GetWarning(szWarningID, bHidden, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIWarningPtr(_result, false);
- }
- #pragma implementation_key(1386)
- inline VGCore::ICUITaskManagerPtr VGCore::ICUIFrameWork::GetTaskManager ( ) {
- struct ICUITaskManager * _result = 0;
- HRESULT _hr = get_TaskManager(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUITaskManagerPtr(_result, false);
- }
- //
- // interface ICUIFrameWindows wrapper method implementations
- //
- #pragma implementation_key(1387)
- inline long VGCore::ICUIFrameWindows::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1388)
- inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::GetItem ( long Index ) {
- struct ICUIFrameWindow * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowPtr(_result, false);
- }
- #pragma implementation_key(1389)
- inline IUnknownPtr VGCore::ICUIFrameWindows::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1390)
- inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::Find ( _bstr_t ID ) {
- struct ICUIFrameWindow * _result = 0;
- HRESULT _hr = raw_Find(ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowPtr(_result, false);
- }
- #pragma implementation_key(1391)
- inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::GetFirst ( ) {
- struct ICUIFrameWindow * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowPtr(_result, false);
- }
- #pragma implementation_key(1392)
- inline VGCore::ICUIFrameWindowPtr VGCore::ICUIFrameWindows::GetLast ( ) {
- struct ICUIFrameWindow * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWindowPtr(_result, false);
- }
- //
- // interface ICUIFrameWindow wrapper method implementations
- //
- #pragma implementation_key(1393)
- inline _bstr_t VGCore::ICUIFrameWindow::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1394)
- inline _bstr_t VGCore::ICUIFrameWindow::GetCaption ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Caption(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1395)
- inline HRESULT VGCore::ICUIFrameWindow::Minimize ( ) {
- HRESULT _hr = raw_Minimize();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1396)
- inline HRESULT VGCore::ICUIFrameWindow::Maximize ( ) {
- HRESULT _hr = raw_Maximize();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1397)
- inline HRESULT VGCore::ICUIFrameWindow::Restore ( ) {
- HRESULT _hr = raw_Restore();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1398)
- inline enum VGCore::cuiWindowState VGCore::ICUIFrameWindow::GetState ( ) {
- enum cuiWindowState _result;
- HRESULT _hr = get_State(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1399)
- inline VARIANT_BOOL VGCore::ICUIFrameWindow::GetIsMainFrame ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsMainFrame(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1400)
- inline HRESULT VGCore::ICUIFrameWindow::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1401)
- inline HRESULT VGCore::ICUIFrameWindow::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1402)
- inline VARIANT_BOOL VGCore::ICUIFrameWindow::GetIsActive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsActive(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1403)
- inline long VGCore::ICUIFrameWindow::GetHandle ( ) {
- long _result = 0;
- HRESULT _hr = get_Handle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1404)
- inline HRESULT VGCore::ICUIFrameWindow::TileViews ( VARIANT_BOOL TileHorizontally ) {
- HRESULT _hr = raw_TileViews(TileHorizontally);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1405)
- inline HRESULT VGCore::ICUIFrameWindow::CombineViews ( ) {
- HRESULT _hr = raw_CombineViews();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1406)
- inline VGCore::ICUIViewHostsPtr VGCore::ICUIFrameWindow::GetViewHosts ( ) {
- struct ICUIViewHosts * _result = 0;
- HRESULT _hr = get_ViewHosts(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostsPtr(_result, false);
- }
- #pragma implementation_key(1407)
- inline VGCore::ICUIDockHostsPtr VGCore::ICUIFrameWindow::GetDockHosts ( ) {
- struct ICUIDockHosts * _result = 0;
- HRESULT _hr = get_DockHosts(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostsPtr(_result, false);
- }
- #pragma implementation_key(1408)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIFrameWindow::GetRootDockHost ( ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = get_RootDockHost(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- #pragma implementation_key(1409)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIFrameWindow::GetPosition ( ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- //
- // interface ICUIViewHosts wrapper method implementations
- //
- #pragma implementation_key(1410)
- inline long VGCore::ICUIViewHosts::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1411)
- inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::GetItem ( long Index ) {
- struct ICUIViewHost * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostPtr(_result, false);
- }
- #pragma implementation_key(1412)
- inline IUnknownPtr VGCore::ICUIViewHosts::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1413)
- inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::Find ( _bstr_t ID ) {
- struct ICUIViewHost * _result = 0;
- HRESULT _hr = raw_Find(ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostPtr(_result, false);
- }
- #pragma implementation_key(1414)
- inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::GetFirst ( ) {
- struct ICUIViewHost * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostPtr(_result, false);
- }
- #pragma implementation_key(1415)
- inline VGCore::ICUIViewHostPtr VGCore::ICUIViewHosts::GetLast ( ) {
- struct ICUIViewHost * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostPtr(_result, false);
- }
- //
- // interface ICUIViewHost wrapper method implementations
- //
- #pragma implementation_key(1416)
- inline _bstr_t VGCore::ICUIViewHost::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1417)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIViewHost::GetDockHost ( ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = get_DockHost(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- #pragma implementation_key(1418)
- inline VGCore::ICUIViewWindowsPtr VGCore::ICUIViewHost::GetViews ( ) {
- struct ICUIViewWindows * _result = 0;
- HRESULT _hr = get_Views(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewWindowsPtr(_result, false);
- }
- #pragma implementation_key(1419)
- inline VGCore::ICUIDockItemPtr VGCore::ICUIViewHost::GetDockItem ( ) {
- struct ICUIDockItem * _result = 0;
- HRESULT _hr = get_DockItem(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockItemPtr(_result, false);
- }
- #pragma implementation_key(1420)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIViewHost::GetPosition ( ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- #pragma implementation_key(1421)
- inline HRESULT VGCore::ICUIViewHost::InsertView ( struct ICUIViewWindow * ViewToInsert, long Index ) {
- HRESULT _hr = raw_InsertView(ViewToInsert, Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1422)
- inline HRESULT VGCore::ICUIViewHost::InsertViewHost ( struct ICUIViewHost * ViewHostToInsert, long Index ) {
- HRESULT _hr = raw_InsertViewHost(ViewHostToInsert, Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUIViewWindow wrapper method implementations
- //
- #pragma implementation_key(1423)
- inline _bstr_t VGCore::ICUIViewWindow::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1424)
- inline VGCore::ICUIViewHostPtr VGCore::ICUIViewWindow::GetViewHost ( ) {
- struct ICUIViewHost * _result = 0;
- HRESULT _hr = get_ViewHost(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostPtr(_result, false);
- }
- #pragma implementation_key(1425)
- inline long VGCore::ICUIViewWindow::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1426)
- inline _bstr_t VGCore::ICUIViewWindow::GetKind ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Kind(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1427)
- inline _bstr_t VGCore::ICUIViewWindow::GetTitle ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Title(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1428)
- inline _bstr_t VGCore::ICUIViewWindow::GetDescription ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Description(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1429)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIViewWindow::GetPosition ( ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- #pragma implementation_key(1430)
- inline HRESULT VGCore::ICUIViewWindow::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1431)
- inline HRESULT VGCore::ICUIViewWindow::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1432)
- inline IDispatchPtr VGCore::ICUIViewWindow::GetAppView ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_AppView(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- //
- // interface ICUIViewWindows wrapper method implementations
- //
- #pragma implementation_key(1433)
- inline long VGCore::ICUIViewWindows::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1434)
- inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::GetItem ( long Index ) {
- struct ICUIViewWindow * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewWindowPtr(_result, false);
- }
- #pragma implementation_key(1435)
- inline IUnknownPtr VGCore::ICUIViewWindows::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1436)
- inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::Find ( _bstr_t ID ) {
- struct ICUIViewWindow * _result = 0;
- HRESULT _hr = raw_Find(ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewWindowPtr(_result, false);
- }
- #pragma implementation_key(1437)
- inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::GetFirst ( ) {
- struct ICUIViewWindow * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewWindowPtr(_result, false);
- }
- #pragma implementation_key(1438)
- inline VGCore::ICUIViewWindowPtr VGCore::ICUIViewWindows::GetLast ( ) {
- struct ICUIViewWindow * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewWindowPtr(_result, false);
- }
- //
- // interface ICUIDockHost wrapper method implementations
- //
- #pragma implementation_key(1439)
- inline _bstr_t VGCore::ICUIDockHost::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1440)
- inline enum VGCore::cuiDockHostOrientation VGCore::ICUIDockHost::GetOrientation ( ) {
- enum cuiDockHostOrientation _result;
- HRESULT _hr = get_Orientation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1441)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHost::GetParentDockHost ( ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = get_ParentDockHost(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- #pragma implementation_key(1442)
- inline VGCore::ICUIDockItemPtr VGCore::ICUIDockHost::GetDockItem ( ) {
- struct ICUIDockItem * _result = 0;
- HRESULT _hr = get_DockItem(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockItemPtr(_result, false);
- }
- #pragma implementation_key(1443)
- inline VGCore::ICUIDockItemsPtr VGCore::ICUIDockHost::GetChildren ( ) {
- struct ICUIDockItems * _result = 0;
- HRESULT _hr = get_Children(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockItemsPtr(_result, false);
- }
- #pragma implementation_key(1444)
- inline HRESULT VGCore::ICUIDockHost::InsertViewHost ( struct ICUIViewHost * ViewHostToInsert, long Index, enum cuiDockOperation Operation ) {
- HRESULT _hr = raw_InsertViewHost(ViewHostToInsert, Index, Operation);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1445)
- inline VGCore::ICUIViewHostPtr VGCore::ICUIDockHost::InsertView ( struct ICUIViewWindow * ViewToInsert, long Index, enum cuiDockOperation Operation ) {
- struct ICUIViewHost * _result = 0;
- HRESULT _hr = raw_InsertView(ViewToInsert, Index, Operation, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostPtr(_result, false);
- }
- #pragma implementation_key(1446)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIDockHost::GetPosition ( ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- //
- // interface ICUIDockItem wrapper method implementations
- //
- #pragma implementation_key(1447)
- inline _bstr_t VGCore::ICUIDockItem::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1448)
- inline enum VGCore::cuiDockItemType VGCore::ICUIDockItem::GetType ( ) {
- enum cuiDockItemType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1449)
- inline VGCore::ICUIViewHostPtr VGCore::ICUIDockItem::GetViewHost ( ) {
- struct ICUIViewHost * _result = 0;
- HRESULT _hr = get_ViewHost(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewHostPtr(_result, false);
- }
- #pragma implementation_key(1450)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIDockItem::GetDockHost ( ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = get_DockHost(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- #pragma implementation_key(1451)
- inline long VGCore::ICUIDockItem::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1452)
- inline long VGCore::ICUIDockItem::GetRelativeSize ( ) {
- long _result = 0;
- HRESULT _hr = get_RelativeSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1453)
- inline void VGCore::ICUIDockItem::PutRelativeSize ( long pVal ) {
- HRESULT _hr = put_RelativeSize(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1454)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIDockItem::GetPosition ( ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- //
- // interface ICUIDockItems wrapper method implementations
- //
- #pragma implementation_key(1455)
- inline long VGCore::ICUIDockItems::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1456)
- inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::GetItem ( long Index ) {
- struct ICUIDockItem * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockItemPtr(_result, false);
- }
- #pragma implementation_key(1457)
- inline IUnknownPtr VGCore::ICUIDockItems::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1458)
- inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::Find ( _bstr_t ID ) {
- struct ICUIDockItem * _result = 0;
- HRESULT _hr = raw_Find(ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockItemPtr(_result, false);
- }
- #pragma implementation_key(1459)
- inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::GetFirst ( ) {
- struct ICUIDockItem * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockItemPtr(_result, false);
- }
- #pragma implementation_key(1460)
- inline VGCore::ICUIDockItemPtr VGCore::ICUIDockItems::GetLast ( ) {
- struct ICUIDockItem * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockItemPtr(_result, false);
- }
- //
- // interface ICUIDockHosts wrapper method implementations
- //
- #pragma implementation_key(1461)
- inline long VGCore::ICUIDockHosts::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1462)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::GetItem ( long Index ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- #pragma implementation_key(1463)
- inline IUnknownPtr VGCore::ICUIDockHosts::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1464)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::Find ( _bstr_t ID ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = raw_Find(ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- #pragma implementation_key(1465)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::GetFirst ( ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- #pragma implementation_key(1466)
- inline VGCore::ICUIDockHostPtr VGCore::ICUIDockHosts::GetLast ( ) {
- struct ICUIDockHost * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDockHostPtr(_result, false);
- }
- //
- // interface ICUIApplication wrapper method implementations
- //
- #pragma implementation_key(1467)
- inline VGCore::ICUIDataContextPtr VGCore::ICUIApplication::GetDataContext ( ) {
- struct ICUIDataContext * _result = 0;
- HRESULT _hr = get_DataContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDataContextPtr(_result, false);
- }
- #pragma implementation_key(1468)
- inline VARIANT_BOOL VGCore::ICUIApplication::RegisterDataSource ( _bstr_t DataSourceName, struct ICUIDataSourceFactory * Factory, _bstr_t CategoryList, VARIANT_BOOL AutoCreateInstance ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_RegisterDataSource(DataSourceName, Factory, CategoryList, AutoCreateInstance, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1469)
- inline VARIANT_BOOL VGCore::ICUIApplication::UnregisterDataSource ( _bstr_t DataSourceName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UnregisterDataSource(DataSourceName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1470)
- inline VGCore::ICUIImageListPtr VGCore::ICUIApplication::CreateImageList ( ) {
- struct ICUIImageList * _result = 0;
- HRESULT _hr = raw_CreateImageList(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIImageListPtr(_result, false);
- }
- #pragma implementation_key(1471)
- inline VGCore::ICUIFrameWorkPtr VGCore::ICUIApplication::GetFrameWork ( ) {
- struct ICUIFrameWork * _result = 0;
- HRESULT _hr = get_FrameWork(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWorkPtr(_result, false);
- }
- #pragma implementation_key(1472)
- inline VGCore::ICUIScreenRectPtr VGCore::ICUIApplication::CreateScreenRect ( long Left, long Top, long Width, long Height ) {
- struct ICUIScreenRect * _result = 0;
- HRESULT _hr = raw_CreateScreenRect(Left, Top, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIScreenRectPtr(_result, false);
- }
- #pragma implementation_key(1473)
- inline VGCore::ICUIBitmapImagePtr VGCore::ICUIApplication::CreateBitmapImage ( const _variant_t & ImageData, long MaxSize ) {
- struct ICUIBitmapImage * _result = 0;
- HRESULT _hr = raw_CreateBitmapImage(ImageData, MaxSize, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIBitmapImagePtr(_result, false);
- }
- #pragma implementation_key(1474)
- inline VGCore::ICUIStatusTextPtr VGCore::ICUIApplication::CreateStatusText ( ) {
- struct ICUIStatusText * _result = 0;
- HRESULT _hr = raw_CreateStatusText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIStatusTextPtr(_result, false);
- }
- #pragma implementation_key(1475)
- inline _bstr_t VGCore::ICUIApplication::LoadLocalizedString ( _bstr_t Guid ) {
- BSTR _result = 0;
- HRESULT _hr = raw_LoadLocalizedString(Guid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1476)
- inline VGCore::ICUIDataSourceFactoryPtr VGCore::ICUIApplication::CreateDataSourceFactory ( IDispatch * DataSourceFactoryObject ) {
- struct ICUIDataSourceFactory * _result = 0;
- HRESULT _hr = raw_CreateDataSourceFactory(DataSourceFactoryObject, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDataSourceFactoryPtr(_result, false);
- }
- //
- // interface ICUIDataSourceProxy wrapper method implementations
- //
- #pragma implementation_key(1477)
- inline HRESULT VGCore::ICUIDataSourceProxy::UpdateListeners ( _bstr_t ListenerNames ) {
- HRESULT _hr = raw_UpdateListeners(ListenerNames);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1478)
- inline VGCore::ICUIApplicationPtr VGCore::ICUIDataSourceProxy::GetApplication ( ) {
- struct ICUIApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIApplicationPtr(_result, false);
- }
- #pragma implementation_key(1479)
- inline _bstr_t VGCore::ICUIDataSourceProxy::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1480)
- inline HRESULT VGCore::ICUIDataSourceProxy::InvokeMethod ( _bstr_t MethodName ) {
- HRESULT _hr = raw_InvokeMethod(MethodName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1481)
- inline _variant_t VGCore::ICUIDataSourceProxy::GetProperty ( _bstr_t PropertyName ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetProperty(PropertyName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(1482)
- inline HRESULT VGCore::ICUIDataSourceProxy::SetProperty ( _bstr_t PropertyName, const _variant_t & Value ) {
- HRESULT _hr = raw_SetProperty(PropertyName, Value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ICUIDataContext wrapper method implementations
- //
- #pragma implementation_key(1483)
- inline VGCore::ICUIDataContextPtr VGCore::ICUIDataContext::CreateChildDataContext ( _bstr_t CategoryList ) {
- struct ICUIDataContext * _result = 0;
- HRESULT _hr = raw_CreateChildDataContext(CategoryList, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDataContextPtr(_result, false);
- }
- #pragma implementation_key(1484)
- inline _bstr_t VGCore::ICUIDataContext::GetCategories ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Categories(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1485)
- inline VARIANT_BOOL VGCore::ICUIDataContext::HasCategory ( _bstr_t Category ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_HasCategory(Category, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1486)
- inline VGCore::ICUIDataSourceProxyPtr VGCore::ICUIDataContext::AddDataSource ( _bstr_t DataSourceName, IDispatch * DataSourceObject ) {
- struct ICUIDataSourceProxy * _result = 0;
- HRESULT _hr = raw_AddDataSource(DataSourceName, DataSourceObject, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDataSourceProxyPtr(_result, false);
- }
- #pragma implementation_key(1487)
- inline VARIANT_BOOL VGCore::ICUIDataContext::ShowDialog ( _bstr_t dialogID ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ShowDialog(dialogID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1488)
- inline VGCore::ICUIDataSourceProxyPtr VGCore::ICUIDataContext::GetDataSource ( _bstr_t DataSourceName ) {
- struct ICUIDataSourceProxy * _result = 0;
- HRESULT _hr = raw_GetDataSource(DataSourceName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIDataSourceProxyPtr(_result, false);
- }
- //
- // interface ICUIDataSourceFactory wrapper method implementations
- //
- #pragma implementation_key(1489)
- inline IDispatchPtr VGCore::ICUIDataSourceFactory::CreateDataSource ( _bstr_t DataSourceName, struct ICUIDataSourceProxy * Proxy ) {
- IDispatch * _result = 0;
- HRESULT _hr = raw_CreateDataSource(DataSourceName, Proxy, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- //
- // interface IVGDocument wrapper method implementations
- //
- #pragma implementation_key(1490)
- inline VGCore::IVGApplicationPtr VGCore::IVGDocument::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1491)
- inline VGCore::IVGDocumentsPtr VGCore::IVGDocument::GetParent ( ) {
- struct IVGDocuments * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentsPtr(_result, false);
- }
- #pragma implementation_key(1492)
- inline _bstr_t VGCore::IVGDocument::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1493)
- inline HRESULT VGCore::IVGDocument::SaveAs ( _bstr_t FileName, struct IVGStructSaveAsOptions * Options ) {
- HRESULT _hr = raw_SaveAs(FileName, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1494)
- inline HRESULT VGCore::IVGDocument::Save ( ) {
- HRESULT _hr = raw_Save();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1495)
- inline VGCore::IVGPagesPtr VGCore::IVGDocument::GetPages ( ) {
- struct IVGPages * _result = 0;
- HRESULT _hr = get_Pages(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagesPtr(_result, false);
- }
- #pragma implementation_key(1496)
- inline enum VGCore::cdrReferencePoint VGCore::IVGDocument::GetReferencePoint ( ) {
- enum cdrReferencePoint _result;
- HRESULT _hr = get_ReferencePoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1497)
- inline void VGCore::IVGDocument::PutReferencePoint ( enum cdrReferencePoint pRefPoint ) {
- HRESULT _hr = put_ReferencePoint(pRefPoint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1498)
- inline VARIANT_BOOL VGCore::IVGDocument::GetApplyToDuplicate ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ApplyToDuplicate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1499)
- inline void VGCore::IVGDocument::PutApplyToDuplicate ( VARIANT_BOOL ApplyToDuplicate ) {
- HRESULT _hr = put_ApplyToDuplicate(ApplyToDuplicate);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1500)
- inline VGCore::IVGPagePtr VGCore::IVGDocument::GetActivePage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_ActivePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1501)
- inline VGCore::IVGLayerPtr VGCore::IVGDocument::GetActiveLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_ActiveLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1502)
- inline VGCore::IVGWindowsPtr VGCore::IVGDocument::GetWindows ( ) {
- struct IVGWindows * _result = 0;
- HRESULT _hr = get_Windows(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowsPtr(_result, false);
- }
- #pragma implementation_key(1503)
- inline VGCore::IVGWindowPtr VGCore::IVGDocument::GetActiveWindow ( ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = get_ActiveWindow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- #pragma implementation_key(1504)
- inline HRESULT VGCore::IVGDocument::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1505)
- inline HRESULT VGCore::IVGDocument::Undo ( long Levels ) {
- HRESULT _hr = raw_Undo(Levels);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1506)
- inline HRESULT VGCore::IVGDocument::Redo ( long Levels ) {
- HRESULT _hr = raw_Redo(Levels);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1507)
- inline HRESULT VGCore::IVGDocument::Repeat ( ) {
- HRESULT _hr = raw_Repeat();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1508)
- inline HRESULT VGCore::IVGDocument::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1509)
- inline enum VGCore::cdrUnit VGCore::IVGDocument::GetUnit ( ) {
- enum cdrUnit _result;
- HRESULT _hr = get_Unit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1510)
- inline void VGCore::IVGDocument::PutUnit ( enum cdrUnit pnUnit ) {
- HRESULT _hr = put_Unit(pnUnit);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1511)
- inline double VGCore::IVGDocument::GetDrawingOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_DrawingOriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1512)
- inline void VGCore::IVGDocument::PutDrawingOriginX ( double plX ) {
- HRESULT _hr = put_DrawingOriginX(plX);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1513)
- inline double VGCore::IVGDocument::GetDrawingOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_DrawingOriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1514)
- inline void VGCore::IVGDocument::PutDrawingOriginY ( double plY ) {
- HRESULT _hr = put_DrawingOriginY(plY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1515)
- inline VGCore::IVGPagePtr VGCore::IVGDocument::AddPages ( long NumberOfPages ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = raw_AddPages(NumberOfPages, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1516)
- inline VGCore::IVGPagePtr VGCore::IVGDocument::InsertPages ( long NumberOfPages, VARIANT_BOOL BeforePage, long Page ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = raw_InsertPages(NumberOfPages, BeforePage, Page, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1517)
- inline VGCore::IVGShapePtr VGCore::IVGDocument::Selection ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Selection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1518)
- inline HRESULT VGCore::IVGDocument::ClearSelection ( ) {
- HRESULT _hr = raw_ClearSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1519)
- inline HRESULT VGCore::IVGDocument::Export ( _bstr_t FileName, enum cdrFilter Filter, enum cdrExportRange Range, struct IVGStructExportOptions * Options, struct IVGStructPaletteOptions * PaletteOptions ) {
- HRESULT _hr = raw_Export(FileName, Filter, Range, Options, PaletteOptions);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1520)
- inline HRESULT VGCore::IVGDocument::ResolveAllBitmapsLinks ( ) {
- HRESULT _hr = raw_ResolveAllBitmapsLinks();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1521)
- inline VARIANT_BOOL VGCore::IVGDocument::GetDirty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Dirty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1522)
- inline void VGCore::IVGDocument::PutDirty ( VARIANT_BOOL Dirty ) {
- HRESULT _hr = put_Dirty(Dirty);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1523)
- inline long VGCore::IVGDocument::GetUserClick ( double * x, double * y, long * ShiftState, long TimeOut, VARIANT_BOOL Snap, enum cdrCursorShape CursorShape ) {
- long _result = 0;
- HRESULT _hr = raw_GetUserClick(x, y, ShiftState, TimeOut, Snap, CursorShape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1524)
- inline long VGCore::IVGDocument::GetUserArea ( double * x1, double * y1, double * x2, double * y2, long * ShiftState, long TimeOut, VARIANT_BOOL Snap, enum cdrCursorShape CursorShape ) {
- long _result = 0;
- HRESULT _hr = raw_GetUserArea(x1, y1, x2, y2, ShiftState, TimeOut, Snap, CursorShape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1525)
- inline HRESULT VGCore::IVGDocument::BeginCommandGroup ( _bstr_t CommandName ) {
- HRESULT _hr = raw_BeginCommandGroup(CommandName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1526)
- inline HRESULT VGCore::IVGDocument::EndCommandGroup ( ) {
- HRESULT _hr = raw_EndCommandGroup();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1527)
- inline _bstr_t VGCore::IVGDocument::GetFilePath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FilePath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1528)
- inline _bstr_t VGCore::IVGDocument::GetFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1529)
- inline _bstr_t VGCore::IVGDocument::GetFullFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FullFileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1530)
- inline long VGCore::IVGDocument::GetResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_Resolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1531)
- inline void VGCore::IVGDocument::PutResolution ( long pResolution ) {
- HRESULT _hr = put_Resolution(pResolution);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1532)
- inline enum VGCore::cdrShapeEnumDirection VGCore::IVGDocument::GetShapeEnumDirection ( ) {
- enum cdrShapeEnumDirection _result;
- HRESULT _hr = get_ShapeEnumDirection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1533)
- inline void VGCore::IVGDocument::PutShapeEnumDirection ( enum cdrShapeEnumDirection peDirection ) {
- HRESULT _hr = put_ShapeEnumDirection(peDirection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1534)
- inline VGCore::IVGShapeRangePtr VGCore::IVGDocument::GetSelectionRange ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = get_SelectionRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(1535)
- inline VGCore::IVGRulersPtr VGCore::IVGDocument::GetRulers ( ) {
- struct IVGRulers * _result = 0;
- HRESULT _hr = get_Rulers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRulersPtr(_result, false);
- }
- #pragma implementation_key(1536)
- inline VGCore::IVGGridPtr VGCore::IVGDocument::GetGrid ( ) {
- struct IVGGrid * _result = 0;
- HRESULT _hr = get_Grid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGridPtr(_result, false);
- }
- #pragma implementation_key(1537)
- inline VGCore::IVGViewsPtr VGCore::IVGDocument::GetViews ( ) {
- struct IVGViews * _result = 0;
- HRESULT _hr = get_Views(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGViewsPtr(_result, false);
- }
- #pragma implementation_key(1538)
- inline VGCore::IVGViewPtr VGCore::IVGDocument::CreateView ( _bstr_t Name, double OriginX, double OriginY, long Zoom, struct IVGPage * Page ) {
- struct IVGView * _result = 0;
- HRESULT _hr = raw_CreateView(Name, OriginX, OriginY, Zoom, Page, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGViewPtr(_result, false);
- }
- #pragma implementation_key(1539)
- inline VGCore::IVGPowerClipPtr VGCore::IVGDocument::GetActivePowerClip ( ) {
- struct IVGPowerClip * _result = 0;
- HRESULT _hr = get_ActivePowerClip(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPowerClipPtr(_result, false);
- }
- #pragma implementation_key(1540)
- inline long VGCore::IVGDocument::AdviseEvents ( IDispatch * EventSink ) {
- long _result = 0;
- HRESULT _hr = raw_AdviseEvents(EventSink, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1541)
- inline HRESULT VGCore::IVGDocument::UnadviseEvents ( long Cookie ) {
- HRESULT _hr = raw_UnadviseEvents(Cookie);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1542)
- inline double VGCore::IVGDocument::GetWorldScale ( ) {
- double _result = 0;
- HRESULT _hr = get_WorldScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1543)
- inline void VGCore::IVGDocument::PutWorldScale ( double Scale ) {
- HRESULT _hr = put_WorldScale(Scale);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1544)
- inline HRESULT VGCore::IVGDocument::PrintOut ( ) {
- HRESULT _hr = raw_PrintOut();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1545)
- inline VGCore::IVGShapePtr VGCore::IVGDocument::GetActiveShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ActiveShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1546)
- inline long VGCore::IVGDocument::GetCurvePrecision ( ) {
- long _result = 0;
- HRESULT _hr = get_CurvePrecision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1547)
- inline VGCore::IVGPagePtr VGCore::IVGDocument::AddPagesEx ( long NumberOfPages, double Width, double Height ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = raw_AddPagesEx(NumberOfPages, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1548)
- inline VGCore::IVGPagePtr VGCore::IVGDocument::InsertPagesEx ( long NumberOfPages, VARIANT_BOOL BeforePage, long Page, double Width, double Height ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = raw_InsertPagesEx(NumberOfPages, BeforePage, Page, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1549)
- inline _bstr_t VGCore::IVGDocument::GetTitle ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Title(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1550)
- inline HRESULT VGCore::IVGDocument::SaveSettings ( _bstr_t Tag ) {
- HRESULT _hr = raw_SaveSettings(Tag);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1551)
- inline HRESULT VGCore::IVGDocument::RestoreSettings ( _bstr_t Tag ) {
- HRESULT _hr = raw_RestoreSettings(Tag);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1552)
- inline VARIANT_BOOL VGCore::IVGDocument::GetActive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Active(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1553)
- inline long VGCore::IVGDocument::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1554)
- inline VGCore::ICorelExportFilterPtr VGCore::IVGDocument::ExportEx ( _bstr_t FileName, enum cdrFilter Filter, enum cdrExportRange Range, struct IVGStructExportOptions * Options, struct IVGStructPaletteOptions * PaletteOptions ) {
- struct ICorelExportFilter * _result = 0;
- HRESULT _hr = raw_ExportEx(FileName, Filter, Range, Options, PaletteOptions, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICorelExportFilterPtr(_result, false);
- }
- #pragma implementation_key(1555)
- 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 ) {
- struct ICorelExportFilter * _result = 0;
- HRESULT _hr = raw_ExportBitmap(FileName, Filter, Range, ImageType, Width, Height, ResolutionX, ResolutionY, AntiAliasingType, Dithered, Transparent, UseColorProfile, MaintainLayers, Compression, PaletteOptions, ExportArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICorelExportFilterPtr(_result, false);
- }
- #pragma implementation_key(1556)
- inline VARIANT_BOOL VGCore::IVGDocument::GetEditAcrossLayers ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EditAcrossLayers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1557)
- inline void VGCore::IVGDocument::PutEditAcrossLayers ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_EditAcrossLayers(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1558)
- inline VGCore::IVGPropertiesPtr VGCore::IVGDocument::GetProperties ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = get_Properties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(1559)
- inline void VGCore::IVGDocument::PutCurvePrecision ( long lpPrec ) {
- HRESULT _hr = put_CurvePrecision(lpPrec);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1560)
- inline VGCore::IPrnVBAPrintSettingsPtr VGCore::IVGDocument::GetPrintSettings ( ) {
- struct IPrnVBAPrintSettings * _result = 0;
- HRESULT _hr = get_PrintSettings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintSettingsPtr(_result, false);
- }
- #pragma implementation_key(1561)
- inline _bstr_t VGCore::IVGDocument::GetKeywords ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Keywords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1562)
- inline void VGCore::IVGDocument::PutKeywords ( _bstr_t pVal ) {
- HRESULT _hr = put_Keywords(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1563)
- inline _bstr_t VGCore::IVGDocument::GetNotes ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Notes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1564)
- inline void VGCore::IVGDocument::PutNotes ( _bstr_t pVal ) {
- HRESULT _hr = put_Notes(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1565)
- inline VARIANT_BOOL VGCore::IVGDocument::GetPreserveSelection ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PreserveSelection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1566)
- inline void VGCore::IVGDocument::PutPreserveSelection ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PreserveSelection(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1567)
- inline HRESULT VGCore::IVGDocument::ResetSettings ( ) {
- HRESULT _hr = raw_ResetSettings();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1568)
- inline VGCore::IVGDataFieldsPtr VGCore::IVGDocument::GetDataFields ( ) {
- struct IVGDataFields * _result = 0;
- HRESULT _hr = get_DataFields(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataFieldsPtr(_result, false);
- }
- #pragma implementation_key(1569)
- inline VGCore::IPDFVBASettingsPtr VGCore::IVGDocument::GetPDFSettings ( ) {
- struct IPDFVBASettings * _result = 0;
- HRESULT _hr = get_PDFSettings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPDFVBASettingsPtr(_result, false);
- }
- #pragma implementation_key(1570)
- inline HRESULT VGCore::IVGDocument::PublishToPDF ( _bstr_t FileName ) {
- HRESULT _hr = raw_PublishToPDF(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1571)
- inline VGCore::IVGSelectionInformationPtr VGCore::IVGDocument::GetSelectionInfo ( ) {
- struct IVGSelectionInformation * _result = 0;
- HRESULT _hr = get_SelectionInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSelectionInformationPtr(_result, false);
- }
- #pragma implementation_key(1572)
- inline VGCore::IVGPageSizesPtr VGCore::IVGDocument::GetPageSizes ( ) {
- struct IVGPageSizes * _result = 0;
- HRESULT _hr = get_PageSizes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPageSizesPtr(_result, false);
- }
- #pragma implementation_key(1573)
- inline VGCore::IVGComponentsPtr VGCore::IVGDocument::GetComponents ( ) {
- struct IVGComponents * _result = 0;
- HRESULT _hr = get_Components(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGComponentsPtr(_result, false);
- }
- #pragma implementation_key(1574)
- inline VGCore::IVGSymbolLibraryPtr VGCore::IVGDocument::GetSymbolLibrary ( ) {
- struct IVGSymbolLibrary * _result = 0;
- HRESULT _hr = get_SymbolLibrary(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolLibraryPtr(_result, false);
- }
- #pragma implementation_key(1575)
- inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurve ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_CreateCurve(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(1576)
- inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurveFromArray ( SAFEARRAY * * Source, long NumElements ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_CreateCurveFromArray(Source, NumElements, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(1577)
- inline HRESULT VGCore::IVGDocument::LoadStyleSheet ( _bstr_t FileName ) {
- HRESULT _hr = raw_LoadStyleSheet(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1578)
- inline HRESULT VGCore::IVGDocument::SaveStyleSheet ( _bstr_t FileName ) {
- HRESULT _hr = raw_SaveStyleSheet(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1579)
- inline HRESULT VGCore::IVGDocument::SaveStyleSheetAsDefault ( ) {
- HRESULT _hr = raw_SaveStyleSheetAsDefault();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1580)
- inline HRESULT VGCore::IVGDocument::CreateSelection ( SAFEARRAY * * ShapeArray ) {
- HRESULT _hr = raw_CreateSelection(ShapeArray);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1581)
- inline HRESULT VGCore::IVGDocument::AddToSelection ( SAFEARRAY * * ShapeArray ) {
- HRESULT _hr = raw_AddToSelection(ShapeArray);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1582)
- inline HRESULT VGCore::IVGDocument::RemoveFromSelection ( SAFEARRAY * * ShapeArray ) {
- HRESULT _hr = raw_RemoveFromSelection(ShapeArray);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1583)
- inline VGCore::IVGShapesPtr VGCore::IVGDocument::GetSelectableShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_SelectableShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(1584)
- inline double VGCore::IVGDocument::ToUnits ( double Value, enum cdrUnit FromUnit ) {
- double _result = 0;
- HRESULT _hr = raw_ToUnits(Value, FromUnit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1585)
- inline double VGCore::IVGDocument::FromUnits ( double Value, enum cdrUnit ToUnit ) {
- double _result = 0;
- HRESULT _hr = raw_FromUnits(Value, ToUnit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1586)
- inline long VGCore::IVGDocument::GetResolutionX ( ) {
- long _result = 0;
- HRESULT _hr = get_ResolutionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1587)
- inline void VGCore::IVGDocument::PutResolutionX ( long pResolution ) {
- HRESULT _hr = put_ResolutionX(pResolution);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1588)
- inline long VGCore::IVGDocument::GetResolutionY ( ) {
- long _result = 0;
- HRESULT _hr = get_ResolutionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1589)
- inline void VGCore::IVGDocument::PutResolutionY ( long pResolution ) {
- HRESULT _hr = put_ResolutionY(pResolution);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1590)
- inline VGCore::IVGPagePtr VGCore::IVGDocument::GetMasterPage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_MasterPage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1591)
- inline VARIANT_BOOL VGCore::IVGDocument::Revert ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Revert(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1592)
- inline _bstr_t VGCore::IVGDocument::GetCodeName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_CodeName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1593)
- inline _bstr_t VGCore::IVGDocument::Get_CodeName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get__CodeName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1594)
- inline void VGCore::IVGDocument::Put_CodeName ( _bstr_t pVal ) {
- HRESULT _hr = put__CodeName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1595)
- inline void VGCore::IVGDocument::PutName ( _bstr_t pbstrName ) {
- HRESULT _hr = put_Name(pbstrName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1596)
- inline void VGCore::IVGDocument::PutFullFileName ( _bstr_t pFullFileName ) {
- HRESULT _hr = put_FullFileName(pFullFileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1597)
- inline VGCore::IVGTreeNodePtr VGCore::IVGDocument::GetTreeRoot ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_TreeRoot(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(1598)
- inline VGCore::IVGTreeManagerPtr VGCore::IVGDocument::GetTreeManager ( ) {
- struct IVGTreeManager * _result = 0;
- HRESULT _hr = get_TreeManager(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeManagerPtr(_result, false);
- }
- #pragma implementation_key(1599)
- inline VGCore::IVGShapePtr VGCore::IVGDocument::LogCreateShape ( struct IVGShape * VirtualShape ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_LogCreateShape(VirtualShape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1600)
- inline VGCore::IVGShapeRangePtr VGCore::IVGDocument::LogCreateShapeRange ( struct IVGShapeRange * VirtualShapeRange ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_LogCreateShapeRange(VirtualShapeRange, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(1601)
- inline VGCore::IVGFillPtr VGCore::IVGDocument::CreateFill ( _bstr_t FillString ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = raw_CreateFill(FillString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(1602)
- inline VGCore::IVGOutlinePtr VGCore::IVGDocument::CreateOutline ( _bstr_t OutlineString ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = raw_CreateOutline(OutlineString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- #pragma implementation_key(1603)
- inline VGCore::IVGHatchLibrariesPtr VGCore::IVGDocument::GetHatchLibraries ( ) {
- struct IVGHatchLibraries * _result = 0;
- HRESULT _hr = get_HatchLibraries(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchLibrariesPtr(_result, false);
- }
- #pragma implementation_key(1604)
- inline VGCore::IVGShapeRangePtr VGCore::IVGDocument::CreateShapeRangeFromArray ( SAFEARRAY * * ShapeArray ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_CreateShapeRangeFromArray(ShapeArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(1605)
- inline HRESULT VGCore::IVGDocument::ClearUndoList ( ) {
- HRESULT _hr = raw_ClearUndoList();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1606)
- inline double VGCore::IVGDocument::GetSourcePlatformVersion ( ) {
- double _result = 0;
- HRESULT _hr = get_SourcePlatformVersion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1607)
- inline void VGCore::IVGDocument::PutSourcePlatformVersion ( double pVal ) {
- HRESULT _hr = put_SourcePlatformVersion(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1608)
- inline enum VGCore::cdrFilter VGCore::IVGDocument::GetSourceFormat ( ) {
- enum cdrFilter _result;
- HRESULT _hr = get_SourceFormat(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1609)
- inline VARIANT_BOOL VGCore::IVGDocument::GetIsCurrentVersion ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsCurrentVersion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1610)
- inline enum VGCore::cdrFileVersion VGCore::IVGDocument::GetSourceFileVersion ( ) {
- enum cdrFileVersion _result;
- HRESULT _hr = get_SourceFileVersion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1611)
- inline void VGCore::IVGDocument::PutSourceFileVersion ( enum cdrFileVersion pVal ) {
- HRESULT _hr = put_SourceFileVersion(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1612)
- inline VGCore::IVGFillPtr VGCore::IVGDocument::CreateUniformFill ( struct IVGColor * Color ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = raw_CreateUniformFill(Color, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(1613)
- inline VGCore::IVGMetadataPtr VGCore::IVGDocument::GetMetadata ( ) {
- struct IVGMetadata * _result = 0;
- HRESULT _hr = get_Metadata(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGMetadataPtr(_result, false);
- }
- #pragma implementation_key(1614)
- inline enum VGCore::cdrDocLayout VGCore::IVGDocument::GetLayout ( ) {
- enum cdrDocLayout _result;
- HRESULT _hr = get_Layout(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1615)
- inline void VGCore::IVGDocument::PutLayout ( enum cdrDocLayout pVal ) {
- HRESULT _hr = put_Layout(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1616)
- inline VARIANT_BOOL VGCore::IVGDocument::GetFacingPages ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FacingPages(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1617)
- inline void VGCore::IVGDocument::PutFacingPages ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FacingPages(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1618)
- inline VARIANT_BOOL VGCore::IVGDocument::GetFirstPageOnRightSide ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FirstPageOnRightSide(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1619)
- inline void VGCore::IVGDocument::PutFirstPageOnRightSide ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FirstPageOnRightSide(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1620)
- inline HRESULT VGCore::IVGDocument::SetLayout ( enum cdrDocLayout Layout, VARIANT_BOOL FacingPages, VARIANT_BOOL StartOnRightSide ) {
- HRESULT _hr = raw_SetLayout(Layout, FacingPages, StartOnRightSide);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1621)
- inline VGCore::IVGSpreadsPtr VGCore::IVGDocument::GetSpreads ( ) {
- struct IVGSpreads * _result = 0;
- HRESULT _hr = get_Spreads(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadsPtr(_result, false);
- }
- #pragma implementation_key(1622)
- inline VGCore::IVGSpreadPtr VGCore::IVGDocument::GetActiveSpread ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_ActiveSpread(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(1623)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHead ( struct IVGCurve * Curve ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_CreateArrowHead(Curve, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(1624)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHeadEx ( struct IVGCurve * Curve, double CenterX, double CenterY, double OutlineWidthScale, double LineOffset ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_CreateArrowHeadEx(Curve, CenterX, CenterY, OutlineWidthScale, LineOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(1625)
- inline VARIANT_BOOL VGCore::IVGDocument::DeletePages ( long StartPage, long NumPages ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_DeletePages(StartPage, NumPages, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1626)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHead2 ( struct IVGCurve * Curve, _bstr_t Name ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_CreateArrowHead2(Curve, Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(1627)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGDocument::CreateArrowHeadEx2 ( struct IVGCurve * Curve, _bstr_t Name, double CenterX, double CenterY, double OutlineWidthScale, double LineOffset ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_CreateArrowHeadEx2(Curve, Name, CenterX, CenterY, OutlineWidthScale, LineOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(1628)
- inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGDocument::CreateArrowHeadOptions ( double Length, double Width, double OffsetX, double OffsetY, double RotationAngle, VARIANT_BOOL FlipHorizontal, VARIANT_BOOL FlipVertical ) {
- struct IVGArrowHeadOptions * _result = 0;
- HRESULT _hr = raw_CreateArrowHeadOptions(Length, Width, OffsetX, OffsetY, RotationAngle, FlipHorizontal, FlipVertical, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadOptionsPtr(_result, false);
- }
- #pragma implementation_key(1629)
- inline HRESULT VGCore::IVGDocument::SaveAsCopy ( _bstr_t FileName, struct IVGStructSaveAsOptions * Options ) {
- HRESULT _hr = raw_SaveAsCopy(FileName, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1630)
- inline VGCore::IVGSnapPointPtr VGCore::IVGDocument::CreateFreeSnapPoint ( double PositionX, double PositionY ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_CreateFreeSnapPoint(PositionX, PositionY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(1631)
- inline VGCore::IVGBSplinePtr VGCore::IVGDocument::CreateBSpline ( long NumControlPoints, VARIANT_BOOL Closed ) {
- struct IVGBSpline * _result = 0;
- HRESULT _hr = raw_CreateBSpline(NumControlPoints, Closed, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBSplinePtr(_result, false);
- }
- #pragma implementation_key(1632)
- inline VGCore::IVGDocumentPtr VGCore::IVGDocument::Duplicate ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_Duplicate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1633)
- inline VGCore::IVGDocumentPtr VGCore::IVGDocument::Clone ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_Clone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1634)
- inline VARIANT_BOOL VGCore::IVGDocument::GetIsTemporary ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsTemporary(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1635)
- inline VGCore::IVGColorContextPtr VGCore::IVGDocument::GetColorContext ( ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = get_ColorContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(1636)
- inline HRESULT VGCore::IVGDocument::AssignColorContext ( struct IVGColorContext * ColorContext ) {
- HRESULT _hr = raw_AssignColorContext(ColorContext);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1637)
- inline HRESULT VGCore::IVGDocument::ConvertToColorContext ( struct IVGColorContext * ColorContext ) {
- HRESULT _hr = raw_ConvertToColorContext(ColorContext);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1638)
- inline HRESULT VGCore::IVGDocument::PrintColorProof ( struct IVGProofColorSettings * ProofSettings ) {
- HRESULT _hr = raw_PrintColorProof(ProofSettings);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1639)
- inline VGCore::IVGPalettePtr VGCore::IVGDocument::GetPalette ( ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = get_Palette(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(1640)
- inline long VGCore::IVGDocument::GetTextFormatter ( ) {
- long _result = 0;
- HRESULT _hr = get_TextFormatter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1641)
- inline void VGCore::IVGDocument::PutTextFormatter ( long pVal ) {
- HRESULT _hr = put_TextFormatter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1642)
- inline VGCore::IVGStyleSheetPtr VGCore::IVGDocument::GetStyleSheet ( ) {
- struct IVGStyleSheet * _result = 0;
- HRESULT _hr = get_StyleSheet(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleSheetPtr(_result, false);
- }
- #pragma implementation_key(1643)
- inline HRESULT VGCore::IVGDocument::InteractiveImport ( SAFEARRAY * * FileNames ) {
- HRESULT _hr = raw_InteractiveImport(FileNames);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1644)
- inline VARIANT_BOOL VGCore::IVGDocument::AddColorsToDocPalette ( VARIANT_BOOL SelectedOnly, long MaxColorsPerBitmap ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_AddColorsToDocPalette(SelectedOnly, MaxColorsPerBitmap, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1645)
- inline long VGCore::IVGDocument::CreateColorStyles ( VARIANT_BOOL UseFills, VARIANT_BOOL UseOutlines, VARIANT_BOOL SelectedOnly, long NumberOfColorHarmonies, enum cdrColorType ConvertColorsTo ) {
- long _result = 0;
- HRESULT _hr = raw_CreateColorStyles(UseFills, UseOutlines, SelectedOnly, NumberOfColorHarmonies, ConvertColorsTo, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1646)
- inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurveFitToPoints ( struct IVGPointRange * Points, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_CreateCurveFitToPoints(Points, UseCurrentViewForTolerance, tolerance, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(1647)
- inline VGCore::IVGCurvePtr VGCore::IVGDocument::CreateCurveFitToPointsAndCusps ( struct IVGPointRange * Points, SAFEARRAY * * CuspIndexArray, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_CreateCurveFitToPointsAndCusps(Points, CuspIndexArray, UseCurrentViewForTolerance, tolerance, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(1648)
- inline VGCore::IVGColorPtr VGCore::IVGDocument::SampleColorAtPoint ( double x, double y, enum cdrColorType ColorType ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_SampleColorAtPoint(x, y, ColorType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1649)
- inline VGCore::IVGColorPtr VGCore::IVGDocument::SampleColorInArea ( double x1, double y1, double x2, double y2, long XSamples, long YSamples, enum cdrColorType ColorType ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_SampleColorInArea(x1, y1, x2, y2, XSamples, YSamples, ColorType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1650)
- inline HRESULT VGCore::IVGDocument::ShowAllHiddenObjects ( ) {
- HRESULT _hr = raw_ShowAllHiddenObjects();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1651)
- inline HRESULT VGCore::IVGDocument::InteractiveImportWithContentIdentifier ( SAFEARRAY * * FileNames, SAFEARRAY * * ContentIdentifiers ) {
- HRESULT _hr = raw_InteractiveImportWithContentIdentifier(FileNames, ContentIdentifiers);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1652)
- inline HRESULT VGCore::IVGDocument::ReplaceContentByIdentifier ( SAFEARRAY * * ContentIdentifiers, SAFEARRAY * * FileNames ) {
- HRESULT _hr = raw_ReplaceContentByIdentifier(ContentIdentifiers, FileNames);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1653)
- inline SAFEARRAY * VGCore::IVGDocument::GetContentIdentifiers ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = get_ContentIdentifiers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1654)
- inline _variant_t VGCore::IVGDocument::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(1655)
- inline VGCore::IVGMathUtilsPtr VGCore::IVGDocument::GetMath ( ) {
- struct IVGMathUtils * _result = 0;
- HRESULT _hr = get_Math(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGMathUtilsPtr(_result, false);
- }
- #pragma implementation_key(1656)
- inline VGCore::IVGImagePtr VGCore::IVGDocument::CreateImage ( enum cdrImageType ImageType, long Width, long Height, struct IVGColor * FillColor ) {
- struct IVGImage * _result = 0;
- HRESULT _hr = raw_CreateImage(ImageType, Width, Height, FillColor, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImagePtr(_result, false);
- }
- #pragma implementation_key(1657)
- inline VGCore::IVGDocumentMarkupPtr VGCore::IVGDocument::GetMarkup ( ) {
- struct IVGDocumentMarkup * _result = 0;
- HRESULT _hr = get_Markup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentMarkupPtr(_result, false);
- }
- //
- // interface IVGRect wrapper method implementations
- //
- #pragma implementation_key(1658)
- inline double VGCore::IVGRect::Getx ( ) {
- double _result = 0;
- HRESULT _hr = get_x(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1659)
- inline void VGCore::IVGRect::Putx ( double pVal ) {
- HRESULT _hr = put_x(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1660)
- inline double VGCore::IVGRect::Gety ( ) {
- double _result = 0;
- HRESULT _hr = get_y(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1661)
- inline void VGCore::IVGRect::Puty ( double pVal ) {
- HRESULT _hr = put_y(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1662)
- inline double VGCore::IVGRect::GetWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1663)
- inline void VGCore::IVGRect::PutWidth ( double pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1664)
- inline double VGCore::IVGRect::GetHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1665)
- inline void VGCore::IVGRect::PutHeight ( double pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1666)
- inline HRESULT VGCore::IVGRect::SetRect ( double x, double y, double Width, double Height ) {
- HRESULT _hr = raw_SetRect(x, y, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1667)
- inline HRESULT VGCore::IVGRect::GetRect ( double * x, double * y, double * Width, double * Height ) {
- HRESULT _hr = raw_GetRect(x, y, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1668)
- inline HRESULT VGCore::IVGRect::CopyAssign ( struct IVGRect * Source ) {
- HRESULT _hr = raw_CopyAssign(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1669)
- inline VGCore::IVGRectPtr VGCore::IVGRect::GetCopy ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(1670)
- inline VGCore::IVGRectPtr VGCore::IVGRect::Intersect ( struct IVGRect * Rect ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = raw_Intersect(Rect, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(1671)
- inline VARIANT_BOOL VGCore::IVGRect::GetIsEmpty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEmpty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1672)
- inline VGCore::IVGRectPtr VGCore::IVGRect::Union ( struct IVGRect * Rect ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = raw_Union(Rect, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(1673)
- inline HRESULT VGCore::IVGRect::Offset ( double OffsetX, double OffsetY ) {
- HRESULT _hr = raw_Offset(OffsetX, OffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1674)
- inline VARIANT_BOOL VGCore::IVGRect::Inflate ( double Left, double Top, double Right, double Bottom ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Inflate(Left, Top, Right, Bottom, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1675)
- inline VARIANT_BOOL VGCore::IVGRect::IsPointInside ( double x, double y ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsPointInside(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1676)
- inline HRESULT VGCore::IVGRect::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1677)
- inline VGCore::IVGRectPtr VGCore::IVGRect::ChangeContext ( struct IVGDocument * SrcDoc, struct IVGDocument * DestDoc ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = raw_ChangeContext(SrcDoc, DestDoc, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(1678)
- inline double VGCore::IVGRect::GetLeft ( ) {
- double _result = 0;
- HRESULT _hr = get_Left(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1679)
- inline double VGCore::IVGRect::GetRight ( ) {
- double _result = 0;
- HRESULT _hr = get_Right(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1680)
- inline double VGCore::IVGRect::GetTop ( ) {
- double _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1681)
- inline double VGCore::IVGRect::GetBottom ( ) {
- double _result = 0;
- HRESULT _hr = get_Bottom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1682)
- inline double VGCore::IVGRect::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1683)
- inline double VGCore::IVGRect::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGApplication wrapper method implementations
- //
- #pragma implementation_key(1684)
- inline VGCore::IVGApplicationPtr VGCore::IVGApplication::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1685)
- inline VGCore::IVGApplicationPtr VGCore::IVGApplication::GetParent ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1686)
- inline VARIANT_BOOL VGCore::IVGApplication::GetVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Visible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1687)
- inline void VGCore::IVGApplication::PutVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Visible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1688)
- inline VGCore::IVGDocumentsPtr VGCore::IVGApplication::GetDocuments ( ) {
- struct IVGDocuments * _result = 0;
- HRESULT _hr = get_Documents(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentsPtr(_result, false);
- }
- #pragma implementation_key(1689)
- inline VGCore::IVGDocumentPtr VGCore::IVGApplication::GetActiveDocument ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_ActiveDocument(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1690)
- inline VGCore::IVGPagePtr VGCore::IVGApplication::GetActivePage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_ActivePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1691)
- inline VGCore::IVGWindowPtr VGCore::IVGApplication::GetActiveWindow ( ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = get_ActiveWindow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- #pragma implementation_key(1692)
- inline VGCore::IVGWindowsPtr VGCore::IVGApplication::GetWindows ( ) {
- struct IVGWindows * _result = 0;
- HRESULT _hr = get_Windows(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowsPtr(_result, false);
- }
- #pragma implementation_key(1693)
- inline VGCore::ICorelScriptToolsPtr VGCore::IVGApplication::CorelScriptTools ( ) {
- struct ICorelScriptTools * _result = 0;
- HRESULT _hr = raw_CorelScriptTools(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICorelScriptToolsPtr(_result, false);
- }
- #pragma implementation_key(1694)
- inline VGCore::IVGWorkspacePtr VGCore::IVGApplication::GetActiveWorkspace ( ) {
- struct IVGWorkspace * _result = 0;
- HRESULT _hr = get_ActiveWorkspace(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWorkspacePtr(_result, false);
- }
- #pragma implementation_key(1695)
- inline VGCore::IVGWorkspacesPtr VGCore::IVGApplication::GetWorkspaces ( ) {
- struct IVGWorkspaces * _result = 0;
- HRESULT _hr = get_Workspaces(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWorkspacesPtr(_result, false);
- }
- #pragma implementation_key(1696)
- inline VGCore::IVGPalettePtr VGCore::IVGApplication::GetActivePalette ( ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = get_ActivePalette(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(1697)
- inline VGCore::IVGPalettesPtr VGCore::IVGApplication::GetPalettes ( ) {
- struct IVGPalettes * _result = 0;
- HRESULT _hr = get_Palettes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettesPtr(_result, false);
- }
- #pragma implementation_key(1698)
- inline HRESULT VGCore::IVGApplication::Quit ( ) {
- HRESULT _hr = raw_Quit();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1699)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateColor ( _bstr_t ColorString ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateColor(ColorString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1700)
- inline VGCore::IVGFontListPtr VGCore::IVGApplication::GetFontList ( ) {
- struct IVGFontList * _result = 0;
- HRESULT _hr = get_FontList(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFontListPtr(_result, false);
- }
- #pragma implementation_key(1701)
- inline VGCore::IVGAppWindowPtr VGCore::IVGApplication::GetAppWindow ( ) {
- struct IVGAppWindow * _result = 0;
- HRESULT _hr = get_AppWindow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGAppWindowPtr(_result, false);
- }
- #pragma implementation_key(1702)
- inline VGCore::IVGRecentFilesPtr VGCore::IVGApplication::GetRecentFiles ( ) {
- struct IVGRecentFiles * _result = 0;
- HRESULT _hr = get_RecentFiles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRecentFilesPtr(_result, false);
- }
- #pragma implementation_key(1703)
- inline IDispatchPtr VGCore::IVGApplication::GetVBE ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_VBE(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1704)
- inline double VGCore::IVGApplication::cdrMixedDouble ( ) {
- double _result = 0;
- HRESULT _hr = raw_cdrMixedDouble(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1705)
- inline float VGCore::IVGApplication::cdrMixedSingle ( ) {
- float _result = 0;
- HRESULT _hr = raw_cdrMixedSingle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1706)
- inline long VGCore::IVGApplication::cdrMixedLong ( ) {
- long _result = 0;
- HRESULT _hr = raw_cdrMixedLong(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1707)
- inline VARIANT_BOOL VGCore::IVGApplication::GetEventsEnabled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EventsEnabled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1708)
- inline void VGCore::IVGApplication::PutEventsEnabled ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_EventsEnabled(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1709)
- inline VGCore::IVGDocumentPtr VGCore::IVGApplication::OpenDocument ( _bstr_t FileName, long CodePage ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_OpenDocument(FileName, CodePage, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1710)
- inline VGCore::IVGDocumentPtr VGCore::IVGApplication::CreateDocument ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_CreateDocument(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1711)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateColorEx ( long ColorModel, long V1, long V2, long V3, long V4, long V5, long V6, long V7 ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateColorEx(ColorModel, V1, V2, V3, V4, V5, V6, V7, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1712)
- inline VGCore::IVGArrowHeadsPtr VGCore::IVGApplication::GetArrowHeads ( ) {
- struct IVGArrowHeads * _result = 0;
- HRESULT _hr = get_ArrowHeads(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadsPtr(_result, false);
- }
- #pragma implementation_key(1713)
- inline VGCore::IVGOutlineStylesPtr VGCore::IVGApplication::GetOutlineStyles ( ) {
- struct IVGOutlineStyles * _result = 0;
- HRESULT _hr = get_OutlineStyles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlineStylesPtr(_result, false);
- }
- #pragma implementation_key(1714)
- inline _bstr_t VGCore::IVGApplication::GetVersion ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Version(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1715)
- inline long VGCore::IVGApplication::GetVersionMajor ( ) {
- long _result = 0;
- HRESULT _hr = get_VersionMajor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1716)
- inline long VGCore::IVGApplication::GetVersionMinor ( ) {
- long _result = 0;
- HRESULT _hr = get_VersionMinor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1717)
- inline long VGCore::IVGApplication::GetVersionBuild ( ) {
- long _result = 0;
- HRESULT _hr = get_VersionBuild(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1718)
- inline _bstr_t VGCore::IVGApplication::GetPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Path(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1719)
- inline _bstr_t VGCore::IVGApplication::GetConfigPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ConfigPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1720)
- inline _bstr_t VGCore::IVGApplication::GetSetupPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_SetupPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1721)
- inline VGCore::IVGLayerPtr VGCore::IVGApplication::GetActiveLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_ActiveLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1722)
- inline VGCore::IVGShapePtr VGCore::IVGApplication::GetActiveSelection ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ActiveSelection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1723)
- inline VGCore::IVGPatternCanvasesPtr VGCore::IVGApplication::GetPatternCanvases ( ) {
- struct IVGPatternCanvases * _result = 0;
- HRESULT _hr = get_PatternCanvases(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternCanvasesPtr(_result, false);
- }
- #pragma implementation_key(1724)
- inline VGCore::IVGClipboardPtr VGCore::IVGApplication::GetClipboard ( ) {
- struct IVGClipboard * _result = 0;
- HRESULT _hr = get_Clipboard(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGClipboardPtr(_result, false);
- }
- #pragma implementation_key(1725)
- inline VGCore::IVGShapeRangePtr VGCore::IVGApplication::GetActiveSelectionRange ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = get_ActiveSelectionRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(1726)
- inline enum VGCore::cdrTools VGCore::IVGApplication::GetActiveTool ( ) {
- enum cdrTools _result;
- HRESULT _hr = get_ActiveTool(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1727)
- inline void VGCore::IVGApplication::PutActiveTool ( enum cdrTools pTool ) {
- HRESULT _hr = put_ActiveTool(pTool);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1728)
- inline VGCore::IVGShapePtr VGCore::IVGApplication::GetActiveShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ActiveShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1729)
- inline VARIANT_BOOL VGCore::IVGApplication::GetOptimization ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Optimization(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1730)
- inline void VGCore::IVGApplication::PutOptimization ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Optimization(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1731)
- inline enum VGCore::cdrPanoseMatchingType VGCore::IVGApplication::GetPanoseMatching ( ) {
- enum cdrPanoseMatchingType _result;
- HRESULT _hr = get_PanoseMatching(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1732)
- inline void VGCore::IVGApplication::PutPanoseMatching ( enum cdrPanoseMatchingType pVal ) {
- HRESULT _hr = put_PanoseMatching(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1733)
- inline IDispatchPtr VGCore::IVGApplication::GetAddIns ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_AddIns(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(1734)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateRGBColor ( long Red, long Green, long Blue ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateRGBColor(Red, Green, Blue, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1735)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateCMYColor ( long Cyan, long Magenta, long Yellow ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateCMYColor(Cyan, Magenta, Yellow, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1736)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateCMYKColor ( long Cyan, long Magenta, long Yellow, long Black ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateCMYKColor(Cyan, Magenta, Yellow, Black, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1737)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateGrayColor ( long GrayValue ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateGrayColor(GrayValue, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1738)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateHLSColor ( long Hue, long Lightness, long Saturation ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateHLSColor(Hue, Lightness, Saturation, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1739)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateHSBColor ( long Hue, long Saturation, long Brightness ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateHSBColor(Hue, Saturation, Brightness, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1740)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateBWColor ( VARIANT_BOOL White ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateBWColor(White, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1741)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateYIQColor ( long y, long I, long Q ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateYIQColor(y, I, Q, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1742)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateLabColor ( long L, long A, long B ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateLabColor(L, A, B, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1743)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateFixedColor ( enum cdrPaletteID PaletteID, long PaletteIndex, long Tint ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateFixedColor(PaletteID, PaletteIndex, Tint, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1744)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateRegistrationColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateRegistrationColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1745)
- inline VGCore::IVGSnapPointPtr VGCore::IVGApplication::CreateSnapPoint ( double PositionX, double PositionY ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_CreateSnapPoint(PositionX, PositionY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(1746)
- inline VGCore::IVGDocumentPtr VGCore::IVGApplication::CreateDocumentFromTemplate ( _bstr_t Template, VARIANT_BOOL IncludeGraphics ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_CreateDocumentFromTemplate(Template, IncludeGraphics, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1747)
- inline VGCore::IPrnVBAPrintersPtr VGCore::IVGApplication::GetPrinters ( ) {
- struct IPrnVBAPrinters * _result = 0;
- HRESULT _hr = get_Printers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintersPtr(_result, false);
- }
- #pragma implementation_key(1748)
- inline VGCore::IPrnVBAPrintJobPtr VGCore::IVGApplication::GetPrintJob ( ) {
- struct IPrnVBAPrintJob * _result = 0;
- HRESULT _hr = get_PrintJob(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IPrnVBAPrintJobPtr(_result, false);
- }
- #pragma implementation_key(1749)
- inline VGCore::ICUICommandBarsPtr VGCore::IVGApplication::GetCommandBars ( ) {
- struct ICUICommandBars * _result = 0;
- HRESULT _hr = get_CommandBars(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarsPtr(_result, false);
- }
- #pragma implementation_key(1750)
- inline VGCore::ICUICommandBarPtr VGCore::IVGApplication::GetStatusBar ( ) {
- struct ICUICommandBar * _result = 0;
- HRESULT _hr = get_StatusBar(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarPtr(_result, false);
- }
- #pragma implementation_key(1751)
- inline VGCore::ICUICommandBarPtr VGCore::IVGApplication::GetMainMenu ( ) {
- struct ICUICommandBar * _result = 0;
- HRESULT _hr = get_MainMenu(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUICommandBarPtr(_result, false);
- }
- #pragma implementation_key(1752)
- inline VGCore::IVGGMSManagerPtr VGCore::IVGApplication::GetGMSManager ( ) {
- struct IVGGMSManager * _result = 0;
- HRESULT _hr = get_GMSManager(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGMSManagerPtr(_result, false);
- }
- #pragma implementation_key(1753)
- inline HRESULT VGCore::IVGApplication::ImportWorkspace ( _bstr_t FileName ) {
- HRESULT _hr = raw_ImportWorkspace(FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1754)
- inline HRESULT VGCore::IVGApplication::Refresh ( ) {
- HRESULT _hr = raw_Refresh();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1755)
- inline VGCore::IVGStructSaveAsOptionsPtr VGCore::IVGApplication::CreateStructSaveAsOptions ( ) {
- struct IVGStructSaveAsOptions * _result = 0;
- HRESULT _hr = raw_CreateStructSaveAsOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructSaveAsOptionsPtr(_result, false);
- }
- #pragma implementation_key(1756)
- inline VGCore::IVGStructExportOptionsPtr VGCore::IVGApplication::CreateStructExportOptions ( ) {
- struct IVGStructExportOptions * _result = 0;
- HRESULT _hr = raw_CreateStructExportOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructExportOptionsPtr(_result, false);
- }
- #pragma implementation_key(1757)
- inline VGCore::IVGStructImportOptionsPtr VGCore::IVGApplication::CreateStructImportOptions ( ) {
- struct IVGStructImportOptions * _result = 0;
- HRESULT _hr = raw_CreateStructImportOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructImportOptionsPtr(_result, false);
- }
- #pragma implementation_key(1758)
- inline VGCore::IVGStructPaletteOptionsPtr VGCore::IVGApplication::CreateStructPaletteOptions ( ) {
- struct IVGStructPaletteOptions * _result = 0;
- HRESULT _hr = raw_CreateStructPaletteOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructPaletteOptionsPtr(_result, false);
- }
- #pragma implementation_key(1759)
- inline VGCore::IVGNodeRangePtr VGCore::IVGApplication::CreateNodeRange ( ) {
- struct IVGNodeRange * _result = 0;
- HRESULT _hr = raw_CreateNodeRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodeRangePtr(_result, false);
- }
- #pragma implementation_key(1760)
- inline VGCore::IVGSegmentRangePtr VGCore::IVGApplication::CreateSegmentRange ( ) {
- struct IVGSegmentRange * _result = 0;
- HRESULT _hr = raw_CreateSegmentRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentRangePtr(_result, false);
- }
- #pragma implementation_key(1761)
- inline VGCore::IVGShapeRangePtr VGCore::IVGApplication::CreateShapeRange ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_CreateShapeRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(1762)
- inline VGCore::IVGPatternCanvasPtr VGCore::IVGApplication::CreatePatternCanvas ( ) {
- struct IVGPatternCanvas * _result = 0;
- HRESULT _hr = raw_CreatePatternCanvas(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternCanvasPtr(_result, false);
- }
- #pragma implementation_key(1763)
- inline VGCore::IVGCurvePtr VGCore::IVGApplication::CreateCurve ( struct IVGDocument * Document ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_CreateCurve(Document, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(1764)
- inline _bstr_t VGCore::IVGApplication::GetUserDataPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_UserDataPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1765)
- inline VARIANT_BOOL VGCore::IVGApplication::InitializeVBA ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_InitializeVBA(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1766)
- inline _bstr_t VGCore::IVGApplication::GetHelpFile ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_HelpFile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1767)
- inline VGCore::ICUIFrameWorkPtr VGCore::IVGApplication::GetFrameWork ( ) {
- struct ICUIFrameWork * _result = 0;
- HRESULT _hr = get_FrameWork(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIFrameWorkPtr(_result, false);
- }
- #pragma implementation_key(1768)
- inline VGCore::IVGStructFontPropertiesPtr VGCore::IVGApplication::CreateStructFontProperties ( ) {
- struct IVGStructFontProperties * _result = 0;
- HRESULT _hr = raw_CreateStructFontProperties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructFontPropertiesPtr(_result, false);
- }
- #pragma implementation_key(1769)
- inline VGCore::IVGStructAlignPropertiesPtr VGCore::IVGApplication::CreateStructAlignProperties ( ) {
- struct IVGStructAlignProperties * _result = 0;
- HRESULT _hr = raw_CreateStructAlignProperties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructAlignPropertiesPtr(_result, false);
- }
- #pragma implementation_key(1770)
- inline VGCore::IVGStructSpacePropertiesPtr VGCore::IVGApplication::CreateStructSpaceProperties ( ) {
- struct IVGStructSpaceProperties * _result = 0;
- HRESULT _hr = raw_CreateStructSpaceProperties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructSpacePropertiesPtr(_result, false);
- }
- #pragma implementation_key(1771)
- inline VGCore::IVGStructHyphenationSettingsPtr VGCore::IVGApplication::CreateStructHyphenationSettings ( ) {
- struct IVGStructHyphenationSettings * _result = 0;
- HRESULT _hr = raw_CreateStructHyphenationSettings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructHyphenationSettingsPtr(_result, false);
- }
- #pragma implementation_key(1772)
- inline VGCore::IVGComponentsPtr VGCore::IVGApplication::GetComponents ( ) {
- struct IVGComponents * _result = 0;
- HRESULT _hr = get_Components(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGComponentsPtr(_result, false);
- }
- #pragma implementation_key(1773)
- inline VGCore::IVGSymbolLibrariesPtr VGCore::IVGApplication::GetSymbolLibraries ( ) {
- struct IVGSymbolLibraries * _result = 0;
- HRESULT _hr = get_SymbolLibraries(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolLibrariesPtr(_result, false);
- }
- #pragma implementation_key(1774)
- inline long VGCore::IVGApplication::AdviseEvents ( IDispatch * EventSink ) {
- long _result = 0;
- HRESULT _hr = raw_AdviseEvents(EventSink, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1775)
- inline HRESULT VGCore::IVGApplication::UnadviseEvents ( long Cookie ) {
- HRESULT _hr = raw_UnadviseEvents(Cookie);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1776)
- inline enum VGCore::cdrApplicationID VGCore::IVGApplication::GetID ( ) {
- enum cdrApplicationID _result;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1777)
- inline _bstr_t VGCore::IVGApplication::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1778)
- inline enum VGCore::cdrApplicationClass VGCore::IVGApplication::GetClass ( ) {
- enum cdrApplicationClass _result;
- HRESULT _hr = get_Class(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1779)
- inline long VGCore::IVGApplication::GetPlatformVersionMajor ( ) {
- long _result = 0;
- HRESULT _hr = get_PlatformVersionMajor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1780)
- inline long VGCore::IVGApplication::GetPlatformVersionMinor ( ) {
- long _result = 0;
- HRESULT _hr = get_PlatformVersionMinor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1781)
- inline long VGCore::IVGApplication::CheckPlatformVersion ( long VersionMajor, long VersionMinor ) {
- long _result = 0;
- HRESULT _hr = raw_CheckPlatformVersion(VersionMajor, VersionMinor, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1782)
- inline VGCore::IVGAppStatusPtr VGCore::IVGApplication::GetStatus ( ) {
- struct IVGAppStatus * _result = 0;
- HRESULT _hr = get_Status(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGAppStatusPtr(_result, false);
- }
- #pragma implementation_key(1783)
- inline double VGCore::IVGApplication::ConvertUnits ( double Value, enum cdrUnit FromUnit, enum cdrUnit ToUnit ) {
- double _result = 0;
- HRESULT _hr = raw_ConvertUnits(Value, FromUnit, ToUnit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1784)
- inline enum VGCore::cdrTextLanguage VGCore::IVGApplication::GetUILanguage ( ) {
- enum cdrTextLanguage _result;
- HRESULT _hr = get_UILanguage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1785)
- inline VARIANT_BOOL VGCore::IVGApplication::IsUILanguageAvailable ( enum cdrTextLanguage Language ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsUILanguageAvailable(Language, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1786)
- inline VGCore::IVGPageSizesPtr VGCore::IVGApplication::GetPageSizes ( ) {
- struct IVGPageSizes * _result = 0;
- HRESULT _hr = get_PageSizes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPageSizesPtr(_result, false);
- }
- #pragma implementation_key(1787)
- inline enum VGCore::cdrUnit VGCore::IVGApplication::GetUnit ( ) {
- enum cdrUnit _result;
- HRESULT _hr = get_Unit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1788)
- inline void VGCore::IVGApplication::PutUnit ( enum cdrUnit pVal ) {
- HRESULT _hr = put_Unit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1789)
- inline _bstr_t VGCore::IVGApplication::ConvertToUnicode ( _bstr_t String, long CodePage ) {
- BSTR _result = 0;
- HRESULT _hr = raw_ConvertToUnicode(String, CodePage, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1790)
- inline _bstr_t VGCore::IVGApplication::ConvertFromUnicode ( _bstr_t String, long CodePage ) {
- BSTR _result = 0;
- HRESULT _hr = raw_ConvertFromUnicode(String, CodePage, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1791)
- inline _bstr_t VGCore::IVGApplication::GetUserWorkspacePath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_UserWorkspacePath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1792)
- inline _bstr_t VGCore::IVGApplication::GetLanguagePath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LanguagePath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1793)
- inline VGCore::IVGTreeManagerPtr VGCore::IVGApplication::GetActiveTreeManager ( ) {
- struct IVGTreeManager * _result = 0;
- HRESULT _hr = get_ActiveTreeManager(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeManagerPtr(_result, false);
- }
- #pragma implementation_key(1794)
- inline VGCore::IVGLayerPtr VGCore::IVGApplication::GetActiveVirtualLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_ActiveVirtualLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1795)
- inline VGCore::IVGDuotonePtr VGCore::IVGApplication::CreateDuotone ( ) {
- struct IVGDuotone * _result = 0;
- HRESULT _hr = raw_CreateDuotone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDuotonePtr(_result, false);
- }
- #pragma implementation_key(1796)
- inline VGCore::IVGColorManagerPtr VGCore::IVGApplication::GetColorManager ( ) {
- struct IVGColorManager * _result = 0;
- HRESULT _hr = get_ColorManager(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorManagerPtr(_result, false);
- }
- #pragma implementation_key(1797)
- inline VGCore::IVGOutlineStylesPtr VGCore::IVGApplication::GetEnhancedOutlines ( ) {
- struct IVGOutlineStyles * _result = 0;
- HRESULT _hr = get_EnhancedOutlines(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlineStylesPtr(_result, false);
- }
- #pragma implementation_key(1798)
- inline VARIANT_BOOL VGCore::IVGApplication::AddPluginCommand ( _bstr_t CommandID, _bstr_t Caption, _bstr_t Tooltip ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_AddPluginCommand(CommandID, Caption, Tooltip, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1799)
- inline VARIANT_BOOL VGCore::IVGApplication::RemovePluginCommand ( _bstr_t CommandID ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_RemovePluginCommand(CommandID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1800)
- inline VGCore::IVGOutlineStylePtr VGCore::IVGApplication::CreateOutlineStyle ( long DashDotCount, SAFEARRAY * * DashDotLengths ) {
- struct IVGOutlineStyle * _result = 0;
- HRESULT _hr = raw_CreateOutlineStyle(DashDotCount, DashDotLengths, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlineStylePtr(_result, false);
- }
- #pragma implementation_key(1801)
- inline enum VGCore::cdrAppStartupMode VGCore::IVGApplication::GetStartupMode ( ) {
- enum cdrAppStartupMode _result;
- HRESULT _hr = get_StartupMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1802)
- inline void VGCore::IVGApplication::PutStartupMode ( enum cdrAppStartupMode pVal ) {
- HRESULT _hr = put_StartupMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1803)
- inline VGCore::IVGPropertiesPtr VGCore::IVGApplication::GetGlobalUserData ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = get_GlobalUserData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(1804)
- inline VGCore::IVGPropertiesPtr VGCore::IVGApplication::GetSessionUserData ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = get_SessionUserData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(1805)
- inline _variant_t VGCore::IVGApplication::Evaluate ( _bstr_t Expression ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_Evaluate(Expression, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(1806)
- inline VGCore::IVGRectPtr VGCore::IVGApplication::CreateRect ( double x, double y, double Width, double Height ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = raw_CreateRect(x, y, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(1807)
- inline HRESULT VGCore::IVGApplication::ForceUpdateFontTable ( ) {
- HRESULT _hr = raw_ForceUpdateFontTable();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1808)
- inline VGCore::IVGSpreadPtr VGCore::IVGApplication::GetActiveSpread ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_ActiveSpread(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(1809)
- inline VGCore::IVGDocumentPtr VGCore::IVGApplication::OpenDocumentAsCopy ( _bstr_t FileName, struct IVGStructOpenOptions * Options ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_OpenDocumentAsCopy(FileName, Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1810)
- inline VGCore::IVGColorContextPtr VGCore::IVGApplication::GetDefaultColorContext ( ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = get_DefaultColorContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(1811)
- inline VGCore::IVGColorContextPtr VGCore::IVGApplication::CreateColorContext ( struct IVGColorProfile * RGBProfile, struct IVGColorProfile * CMYKProfile, struct IVGColorProfile * GrayscaleProfile, enum clrRenderingIntent RenderingIntent, enum clrColorModel BlendingColorModel ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = raw_CreateColorContext(RGBProfile, CMYKProfile, GrayscaleProfile, RenderingIntent, BlendingColorModel, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(1812)
- inline VGCore::IVGColorContextPtr VGCore::IVGApplication::CreateColorContext2 ( _bstr_t ColorProfileList, enum clrRenderingIntent RenderingIntent, enum clrColorModel BlendingColorModel ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = raw_CreateColorContext2(ColorProfileList, RenderingIntent, BlendingColorModel, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(1813)
- inline VGCore::IVGDocumentPtr VGCore::IVGApplication::CreateDocumentEx ( struct IVGStructCreateOptions * Options ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_CreateDocumentEx(Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1814)
- inline VGCore::IVGDocumentPtr VGCore::IVGApplication::OpenDocumentEx ( _bstr_t FileName, struct IVGStructOpenOptions * Options ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_OpenDocumentEx(FileName, Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1815)
- inline VGCore::IVGStructOpenOptionsPtr VGCore::IVGApplication::CreateStructOpenOptions ( ) {
- struct IVGStructOpenOptions * _result = 0;
- HRESULT _hr = raw_CreateStructOpenOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructOpenOptionsPtr(_result, false);
- }
- #pragma implementation_key(1816)
- inline VGCore::IVGStructCreateOptionsPtr VGCore::IVGApplication::CreateStructCreateOptions ( ) {
- struct IVGStructCreateOptions * _result = 0;
- HRESULT _hr = raw_CreateStructCreateOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructCreateOptionsPtr(_result, false);
- }
- #pragma implementation_key(1817)
- inline VGCore::IVGStructPasteOptionsPtr VGCore::IVGApplication::CreateStructPasteOptions ( ) {
- struct IVGStructPasteOptions * _result = 0;
- HRESULT _hr = raw_CreateStructPasteOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructPasteOptionsPtr(_result, false);
- }
- #pragma implementation_key(1818)
- inline VGCore::IVGProofColorSettingsPtr VGCore::IVGApplication::CreateProofColorSettings ( _bstr_t ProfileName, enum clrRenderingIntent RenderingIntent, VARIANT_BOOL PreserveColorValues ) {
- struct IVGProofColorSettings * _result = 0;
- HRESULT _hr = raw_CreateProofColorSettings(ProfileName, RenderingIntent, PreserveColorValues, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGProofColorSettingsPtr(_result, false);
- }
- #pragma implementation_key(1819)
- inline VGCore::IVGPaletteManagerPtr VGCore::IVGApplication::GetPaletteManager ( ) {
- struct IVGPaletteManager * _result = 0;
- HRESULT _hr = get_PaletteManager(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPaletteManagerPtr(_result, false);
- }
- #pragma implementation_key(1820)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateSpotColor ( _bstr_t PaletteIdentifier, long SpotColorID, long Tint ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateSpotColor(PaletteIdentifier, SpotColorID, Tint, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1821)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreateSpotColorByName ( _bstr_t PaletteIdentifier, _bstr_t SpotColorName, long Tint ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateSpotColorByName(PaletteIdentifier, SpotColorName, Tint, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1822)
- inline VGCore::IVGColorPtr VGCore::IVGApplication::CreatePaletteColor ( _bstr_t PaletteIdentifier, long ColorIndex ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreatePaletteColor(PaletteIdentifier, ColorIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1823)
- inline SAFEARRAY * VGCore::IVGApplication::GetSupportedOpenTypeFeatures ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetSupportedOpenTypeFeatures(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1824)
- inline VGCore::IVGFillMetadataPtr VGCore::IVGApplication::CreateFillMetadata ( ) {
- struct IVGFillMetadata * _result = 0;
- HRESULT _hr = raw_CreateFillMetadata(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillMetadataPtr(_result, false);
- }
- #pragma implementation_key(1825)
- inline _bstr_t VGCore::IVGApplication::GetAddonPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_AddonPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1826)
- inline _bstr_t VGCore::IVGApplication::GetProgramPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ProgramPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1827)
- inline _bstr_t VGCore::IVGApplication::GetActiveToolStateGuid ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ActiveToolStateGuid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1828)
- inline void VGCore::IVGApplication::PutActiveToolStateGuid ( _bstr_t pTool ) {
- HRESULT _hr = put_ActiveToolStateGuid(pTool);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1829)
- inline HRESULT VGCore::IVGApplication::RegisterToolState ( _bstr_t ToolStateGuid, _bstr_t ToolStateName, struct IVGToolState * ToolState ) {
- HRESULT _hr = raw_RegisterToolState(ToolStateGuid, ToolStateName, ToolState);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1830)
- inline VARIANT_BOOL VGCore::IVGApplication::UnregisterToolState ( _bstr_t ToolStateGuid ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UnregisterToolState(ToolStateGuid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1831)
- inline VGCore::IVGOnScreenCurvePtr VGCore::IVGApplication::CreateOnScreenCurve ( ) {
- struct IVGOnScreenCurve * _result = 0;
- HRESULT _hr = raw_CreateOnScreenCurve(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOnScreenCurvePtr(_result, false);
- }
- #pragma implementation_key(1832)
- inline VGCore::IVGOnScreenHandlePtr VGCore::IVGApplication::CreateOnScreenHandle ( ) {
- struct IVGOnScreenHandle * _result = 0;
- HRESULT _hr = raw_CreateOnScreenHandle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOnScreenHandlePtr(_result, false);
- }
- #pragma implementation_key(1833)
- inline VGCore::IVGOnScreenTextPtr VGCore::IVGApplication::CreateOnScreenText ( ) {
- struct IVGOnScreenText * _result = 0;
- HRESULT _hr = raw_CreateOnScreenText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOnScreenTextPtr(_result, false);
- }
- #pragma implementation_key(1834)
- inline VGCore::IVGMathUtilsPtr VGCore::IVGApplication::GetMath ( ) {
- struct IVGMathUtils * _result = 0;
- HRESULT _hr = get_Math(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGMathUtilsPtr(_result, false);
- }
- #pragma implementation_key(1835)
- inline HRESULT VGCore::IVGApplication::RegisterUserApplicationPreference ( _bstr_t GroupName, _bstr_t KeyName, const _variant_t & DefaultVal ) {
- HRESULT _hr = raw_RegisterUserApplicationPreference(GroupName, KeyName, DefaultVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1836)
- inline _variant_t VGCore::IVGApplication::GetApplicationPreferenceValue ( _bstr_t GroupName, _bstr_t KeyName ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetApplicationPreferenceValue(GroupName, KeyName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(1837)
- inline HRESULT VGCore::IVGApplication::SetApplicationPreferenceValue ( _bstr_t GroupName, _bstr_t KeyName, const _variant_t & newVal ) {
- HRESULT _hr = raw_SetApplicationPreferenceValue(GroupName, KeyName, newVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1838)
- inline VGCore::IVGPropertiesPtr VGCore::IVGApplication::CreateProperties ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = raw_CreateProperties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(1839)
- inline HRESULT VGCore::IVGApplication::RegisterToolShape ( _bstr_t ToolShapeGuid, struct IVGToolShapeAttributes * ToolShapeAttributes, struct IVGToolShape * ToolShape ) {
- HRESULT _hr = raw_RegisterToolShape(ToolShapeGuid, ToolShapeAttributes, ToolShape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1840)
- inline VGCore::IVGToolShapeAttributesPtr VGCore::IVGApplication::CreateToolShapeAttributes ( ) {
- struct IVGToolShapeAttributes * _result = 0;
- HRESULT _hr = raw_CreateToolShapeAttributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGToolShapeAttributesPtr(_result, false);
- }
- #pragma implementation_key(1841)
- inline _bstr_t VGCore::IVGApplication::GetUILanguageCode ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_UILanguageCode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1842)
- inline HRESULT VGCore::IVGApplication::StartTemporaryToolState ( _bstr_t StateGuid ) {
- HRESULT _hr = raw_StartTemporaryToolState(StateGuid);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1843)
- inline HRESULT VGCore::IVGApplication::MarkupLogout ( ) {
- HRESULT _hr = raw_MarkupLogout();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1844)
- inline HRESULT VGCore::IVGApplication::MarkupLogin ( struct IVGCommentAuthor * Author ) {
- HRESULT _hr = raw_MarkupLogin(Author);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1845)
- inline VGCore::IVGCommentAuthorPtr VGCore::IVGApplication::CreateMarkupAuthor ( _bstr_t Name, _bstr_t Avatar, _bstr_t Email, enum cdrAuthorAuthentication Authentication ) {
- struct IVGCommentAuthor * _result = 0;
- HRESULT _hr = raw_CreateMarkupAuthor(Name, Avatar, Email, Authentication, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentAuthorPtr(_result, false);
- }
- //
- // interface IVGDocuments wrapper method implementations
- //
- #pragma implementation_key(1846)
- inline VGCore::IVGApplicationPtr VGCore::IVGDocuments::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1847)
- inline VGCore::IVGApplicationPtr VGCore::IVGDocuments::GetParent ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1848)
- inline VGCore::IVGDocumentPtr VGCore::IVGDocuments::GetItem ( long Index ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1849)
- inline IUnknownPtr VGCore::IVGDocuments::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1850)
- inline long VGCore::IVGDocuments::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGOutlineStyles wrapper method implementations
- //
- #pragma implementation_key(1851)
- inline VGCore::IVGApplicationPtr VGCore::IVGOutlineStyles::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1852)
- inline VGCore::IVGApplicationPtr VGCore::IVGOutlineStyles::GetParent ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1853)
- inline VGCore::IVGOutlineStylePtr VGCore::IVGOutlineStyles::GetItem ( long Index ) {
- struct IVGOutlineStyle * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlineStylePtr(_result, false);
- }
- #pragma implementation_key(1854)
- inline IUnknownPtr VGCore::IVGOutlineStyles::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1855)
- inline long VGCore::IVGOutlineStyles::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1856)
- inline VGCore::IVGOutlineStylePtr VGCore::IVGOutlineStyles::Add ( ) {
- struct IVGOutlineStyle * _result = 0;
- HRESULT _hr = raw_Add(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlineStylePtr(_result, false);
- }
- #pragma implementation_key(1857)
- inline HRESULT VGCore::IVGOutlineStyles::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1858)
- inline HRESULT VGCore::IVGOutlineStyles::Save ( ) {
- HRESULT _hr = raw_Save();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1859)
- inline VGCore::IVGOutlineStylePtr VGCore::IVGOutlineStyles::AddStyle ( struct IVGOutlineStyle * Style ) {
- struct IVGOutlineStyle * _result = 0;
- HRESULT _hr = raw_AddStyle(Style, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlineStylePtr(_result, false);
- }
- //
- // interface IVGRulers wrapper method implementations
- //
- #pragma implementation_key(1860)
- inline VGCore::IVGApplicationPtr VGCore::IVGRulers::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1861)
- inline VGCore::IVGDocumentPtr VGCore::IVGRulers::GetParent ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1862)
- inline enum VGCore::cdrUnit VGCore::IVGRulers::GetVUnits ( ) {
- enum cdrUnit _result;
- HRESULT _hr = get_VUnits(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1863)
- inline void VGCore::IVGRulers::PutVUnits ( enum cdrUnit pVal ) {
- HRESULT _hr = put_VUnits(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1864)
- inline enum VGCore::cdrUnit VGCore::IVGRulers::GetHUnits ( ) {
- enum cdrUnit _result;
- HRESULT _hr = get_HUnits(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1865)
- inline void VGCore::IVGRulers::PutHUnits ( enum cdrUnit pVal ) {
- HRESULT _hr = put_HUnits(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGGrid wrapper method implementations
- //
- #pragma implementation_key(1866)
- inline VGCore::IVGApplicationPtr VGCore::IVGGrid::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1867)
- inline VGCore::IVGDocumentPtr VGCore::IVGGrid::GetParent ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1868)
- inline VARIANT_BOOL VGCore::IVGGrid::GetVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Visible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1869)
- inline void VGCore::IVGGrid::PutVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Visible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1870)
- inline enum VGCore::cdrGridType VGCore::IVGGrid::GetType ( ) {
- enum cdrGridType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1871)
- inline void VGCore::IVGGrid::PutType ( enum cdrGridType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1872)
- inline VARIANT_BOOL VGCore::IVGGrid::GetSnap ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Snap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1873)
- inline void VGCore::IVGGrid::PutSnap ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Snap(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1874)
- inline HRESULT VGCore::IVGGrid::SetFrequency ( double GridX, double GridY ) {
- HRESULT _hr = raw_SetFrequency(GridX, GridY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1875)
- inline double VGCore::IVGGrid::GetSpacingX ( ) {
- double _result = 0;
- HRESULT _hr = get_SpacingX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1876)
- inline void VGCore::IVGGrid::PutSpacingX ( double pVal ) {
- HRESULT _hr = put_SpacingX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1877)
- inline double VGCore::IVGGrid::GetSpacingY ( ) {
- double _result = 0;
- HRESULT _hr = get_SpacingY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1878)
- inline void VGCore::IVGGrid::PutSpacingY ( double pVal ) {
- HRESULT _hr = put_SpacingY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGAppPlugin wrapper method implementations
- //
- #pragma implementation_key(1879)
- inline HRESULT VGCore::IVGAppPlugin::OnLoad ( struct IVGApplication * Application ) {
- HRESULT _hr = raw_OnLoad(Application);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1880)
- inline HRESULT VGCore::IVGAppPlugin::StartSession ( ) {
- HRESULT _hr = raw_StartSession();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1881)
- inline HRESULT VGCore::IVGAppPlugin::StopSession ( ) {
- HRESULT _hr = raw_StopSession();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1882)
- inline HRESULT VGCore::IVGAppPlugin::OnUnload ( ) {
- HRESULT _hr = raw_OnUnload();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGPage wrapper method implementations
- //
- #pragma implementation_key(1883)
- inline _bstr_t VGCore::IVGPage::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1884)
- inline void VGCore::IVGPage::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1885)
- inline VGCore::IVGApplicationPtr VGCore::IVGPage::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1886)
- inline VGCore::IVGPagesPtr VGCore::IVGPage::GetParent ( ) {
- struct IVGPages * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagesPtr(_result, false);
- }
- #pragma implementation_key(1887)
- inline VGCore::IVGLayersPtr VGCore::IVGPage::GetLayers ( ) {
- struct IVGLayers * _result = 0;
- HRESULT _hr = get_Layers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayersPtr(_result, false);
- }
- #pragma implementation_key(1888)
- inline VGCore::IVGShapesPtr VGCore::IVGPage::GetShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_Shapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(1889)
- inline VGCore::IVGLayerPtr VGCore::IVGPage::GetActiveLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_ActiveLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1890)
- inline _bstr_t VGCore::IVGPage::GetPaper ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Paper(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1891)
- inline double VGCore::IVGPage::GetSizeWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1892)
- inline void VGCore::IVGPage::PutSizeWidth ( double pVal ) {
- HRESULT _hr = put_SizeWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1893)
- inline double VGCore::IVGPage::GetSizeHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1894)
- inline void VGCore::IVGPage::PutSizeHeight ( double pVal ) {
- HRESULT _hr = put_SizeHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1895)
- inline long VGCore::IVGPage::GetResolution ( ) {
- long _result = 0;
- HRESULT _hr = get_Resolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1896)
- inline void VGCore::IVGPage::PutResolution ( long pVal ) {
- HRESULT _hr = put_Resolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1897)
- inline double VGCore::IVGPage::GetBleed ( ) {
- double _result = 0;
- HRESULT _hr = get_Bleed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1898)
- inline void VGCore::IVGPage::PutBleed ( double pVal ) {
- HRESULT _hr = put_Bleed(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1899)
- inline enum VGCore::cdrPageOrientation VGCore::IVGPage::GetOrientation ( ) {
- enum cdrPageOrientation _result;
- HRESULT _hr = get_Orientation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1900)
- inline void VGCore::IVGPage::PutOrientation ( enum cdrPageOrientation pVal ) {
- HRESULT _hr = put_Orientation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1901)
- inline long VGCore::IVGPage::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1902)
- inline HRESULT VGCore::IVGPage::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1903)
- inline HRESULT VGCore::IVGPage::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1904)
- inline VGCore::IVGLayerPtr VGCore::IVGPage::CreateLayer ( _bstr_t LayerName ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = raw_CreateLayer(LayerName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1905)
- inline VGCore::IVGShapePtr VGCore::IVGPage::TextFind ( _bstr_t Text, VARIANT_BOOL CaseSensitive ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_TextFind(Text, CaseSensitive, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1906)
- inline HRESULT VGCore::IVGPage::TextReplace ( _bstr_t OldText, _bstr_t NewText, VARIANT_BOOL CaseSensitive, VARIANT_BOOL ReplaceSelectedOnly ) {
- HRESULT _hr = raw_TextReplace(OldText, NewText, CaseSensitive, ReplaceSelectedOnly);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1907)
- inline VGCore::IVGShapePtr VGCore::IVGPage::SelectShapesAtPoint ( double x, double y, VARIANT_BOOL SelectUnfilled, double HotArea ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_SelectShapesAtPoint(x, y, SelectUnfilled, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1908)
- inline VGCore::IVGShapePtr VGCore::IVGPage::SelectShapesFromRectangle ( double x1, double y1, double x2, double y2, VARIANT_BOOL Touch ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_SelectShapesFromRectangle(x1, y1, x2, y2, Touch, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1909)
- inline enum VGCore::cdrPageBackground VGCore::IVGPage::GetBackground ( ) {
- enum cdrPageBackground _result;
- HRESULT _hr = get_Background(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1910)
- inline void VGCore::IVGPage::PutBackground ( enum cdrPageBackground pVal ) {
- HRESULT _hr = put_Background(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1911)
- inline VGCore::IVGColorPtr VGCore::IVGPage::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1912)
- inline void VGCore::IVGPage::PutColor ( struct IVGColor * pVal ) {
- HRESULT _hr = put_Color(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1913)
- inline VARIANT_BOOL VGCore::IVGPage::GetPrintExportBackground ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PrintExportBackground(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1914)
- inline void VGCore::IVGPage::PutPrintExportBackground ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PrintExportBackground(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1915)
- inline VGCore::IVGShapeRangePtr VGCore::IVGPage::GetGuides ( enum cdrGuideType Type ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = get_Guides(Type, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(1916)
- inline VGCore::IVGShapePtr VGCore::IVGPage::FindShape ( _bstr_t Name, enum cdrShapeType Type, long StaticID, VARIANT_BOOL Recursive ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_FindShape(Name, Type, StaticID, Recursive, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1917)
- inline VGCore::IVGShapeRangePtr VGCore::IVGPage::FindShapes ( _bstr_t Name, enum cdrShapeType Type, VARIANT_BOOL Recursive ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_FindShapes(Name, Type, Recursive, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(1918)
- inline HRESULT VGCore::IVGPage::MoveTo ( long Index ) {
- HRESULT _hr = raw_MoveTo(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1919)
- inline HRESULT VGCore::IVGPage::UnlockAllShapes ( ) {
- HRESULT _hr = raw_UnlockAllShapes();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1920)
- inline VGCore::IVGPropertiesPtr VGCore::IVGPage::GetProperties ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = get_Properties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(1921)
- inline HRESULT VGCore::IVGPage::GetSize ( double * Width, double * Height ) {
- HRESULT _hr = raw_GetSize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1922)
- inline HRESULT VGCore::IVGPage::SetSize ( double Width, double Height ) {
- HRESULT _hr = raw_SetSize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1923)
- inline double VGCore::IVGPage::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1924)
- inline double VGCore::IVGPage::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1925)
- inline _variant_t VGCore::IVGPage::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(1926)
- inline VGCore::IVGPagePtr VGCore::IVGPage::GetPrevious ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1927)
- inline VGCore::IVGPagePtr VGCore::IVGPage::GetNext ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1928)
- inline VGCore::IVGShapesPtr VGCore::IVGPage::GetSelectableShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_SelectableShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(1929)
- inline VGCore::IVGTreeNodePtr VGCore::IVGPage::GetTreeNode ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_TreeNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(1930)
- inline HRESULT VGCore::IVGPage::GetCenterPosition ( double * CenterX, double * CenterY ) {
- HRESULT _hr = raw_GetCenterPosition(CenterX, CenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1931)
- inline HRESULT VGCore::IVGPage::SelectSize ( _bstr_t PageSizeName, VARIANT_BOOL Landscape ) {
- HRESULT _hr = raw_SelectSize(PageSizeName, Landscape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1932)
- inline VGCore::IVGLayerPtr VGCore::IVGPage::GetGuidesLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_GuidesLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1933)
- inline VGCore::IVGLayerPtr VGCore::IVGPage::GetDesktopLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_DesktopLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1934)
- inline VGCore::IVGLayerPtr VGCore::IVGPage::GetGridLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_GridLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1935)
- inline HRESULT VGCore::IVGPage::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1936)
- inline double VGCore::IVGPage::GetLeftX ( ) {
- double _result = 0;
- HRESULT _hr = get_LeftX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1937)
- inline double VGCore::IVGPage::GetRightX ( ) {
- double _result = 0;
- HRESULT _hr = get_RightX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1938)
- inline double VGCore::IVGPage::GetBottomY ( ) {
- double _result = 0;
- HRESULT _hr = get_BottomY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1939)
- inline double VGCore::IVGPage::GetTopY ( ) {
- double _result = 0;
- HRESULT _hr = get_TopY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1940)
- inline VGCore::IVGLayersPtr VGCore::IVGPage::GetAllLayers ( ) {
- struct IVGLayers * _result = 0;
- HRESULT _hr = get_AllLayers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayersPtr(_result, false);
- }
- #pragma implementation_key(1941)
- inline VGCore::IVGRectPtr VGCore::IVGPage::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(1942)
- inline VGCore::IVGSpreadPtr VGCore::IVGPage::GetSpread ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_Spread(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(1943)
- inline VGCore::IVGSnapPointPtr VGCore::IVGPage::FindClosestSnapPoint ( enum cdrPointType TypeSet, double PositionX, double PositionY, double HotArea ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_FindClosestSnapPoint(TypeSet, PositionX, PositionY, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(1944)
- inline VGCore::IVGRectPtr VGCore::IVGPage::GetObjectsBoundingBox ( VARIANT_BOOL SelectedOnly, VARIANT_BOOL IncludeNonPrintable ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = raw_GetObjectsBoundingBox(SelectedOnly, IncludeNonPrintable, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(1945)
- inline VGCore::IVGShapePtr VGCore::IVGPage::FindShapeAtPoint ( double x, double y, VARIANT_BOOL TreatAsFilled ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_FindShapeAtPoint(x, y, TreatAsFilled, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1946)
- inline VGCore::IVGPageMarkupPtr VGCore::IVGPage::GetMarkup ( ) {
- struct IVGPageMarkup * _result = 0;
- HRESULT _hr = get_Markup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPageMarkupPtr(_result, false);
- }
- //
- // interface IVGPages wrapper method implementations
- //
- #pragma implementation_key(1947)
- inline VGCore::IVGApplicationPtr VGCore::IVGPages::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1948)
- inline VGCore::IVGDocumentPtr VGCore::IVGPages::GetParent ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(1949)
- inline VGCore::IVGPagePtr VGCore::IVGPages::GetItem ( long Index ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1950)
- inline IUnknownPtr VGCore::IVGPages::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1951)
- inline long VGCore::IVGPages::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1952)
- inline VGCore::IVGPagePtr VGCore::IVGPages::GetFirst ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1953)
- inline VGCore::IVGPagePtr VGCore::IVGPages::GetLast ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- //
- // interface IVGLayers wrapper method implementations
- //
- #pragma implementation_key(1954)
- inline VGCore::IVGApplicationPtr VGCore::IVGLayers::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1955)
- inline VGCore::IVGPagePtr VGCore::IVGLayers::GetParent ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(1956)
- inline VGCore::IVGLayerPtr VGCore::IVGLayers::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1957)
- inline IUnknownPtr VGCore::IVGLayers::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(1958)
- inline long VGCore::IVGLayers::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1959)
- inline VGCore::IVGLayerPtr VGCore::IVGLayers::Find ( _bstr_t LayerName ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = raw_Find(LayerName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1960)
- inline VGCore::IVGLayerPtr VGCore::IVGLayers::GetTop ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(1961)
- inline VGCore::IVGLayerPtr VGCore::IVGLayers::GetBottom ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_Bottom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- //
- // interface IVGLayer wrapper method implementations
- //
- #pragma implementation_key(1962)
- inline VGCore::IVGApplicationPtr VGCore::IVGLayer::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(1963)
- inline VGCore::IVGLayersPtr VGCore::IVGLayer::GetParent ( ) {
- struct IVGLayers * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayersPtr(_result, false);
- }
- #pragma implementation_key(1964)
- inline _bstr_t VGCore::IVGLayer::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(1965)
- inline void VGCore::IVGLayer::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1966)
- inline VGCore::IVGShapesPtr VGCore::IVGLayer::GetShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_Shapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(1967)
- inline HRESULT VGCore::IVGLayer::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1968)
- inline VARIANT_BOOL VGCore::IVGLayer::GetVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Visible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1969)
- inline void VGCore::IVGLayer::PutVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Visible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1970)
- inline VARIANT_BOOL VGCore::IVGLayer::GetPrintable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Printable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1971)
- inline void VGCore::IVGLayer::PutPrintable ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Printable(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1972)
- inline VARIANT_BOOL VGCore::IVGLayer::GetEditable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Editable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1973)
- inline void VGCore::IVGLayer::PutEditable ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Editable(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1974)
- inline VARIANT_BOOL VGCore::IVGLayer::GetMaster ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Master(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1975)
- inline void VGCore::IVGLayer::PutMaster ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Master(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1976)
- inline VARIANT_BOOL VGCore::IVGLayer::GetOverrideColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OverrideColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(1977)
- inline void VGCore::IVGLayer::PutOverrideColor ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OverrideColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1978)
- inline VGCore::IVGColorPtr VGCore::IVGLayer::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(1979)
- inline void VGCore::IVGLayer::PutColor ( struct IVGColor * pVal ) {
- HRESULT _hr = put_Color(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(1980)
- inline HRESULT VGCore::IVGLayer::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1981)
- inline HRESULT VGCore::IVGLayer::MoveAbove ( struct IVGLayer * Layer ) {
- HRESULT _hr = raw_MoveAbove(Layer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1982)
- inline HRESULT VGCore::IVGLayer::MoveBelow ( struct IVGLayer * Layer ) {
- HRESULT _hr = raw_MoveBelow(Layer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1983)
- inline HRESULT VGCore::IVGLayer::Import ( _bstr_t FileName, enum cdrFilter Filter, struct IVGStructImportOptions * Options ) {
- HRESULT _hr = raw_Import(FileName, Filter, Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(1984)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRectangle ( double Left, double Top, double Right, double Bottom, long CornerUL, long CornerUR, long CornerLR, long CornerLL ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateRectangle(Left, Top, Right, Bottom, CornerUL, CornerUR, CornerLR, CornerLL, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1985)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateEllipse ( double Left, double Top, double Right, double Bottom, double StartAngle, double EndAngle, VARIANT_BOOL Pie ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateEllipse(Left, Top, Right, Bottom, StartAngle, EndAngle, Pie, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1986)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreatePolygon(Left, Top, Right, Bottom, Sides, SubPaths, Complexity, Star, StarComplexity, MaxComplexity, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1987)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateGridBoxes ( double Left, double Top, double Right, double Bottom, long Wide, long High ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateGridBoxes(Left, Top, Right, Bottom, Wide, High, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1988)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateSpiral ( double Left, double Top, double Right, double Bottom, long NumRevolutions, enum cdrSpiralType SpiralType, long GrowthRate ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateSpiral(Left, Top, Right, Bottom, NumRevolutions, SpiralType, GrowthRate, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1989)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateArtisticText(Left, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1990)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateParagraphText(Left, Top, Right, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1991)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCurveSegment ( double StartX, double StartY, double EndX, double EndY, double StartingControlPointLength, double StartingControlPointAngle, double EndingControlPointLength, double EndingControlPointAngle ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateCurveSegment(StartX, StartY, EndX, EndY, StartingControlPointLength, StartingControlPointAngle, EndingControlPointLength, EndingControlPointAngle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1992)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateLineSegment ( double StartX, double StartY, double EndX, double EndY ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateLineSegment(StartX, StartY, EndX, EndY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1993)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateConnector ( struct IVGSnapPoint * Start, struct IVGSnapPoint * End ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateConnector(Start, End, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1994)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCurve ( struct IVGCurve * Source ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateCurve(Source, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1995)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::Paste ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Paste(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1996)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateGuideAngle ( double x, double y, double Angle ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateGuideAngle(x, y, Angle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1997)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateGuide ( double x1, double y1, double x2, double y2 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateGuide(x1, y1, x2, y2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1998)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateEllipse2 ( double CenterX, double CenterY, double Radius1, double Radius2, double StartAngle, double EndAngle, VARIANT_BOOL Pie ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateEllipse2(CenterX, CenterY, Radius1, Radius2, StartAngle, EndAngle, Pie, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(1999)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::FindShape ( _bstr_t Name, enum cdrShapeType Type, long StaticID, VARIANT_BOOL Recursive ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_FindShape(Name, Type, StaticID, Recursive, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2000)
- inline VGCore::IVGShapeRangePtr VGCore::IVGLayer::FindShapes ( _bstr_t Name, enum cdrShapeType Type, VARIANT_BOOL Recursive ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_FindShapes(Name, Type, Recursive, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2001)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRectangle2 ( double x, double y, double Width, double Height, double RadiusUL, double RadiusUR, double RadiusLR, double RadiusLL ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateRectangle2(x, y, Width, Height, RadiusUL, RadiusUR, RadiusLR, RadiusLL, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2002)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateFreeConnector ( double x1, double y1, double x2, double y2 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateFreeConnector(x1, y1, x2, y2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2003)
- inline VGCore::IVGPropertiesPtr VGCore::IVGLayer::GetProperties ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = get_Properties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(2004)
- inline VGCore::IVGPropertiesPtr VGCore::IVGLayer::GetMasterProperties ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = get_MasterProperties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(2005)
- inline long VGCore::IVGLayer::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2006)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCurveSegment2 ( double x1, double y1, double StartingControlPointX, double StartingControlPointY, double EndingControlPointX, double EndingControlPointY, double x2, double y2 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateCurveSegment2(x1, y1, StartingControlPointX, StartingControlPointY, EndingControlPointX, EndingControlPointY, x2, y2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2007)
- inline VGCore::ICorelImportFilterPtr VGCore::IVGLayer::ImportEx ( _bstr_t FileName, enum cdrFilter Filter, struct IVGStructImportOptions * Options ) {
- struct ICorelImportFilter * _result = 0;
- HRESULT _hr = raw_ImportEx(FileName, Filter, Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICorelImportFilterPtr(_result, false);
- }
- #pragma implementation_key(2008)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateArtisticTextWide(Left, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2009)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateParagraphTextWide(Left, Top, Right, Bottom, Text, LanguageID, CharSet, Font, Size, Bold, Italic, Underline, Alignment, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2010)
- inline _variant_t VGCore::IVGLayer::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(2011)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateCustomShape ( _bstr_t TypeID, SAFEARRAY * * Parameters ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateCustomShape(TypeID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2012)
- 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 ) {
- struct IVGShape * _result = 0;
- 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);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2013)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateAngularDimension(Center, Point1, Point2, TextX, TextY, Precision, ShowUnits, Units, BoxedText, LeadingZero, Prefix, Suffix, OutlineWidth, Arrows, OutlineColor, TextFont, TextSize, TextColor, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2014)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateSymbol ( double x, double y, _bstr_t SymbolName, struct IVGSymbolLibrary * Library ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateSymbol(x, y, SymbolName, Library, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2015)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreatePolygon2 ( double CenterX, double CenterY, double Radius, long Sides, double Angle, double InnerRadius, VARIANT_BOOL Star, long Sharpness ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreatePolygon2(CenterX, CenterY, Radius, Sides, Angle, InnerRadius, Star, Sharpness, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2016)
- inline VARIANT_BOOL VGCore::IVGLayer::PasteSpecial ( _bstr_t FormatName, VARIANT_BOOL PasteLink, VARIANT_BOOL DisplayAsIcon, _bstr_t Caption, const _variant_t & Icon ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_PasteSpecial(FormatName, PasteLink, DisplayAsIcon, Caption, Icon, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2017)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateOLEObject ( _bstr_t ObjectID, VARIANT_BOOL DisplayAsIcon, _bstr_t Caption, const _variant_t & Icon ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateOLEObject(ObjectID, DisplayAsIcon, Caption, Icon, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2018)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateOLEObjectFromFile ( _bstr_t FileName, VARIANT_BOOL Link, VARIANT_BOOL DisplayAsIcon, _bstr_t Caption, const _variant_t & Icon ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateOLEObjectFromFile(FileName, Link, DisplayAsIcon, Caption, Icon, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2019)
- inline VGCore::IVGShapesPtr VGCore::IVGLayer::GetSelectableShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_SelectableShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(2020)
- inline VGCore::IVGTreeNodePtr VGCore::IVGLayer::GetTreeNode ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_TreeNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(2021)
- inline VARIANT_BOOL VGCore::IVGLayer::GetIsGuidesLayer ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsGuidesLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2022)
- inline VARIANT_BOOL VGCore::IVGLayer::GetIsDesktopLayer ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDesktopLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2023)
- inline VARIANT_BOOL VGCore::IVGLayer::GetIsGridLayer ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsGridLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2024)
- inline VARIANT_BOOL VGCore::IVGLayer::GetIsSpecialLayer ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSpecialLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2025)
- inline VGCore::IVGLayerPtr VGCore::IVGLayer::GetMasterLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_MasterLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(2026)
- inline long VGCore::IVGLayer::GetAbsoluteIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_AbsoluteIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2027)
- inline VGCore::IVGPagePtr VGCore::IVGLayer::GetPage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Page(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(2028)
- inline VGCore::IVGLayerPtr VGCore::IVGLayer::GetAbove ( VARIANT_BOOL IgnoreMasters ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_Above(IgnoreMasters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(2029)
- inline VGCore::IVGLayerPtr VGCore::IVGLayer::GetBelow ( VARIANT_BOOL IgnoreMasters ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_Below(IgnoreMasters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(2030)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRectangleRect ( struct IVGRect * Rect, double RadiusUL, double RadiusUR, double RadiusLR, double RadiusLL ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateRectangleRect(Rect, RadiusUL, RadiusUR, RadiusLR, RadiusLL, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2031)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateEllipseRect ( struct IVGRect * Rect, double StartAngle, double EndAngle, VARIANT_BOOL Pie ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateEllipseRect(Rect, StartAngle, EndAngle, Pie, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2032)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateConnectorEx ( enum cdrConnectorType Type, struct IVGSnapPoint * Start, struct IVGSnapPoint * End ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateConnectorEx(Type, Start, End, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2033)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateRightAngleConnector ( struct IVGSnapPoint * Start, struct IVGSnapPoint * End, double CornerRadius ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateRightAngleConnector(Start, End, CornerRadius, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2034)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBSpline ( struct IVGBSpline * Source ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateBSpline(Source, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2035)
- inline VGCore::IVGShapeRangePtr VGCore::IVGLayer::PasteEx ( struct IVGStructPasteOptions * Options ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_PasteEx(Options, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2036)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateToolShape ( _bstr_t ToolShapeGuid, struct IVGProperties * ShapeProperties ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateToolShape(ToolShapeGuid, ShapeProperties, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2037)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBitmap ( double Left, double Top, double Right, double Bottom, struct IVGImage * Image, struct IVGImage * ImageAlpha ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateBitmap(Left, Top, Right, Bottom, Image, ImageAlpha, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2038)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBitmap2 ( double x, double y, double Width, double Height, struct IVGImage * Image, struct IVGImage * ImageAlpha ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateBitmap2(x, y, Width, Height, Image, ImageAlpha, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2039)
- inline VGCore::IVGShapePtr VGCore::IVGLayer::CreateBitmapRect ( struct IVGRect * Rect, struct IVGImage * Image, struct IVGImage * ImageAlpha ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateBitmapRect(Rect, Image, ImageAlpha, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- //
- // interface IVGShapes wrapper method implementations
- //
- #pragma implementation_key(2040)
- inline VGCore::IVGApplicationPtr VGCore::IVGShapes::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2041)
- inline IDispatchPtr VGCore::IVGShapes::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(2042)
- inline VGCore::IVGShapePtr VGCore::IVGShapes::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2043)
- inline IUnknownPtr VGCore::IVGShapes::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2044)
- inline long VGCore::IVGShapes::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2045)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::Range ( SAFEARRAY * * IndexArray ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Range(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2046)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::All ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2047)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::AllExcluding ( SAFEARRAY * * IndexArray ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2048)
- inline VGCore::IVGShapePtr VGCore::IVGShapes::FindShape ( _bstr_t Name, enum cdrShapeType Type, long StaticID, VARIANT_BOOL Recursive, _bstr_t Query ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_FindShape(Name, Type, StaticID, Recursive, Query, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2049)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapes::FindShapes ( _bstr_t Name, enum cdrShapeType Type, VARIANT_BOOL Recursive, _bstr_t Query ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_FindShapes(Name, Type, Recursive, Query, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2050)
- inline VGCore::IVGShapePtr VGCore::IVGShapes::GetFirst ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2051)
- inline VGCore::IVGShapePtr VGCore::IVGShapes::GetLast ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- //
- // interface IVGShape wrapper method implementations
- //
- #pragma implementation_key(2052)
- inline VGCore::IVGApplicationPtr VGCore::IVGShape::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2053)
- inline IDispatchPtr VGCore::IVGShape::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(2054)
- inline long VGCore::IVGShape::GetStaticID ( ) {
- long _result = 0;
- HRESULT _hr = get_StaticID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2055)
- inline HRESULT VGCore::IVGShape::ConvertToCurves ( ) {
- HRESULT _hr = raw_ConvertToCurves();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2056)
- inline _bstr_t VGCore::IVGShape::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2057)
- inline void VGCore::IVGShape::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2058)
- inline VGCore::IVGShapesPtr VGCore::IVGShape::GetShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_Shapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(2059)
- inline VGCore::IVGRectanglePtr VGCore::IVGShape::GetRectangle ( ) {
- struct IVGRectangle * _result = 0;
- HRESULT _hr = get_Rectangle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectanglePtr(_result, false);
- }
- #pragma implementation_key(2060)
- inline double VGCore::IVGShape::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2061)
- inline void VGCore::IVGShape::PutPositionX ( double pVal ) {
- HRESULT _hr = put_PositionX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2062)
- inline double VGCore::IVGShape::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2063)
- inline void VGCore::IVGShape::PutPositionY ( double pVal ) {
- HRESULT _hr = put_PositionY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2064)
- inline double VGCore::IVGShape::GetSizeWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2065)
- inline void VGCore::IVGShape::PutSizeWidth ( double pVal ) {
- HRESULT _hr = put_SizeWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2066)
- inline double VGCore::IVGShape::GetSizeHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2067)
- inline void VGCore::IVGShape::PutSizeHeight ( double pVal ) {
- HRESULT _hr = put_SizeHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2068)
- inline VGCore::IVGEllipsePtr VGCore::IVGShape::GetEllipse ( ) {
- struct IVGEllipse * _result = 0;
- HRESULT _hr = get_Ellipse(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEllipsePtr(_result, false);
- }
- #pragma implementation_key(2069)
- inline VGCore::IVGPolygonPtr VGCore::IVGShape::GetPolygon ( ) {
- struct IVGPolygon * _result = 0;
- HRESULT _hr = get_Polygon(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPolygonPtr(_result, false);
- }
- #pragma implementation_key(2070)
- inline VGCore::IVGCurvePtr VGCore::IVGShape::GetCurve ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Curve(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2071)
- inline VGCore::IVGBitmapPtr VGCore::IVGShape::GetBitmap ( ) {
- struct IVGBitmap * _result = 0;
- HRESULT _hr = get_Bitmap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBitmapPtr(_result, false);
- }
- #pragma implementation_key(2072)
- inline enum VGCore::cdrShapeType VGCore::IVGShape::GetType ( ) {
- enum cdrShapeType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2073)
- inline VGCore::IVGOutlinePtr VGCore::IVGShape::GetOutline ( ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = get_Outline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- #pragma implementation_key(2074)
- inline VGCore::IVGFillPtr VGCore::IVGShape::GetFill ( ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = get_Fill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(2075)
- inline VGCore::IVGTextPtr VGCore::IVGShape::GetText ( ) {
- struct IVGText * _result = 0;
- HRESULT _hr = get_Text(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextPtr(_result, false);
- }
- #pragma implementation_key(2076)
- inline HRESULT VGCore::IVGShape::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2077)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Duplicate ( double OffsetX, double OffsetY ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Duplicate(OffsetX, OffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2078)
- inline HRESULT VGCore::IVGShape::Skew ( double AngleX, double AngleY ) {
- HRESULT _hr = raw_Skew(AngleX, AngleY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2079)
- inline HRESULT VGCore::IVGShape::Move ( double DeltaX, double DeltaY ) {
- HRESULT _hr = raw_Move(DeltaX, DeltaY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2080)
- inline double VGCore::IVGShape::GetRotationAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2081)
- inline void VGCore::IVGShape::PutRotationAngle ( double pVal ) {
- HRESULT _hr = put_RotationAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2082)
- inline double VGCore::IVGShape::GetRotationCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationCenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2083)
- inline void VGCore::IVGShape::PutRotationCenterX ( double pVal ) {
- HRESULT _hr = put_RotationCenterX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2084)
- inline double VGCore::IVGShape::GetRotationCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationCenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2085)
- inline void VGCore::IVGShape::PutRotationCenterY ( double pVal ) {
- HRESULT _hr = put_RotationCenterY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2086)
- inline HRESULT VGCore::IVGShape::Rotate ( double Angle ) {
- HRESULT _hr = raw_Rotate(Angle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2087)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_ConvertToBitmap(BitDepth, Grayscale, Dithered, TransparentBG, Resolution, AntiAliasing, UseColorProfile, MultiChannel, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2088)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Group ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Group(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2089)
- inline HRESULT VGCore::IVGShape::Ungroup ( ) {
- HRESULT _hr = raw_Ungroup();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2090)
- inline HRESULT VGCore::IVGShape::UngroupAll ( ) {
- HRESULT _hr = raw_UngroupAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2091)
- inline HRESULT VGCore::IVGShape::OrderToFront ( ) {
- HRESULT _hr = raw_OrderToFront();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2092)
- inline HRESULT VGCore::IVGShape::OrderToBack ( ) {
- HRESULT _hr = raw_OrderToBack();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2093)
- inline HRESULT VGCore::IVGShape::OrderForwardOne ( ) {
- HRESULT _hr = raw_OrderForwardOne();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2094)
- inline HRESULT VGCore::IVGShape::OrderBackOne ( ) {
- HRESULT _hr = raw_OrderBackOne();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2095)
- inline HRESULT VGCore::IVGShape::OrderFrontOf ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_OrderFrontOf(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2096)
- inline HRESULT VGCore::IVGShape::OrderBackOf ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_OrderBackOf(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2097)
- inline VARIANT_BOOL VGCore::IVGShape::OrderIsInFrontOf ( struct IVGShape * Shape ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_OrderIsInFrontOf(Shape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2098)
- inline HRESULT VGCore::IVGShape::AddToSelection ( ) {
- HRESULT _hr = raw_AddToSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2099)
- inline HRESULT VGCore::IVGShape::RemoveFromSelection ( ) {
- HRESULT _hr = raw_RemoveFromSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2100)
- inline HRESULT VGCore::IVGShape::Separate ( ) {
- HRESULT _hr = raw_Separate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2101)
- inline VGCore::IVGLayerPtr VGCore::IVGShape::GetLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_Layer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(2102)
- inline void VGCore::IVGShape::PutLayer ( struct IVGLayer * ppVal ) {
- HRESULT _hr = put_Layer(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2103)
- inline VGCore::IVGSnapPointsPtr VGCore::IVGShape::GetSnapPoints ( ) {
- struct IVGSnapPoints * _result = 0;
- HRESULT _hr = get_SnapPoints(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointsPtr(_result, false);
- }
- #pragma implementation_key(2104)
- inline VGCore::IVGConnectorPtr VGCore::IVGShape::GetConnector ( ) {
- struct IVGConnector * _result = 0;
- HRESULT _hr = get_Connector(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGConnectorPtr(_result, false);
- }
- #pragma implementation_key(2105)
- inline enum VGCore::cdrPositionOfPointOverShape VGCore::IVGShape::IsOnShape ( double x, double y, double HotArea ) {
- enum cdrPositionOfPointOverShape _result;
- HRESULT _hr = raw_IsOnShape(x, y, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2106)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGShape::CreateArrowHead ( ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_CreateArrowHead(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(2107)
- inline HRESULT VGCore::IVGShape::Copy ( ) {
- HRESULT _hr = raw_Copy();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2108)
- inline HRESULT VGCore::IVGShape::Cut ( ) {
- HRESULT _hr = raw_Cut();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2109)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Clone ( double OffsetX, double OffsetY ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Clone(OffsetX, OffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2110)
- inline HRESULT VGCore::IVGShape::Stretch ( double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
- HRESULT _hr = raw_Stretch(StretchX, StretchY, StretchCharactersSize);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2111)
- inline HRESULT VGCore::IVGShape::SetPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2112)
- inline HRESULT VGCore::IVGShape::SetSize ( double Width, double Height ) {
- HRESULT _hr = raw_SetSize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2113)
- inline HRESULT VGCore::IVGShape::GetPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2114)
- inline HRESULT VGCore::IVGShape::GetSize ( double * Width, double * Height ) {
- HRESULT _hr = raw_GetSize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2115)
- inline VGCore::IVGPropertiesPtr VGCore::IVGShape::GetProperties ( ) {
- struct IVGProperties * _result = 0;
- HRESULT _hr = get_Properties(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPropertiesPtr(_result, false);
- }
- #pragma implementation_key(2116)
- inline HRESULT VGCore::IVGShape::OrderReverse ( ) {
- HRESULT _hr = raw_OrderReverse();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2117)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Combine ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Combine(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2118)
- inline HRESULT VGCore::IVGShape::BreakApart ( ) {
- HRESULT _hr = raw_BreakApart();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2119)
- inline void VGCore::IVGShape::PutFill ( struct IVGFill * ppVal ) {
- HRESULT _hr = put_Fill(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2120)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Weld ( struct IVGShape * TargetShape, VARIANT_BOOL LeaveSource, VARIANT_BOOL LeaveTarget ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Weld(TargetShape, LeaveSource, LeaveTarget, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2121)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Trim ( struct IVGShape * TargetShape, VARIANT_BOOL LeaveSource, VARIANT_BOOL LeaveTarget ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Trim(TargetShape, LeaveSource, LeaveTarget, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2122)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Intersect ( struct IVGShape * TargetShape, VARIANT_BOOL LeaveSource, VARIANT_BOOL LeaveTarget ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Intersect(TargetShape, LeaveSource, LeaveTarget, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2123)
- inline VGCore::IVGEffectsPtr VGCore::IVGShape::GetEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_Effects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(2124)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::GetEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Effect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2125)
- 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 ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateDropShadow(Type, Opacity, Feather, OffsetX, OffsetY, Color, FeatherType, FeatherEdge, PerspectiveAngle, PerspectiveStretch, Fade, MergeMode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2126)
- 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 ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateBlend(Shape, Steps, ColorBlendType, Mode, Spacing, Angle, Loop, Path, RotateShapes, SpacingAccel, ColorAccel, AccelSize, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2127)
- 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 ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateExtrude(Type, VPType, VPX, VPY, Depth, Shading, BaseColor, ShadingColor, BevelDepth, BevelAngle, BevelColor, BevelOnly, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2128)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateEnvelope ( long PresetIndex, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateEnvelope(PresetIndex, Mode, KeepLines, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2129)
- inline HRESULT VGCore::IVGShape::Flip ( enum cdrFlipAxes Axes ) {
- HRESULT _hr = raw_Flip(Axes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2130)
- inline VARIANT_BOOL VGCore::IVGShape::GetLocked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Locked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2131)
- inline void VGCore::IVGShape::PutLocked ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Locked(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2132)
- inline double VGCore::IVGShape::GetOriginalWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginalWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2133)
- inline double VGCore::IVGShape::GetOriginalHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginalHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2134)
- inline VARIANT_BOOL VGCore::IVGShape::GetSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Selected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2135)
- inline void VGCore::IVGShape::PutSelected ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Selected(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2136)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateLens ( enum cdrLensType Type, double RateOrMagnification, struct IVGColor * Color1, struct IVGColor * Color2, enum cdrFountainFillBlendType ColorMapPalette ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateLens(Type, RateOrMagnification, Color1, Color2, ColorMapPalette, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2137)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreatePerspective ( const _variant_t & HorizVanishPointX, const _variant_t & HorizVanishPointY, const _variant_t & VertVanishPointX, const _variant_t & VertVanishPointY ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreatePerspective(HorizVanishPointX, HorizVanishPointY, VertVanishPointX, VertVanishPointY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2138)
- 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 ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateContour(Direction, Offset, Steps, BlendType, OutlineColor, FillColor, FillColor2, SpacingAccel, ColorAccel, EndCapType, CornerType, MiterLimit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2139)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreatePushPullDistortion ( double OriginX, double OriginY, long Amplitude ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreatePushPullDistortion(OriginX, OriginY, Amplitude, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2140)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateZipperDistortion ( double OriginX, double OriginY, long Amplitude, long Frequency, VARIANT_BOOL Random, VARIANT_BOOL Smooth, VARIANT_BOOL Local ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateZipperDistortion(OriginX, OriginY, Amplitude, Frequency, Random, Smooth, Local, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2141)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateTwisterDistortion ( double OriginX, double OriginY, double Angle ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateTwisterDistortion(OriginX, OriginY, Angle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2142)
- inline VGCore::IVGGuidePtr VGCore::IVGShape::GetGuide ( ) {
- struct IVGGuide * _result = 0;
- HRESULT _hr = get_Guide(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGGuidePtr(_result, false);
- }
- #pragma implementation_key(2143)
- inline HRESULT VGCore::IVGShape::AddToPowerClip ( struct IVGShape * Shape, enum cdrTriState CenterInContainer ) {
- HRESULT _hr = raw_AddToPowerClip(Shape, CenterInContainer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2144)
- inline HRESULT VGCore::IVGShape::RemoveFromContainer ( long Level ) {
- HRESULT _hr = raw_RemoveFromContainer(Level);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2145)
- inline VGCore::IVGPowerClipPtr VGCore::IVGShape::GetPowerClip ( ) {
- struct IVGPowerClip * _result = 0;
- HRESULT _hr = get_PowerClip(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPowerClipPtr(_result, false);
- }
- #pragma implementation_key(2146)
- inline VGCore::IVGShapePtr VGCore::IVGShape::GetPowerClipParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_PowerClipParent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2147)
- inline VARIANT_BOOL VGCore::IVGShape::GetDrapeFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DrapeFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2148)
- inline void VGCore::IVGShape::PutDrapeFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DrapeFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2149)
- inline VARIANT_BOOL VGCore::IVGShape::GetOverprintFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OverprintFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2150)
- inline void VGCore::IVGShape::PutOverprintFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OverprintFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2151)
- inline VARIANT_BOOL VGCore::IVGShape::GetOverprintOutline ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OverprintOutline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2152)
- inline void VGCore::IVGShape::PutOverprintOutline ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OverprintOutline(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2153)
- inline VGCore::IVGURLPtr VGCore::IVGShape::GetURL ( ) {
- struct IVGURL * _result = 0;
- HRESULT _hr = get_URL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGURLPtr(_result, false);
- }
- #pragma implementation_key(2154)
- inline VGCore::IVGDataItemsPtr VGCore::IVGShape::GetObjectData ( ) {
- struct IVGDataItems * _result = 0;
- HRESULT _hr = get_ObjectData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataItemsPtr(_result, false);
- }
- #pragma implementation_key(2155)
- inline VGCore::IVGCloneLinkPtr VGCore::IVGShape::GetCloneLink ( ) {
- struct IVGCloneLink * _result = 0;
- HRESULT _hr = get_CloneLink(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCloneLinkPtr(_result, false);
- }
- #pragma implementation_key(2156)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::GetClones ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = get_Clones(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2157)
- inline double VGCore::IVGShape::GetAbsoluteHScale ( ) {
- double _result = 0;
- HRESULT _hr = get_AbsoluteHScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2158)
- inline double VGCore::IVGShape::GetAbsoluteVScale ( ) {
- double _result = 0;
- HRESULT _hr = get_AbsoluteVScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2159)
- inline double VGCore::IVGShape::GetAbsoluteSkew ( ) {
- double _result = 0;
- HRESULT _hr = get_AbsoluteSkew(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2160)
- inline VGCore::IVGTransparencyPtr VGCore::IVGShape::GetTransparency ( ) {
- struct IVGTransparency * _result = 0;
- HRESULT _hr = get_Transparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransparencyPtr(_result, false);
- }
- #pragma implementation_key(2161)
- inline HRESULT VGCore::IVGShape::GetMatrix ( double * d11, double * d12, double * d21, double * d22, double * tx, double * ty ) {
- HRESULT _hr = raw_GetMatrix(d11, d12, d21, d22, tx, ty);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2162)
- inline HRESULT VGCore::IVGShape::SetMatrix ( double d11, double d12, double d21, double d22, double tx, double ty ) {
- HRESULT _hr = raw_SetMatrix(d11, d12, d21, d22, tx, ty);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2163)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_ConvertToBitmapEx(Mode, Dithered, Transparent, Resolution, AntiAliasing, UseColorProfile, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2164)
- inline HRESULT VGCore::IVGShape::SkewEx ( double AngleX, double AngleY, double CenterX, double CenterY ) {
- HRESULT _hr = raw_SkewEx(AngleX, AngleY, CenterX, CenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2165)
- inline HRESULT VGCore::IVGShape::RotateEx ( double Angle, double CenterX, double CenterY ) {
- HRESULT _hr = raw_RotateEx(Angle, CenterX, CenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2166)
- inline VGCore::IVGShapePtr VGCore::IVGShape::GetParentGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ParentGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2167)
- inline HRESULT VGCore::IVGShape::SetBoundingBox ( double x, double y, double Width, double Height, VARIANT_BOOL KeepAspect, enum cdrReferencePoint ReferencePoint ) {
- HRESULT _hr = raw_SetBoundingBox(x, y, Width, Height, KeepAspect, ReferencePoint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2168)
- inline HRESULT VGCore::IVGShape::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2169)
- inline HRESULT VGCore::IVGShape::SetRotationCenter ( double x, double y ) {
- HRESULT _hr = raw_SetRotationCenter(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2170)
- inline HRESULT VGCore::IVGShape::ClearEffect ( enum cdrEffectType Type ) {
- HRESULT _hr = raw_ClearEffect(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2171)
- inline VGCore::IVGShapePtr VGCore::IVGShape::GetNext ( enum cdrShapeLevel Level, VARIANT_BOOL EnterGroups, VARIANT_BOOL Loop ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Next(Level, EnterGroups, Loop, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2172)
- inline VGCore::IVGShapePtr VGCore::IVGShape::GetPrevious ( enum cdrShapeLevel Level, VARIANT_BOOL EnterGroups, VARIANT_BOOL Loop ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Previous(Level, EnterGroups, Loop, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2173)
- inline HRESULT VGCore::IVGShape::StretchEx ( double CenterX, double CenterY, double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
- HRESULT _hr = raw_StretchEx(CenterX, CenterY, StretchX, StretchY, StretchCharactersSize);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2174)
- inline HRESULT VGCore::IVGShape::SetSizeEx ( double CenterX, double CenterY, double Width, double Height ) {
- HRESULT _hr = raw_SetSizeEx(CenterX, CenterY, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2175)
- inline HRESULT VGCore::IVGShape::GetBoundingBox ( double * x, double * y, double * Width, double * Height, VARIANT_BOOL UseOutline ) {
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, UseOutline);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2176)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::UngroupEx ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_UngroupEx(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2177)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::UngroupAllEx ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_UngroupAllEx(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2178)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::BreakApartEx ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_BreakApartEx(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2179)
- inline HRESULT VGCore::IVGShape::ApplyStyle ( _bstr_t StyleName ) {
- HRESULT _hr = raw_ApplyStyle(StyleName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2180)
- inline enum VGCore::cdrWrapStyle VGCore::IVGShape::GetWrapText ( ) {
- enum cdrWrapStyle _result;
- HRESULT _hr = get_WrapText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2181)
- inline void VGCore::IVGShape::PutWrapText ( enum cdrWrapStyle pVal ) {
- HRESULT _hr = put_WrapText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2182)
- inline double VGCore::IVGShape::GetTextWrapOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_TextWrapOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2183)
- inline void VGCore::IVGShape::PutTextWrapOffset ( double pVal ) {
- HRESULT _hr = put_TextWrapOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2184)
- inline VGCore::IVGShapePtr VGCore::IVGShape::PlaceTextInside ( struct IVGShape * TextShape ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_PlaceTextInside(TextShape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2185)
- inline VGCore::IVGCurvePtr VGCore::IVGShape::GetDisplayCurve ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_DisplayCurve(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2186)
- inline _variant_t VGCore::IVGShape::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(2187)
- inline VGCore::IVGCustomShapePtr VGCore::IVGShape::GetCustom ( ) {
- struct IVGCustomShape * _result = 0;
- HRESULT _hr = get_Custom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCustomShapePtr(_result, false);
- }
- #pragma implementation_key(2188)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateCustomEffect ( _bstr_t EffectID, SAFEARRAY * * Parameters ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateCustomEffect(EffectID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2189)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateCustomDistortion ( _bstr_t DistortionID, SAFEARRAY * * Parameters ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateCustomDistortion(DistortionID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2190)
- inline HRESULT VGCore::IVGShape::AlignToShape ( enum cdrAlignType Type, struct IVGShape * Shape, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToShape(Type, Shape, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2191)
- inline HRESULT VGCore::IVGShape::AlignToShapeRange ( enum cdrAlignType Type, struct IVGShapeRange * ShapeRange, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToShapeRange(Type, ShapeRange, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2192)
- inline HRESULT VGCore::IVGShape::AlignToPage ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToPage(Type, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2193)
- inline HRESULT VGCore::IVGShape::AlignToPageCenter ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToPageCenter(Type, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2194)
- inline HRESULT VGCore::IVGShape::AlignToGrid ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToGrid(Type, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2195)
- inline HRESULT VGCore::IVGShape::AlignToPoint ( enum cdrAlignType Type, double x, double y, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToPoint(Type, x, y, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2196)
- inline VGCore::IVGDimensionPtr VGCore::IVGShape::GetDimension ( ) {
- struct IVGDimension * _result = 0;
- HRESULT _hr = get_Dimension(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDimensionPtr(_result, false);
- }
- #pragma implementation_key(2197)
- inline VGCore::IVGSymbolPtr VGCore::IVGShape::GetSymbol ( ) {
- struct IVGSymbol * _result = 0;
- HRESULT _hr = get_Symbol(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolPtr(_result, false);
- }
- #pragma implementation_key(2198)
- inline VGCore::IVGShapePtr VGCore::IVGShape::ConvertToSymbol ( _bstr_t Name ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_ConvertToSymbol(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2199)
- inline VGCore::IVGOLEPtr VGCore::IVGShape::GetOLE ( ) {
- struct IVGOLE * _result = 0;
- HRESULT _hr = get_OLE(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOLEPtr(_result, false);
- }
- #pragma implementation_key(2200)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::DuplicateAsRange ( double OffsetX, double OffsetY ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_DuplicateAsRange(OffsetX, OffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2201)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::CloneAsRange ( double OffsetX, double OffsetY ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_CloneAsRange(OffsetX, OffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2202)
- inline HRESULT VGCore::IVGShape::MoveToLayer ( struct IVGLayer * Layer ) {
- HRESULT _hr = raw_MoveToLayer(Layer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2203)
- inline VGCore::IVGShapePtr VGCore::IVGShape::CopyToLayer ( struct IVGLayer * Layer ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CopyToLayer(Layer, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2204)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::CopyToLayerAsRange ( struct IVGLayer * Layer ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_CopyToLayerAsRange(Layer, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2205)
- inline HRESULT VGCore::IVGShape::ClearTransformations ( ) {
- HRESULT _hr = raw_ClearTransformations();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2206)
- inline HRESULT VGCore::IVGShape::Distribute ( enum cdrDistributeType Type, VARIANT_BOOL PageExtent ) {
- HRESULT _hr = raw_Distribute(Type, PageExtent);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2207)
- inline VARIANT_BOOL VGCore::IVGShape::CompareTo ( struct IVGShape * Shape, enum cdrCompareType CompareType, enum cdrCompareCondition Condition ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CompareTo(Shape, CompareType, Condition, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2208)
- inline VARIANT_BOOL VGCore::IVGShape::GetSelectable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Selectable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2209)
- inline HRESULT VGCore::IVGShape::ApplyEffectInvert ( ) {
- HRESULT _hr = raw_ApplyEffectInvert();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2210)
- inline HRESULT VGCore::IVGShape::ApplyEffectPosterize ( long Level ) {
- HRESULT _hr = raw_ApplyEffectPosterize(Level);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2211)
- inline HRESULT VGCore::IVGShape::ApplyEffectBCI ( long Brighness, long Contrast, long Intensity ) {
- HRESULT _hr = raw_ApplyEffectBCI(Brighness, Contrast, Intensity);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2212)
- inline HRESULT VGCore::IVGShape::ApplyEffectColorBalance ( long CyanRed, long MagentaGreen, long YellowBlue, VARIANT_BOOL ApplyToShadows, VARIANT_BOOL ApplyToMidtones, VARIANT_BOOL ApplyToHighlights, VARIANT_BOOL PreserveLuminance ) {
- HRESULT _hr = raw_ApplyEffectColorBalance(CyanRed, MagentaGreen, YellowBlue, ApplyToShadows, ApplyToMidtones, ApplyToHighlights, PreserveLuminance);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2213)
- inline HRESULT VGCore::IVGShape::ApplyEffectGamma ( double Gamma ) {
- HRESULT _hr = raw_ApplyEffectGamma(Gamma);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2214)
- inline HRESULT VGCore::IVGShape::ApplyEffectHSL ( const _variant_t & Hue, const _variant_t & Saturation, const _variant_t & Lightness ) {
- HRESULT _hr = raw_ApplyEffectHSL(Hue, Saturation, Lightness);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2215)
- inline HRESULT VGCore::IVGShape::TransformMatrix ( double d11, double d12, double d21, double d22, double tx, double ty ) {
- HRESULT _hr = raw_TransformMatrix(d11, d12, d21, d22, tx, ty);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2216)
- inline HRESULT VGCore::IVGShape::AffineTransform ( double d11, double d12, double d21, double d22, double CenterX, double CenterY ) {
- HRESULT _hr = raw_AffineTransform(d11, d12, d21, d22, CenterX, CenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2217)
- inline VGCore::IVGTreeNodePtr VGCore::IVGShape::GetTreeNode ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_TreeNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(2218)
- inline HRESULT VGCore::IVGShape::ReplaceWith ( struct IVGShape * VirtualShape ) {
- HRESULT _hr = raw_ReplaceWith(VirtualShape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2219)
- inline VARIANT_BOOL VGCore::IVGShape::GetVirtual ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Virtual(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2220)
- inline VARIANT_BOOL VGCore::IVGShape::GetCanHaveFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanHaveFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2221)
- inline VARIANT_BOOL VGCore::IVGShape::GetCanHaveOutline ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanHaveOutline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2222)
- inline VARIANT_BOOL VGCore::IVGShape::GetIsSimpleShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSimpleShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2223)
- inline HRESULT VGCore::IVGShape::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2224)
- inline HRESULT VGCore::IVGShape::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2225)
- inline HRESULT VGCore::IVGShape::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2226)
- inline enum VGCore::cdrFillMode VGCore::IVGShape::GetFillMode ( ) {
- enum cdrFillMode _result;
- HRESULT _hr = get_FillMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2227)
- inline void VGCore::IVGShape::PutFillMode ( enum cdrFillMode pVal ) {
- HRESULT _hr = put_FillMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2228)
- inline double VGCore::IVGShape::GetLeftX ( ) {
- double _result = 0;
- HRESULT _hr = get_LeftX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2229)
- inline double VGCore::IVGShape::GetRightX ( ) {
- double _result = 0;
- HRESULT _hr = get_RightX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2230)
- inline double VGCore::IVGShape::GetTopY ( ) {
- double _result = 0;
- HRESULT _hr = get_TopY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2231)
- inline double VGCore::IVGShape::GetBottomY ( ) {
- double _result = 0;
- HRESULT _hr = get_BottomY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2232)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::StepAndRepeat ( long NumCopies, double DistanceX, double DistanceY, enum cdrDistanceMode ModeX, enum cdrDirection DirectionX, enum cdrDistanceMode ModeY, enum cdrDirection DirectionY ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_StepAndRepeat(NumCopies, DistanceX, DistanceY, ModeX, DirectionX, ModeY, DirectionY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2233)
- inline VARIANT_BOOL VGCore::IVGShape::GetOverprintBitmap ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OverprintBitmap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2234)
- inline void VGCore::IVGShape::PutOverprintBitmap ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OverprintBitmap(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2235)
- inline VARIANT_BOOL VGCore::IVGShape::IsTypeAnyOf ( SAFEARRAY * * TypeList ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsTypeAnyOf(TypeList, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2236)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::GetLinkedShapes ( enum cdrShapeLinkType LinkType ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_GetLinkedShapes(LinkType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2237)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateEnvelopeFromShape ( struct IVGShape * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateEnvelopeFromShape(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2238)
- inline VGCore::IVGEffectPtr VGCore::IVGShape::CreateEnvelopeFromCurve ( struct IVGCurve * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateEnvelopeFromCurve(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(2239)
- inline VGCore::IVGEPSPtr VGCore::IVGShape::GetEPS ( ) {
- struct IVGEPS * _result = 0;
- HRESULT _hr = get_EPS(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEPSPtr(_result, false);
- }
- #pragma implementation_key(2240)
- inline _variant_t VGCore::IVGShape::Evaluate ( _bstr_t Expression ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_Evaluate(Expression, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(2241)
- inline VGCore::IVGRectPtr VGCore::IVGShape::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(2242)
- inline HRESULT VGCore::IVGShape::GetPositionEx ( enum cdrReferencePoint ReferencePoint, double * x, double * y ) {
- HRESULT _hr = raw_GetPositionEx(ReferencePoint, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2243)
- inline HRESULT VGCore::IVGShape::SetPositionEx ( enum cdrReferencePoint ReferencePoint, double x, double y ) {
- HRESULT _hr = raw_SetPositionEx(ReferencePoint, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2244)
- inline double VGCore::IVGShape::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2245)
- inline void VGCore::IVGShape::PutCenterX ( double pVal ) {
- HRESULT _hr = put_CenterX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2246)
- inline double VGCore::IVGShape::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2247)
- inline void VGCore::IVGShape::PutCenterY ( double pVal ) {
- HRESULT _hr = put_CenterY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2248)
- inline void VGCore::IVGShape::PutLeftX ( double pVal ) {
- HRESULT _hr = put_LeftX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2249)
- inline void VGCore::IVGShape::PutRightX ( double pVal ) {
- HRESULT _hr = put_RightX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2250)
- inline void VGCore::IVGShape::PutTopY ( double pVal ) {
- HRESULT _hr = put_TopY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2251)
- inline void VGCore::IVGShape::PutBottomY ( double pVal ) {
- HRESULT _hr = put_BottomY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2252)
- inline long VGCore::IVGShape::GetZOrder ( ) {
- long _result = 0;
- HRESULT _hr = get_ZOrder(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2253)
- inline VARIANT_BOOL VGCore::IVGShape::CompareToEx ( struct IVGShape * Shape2, _bstr_t Condition, const _variant_t & Data ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CompareToEx(Shape2, Condition, Data, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2254)
- inline VARIANT_BOOL VGCore::IVGShape::CopyPropertiesFrom ( struct IVGShape * Source, enum cdrCopyProperties Properties ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CopyPropertiesFrom(Source, Properties, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2255)
- inline enum VGCore::cdrOverprintState VGCore::IVGShape::GetOverprintFillState ( ) {
- enum cdrOverprintState _result;
- HRESULT _hr = raw_GetOverprintFillState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2256)
- inline enum VGCore::cdrOverprintState VGCore::IVGShape::GetOverprintOutlineState ( ) {
- enum cdrOverprintState _result;
- HRESULT _hr = raw_GetOverprintOutlineState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2257)
- inline VGCore::IVGPagePtr VGCore::IVGShape::GetPage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Page(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(2258)
- inline VGCore::IVGSnapPointsPtr VGCore::IVGShape::SnapPointsOfType ( enum cdrPointType TypeSet ) {
- struct IVGSnapPoints * _result = 0;
- HRESULT _hr = raw_SnapPointsOfType(TypeSet, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointsPtr(_result, false);
- }
- #pragma implementation_key(2259)
- inline VGCore::IVGSnapPointPtr VGCore::IVGShape::FindSnapPoint ( _bstr_t ReferenceData ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_FindSnapPoint(ReferenceData, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2260)
- inline VGCore::IVGSpreadPtr VGCore::IVGShape::GetSpread ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_Spread(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(2261)
- inline VARIANT_BOOL VGCore::IVGShape::GetPixelAlignedRendering ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PixelAlignedRendering(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2262)
- inline void VGCore::IVGShape::PutPixelAlignedRendering ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PixelAlignedRendering(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2263)
- inline VGCore::IVGBSplinePtr VGCore::IVGShape::GetBSpline ( ) {
- struct IVGBSpline * _result = 0;
- HRESULT _hr = get_BSpline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBSplinePtr(_result, false);
- }
- #pragma implementation_key(2264)
- inline VGCore::IVGDocumentPtr VGCore::IVGShape::CreateDocumentFrom ( VARIANT_BOOL TemporaryDocument ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_CreateDocumentFrom(TemporaryDocument, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(2265)
- 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 ) {
- HRESULT _hr = raw_AlignAndDistribute(MethodH, MethodV, AlignTo, DistributeArea, UseOutline, TextAlignOrigin, PointX, PointY, DistributeRect);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2266)
- inline VGCore::IVGStylePtr VGCore::IVGShape::GetStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(2267)
- inline VGCore::IVGShapePtr VGCore::IVGShape::CreateBoundary ( double x, double y, VARIANT_BOOL PlaceOnTop, VARIANT_BOOL DeleteSource ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateBoundary(x, y, PlaceOnTop, DeleteSource, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2268)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::EqualDivide ( long Divisions, double Gap, VARIANT_BOOL Group, VARIANT_BOOL Combine, VARIANT_BOOL DeleteSource ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_EqualDivide(Divisions, Gap, Group, Combine, DeleteSource, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2269)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Project ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Project(Plane, ReferencePoint, ApplyToDuplicate, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2270)
- inline VGCore::IVGShapePtr VGCore::IVGShape::Unproject ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Unproject(Plane, ReferencePoint, ApplyToDuplicate, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2271)
- inline VGCore::IVGTransformMatrixPtr VGCore::IVGShape::GetTransformationMatrix ( ) {
- struct IVGTransformMatrix * _result = 0;
- HRESULT _hr = get_TransformationMatrix(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransformMatrixPtr(_result, false);
- }
- #pragma implementation_key(2272)
- inline void VGCore::IVGShape::PutTransformationMatrix ( struct IVGTransformMatrix * TransformMatrix ) {
- HRESULT _hr = put_TransformationMatrix(TransformMatrix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2273)
- inline HRESULT VGCore::IVGShape::ApplyTransformMatrix ( struct IVGTransformMatrix * TransformMatrix ) {
- HRESULT _hr = raw_ApplyTransformMatrix(TransformMatrix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2274)
- inline VARIANT_BOOL VGCore::IVGShape::GetVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Visible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2275)
- inline void VGCore::IVGShape::PutVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Visible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2276)
- inline HRESULT VGCore::IVGShape::ModifyToolShapeProperties ( struct IVGProperties * ShapePropertiesToModify ) {
- HRESULT _hr = raw_ModifyToolShapeProperties(ShapePropertiesToModify);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2277)
- inline _bstr_t VGCore::IVGShape::GetToolShapeGuid ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetToolShapeGuid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2278)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShape::CreateParallelCurves ( long Count, double distanceBetweenCurves ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_CreateParallelCurves(Count, distanceBetweenCurves, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(2279)
- inline VGCore::IVGShapePtr VGCore::IVGShape::FindShapeAtPoint ( double x, double y, VARIANT_BOOL TreatAsFilled ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_FindShapeAtPoint(x, y, TreatAsFilled, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2280)
- inline SAFEARRAY * VGCore::IVGShape::GetColorTypes ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetColorTypes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2281)
- inline SAFEARRAY * VGCore::IVGShape::GetColors ( long MaxBitmapColors ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetColors(MaxBitmapColors, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2282)
- inline HRESULT VGCore::IVGShape::FlattenEffects ( ) {
- HRESULT _hr = raw_FlattenEffects();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2283)
- 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 ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_CreateInnerShadow(Opacity, Feather, OffsetX, OffsetY, Color, FeatherType, FeatherEdge, MergeMode, Depth, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- //
- // interface IVGCustomEffect wrapper method implementations
- //
- #pragma implementation_key(2284)
- inline _bstr_t VGCore::IVGCustomEffect::GetEffectID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_EffectID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2285)
- inline VGCore::IVGShapePtr VGCore::IVGCustomEffect::GetEffectGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_EffectGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- //
- // interface IVGCloneLink wrapper method implementations
- //
- #pragma implementation_key(2286)
- inline VGCore::IVGApplicationPtr VGCore::IVGCloneLink::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2287)
- inline VGCore::IVGShapePtr VGCore::IVGCloneLink::GetParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2288)
- inline VGCore::IVGShapePtr VGCore::IVGCloneLink::GetCloneParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_CloneParent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2289)
- inline VARIANT_BOOL VGCore::IVGCloneLink::GetFillLinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FillLinked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2290)
- inline void VGCore::IVGCloneLink::PutFillLinked ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FillLinked(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2291)
- inline VARIANT_BOOL VGCore::IVGCloneLink::GetOutlineLinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OutlineLinked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2292)
- inline void VGCore::IVGCloneLink::PutOutlineLinked ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OutlineLinked(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2293)
- inline VARIANT_BOOL VGCore::IVGCloneLink::GetShapeLinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShapeLinked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2294)
- inline void VGCore::IVGCloneLink::PutShapeLinked ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShapeLinked(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2295)
- inline VARIANT_BOOL VGCore::IVGCloneLink::GetTransformLinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TransformLinked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2296)
- inline void VGCore::IVGCloneLink::PutTransformLinked ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TransformLinked(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2297)
- inline VARIANT_BOOL VGCore::IVGCloneLink::GetBitmapColorMaskLinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BitmapColorMaskLinked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2298)
- inline void VGCore::IVGCloneLink::PutBitmapColorMaskLinked ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BitmapColorMaskLinked(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2299)
- inline HRESULT VGCore::IVGCloneLink::RestoreAllLinks ( ) {
- HRESULT _hr = raw_RestoreAllLinks();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGCommentTarget wrapper method implementations
- //
- #pragma implementation_key(2300)
- inline VGCore::IVGShapePtr VGCore::IVGCommentTarget::GetShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Shape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2301)
- inline void VGCore::IVGCommentTarget::PutRefShape ( struct IVGShape * * pRet ) {
- HRESULT _hr = putref_Shape(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2302)
- inline _bstr_t VGCore::IVGCommentTarget::GetGuid ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Guid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2303)
- inline void VGCore::IVGCommentTarget::PutGuid ( _bstr_t pRet ) {
- HRESULT _hr = put_Guid(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGSelectionInformation wrapper method implementations
- //
- #pragma implementation_key(2304)
- inline VGCore::IVGApplicationPtr VGCore::IVGSelectionInformation::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2305)
- inline VGCore::IVGDocumentPtr VGCore::IVGSelectionInformation::GetParent ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(2306)
- inline long VGCore::IVGSelectionInformation::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2307)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFirstShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FirstShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2308)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetSecondShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_SecondShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2309)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetBlendTopShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_BlendTopShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2310)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetBlendBottomShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_BlendBottomShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2311)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetBlendPath ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_BlendPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2312)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCreateBlend ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCreateBlend(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2313)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDistortionShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_DistortionShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2314)
- inline enum VGCore::cdrDistortionType VGCore::IVGSelectionInformation::GetDistortionType ( ) {
- enum cdrDistortionType _result;
- HRESULT _hr = get_DistortionType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2315)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetExtrudeFaceShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ExtrudeFaceShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2316)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetExtrudeGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ExtrudeGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2317)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetExtrudeBevelGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ExtrudeBevelGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2318)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetContourControlShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ContourControlShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2319)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetContourGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ContourGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2320)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDropShadowControlShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_DropShadowControlShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2321)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDropShadowGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_DropShadowGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2322)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDimensionControlShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_DimensionControlShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2323)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetDimensionGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_DimensionGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2324)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetConnectorLines ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ConnectorLines(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2325)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFittedTextControlShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FittedTextControlShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2326)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFittedText ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FittedText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2327)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFirstShapeWithOutline ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FirstShapeWithOutline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2328)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetFirstShapeWithFill ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FirstShapeWithFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2329)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetNaturalMediaControlShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_NaturalMediaControlShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2330)
- inline VGCore::IVGShapePtr VGCore::IVGSelectionInformation::GetNaturalMediaGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_NaturalMediaGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2331)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanPrint ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanPrint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2332)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEditingText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEditingText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2333)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsTextSelection ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsTextSelection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2334)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsOnPowerClipContents ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOnPowerClipContents(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2335)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEditingRollOver ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEditingRollOver(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2336)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyFillOutline ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyFillOutline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2337)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsControlSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsControlSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2338)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanDeleteControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanDeleteControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2339)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2340)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsRegularShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsRegularShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2341)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsControlShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsControlShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2342)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBlendControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsBlendControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2343)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBlendGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsBlendGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2344)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsCloneControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsCloneControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2345)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsContourControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsContourControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2346)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsContourGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsContourGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2347)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDropShadowControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDropShadowControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2348)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDropShadowGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDropShadowGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2349)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDimensionControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDimensionControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2350)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsExtrudeControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsExtrudeControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2351)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsExtrudeGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsExtrudeGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2352)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBevelGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsBevelGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2353)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetHasAutoLabelText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasAutoLabelText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2354)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEnvelope ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEnvelope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2355)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsPerspective ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsPerspective(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2356)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDistortion ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDistortion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2357)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnectorLine ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsConnectorLine(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2358)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnector ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsConnector(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2359)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsFittedText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsFittedText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2360)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsFittedTextControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsFittedTextControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2361)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsNaturalMediaControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsNaturalMediaControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2362)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsNaturalMediaGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsNaturalMediaGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2363)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondExtrudeControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSecondExtrudeControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2364)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondContourControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSecondContourControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2365)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondDropShadowControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSecondDropShadowControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2366)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSecondNaturalMediaControl ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSecondNaturalMediaControl(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2367)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsArtisticTextSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsArtisticTextSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2368)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsParagraphTextSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsParagraphTextSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2369)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsTextSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsTextSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2370)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsOLESelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOLESelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2371)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBitmapSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsBitmapSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2372)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsBitmapPresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsBitmapPresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2373)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsLensPresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsLensPresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2374)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsMaskedBitmapPresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsMaskedBitmapPresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2375)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsGroupSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsGroupSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2376)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanUngroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanUngroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2377)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsLinkGroupSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsLinkGroupSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2378)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsLinkControlSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsLinkControlSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2379)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsAttachedToDimension ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsAttachedToDimension(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2380)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsFittedTextSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsFittedTextSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2381)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnectorLineSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsConnectorLineSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2382)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsConnectorSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsConnectorSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2383)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsPerspectivePresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsPerspectivePresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2384)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsEnvelopePresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEnvelopePresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2385)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsDistortionPresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDistortionPresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2386)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsGuidelineSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsGuidelineSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2387)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsInternetObjectSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsInternetObjectSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2388)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsSoundObjectSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSoundObjectSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2389)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsExternalBitmapSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsExternalBitmapSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2390)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsNonExternalBitmapSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsNonExternalBitmapSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2391)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsMeshFillSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsMeshFillSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2392)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsMeshFillPresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsMeshFillPresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2393)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetIsRollOverSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsRollOverSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2394)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetContainsRollOverParent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ContainsRollOverParent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2395)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanClone ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanClone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2396)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyBlend ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyBlend(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2397)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyContour ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyContour(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2398)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2399)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyOutline ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyOutline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2400)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyTransparency ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyTransparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2401)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanAssignURL ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanAssignURL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2402)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyDistortion ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyDistortion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2403)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanApplyEnvelope ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanApplyEnvelope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2404)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyBlend ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyBlend(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2405)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneBlend ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCloneBlend(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2406)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyExtrude ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyExtrude(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2407)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneExtrude ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCloneExtrude(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2408)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyContour ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyContour(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2409)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneContour ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCloneContour(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2410)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyDropShadow ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyDropShadow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2411)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCloneDropShadow ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCloneDropShadow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2412)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyLens ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyLens(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2413)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyPerspective ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyPerspective(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2414)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyEnvelope ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyEnvelope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2415)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyPowerclip ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyPowerclip(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2416)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanCopyDistortion ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanCopyDistortion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2417)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanLockShapes ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanLockShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2418)
- inline VARIANT_BOOL VGCore::IVGSelectionInformation::GetCanUnlockShapes ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanUnlockShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGCurve wrapper method implementations
- //
- #pragma implementation_key(2419)
- inline double VGCore::IVGCurve::GetLength ( ) {
- double _result = 0;
- HRESULT _hr = get_Length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2420)
- inline VGCore::IVGSubPathsPtr VGCore::IVGCurve::GetSubPaths ( ) {
- struct IVGSubPaths * _result = 0;
- HRESULT _hr = get_SubPaths(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathsPtr(_result, false);
- }
- #pragma implementation_key(2421)
- inline VGCore::IVGNodesPtr VGCore::IVGCurve::GetNodes ( ) {
- struct IVGNodes * _result = 0;
- HRESULT _hr = get_Nodes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodesPtr(_result, false);
- }
- #pragma implementation_key(2422)
- inline VGCore::IVGSegmentsPtr VGCore::IVGCurve::GetSegments ( ) {
- struct IVGSegments * _result = 0;
- HRESULT _hr = get_Segments(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentsPtr(_result, false);
- }
- #pragma implementation_key(2423)
- inline VARIANT_BOOL VGCore::IVGCurve::GetClosed ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Closed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2424)
- inline void VGCore::IVGCurve::PutClosed ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Closed(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2425)
- inline VGCore::IVGNodeRangePtr VGCore::IVGCurve::Selection ( ) {
- struct IVGNodeRange * _result = 0;
- HRESULT _hr = raw_Selection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodeRangePtr(_result, false);
- }
- #pragma implementation_key(2426)
- inline VGCore::IVGSubPathPtr VGCore::IVGCurve::CreateSubPath ( double x, double y ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = raw_CreateSubPath(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2427)
- inline HRESULT VGCore::IVGCurve::ReverseDirection ( ) {
- HRESULT _hr = raw_ReverseDirection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2428)
- inline enum VGCore::cdrPositionOfPointOverShape VGCore::IVGCurve::IsOnCurve ( double x, double y, double HotArea ) {
- enum cdrPositionOfPointOverShape _result;
- HRESULT _hr = raw_IsOnCurve(x, y, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2429)
- inline HRESULT VGCore::IVGCurve::BindToDocument ( struct IVGDocument * Document ) {
- HRESULT _hr = raw_BindToDocument(Document);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2430)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::GetCopy ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2431)
- inline HRESULT VGCore::IVGCurve::CopyAssign ( struct IVGCurve * Source ) {
- HRESULT _hr = raw_CopyAssign(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2432)
- inline VGCore::IVGSubPathPtr VGCore::IVGCurve::CreateSubPathFromArray ( SAFEARRAY * * Source, VARIANT_BOOL Closed, long NumElements ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = raw_CreateSubPathFromArray(Source, Closed, NumElements, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2433)
- inline HRESULT VGCore::IVGCurve::AppendCurve ( struct IVGCurve * Source ) {
- HRESULT _hr = raw_AppendCurve(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2434)
- inline SAFEARRAY * VGCore::IVGCurve::GetCurveInfo ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetCurveInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2435)
- inline long VGCore::IVGCurve::PutCurveInfo ( SAFEARRAY * * Source, long NumElements ) {
- long _result = 0;
- HRESULT _hr = raw_PutCurveInfo(Source, NumElements, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2436)
- inline HRESULT VGCore::IVGCurve::ClearSelection ( ) {
- HRESULT _hr = raw_ClearSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2437)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::GetPolyline ( long CurvePrecision ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_GetPolyline(CurvePrecision, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2438)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::RemoveOverlaps ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_RemoveOverlaps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2439)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::Contour ( double Offset, enum cdrContourDirection Direction, enum cdrContourEndCapType EndCapType, enum cdrContourCornerType CornerType, double MiterLimit ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_Contour(Offset, Direction, EndCapType, CornerType, MiterLimit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2440)
- inline VARIANT_BOOL VGCore::IVGCurve::IsPointInside ( double x, double y ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsPointInside(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2441)
- inline VARIANT_BOOL VGCore::IVGCurve::IsRectOnEdge ( double x1, double y1, double x2, double y2 ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsRectOnEdge(x1, y1, x2, y2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2442)
- inline VGCore::IVGSegmentPtr VGCore::IVGCurve::FindClosestSegment ( double x, double y, double * ParamOffset ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_FindClosestSegment(x, y, ParamOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2443)
- inline VGCore::IVGNodePtr VGCore::IVGCurve::FindNodeAtPoint ( double x, double y, double HotArea ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_FindNodeAtPoint(x, y, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2444)
- inline VGCore::IVGSegmentPtr VGCore::IVGCurve::FindSegmentAtPoint ( double x, double y, double * ParamOffset, double HotArea ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_FindSegmentAtPoint(x, y, ParamOffset, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2445)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::WeldWith ( struct IVGCurve * Curve ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_WeldWith(Curve, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2446)
- inline VARIANT_BOOL VGCore::IVGCurve::GetIsClockwise ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsClockwise(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2447)
- inline double VGCore::IVGCurve::GetArea ( ) {
- double _result = 0;
- HRESULT _hr = get_Area(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2448)
- inline VARIANT_BOOL VGCore::IVGCurve::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2449)
- inline VGCore::IVGRectPtr VGCore::IVGCurve::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(2450)
- inline VARIANT_BOOL VGCore::IVGCurve::IntersectsWith ( struct IVGCurve * Curve ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IntersectsWith(Curve, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2451)
- inline HRESULT VGCore::IVGCurve::AppendSubpathFitToPoints ( struct IVGPointRange * Points, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
- HRESULT _hr = raw_AppendSubpathFitToPoints(Points, UseCurrentViewForTolerance, tolerance);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2452)
- inline HRESULT VGCore::IVGCurve::AppendSubpathFitToPointsAndCusps ( struct IVGPointRange * Points, SAFEARRAY * * CuspIndexArray, VARIANT_BOOL UseCurrentViewForTolerance, double tolerance ) {
- HRESULT _hr = raw_AppendSubpathFitToPointsAndCusps(Points, CuspIndexArray, UseCurrentViewForTolerance, tolerance);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2453)
- inline HRESULT VGCore::IVGCurve::ApplyTransformMatrix ( struct IVGTransformMatrix * TransformMatrix ) {
- HRESULT _hr = raw_ApplyTransformMatrix(TransformMatrix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2454)
- inline HRESULT VGCore::IVGCurve::AppendSubpathFromPoints ( struct IVGPointRange * Points, VARIANT_BOOL Close ) {
- HRESULT _hr = raw_AppendSubpathFromPoints(Points, Close);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2455)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::CreateCurveMappedToStroke ( struct IVGSubPath * Stroke, double ScaleY, VARIANT_BOOL SelfWeld ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_CreateCurveMappedToStroke(Stroke, ScaleY, SelfWeld, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2456)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::CreateCurveMappedToStrokeAndReferenceLine ( struct IVGSubPath * Stroke, struct IVGPoint * Start, struct IVGPoint * End, double ScaleY, VARIANT_BOOL SelfWeld ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_CreateCurveMappedToStrokeAndReferenceLine(Stroke, Start, End, ScaleY, SelfWeld, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2457)
- inline HRESULT VGCore::IVGCurve::AutoReduceNodes ( double AmountToReduce0To100, VARIANT_BOOL SelectedNodesOnly ) {
- HRESULT _hr = raw_AutoReduceNodes(AmountToReduce0To100, SelectedNodesOnly);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2458)
- inline HRESULT VGCore::IVGCurve::JoinTouchingSubpaths ( VARIANT_BOOL AllowSubpathReversals, double tolerance ) {
- HRESULT _hr = raw_JoinTouchingSubpaths(AllowSubpathReversals, tolerance);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2459)
- inline HRESULT VGCore::IVGCurve::AppendSubpathCircle ( double CenterX, double CenterY, double Radius ) {
- HRESULT _hr = raw_AppendSubpathCircle(CenterX, CenterY, Radius);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2460)
- inline HRESULT VGCore::IVGCurve::AppendSubpathRectangle ( double Left, double Top, double Right, double Bottom ) {
- HRESULT _hr = raw_AppendSubpathRectangle(Left, Top, Right, Bottom);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2461)
- inline HRESULT VGCore::IVGCurve::AppendSubpathThreePointArc ( double StartX, double StartY, double EndX, double EndY, double ThirdX, double ThirdY ) {
- HRESULT _hr = raw_AppendSubpathThreePointArc(StartX, StartY, EndX, EndY, ThirdX, ThirdY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2462)
- inline HRESULT VGCore::IVGCurve::SelfWeldClosedSubpaths ( ) {
- HRESULT _hr = raw_SelfWeldClosedSubpaths();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2463)
- inline HRESULT VGCore::IVGCurve::AppendSubpathEllipse ( double CenterX, double CenterY, double RadiusH, double RadiusV ) {
- HRESULT _hr = raw_AppendSubpathEllipse(CenterX, CenterY, RadiusH, RadiusV);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2464)
- inline VGCore::IVGCurvePtr VGCore::IVGCurve::WeldEx ( struct IVGCurve * TargetCurve, enum cdrWeldMethod Method, VARIANT_BOOL WindingSource, VARIANT_BOOL WindingTarget, long Flags ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_WeldEx(TargetCurve, Method, WindingSource, WindingTarget, Flags, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- //
- // interface IVGArrowHead wrapper method implementations
- //
- #pragma implementation_key(2465)
- inline long VGCore::IVGArrowHead::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2466)
- inline VGCore::IVGCurvePtr VGCore::IVGArrowHead::GetCurve ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Curve(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2467)
- inline double VGCore::IVGArrowHead::GetBaseOutlineScale ( ) {
- double _result = 0;
- HRESULT _hr = get_BaseOutlineScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2468)
- inline double VGCore::IVGArrowHead::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2469)
- inline double VGCore::IVGArrowHead::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2470)
- inline double VGCore::IVGArrowHead::GetLineOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_LineOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2471)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHead::BindToDocument ( struct IVGDocument * Document ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_BindToDocument(Document, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(2472)
- inline VARIANT_BOOL VGCore::IVGArrowHead::CompareWith ( struct IVGArrowHead * ArrowHead ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CompareWith(ArrowHead, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2473)
- inline _bstr_t VGCore::IVGArrowHead::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2474)
- inline void VGCore::IVGArrowHead::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2475)
- inline _bstr_t VGCore::IVGArrowHead::GetDisplayName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DisplayName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVGArrowHeads wrapper method implementations
- //
- #pragma implementation_key(2476)
- inline VGCore::IVGApplicationPtr VGCore::IVGArrowHeads::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2477)
- inline VGCore::IVGApplicationPtr VGCore::IVGArrowHeads::GetParent ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2478)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHeads::GetItem ( long Index ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(2479)
- inline IUnknownPtr VGCore::IVGArrowHeads::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2480)
- inline long VGCore::IVGArrowHeads::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2481)
- inline HRESULT VGCore::IVGArrowHeads::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2482)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHeads::Add ( struct IVGArrowHead * ArrowHead ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_Add(ArrowHead, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(2483)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGArrowHeads::Replace ( long Index, struct IVGArrowHead * ArrowHead ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = raw_Replace(Index, ArrowHead, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- //
- // interface IVGSubPaths wrapper method implementations
- //
- #pragma implementation_key(2484)
- inline VGCore::IVGApplicationPtr VGCore::IVGSubPaths::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2485)
- inline VGCore::IVGCurvePtr VGCore::IVGSubPaths::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2486)
- inline VGCore::IVGSubPathPtr VGCore::IVGSubPaths::GetItem ( long Index ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2487)
- inline IUnknownPtr VGCore::IVGSubPaths::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2488)
- inline long VGCore::IVGSubPaths::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2489)
- inline VGCore::IVGSubPathPtr VGCore::IVGSubPaths::GetFirst ( ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2490)
- inline VGCore::IVGSubPathPtr VGCore::IVGSubPaths::GetLast ( ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- //
- // interface IVGSubPath wrapper method implementations
- //
- #pragma implementation_key(2491)
- inline VGCore::IVGApplicationPtr VGCore::IVGSubPath::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2492)
- inline VGCore::IVGCurvePtr VGCore::IVGSubPath::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2493)
- inline VGCore::IVGNodesPtr VGCore::IVGSubPath::GetNodes ( ) {
- struct IVGNodes * _result = 0;
- HRESULT _hr = get_Nodes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodesPtr(_result, false);
- }
- #pragma implementation_key(2494)
- inline VGCore::IVGSegmentsPtr VGCore::IVGSubPath::GetSegments ( ) {
- struct IVGSegments * _result = 0;
- HRESULT _hr = get_Segments(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentsPtr(_result, false);
- }
- #pragma implementation_key(2495)
- inline long VGCore::IVGSubPath::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2496)
- inline double VGCore::IVGSubPath::GetLength ( ) {
- double _result = 0;
- HRESULT _hr = get_Length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2497)
- inline VARIANT_BOOL VGCore::IVGSubPath::GetClosed ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Closed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2498)
- inline void VGCore::IVGSubPath::PutClosed ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Closed(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2499)
- inline double VGCore::IVGSubPath::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2500)
- inline void VGCore::IVGSubPath::PutPositionX ( double pVal ) {
- HRESULT _hr = put_PositionX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2501)
- inline double VGCore::IVGSubPath::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2502)
- inline void VGCore::IVGSubPath::PutPositionY ( double pVal ) {
- HRESULT _hr = put_PositionY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2503)
- inline double VGCore::IVGSubPath::GetSizeWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2504)
- inline double VGCore::IVGSubPath::GetSizeHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2505)
- inline VGCore::IVGNodeRangePtr VGCore::IVGSubPath::Selection ( ) {
- struct IVGNodeRange * _result = 0;
- HRESULT _hr = raw_Selection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodeRangePtr(_result, false);
- }
- #pragma implementation_key(2506)
- inline HRESULT VGCore::IVGSubPath::ReverseDirection ( ) {
- HRESULT _hr = raw_ReverseDirection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2507)
- inline VGCore::IVGShapePtr VGCore::IVGSubPath::Extract ( struct IVGShape * * OldCurve ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Extract(OldCurve, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2508)
- inline HRESULT VGCore::IVGSubPath::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2509)
- inline HRESULT VGCore::IVGSubPath::GetPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2510)
- inline HRESULT VGCore::IVGSubPath::SetPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2511)
- inline HRESULT VGCore::IVGSubPath::Move ( double DeltaX, double DeltaY ) {
- HRESULT _hr = raw_Move(DeltaX, DeltaY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2512)
- inline enum VGCore::cdrPositionOfPointOverShape VGCore::IVGSubPath::IsOnSubPath ( double x, double y, double HotArea ) {
- enum cdrPositionOfPointOverShape _result;
- HRESULT _hr = raw_IsOnSubPath(x, y, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2513)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::AppendLineSegment ( double x, double y, VARIANT_BOOL AppendAtBeginning ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_AppendLineSegment(x, y, AppendAtBeginning, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2514)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::AppendCurveSegment ( double x, double y, double StartingControlPointLength, double StartingControlPointAngle, double EndingControlPointLength, double EndingControlPointAngle, VARIANT_BOOL AppendAtBeginning ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_AppendCurveSegment(x, y, StartingControlPointLength, StartingControlPointAngle, EndingControlPointLength, EndingControlPointAngle, AppendAtBeginning, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2515)
- inline HRESULT VGCore::IVGSubPath::GetPointPositionAt ( double * x, double * y, double Offset, enum cdrSegmentOffsetType OffsetType ) {
- HRESULT _hr = raw_GetPointPositionAt(x, y, Offset, OffsetType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2516)
- inline VGCore::IVGNodePtr VGCore::IVGSubPath::BreakApartAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_BreakApartAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2517)
- inline VGCore::IVGNodePtr VGCore::IVGSubPath::AddNodeAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_AddNodeAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2518)
- inline double VGCore::IVGSubPath::GetPerpendicularAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetPerpendicularAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2519)
- inline double VGCore::IVGSubPath::GetTangentAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetTangentAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2520)
- inline VGCore::IVGCrossPointsPtr VGCore::IVGSubPath::GetIntersections ( struct IVGSubPath * Target, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGCrossPoints * _result = 0;
- HRESULT _hr = raw_GetIntersections(Target, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCrossPointsPtr(_result, false);
- }
- #pragma implementation_key(2521)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::GetSegmentAt ( double Offset, enum cdrSegmentOffsetType OffsetType, double * SegmentOffset ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_GetSegmentAt(Offset, OffsetType, SegmentOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2522)
- inline VGCore::IVGSubPathPtr VGCore::IVGSubPath::Next ( ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = raw_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2523)
- inline VGCore::IVGSubPathPtr VGCore::IVGSubPath::Previous ( ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = raw_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2524)
- inline double VGCore::IVGSubPath::GetCurvatureAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetCurvatureAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2525)
- inline double VGCore::IVGSubPath::GetCurveSpeedAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetCurveSpeedAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2526)
- inline VGCore::IVGNodePtr VGCore::IVGSubPath::GetStartNode ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_StartNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2527)
- inline VGCore::IVGNodePtr VGCore::IVGSubPath::GetEndNode ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_EndNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2528)
- inline VARIANT_BOOL VGCore::IVGSubPath::FindSegmentOffset ( double AbsoluteOffset, struct IVGSegment * * Segment, double * ParamOffset, double * Remainder ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_FindSegmentOffset(AbsoluteOffset, Segment, ParamOffset, Remainder, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2529)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::GetFirstSegment ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_FirstSegment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2530)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::GetLastSegment ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_LastSegment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2531)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::AppendCurveSegment2 ( double x, double y, double StartingControlPointX, double StartingControlPointY, double EndingControlPointX, double EndingControlPointY, VARIANT_BOOL AppendAtBeginning ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_AppendCurveSegment2(x, y, StartingControlPointX, StartingControlPointY, EndingControlPointX, EndingControlPointY, AppendAtBeginning, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2532)
- inline VGCore::IVGCurvePtr VGCore::IVGSubPath::GetCopy ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2533)
- inline SAFEARRAY * VGCore::IVGSubPath::GetCurveInfo ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetCurveInfo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2534)
- inline long VGCore::IVGSubPath::PutCurveInfo ( SAFEARRAY * * Source, long NumElements ) {
- long _result = 0;
- HRESULT _hr = raw_PutCurveInfo(Source, NumElements, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2535)
- inline VGCore::IVGCurvePtr VGCore::IVGSubPath::GetPolyline ( long CurvePrecision ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_GetPolyline(CurvePrecision, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2536)
- inline VARIANT_BOOL VGCore::IVGSubPath::IsPointInside ( double x, double y ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsPointInside(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2537)
- inline VARIANT_BOOL VGCore::IVGSubPath::IsRectOnEdge ( double x1, double y1, double x2, double y2 ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsRectOnEdge(x1, y1, x2, y2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2538)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::FindClosestSegment ( double x, double y, double * ParamOffset ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_FindClosestSegment(x, y, ParamOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2539)
- inline VGCore::IVGNodePtr VGCore::IVGSubPath::FindNodeAtPoint ( double x, double y, double HotArea ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_FindNodeAtPoint(x, y, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2540)
- inline VGCore::IVGSegmentPtr VGCore::IVGSubPath::FindSegmentAtPoint ( double x, double y, double * ParamOffset, double HotArea ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_FindSegmentAtPoint(x, y, ParamOffset, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2541)
- inline VARIANT_BOOL VGCore::IVGSubPath::GetIsClockwise ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsClockwise(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2542)
- inline double VGCore::IVGSubPath::GetArea ( ) {
- double _result = 0;
- HRESULT _hr = get_Area(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2543)
- inline VARIANT_BOOL VGCore::IVGSubPath::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2544)
- inline VGCore::IVGRectPtr VGCore::IVGSubPath::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(2545)
- inline HRESULT VGCore::IVGSubPath::EqualDivide ( long Divisions, double Gap ) {
- HRESULT _hr = raw_EqualDivide(Divisions, Gap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2546)
- inline VGCore::IVGPointRangePtr VGCore::IVGSubPath::GetEvenlySpacedPoints ( double DistanceBetweenPointsAlongCurve, VARIANT_BOOL ScaleDistanceToFit ) {
- struct IVGPointRange * _result = 0;
- HRESULT _hr = raw_GetEvenlySpacedPoints(DistanceBetweenPointsAlongCurve, ScaleDistanceToFit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointRangePtr(_result, false);
- }
- #pragma implementation_key(2547)
- inline VGCore::IVGVectorPtr VGCore::IVGSubPath::GetPerpendicularVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_GetPerpendicularVectorAt(Offset, OffsetType, Normalize, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2548)
- inline VGCore::IVGVectorPtr VGCore::IVGSubPath::GetTangentVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_GetTangentVectorAt(Offset, OffsetType, Normalize, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2549)
- inline VGCore::IVGPointPtr VGCore::IVGSubPath::GetPointAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_GetPointAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- //
- // interface IVGNodes wrapper method implementations
- //
- #pragma implementation_key(2550)
- inline VGCore::IVGApplicationPtr VGCore::IVGNodes::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2551)
- inline VGCore::IVGCurvePtr VGCore::IVGNodes::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2552)
- inline VGCore::IVGNodePtr VGCore::IVGNodes::GetItem ( long Index ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2553)
- inline IUnknownPtr VGCore::IVGNodes::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2554)
- inline long VGCore::IVGNodes::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2555)
- inline VGCore::IVGNodeRangePtr VGCore::IVGNodes::Range ( SAFEARRAY * * IndexArray ) {
- struct IVGNodeRange * _result = 0;
- HRESULT _hr = raw_Range(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodeRangePtr(_result, false);
- }
- #pragma implementation_key(2556)
- inline VGCore::IVGNodeRangePtr VGCore::IVGNodes::All ( ) {
- struct IVGNodeRange * _result = 0;
- HRESULT _hr = raw_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodeRangePtr(_result, false);
- }
- #pragma implementation_key(2557)
- inline VGCore::IVGNodeRangePtr VGCore::IVGNodes::AllExcluding ( SAFEARRAY * * IndexArray ) {
- struct IVGNodeRange * _result = 0;
- HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodeRangePtr(_result, false);
- }
- #pragma implementation_key(2558)
- inline VGCore::IVGNodePtr VGCore::IVGNodes::GetFirst ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2559)
- inline VGCore::IVGNodePtr VGCore::IVGNodes::GetLast ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- //
- // interface IVGNode wrapper method implementations
- //
- #pragma implementation_key(2560)
- inline VGCore::IVGApplicationPtr VGCore::IVGNode::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2561)
- inline VGCore::IVGCurvePtr VGCore::IVGNode::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2562)
- inline double VGCore::IVGNode::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2563)
- inline void VGCore::IVGNode::PutPositionX ( double pVal ) {
- HRESULT _hr = put_PositionX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2564)
- inline double VGCore::IVGNode::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2565)
- inline void VGCore::IVGNode::PutPositionY ( double pVal ) {
- HRESULT _hr = put_PositionY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2566)
- inline enum VGCore::cdrNodeType VGCore::IVGNode::GetType ( ) {
- enum cdrNodeType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2567)
- inline void VGCore::IVGNode::PutType ( enum cdrNodeType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2568)
- inline VGCore::IVGSubPathPtr VGCore::IVGNode::GetSubPath ( ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = get_SubPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2569)
- inline long VGCore::IVGNode::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2570)
- inline long VGCore::IVGNode::GetSubPathIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_SubPathIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2571)
- inline long VGCore::IVGNode::GetAbsoluteIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_AbsoluteIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2572)
- inline VARIANT_BOOL VGCore::IVGNode::GetIsEnding ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEnding(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2573)
- inline HRESULT VGCore::IVGNode::JoinWith ( struct IVGNode * Target ) {
- HRESULT _hr = raw_JoinWith(Target);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2574)
- inline HRESULT VGCore::IVGNode::ConnectWith ( struct IVGNode * Target ) {
- HRESULT _hr = raw_ConnectWith(Target);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2575)
- inline HRESULT VGCore::IVGNode::BreakApart ( ) {
- HRESULT _hr = raw_BreakApart();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2576)
- inline HRESULT VGCore::IVGNode::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2577)
- inline HRESULT VGCore::IVGNode::GetPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2578)
- inline HRESULT VGCore::IVGNode::SetPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2579)
- inline HRESULT VGCore::IVGNode::Move ( double DeltaX, double DeltaY ) {
- HRESULT _hr = raw_Move(DeltaX, DeltaY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2580)
- inline VGCore::IVGNodePtr VGCore::IVGNode::Next ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2581)
- inline VGCore::IVGNodePtr VGCore::IVGNode::Previous ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2582)
- inline double VGCore::IVGNode::GetDistanceFrom ( struct IVGNode * Node ) {
- double _result = 0;
- HRESULT _hr = raw_GetDistanceFrom(Node, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2583)
- inline VGCore::IVGSegmentPtr VGCore::IVGNode::GetSegment ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_Segment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2584)
- inline VGCore::IVGSegmentPtr VGCore::IVGNode::GetPrevSegment ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_PrevSegment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2585)
- inline VGCore::IVGSegmentPtr VGCore::IVGNode::GetNextSegment ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_NextSegment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2586)
- inline VARIANT_BOOL VGCore::IVGNode::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2587)
- inline VARIANT_BOOL VGCore::IVGNode::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2588)
- inline VARIANT_BOOL VGCore::IVGNode::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2589)
- inline VARIANT_BOOL VGCore::IVGNode::GetSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Selected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2590)
- inline void VGCore::IVGNode::PutSelected ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Selected(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2591)
- inline HRESULT VGCore::IVGNode::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2592)
- inline VARIANT_BOOL VGCore::IVGNode::ExtendSubPaths ( struct IVGNode * Node2, VARIANT_BOOL JoinPaths ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ExtendSubPaths(Node2, JoinPaths, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2593)
- inline HRESULT VGCore::IVGNode::AveragePositionWith ( struct IVGNode * Node2, VARIANT_BOOL JoinPaths ) {
- HRESULT _hr = raw_AveragePositionWith(Node2, JoinPaths);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2594)
- inline HRESULT VGCore::IVGNode::GetPoint ( struct IVGPoint * * ppVal ) {
- HRESULT _hr = raw_GetPoint(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2595)
- inline HRESULT VGCore::IVGNode::SetPoint ( struct IVGPoint * ppVal ) {
- HRESULT _hr = raw_SetPoint(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGSnapPoint wrapper method implementations
- //
- #pragma implementation_key(2596)
- inline VGCore::IVGApplicationPtr VGCore::IVGSnapPoint::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2597)
- inline VGCore::IVGShapePtr VGCore::IVGSnapPoint::GetParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2598)
- inline double VGCore::IVGSnapPoint::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2599)
- inline void VGCore::IVGSnapPoint::PutPositionX ( double pVal ) {
- HRESULT _hr = put_PositionX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2600)
- inline double VGCore::IVGSnapPoint::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2601)
- inline void VGCore::IVGSnapPoint::PutPositionY ( double pVal ) {
- HRESULT _hr = put_PositionY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2602)
- inline enum VGCore::cdrPointType VGCore::IVGSnapPoint::GetType ( ) {
- enum cdrPointType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2603)
- inline VGCore::IVGNodePtr VGCore::IVGSnapPoint::GetNode ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_Node(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2604)
- inline VARIANT_BOOL VGCore::IVGSnapPoint::GetIsDeletable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDeletable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2605)
- inline VARIANT_BOOL VGCore::IVGSnapPoint::GetIsMovable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsMovable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2606)
- inline VARIANT_BOOL VGCore::IVGSnapPoint::GetCanChangeDirection ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanChangeDirection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2607)
- inline HRESULT VGCore::IVGSnapPoint::GetPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2608)
- inline VARIANT_BOOL VGCore::IVGSnapPoint::GetUsesDirection ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UsesDirection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2609)
- inline void VGCore::IVGSnapPoint::PutUsesDirection ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UsesDirection(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2610)
- inline VARIANT_BOOL VGCore::IVGSnapPoint::GetIsSelectable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSelectable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2611)
- inline double VGCore::IVGSnapPoint::GetDirection ( ) {
- double _result = 0;
- HRESULT _hr = get_Direction(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2612)
- inline void VGCore::IVGSnapPoint::PutDirection ( double pVal ) {
- HRESULT _hr = put_Direction(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2613)
- inline HRESULT VGCore::IVGSnapPoint::SetPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2614)
- inline VARIANT_BOOL VGCore::IVGSnapPoint::GetSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Selected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2615)
- inline void VGCore::IVGSnapPoint::PutSelected ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Selected(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2616)
- inline HRESULT VGCore::IVGSnapPoint::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2617)
- inline VGCore::IVGUserSnapPointPtr VGCore::IVGSnapPoint::GetUser ( ) {
- struct IVGUserSnapPoint * _result = 0;
- HRESULT _hr = get_User(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGUserSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2618)
- inline VGCore::IVGObjectSnapPointPtr VGCore::IVGSnapPoint::GetObject ( ) {
- struct IVGObjectSnapPoint * _result = 0;
- HRESULT _hr = get_Object(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGObjectSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2619)
- inline VGCore::IVGShapePtr VGCore::IVGSnapPoint::GetShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Shape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2620)
- inline VGCore::IVGBBoxSnapPointPtr VGCore::IVGSnapPoint::GetBBox ( ) {
- struct IVGBBoxSnapPoint * _result = 0;
- HRESULT _hr = get_BBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBBoxSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2621)
- inline _bstr_t VGCore::IVGSnapPoint::GetReferenceData ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ReferenceData(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2622)
- inline HRESULT VGCore::IVGSnapPoint::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2623)
- inline HRESULT VGCore::IVGSnapPoint::Move ( double OffsetX, double OffsetY ) {
- HRESULT _hr = raw_Move(OffsetX, OffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2624)
- inline VGCore::IVGEdgeSnapPointPtr VGCore::IVGSnapPoint::GetEdge ( ) {
- struct IVGEdgeSnapPoint * _result = 0;
- HRESULT _hr = get_Edge(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEdgeSnapPointPtr(_result, false);
- }
- //
- // interface IVGSnapPointRange wrapper method implementations
- //
- #pragma implementation_key(2625)
- inline long VGCore::IVGSnapPointRange::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2626)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPointRange::GetItem ( long Index ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2627)
- inline HRESULT VGCore::IVGSnapPointRange::Move ( double OffsetX, double OffsetY ) {
- HRESULT _hr = raw_Move(OffsetX, OffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2628)
- inline HRESULT VGCore::IVGSnapPointRange::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2629)
- inline IUnknownPtr VGCore::IVGSnapPointRange::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2630)
- inline VARIANT_BOOL VGCore::IVGSnapPointRange::Add ( struct IVGSnapPoint * SnapPoint ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Add(SnapPoint, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2631)
- inline VARIANT_BOOL VGCore::IVGSnapPointRange::Remove ( long Index ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Remove(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2632)
- inline VARIANT_BOOL VGCore::IVGSnapPointRange::RemoveByReference ( _bstr_t ReferenceData ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_RemoveByReference(ReferenceData, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2633)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPointRange::Find ( _bstr_t ReferenceData ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_Find(ReferenceData, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2634)
- inline HRESULT VGCore::IVGSnapPointRange::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2635)
- inline HRESULT VGCore::IVGSnapPointRange::AddToSelection ( ) {
- HRESULT _hr = raw_AddToSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2636)
- inline HRESULT VGCore::IVGSnapPointRange::RemoveFromSelection ( ) {
- HRESULT _hr = raw_RemoveFromSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2637)
- inline HRESULT VGCore::IVGSnapPointRange::ChangeDirection ( double Direction, enum cdrTriState UsesDirection ) {
- HRESULT _hr = raw_ChangeDirection(Direction, UsesDirection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2638)
- inline HRESULT VGCore::IVGSnapPointRange::SetAutoSnap ( VARIANT_BOOL AutoSnap ) {
- HRESULT _hr = raw_SetAutoSnap(AutoSnap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGSnapPoints wrapper method implementations
- //
- #pragma implementation_key(2639)
- inline VGCore::IVGApplicationPtr VGCore::IVGSnapPoints::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2640)
- inline VGCore::IVGShapePtr VGCore::IVGSnapPoints::GetParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(2641)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::GetItem ( long Index ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2642)
- inline IUnknownPtr VGCore::IVGSnapPoints::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2643)
- inline long VGCore::IVGSnapPoints::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2644)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::User ( _bstr_t ID ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_User(ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2645)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::BBox ( enum cdrReferencePoint Type ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_BBox(Type, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2646)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::Object ( enum cdrObjectSnapPointType Type ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_Object(Type, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2647)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::FindClosest ( enum cdrPointType TypeSet, double PositionX, double PositionY ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_FindClosest(TypeSet, PositionX, PositionY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2648)
- inline VGCore::IVGSnapPointRangePtr VGCore::IVGSnapPoints::Range ( SAFEARRAY * * References ) {
- struct IVGSnapPointRange * _result = 0;
- HRESULT _hr = raw_Range(References, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointRangePtr(_result, false);
- }
- #pragma implementation_key(2649)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::AddUserSnapPoint ( double PositionX, double PositionY, double Direction, VARIANT_BOOL UseDirection ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_AddUserSnapPoint(PositionX, PositionY, Direction, UseDirection, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2650)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::AddUserSnapPointEx ( _bstr_t ID, double PositionX, double PositionY, double Direction, VARIANT_BOOL UseDirection ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_AddUserSnapPointEx(ID, PositionX, PositionY, Direction, UseDirection, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2651)
- inline VGCore::IVGSnapPointRangePtr VGCore::IVGSnapPoints::GetSelection ( ) {
- struct IVGSnapPointRange * _result = 0;
- HRESULT _hr = get_Selection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointRangePtr(_result, false);
- }
- #pragma implementation_key(2652)
- inline HRESULT VGCore::IVGSnapPoints::ClearSelection ( ) {
- HRESULT _hr = raw_ClearSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2653)
- inline VGCore::IVGSnapPointRangePtr VGCore::IVGSnapPoints::GetAll ( ) {
- struct IVGSnapPointRange * _result = 0;
- HRESULT _hr = get_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointRangePtr(_result, false);
- }
- #pragma implementation_key(2654)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::Edge ( long SegmentIndex, double SegmentOffset ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_Edge(SegmentIndex, SegmentOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2655)
- inline VGCore::IVGSnapPointPtr VGCore::IVGSnapPoints::Auto ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = raw_Auto(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- //
- // interface IVGConnector wrapper method implementations
- //
- #pragma implementation_key(2656)
- inline VGCore::IVGSnapPointPtr VGCore::IVGConnector::GetStartPoint ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_StartPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2657)
- inline void VGCore::IVGConnector::PutStartPoint ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_StartPoint(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2658)
- inline VGCore::IVGSnapPointPtr VGCore::IVGConnector::GetEndPoint ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_EndPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2659)
- inline void VGCore::IVGConnector::PutEndPoint ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_EndPoint(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2660)
- inline enum VGCore::cdrConnectorType VGCore::IVGConnector::GetType ( ) {
- enum cdrConnectorType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGDimensionLinear wrapper method implementations
- //
- #pragma implementation_key(2661)
- inline enum VGCore::cdrLinearDimensionType VGCore::IVGDimensionLinear::GetType ( ) {
- enum cdrLinearDimensionType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2662)
- inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionLinear::GetPoint1 ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_Point1(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2663)
- inline void VGCore::IVGDimensionLinear::PutPoint1 ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_Point1(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2664)
- inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionLinear::GetPoint2 ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_Point2(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2665)
- inline void VGCore::IVGDimensionLinear::PutPoint2 ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_Point2(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2666)
- inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetTextCentered ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TextCentered(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2667)
- inline void VGCore::IVGDimensionLinear::PutTextCentered ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TextCentered(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2668)
- inline double VGCore::IVGDimensionLinear::GetTextX ( ) {
- double _result = 0;
- HRESULT _hr = get_TextX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2669)
- inline void VGCore::IVGDimensionLinear::PutTextX ( double pVal ) {
- HRESULT _hr = put_TextX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2670)
- inline double VGCore::IVGDimensionLinear::GetTextY ( ) {
- double _result = 0;
- HRESULT _hr = get_TextY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2671)
- inline void VGCore::IVGDimensionLinear::PutTextY ( double pVal ) {
- HRESULT _hr = put_TextY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2672)
- inline enum VGCore::cdrDimensionStyle VGCore::IVGDimensionLinear::GetStyle ( ) {
- enum cdrDimensionStyle _result;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2673)
- inline void VGCore::IVGDimensionLinear::PutStyle ( enum cdrDimensionStyle pVal ) {
- HRESULT _hr = put_Style(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2674)
- inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetShowUnits ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShowUnits(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2675)
- inline void VGCore::IVGDimensionLinear::PutShowUnits ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShowUnits(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2676)
- inline enum VGCore::cdrDimensionLinearUnits VGCore::IVGDimensionLinear::GetUnits ( ) {
- enum cdrDimensionLinearUnits _result;
- HRESULT _hr = get_Units(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2677)
- inline void VGCore::IVGDimensionLinear::PutUnits ( enum cdrDimensionLinearUnits pVal ) {
- HRESULT _hr = put_Units(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2678)
- inline enum VGCore::cdrDimensionPlacement VGCore::IVGDimensionLinear::GetPlacement ( ) {
- enum cdrDimensionPlacement _result;
- HRESULT _hr = get_Placement(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2679)
- inline void VGCore::IVGDimensionLinear::PutPlacement ( enum cdrDimensionPlacement pVal ) {
- HRESULT _hr = put_Placement(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2680)
- inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetHorizontalText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HorizontalText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2681)
- inline void VGCore::IVGDimensionLinear::PutHorizontalText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_HorizontalText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2682)
- inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetReverseTerminators ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ReverseTerminators(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2683)
- inline void VGCore::IVGDimensionLinear::PutReverseTerminators ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ReverseTerminators(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2684)
- inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetAutoReverseTerminators ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AutoReverseTerminators(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2685)
- inline void VGCore::IVGDimensionLinear::PutAutoReverseTerminators ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AutoReverseTerminators(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2686)
- inline double VGCore::IVGDimensionLinear::GetReverseTerminatorLength ( ) {
- double _result = 0;
- HRESULT _hr = get_ReverseTerminatorLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2687)
- inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetUseReverseTerminatorLength ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseReverseTerminatorLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2688)
- inline void VGCore::IVGDimensionLinear::PutUseReverseTerminatorLength ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseReverseTerminatorLength(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2689)
- inline HRESULT VGCore::IVGDimensionLinear::SetReverseTerminatorLength ( double Length ) {
- HRESULT _hr = raw_SetReverseTerminatorLength(Length);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2690)
- inline VARIANT_BOOL VGCore::IVGDimensionLinear::GetInnerDimensionLineVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_InnerDimensionLineVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2691)
- inline void VGCore::IVGDimensionLinear::PutInnerDimensionLineVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_InnerDimensionLineVisible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGDimensionAngular wrapper method implementations
- //
- #pragma implementation_key(2692)
- inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionAngular::GetCenter ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_Center(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2693)
- inline void VGCore::IVGDimensionAngular::PutCenter ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_Center(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2694)
- inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionAngular::GetPoint1 ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_Point1(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2695)
- inline void VGCore::IVGDimensionAngular::PutPoint1 ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_Point1(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2696)
- inline VGCore::IVGSnapPointPtr VGCore::IVGDimensionAngular::GetPoint2 ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_Point2(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(2697)
- inline void VGCore::IVGDimensionAngular::PutPoint2 ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_Point2(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2698)
- inline double VGCore::IVGDimensionAngular::GetTextX ( ) {
- double _result = 0;
- HRESULT _hr = get_TextX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2699)
- inline void VGCore::IVGDimensionAngular::PutTextX ( double pVal ) {
- HRESULT _hr = put_TextX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2700)
- inline double VGCore::IVGDimensionAngular::GetTextY ( ) {
- double _result = 0;
- HRESULT _hr = get_TextY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2701)
- inline void VGCore::IVGDimensionAngular::PutTextY ( double pVal ) {
- HRESULT _hr = put_TextY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2702)
- inline VARIANT_BOOL VGCore::IVGDimensionAngular::GetShowUnits ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShowUnits(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2703)
- inline void VGCore::IVGDimensionAngular::PutShowUnits ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShowUnits(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2704)
- inline enum VGCore::cdrDimensionAngularUnits VGCore::IVGDimensionAngular::GetUnits ( ) {
- enum cdrDimensionAngularUnits _result;
- HRESULT _hr = get_Units(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2705)
- inline void VGCore::IVGDimensionAngular::PutUnits ( enum cdrDimensionAngularUnits pVal ) {
- HRESULT _hr = put_Units(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2706)
- inline VARIANT_BOOL VGCore::IVGDimensionAngular::GetClockwise ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Clockwise(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2707)
- inline void VGCore::IVGDimensionAngular::PutClockwise ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Clockwise(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2708)
- inline VARIANT_BOOL VGCore::IVGDimensionAngular::GetInnerExtensionLinesVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_InnerExtensionLinesVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2709)
- inline void VGCore::IVGDimensionAngular::PutInnerExtensionLinesVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_InnerExtensionLinesVisible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGSegment wrapper method implementations
- //
- #pragma implementation_key(2710)
- inline VGCore::IVGApplicationPtr VGCore::IVGSegment::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2711)
- inline VGCore::IVGCurvePtr VGCore::IVGSegment::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2712)
- inline enum VGCore::cdrSegmentType VGCore::IVGSegment::GetType ( ) {
- enum cdrSegmentType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2713)
- inline void VGCore::IVGSegment::PutType ( enum cdrSegmentType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2714)
- inline VGCore::IVGSubPathPtr VGCore::IVGSegment::GetSubPath ( ) {
- struct IVGSubPath * _result = 0;
- HRESULT _hr = get_SubPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSubPathPtr(_result, false);
- }
- #pragma implementation_key(2715)
- inline double VGCore::IVGSegment::GetLength ( ) {
- double _result = 0;
- HRESULT _hr = get_Length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2716)
- inline long VGCore::IVGSegment::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2717)
- inline long VGCore::IVGSegment::GetSubPathIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_SubPathIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2718)
- inline long VGCore::IVGSegment::GetAbsoluteIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_AbsoluteIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2719)
- inline double VGCore::IVGSegment::GetStartingControlPointLength ( ) {
- double _result = 0;
- HRESULT _hr = get_StartingControlPointLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2720)
- inline void VGCore::IVGSegment::PutStartingControlPointLength ( double pVal ) {
- HRESULT _hr = put_StartingControlPointLength(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2721)
- inline double VGCore::IVGSegment::GetStartingControlPointAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_StartingControlPointAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2722)
- inline void VGCore::IVGSegment::PutStartingControlPointAngle ( double pVal ) {
- HRESULT _hr = put_StartingControlPointAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2723)
- inline double VGCore::IVGSegment::GetEndingControlPointLength ( ) {
- double _result = 0;
- HRESULT _hr = get_EndingControlPointLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2724)
- inline void VGCore::IVGSegment::PutEndingControlPointLength ( double pVal ) {
- HRESULT _hr = put_EndingControlPointLength(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2725)
- inline double VGCore::IVGSegment::GetEndingControlPointAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_EndingControlPointAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2726)
- inline void VGCore::IVGSegment::PutEndingControlPointAngle ( double pVal ) {
- HRESULT _hr = put_EndingControlPointAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2727)
- inline HRESULT VGCore::IVGSegment::GetPointPositionAt ( double * x, double * y, double Offset, enum cdrSegmentOffsetType OffsetType ) {
- HRESULT _hr = raw_GetPointPositionAt(x, y, Offset, OffsetType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2728)
- inline VGCore::IVGNodePtr VGCore::IVGSegment::BreakApartAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_BreakApartAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2729)
- inline VGCore::IVGNodePtr VGCore::IVGSegment::AddNodeAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = raw_AddNodeAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2730)
- inline double VGCore::IVGSegment::GetPerpendicularAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetPerpendicularAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2731)
- inline double VGCore::IVGSegment::GetTangentAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetTangentAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2732)
- inline VGCore::IVGCrossPointsPtr VGCore::IVGSegment::GetIntersections ( struct IVGSegment * Target, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGCrossPoints * _result = 0;
- HRESULT _hr = raw_GetIntersections(Target, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCrossPointsPtr(_result, false);
- }
- #pragma implementation_key(2733)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegment::Next ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2734)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegment::Previous ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = raw_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(2735)
- inline VGCore::IVGNodePtr VGCore::IVGSegment::GetStartNode ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_StartNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2736)
- inline VGCore::IVGNodePtr VGCore::IVGSegment::GetEndNode ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_EndNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2737)
- inline double VGCore::IVGSegment::GetStartingControlPointX ( ) {
- double _result = 0;
- HRESULT _hr = get_StartingControlPointX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2738)
- inline void VGCore::IVGSegment::PutStartingControlPointX ( double pVal ) {
- HRESULT _hr = put_StartingControlPointX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2739)
- inline double VGCore::IVGSegment::GetStartingControlPointY ( ) {
- double _result = 0;
- HRESULT _hr = get_StartingControlPointY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2740)
- inline void VGCore::IVGSegment::PutStartingControlPointY ( double pVal ) {
- HRESULT _hr = put_StartingControlPointY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2741)
- inline double VGCore::IVGSegment::GetEndingControlPointX ( ) {
- double _result = 0;
- HRESULT _hr = get_EndingControlPointX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2742)
- inline void VGCore::IVGSegment::PutEndingControlPointX ( double pVal ) {
- HRESULT _hr = put_EndingControlPointX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2743)
- inline double VGCore::IVGSegment::GetEndingControlPointY ( ) {
- double _result = 0;
- HRESULT _hr = get_EndingControlPointY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2744)
- inline void VGCore::IVGSegment::PutEndingControlPointY ( double pVal ) {
- HRESULT _hr = put_EndingControlPointY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2745)
- inline long VGCore::IVGSegment::GetPeaks ( double Angle, double * Offset1, double * Offset2, enum cdrSegmentOffsetType OffsetType ) {
- long _result = 0;
- HRESULT _hr = raw_GetPeaks(Angle, Offset1, Offset2, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2746)
- inline long VGCore::IVGSegment::GetBendPoints ( double * Offset1, double * Offset2, enum cdrSegmentOffsetType OffsetType ) {
- long _result = 0;
- HRESULT _hr = raw_GetBendPoints(Offset1, Offset2, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2747)
- inline double VGCore::IVGSegment::GetCurvatureAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetCurvatureAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2748)
- inline double VGCore::IVGSegment::GetCurveSpeedAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- double _result = 0;
- HRESULT _hr = raw_GetCurveSpeedAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2749)
- inline VARIANT_BOOL VGCore::IVGSegment::FindParamOffset ( double AbsoluteOffset, double * ParamOffset, double * Remainder ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_FindParamOffset(AbsoluteOffset, ParamOffset, Remainder, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2750)
- inline double VGCore::IVGSegment::GetAbsoluteOffset ( double ParamOffset ) {
- double _result = 0;
- HRESULT _hr = raw_GetAbsoluteOffset(ParamOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2751)
- inline HRESULT VGCore::IVGSegment::GetStartingControlPointPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetStartingControlPointPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2752)
- inline HRESULT VGCore::IVGSegment::SetStartingControlPointPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetStartingControlPointPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2753)
- inline HRESULT VGCore::IVGSegment::GetEndingControlPointPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetEndingControlPointPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2754)
- inline HRESULT VGCore::IVGSegment::SetEndingControlPointPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetEndingControlPointPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2755)
- inline VGCore::IVGCurvePtr VGCore::IVGSegment::GetCopy ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2756)
- inline VARIANT_BOOL VGCore::IVGSegment::GetSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Selected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2757)
- inline void VGCore::IVGSegment::PutSelected ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Selected(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2758)
- inline HRESULT VGCore::IVGSegment::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2759)
- inline VGCore::IVGCurvePtr VGCore::IVGSegment::GetPolyline ( long CurvePrecision ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_GetPolyline(CurvePrecision, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2760)
- inline VARIANT_BOOL VGCore::IVGSegment::IsRectOnEdge ( double x1, double y1, double x2, double y2 ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsRectOnEdge(x1, y1, x2, y2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2761)
- inline VARIANT_BOOL VGCore::IVGSegment::FindClosestPoint ( double x, double y, double * ParamOffset ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_FindClosestPoint(x, y, ParamOffset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2762)
- inline VARIANT_BOOL VGCore::IVGSegment::FindParamOffsetAtPoint ( double x, double y, double * ParamOffset, double HotArea ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_FindParamOffsetAtPoint(x, y, ParamOffset, HotArea, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2763)
- inline VARIANT_BOOL VGCore::IVGSegment::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2764)
- inline VGCore::IVGRectPtr VGCore::IVGSegment::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(2765)
- inline VGCore::IVGVectorPtr VGCore::IVGSegment::GetPerpendicularVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_GetPerpendicularVectorAt(Offset, OffsetType, Normalize, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2766)
- inline VGCore::IVGVectorPtr VGCore::IVGSegment::GetTangentVectorAt ( double Offset, enum cdrSegmentOffsetType OffsetType, VARIANT_BOOL Normalize ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_GetTangentVectorAt(Offset, OffsetType, Normalize, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2767)
- inline VGCore::IVGPointPtr VGCore::IVGSegment::GetPointAt ( double Offset, enum cdrSegmentOffsetType OffsetType ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_GetPointAt(Offset, OffsetType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- //
- // interface IVGVector wrapper method implementations
- //
- #pragma implementation_key(2768)
- inline double VGCore::IVGVector::Getx ( ) {
- double _result = 0;
- HRESULT _hr = get_x(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2769)
- inline void VGCore::IVGVector::Putx ( double pVal ) {
- HRESULT _hr = put_x(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2770)
- inline double VGCore::IVGVector::Gety ( ) {
- double _result = 0;
- HRESULT _hr = get_y(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2771)
- inline void VGCore::IVGVector::Puty ( double pVal ) {
- HRESULT _hr = put_y(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2772)
- inline double VGCore::IVGVector::GetLength ( ) {
- double _result = 0;
- HRESULT _hr = get_Length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2773)
- inline void VGCore::IVGVector::PutLength ( double pVal ) {
- HRESULT _hr = put_Length(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2774)
- inline double VGCore::IVGVector::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2775)
- inline void VGCore::IVGVector::PutAngle ( double pVal ) {
- HRESULT _hr = put_Angle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2776)
- inline VGCore::IVGPointPtr VGCore::IVGVector::GetOffsettedPoint ( struct IVGPoint * Origin, double Distance ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_GetOffsettedPoint(Origin, Distance, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2777)
- inline HRESULT VGCore::IVGVector::Add ( struct IVGVector * Vector ) {
- HRESULT _hr = raw_Add(Vector);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2778)
- inline HRESULT VGCore::IVGVector::Subtract ( struct IVGVector * Vector ) {
- HRESULT _hr = raw_Subtract(Vector);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2779)
- inline HRESULT VGCore::IVGVector::MultiplyBy ( double Multiplier ) {
- HRESULT _hr = raw_MultiplyBy(Multiplier);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2780)
- inline HRESULT VGCore::IVGVector::Negate ( ) {
- HRESULT _hr = raw_Negate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2781)
- inline HRESULT VGCore::IVGVector::Normalize ( ) {
- HRESULT _hr = raw_Normalize();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2782)
- inline double VGCore::IVGVector::AngleBetween ( struct IVGVector * Vector ) {
- double _result = 0;
- HRESULT _hr = raw_AngleBetween(Vector, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2783)
- inline double VGCore::IVGVector::SmallAngleBetween ( struct IVGVector * Vector ) {
- double _result = 0;
- HRESULT _hr = raw_SmallAngleBetween(Vector, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2784)
- inline double VGCore::IVGVector::DotProduct ( struct IVGVector * Vector ) {
- double _result = 0;
- HRESULT _hr = raw_DotProduct(Vector, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2785)
- inline double VGCore::IVGVector::CrossProduct ( struct IVGVector * Vector ) {
- double _result = 0;
- HRESULT _hr = raw_CrossProduct(Vector, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2786)
- inline HRESULT VGCore::IVGVector::SetFromPoints ( struct IVGPoint * Start, struct IVGPoint * End ) {
- HRESULT _hr = raw_SetFromPoints(Start, End);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2787)
- inline VGCore::IVGVectorPtr VGCore::IVGVector::ProjectOnto ( struct IVGVector * Vector ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_ProjectOnto(Vector, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2788)
- inline VGCore::IVGVectorPtr VGCore::IVGVector::GetCopy ( ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2789)
- inline HRESULT VGCore::IVGVector::BindToDocument ( struct IVGDocument * Document ) {
- HRESULT _hr = raw_BindToDocument(Document);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGPoint wrapper method implementations
- //
- #pragma implementation_key(2790)
- inline double VGCore::IVGPoint::Getx ( ) {
- double _result = 0;
- HRESULT _hr = get_x(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2791)
- inline void VGCore::IVGPoint::Putx ( double pVal ) {
- HRESULT _hr = put_x(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2792)
- inline double VGCore::IVGPoint::Gety ( ) {
- double _result = 0;
- HRESULT _hr = get_y(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2793)
- inline void VGCore::IVGPoint::Puty ( double pVal ) {
- HRESULT _hr = put_y(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2794)
- inline HRESULT VGCore::IVGPoint::Add ( struct IVGVector * Vector ) {
- HRESULT _hr = raw_Add(Vector);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2795)
- inline HRESULT VGCore::IVGPoint::Subtract ( struct IVGVector * Vector ) {
- HRESULT _hr = raw_Subtract(Vector);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2796)
- inline double VGCore::IVGPoint::DistanceTo ( struct IVGPoint * Point ) {
- double _result = 0;
- HRESULT _hr = raw_DistanceTo(Point, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2797)
- inline VGCore::IVGPointPtr VGCore::IVGPoint::GetCopy ( ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2798)
- inline HRESULT VGCore::IVGPoint::BindToDocument ( struct IVGDocument * Document ) {
- HRESULT _hr = raw_BindToDocument(Document);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGPointRange wrapper method implementations
- //
- #pragma implementation_key(2799)
- inline VGCore::IVGPointPtr VGCore::IVGPointRange::GetItem ( long Index ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2800)
- inline void VGCore::IVGPointRange::PutItem ( long Index, struct IVGPoint * ppVal ) {
- HRESULT _hr = put_Item(Index, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2801)
- inline IUnknownPtr VGCore::IVGPointRange::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2802)
- inline VGCore::IVGPointPtr VGCore::IVGPointRange::GetFirst ( ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2803)
- inline VGCore::IVGPointPtr VGCore::IVGPointRange::GetLast ( ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2804)
- inline long VGCore::IVGPointRange::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2805)
- inline HRESULT VGCore::IVGPointRange::AddPoint ( struct IVGPoint * Point ) {
- HRESULT _hr = raw_AddPoint(Point);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2806)
- inline HRESULT VGCore::IVGPointRange::AddPointXY ( double x, double y ) {
- HRESULT _hr = raw_AddPointXY(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2807)
- inline HRESULT VGCore::IVGPointRange::InsertPoint ( long Index, struct IVGPoint * Point ) {
- HRESULT _hr = raw_InsertPoint(Index, Point);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2808)
- inline HRESULT VGCore::IVGPointRange::AddPoints ( struct IVGPointRange * Points ) {
- HRESULT _hr = raw_AddPoints(Points);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2809)
- inline HRESULT VGCore::IVGPointRange::InsertPoints ( long Index, struct IVGPointRange * Points ) {
- HRESULT _hr = raw_InsertPoints(Index, Points);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2810)
- inline HRESULT VGCore::IVGPointRange::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2811)
- inline HRESULT VGCore::IVGPointRange::RemoveRange ( long StartIndex, long EndIndex ) {
- HRESULT _hr = raw_RemoveRange(StartIndex, EndIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2812)
- inline HRESULT VGCore::IVGPointRange::RemoveAll ( ) {
- HRESULT _hr = raw_RemoveAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2813)
- inline HRESULT VGCore::IVGPointRange::RemoveAdjacentDuplicates ( ) {
- HRESULT _hr = raw_RemoveAdjacentDuplicates();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2814)
- inline HRESULT VGCore::IVGPointRange::Reverse ( ) {
- HRESULT _hr = raw_Reverse();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2815)
- inline HRESULT VGCore::IVGPointRange::Smoothen ( double NumberOfPointsToSmoothAcross, VARIANT_BOOL Closed ) {
- HRESULT _hr = raw_Smoothen(NumberOfPointsToSmoothAcross, Closed);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2816)
- inline VGCore::IVGPointRangePtr VGCore::IVGPointRange::GetCopy ( ) {
- struct IVGPointRange * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointRangePtr(_result, false);
- }
- #pragma implementation_key(2817)
- inline HRESULT VGCore::IVGPointRange::BindToDocument ( struct IVGDocument * Document ) {
- HRESULT _hr = raw_BindToDocument(Document);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGTransformMatrix wrapper method implementations
- //
- #pragma implementation_key(2818)
- inline double VGCore::IVGTransformMatrix::Getd11 ( ) {
- double _result = 0;
- HRESULT _hr = get_d11(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2819)
- inline void VGCore::IVGTransformMatrix::Putd11 ( double pVal ) {
- HRESULT _hr = put_d11(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2820)
- inline double VGCore::IVGTransformMatrix::Getd12 ( ) {
- double _result = 0;
- HRESULT _hr = get_d12(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2821)
- inline void VGCore::IVGTransformMatrix::Putd12 ( double pVal ) {
- HRESULT _hr = put_d12(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2822)
- inline double VGCore::IVGTransformMatrix::Getd21 ( ) {
- double _result = 0;
- HRESULT _hr = get_d21(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2823)
- inline void VGCore::IVGTransformMatrix::Putd21 ( double pVal ) {
- HRESULT _hr = put_d21(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2824)
- inline double VGCore::IVGTransformMatrix::Getd22 ( ) {
- double _result = 0;
- HRESULT _hr = get_d22(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2825)
- inline void VGCore::IVGTransformMatrix::Putd22 ( double pVal ) {
- HRESULT _hr = put_d22(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2826)
- inline double VGCore::IVGTransformMatrix::GetTranslationX ( ) {
- double _result = 0;
- HRESULT _hr = get_TranslationX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2827)
- inline void VGCore::IVGTransformMatrix::PutTranslationX ( double pVal ) {
- HRESULT _hr = put_TranslationX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2828)
- inline double VGCore::IVGTransformMatrix::GetTranslationY ( ) {
- double _result = 0;
- HRESULT _hr = get_TranslationY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2829)
- inline void VGCore::IVGTransformMatrix::PutTranslationY ( double pVal ) {
- HRESULT _hr = put_TranslationY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2830)
- inline VGCore::IVGVectorPtr VGCore::IVGTransformMatrix::GetTranslation ( ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = get_Translation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2831)
- inline void VGCore::IVGTransformMatrix::PutTranslation ( struct IVGVector * ppVal ) {
- HRESULT _hr = put_Translation(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2832)
- inline HRESULT VGCore::IVGTransformMatrix::SetToIdentity ( ) {
- HRESULT _hr = raw_SetToIdentity();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2833)
- inline HRESULT VGCore::IVGTransformMatrix::Invert ( ) {
- HRESULT _hr = raw_Invert();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2834)
- inline HRESULT VGCore::IVGTransformMatrix::TranslateBy ( double x, double y ) {
- HRESULT _hr = raw_TranslateBy(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2835)
- inline HRESULT VGCore::IVGTransformMatrix::TranslateByVector ( struct IVGVector * Vector ) {
- HRESULT _hr = raw_TranslateByVector(Vector);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2836)
- inline HRESULT VGCore::IVGTransformMatrix::SetTranslation ( double x, double y ) {
- HRESULT _hr = raw_SetTranslation(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2837)
- inline HRESULT VGCore::IVGTransformMatrix::Rotate ( double Angle ) {
- HRESULT _hr = raw_Rotate(Angle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2838)
- inline HRESULT VGCore::IVGTransformMatrix::RotateAround ( double Angle, double x, double y ) {
- HRESULT _hr = raw_RotateAround(Angle, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2839)
- inline HRESULT VGCore::IVGTransformMatrix::Scale ( double ScaleX, double ScaleY ) {
- HRESULT _hr = raw_Scale(ScaleX, ScaleY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2840)
- inline HRESULT VGCore::IVGTransformMatrix::ScaleAround ( double ScaleX, double ScaleY, double x, double y ) {
- HRESULT _hr = raw_ScaleAround(ScaleX, ScaleY, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2841)
- inline HRESULT VGCore::IVGTransformMatrix::Transform ( struct IVGTransformMatrix * TransformMatrix ) {
- HRESULT _hr = raw_Transform(TransformMatrix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2842)
- inline HRESULT VGCore::IVGTransformMatrix::TransformAround ( struct IVGTransformMatrix * TransformMatrix, double x, double y ) {
- HRESULT _hr = raw_TransformAround(TransformMatrix, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2843)
- inline HRESULT VGCore::IVGTransformMatrix::TransformPoint ( struct IVGPoint * Point ) {
- HRESULT _hr = raw_TransformPoint(Point);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2844)
- inline HRESULT VGCore::IVGTransformMatrix::TransformPoints ( struct IVGPointRange * Points ) {
- HRESULT _hr = raw_TransformPoints(Points);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2845)
- inline HRESULT VGCore::IVGTransformMatrix::TransformVector ( struct IVGVector * Vector ) {
- HRESULT _hr = raw_TransformVector(Vector);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2846)
- inline HRESULT VGCore::IVGTransformMatrix::UntransformPoint ( struct IVGPoint * Point ) {
- HRESULT _hr = raw_UntransformPoint(Point);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2847)
- inline HRESULT VGCore::IVGTransformMatrix::UntransformPoints ( struct IVGPointRange * Points ) {
- HRESULT _hr = raw_UntransformPoints(Points);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2848)
- inline HRESULT VGCore::IVGTransformMatrix::UntransformVector ( struct IVGVector * Vector ) {
- HRESULT _hr = raw_UntransformVector(Vector);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2849)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsIdentity ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsIdentity(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2850)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsSkewedOrRotatedOrMirrored ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSkewedOrRotatedOrMirrored(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2851)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetContainsOnlyTranslation ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ContainsOnlyTranslation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2852)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsSkewedOrRotated ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSkewedOrRotated(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2853)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsScaledOrSkewedOrRotated ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsScaledOrSkewedOrRotated(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2854)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsOrthogonal ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOrthogonal(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2855)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsOrthonormalAxisAligned ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOrthonormalAxisAligned(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2856)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsOrthonormal ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOrthonormal(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2857)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsMirrored ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsMirrored(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2858)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsScaled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsScaled(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2859)
- inline VARIANT_BOOL VGCore::IVGTransformMatrix::GetIsTranslated ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsTranslated(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2860)
- inline VGCore::IVGTransformMatrixPtr VGCore::IVGTransformMatrix::GetCopy ( ) {
- struct IVGTransformMatrix * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransformMatrixPtr(_result, false);
- }
- #pragma implementation_key(2861)
- inline HRESULT VGCore::IVGTransformMatrix::BindToDocument ( struct IVGDocument * Document ) {
- HRESULT _hr = raw_BindToDocument(Document);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGProperties wrapper method implementations
- //
- #pragma implementation_key(2862)
- inline _variant_t VGCore::IVGProperties::GetItem ( _bstr_t Name, long ID ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Item(Name, ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(2863)
- inline void VGCore::IVGProperties::PutItem ( _bstr_t Name, long ID, const _variant_t & pVal ) {
- HRESULT _hr = put_Item(Name, ID, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2864)
- inline IUnknownPtr VGCore::IVGProperties::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2865)
- inline long VGCore::IVGProperties::GetIndex ( _bstr_t Name, long ID ) {
- long _result = 0;
- HRESULT _hr = get_Index(Name, ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2866)
- inline _variant_t VGCore::IVGProperties::GetItemByIndex ( long Index ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_ItemByIndex(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(2867)
- inline HRESULT VGCore::IVGProperties::Delete ( _bstr_t Name, long ID ) {
- HRESULT _hr = raw_Delete(Name, ID);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2868)
- inline HRESULT VGCore::IVGProperties::DeleteByIndex ( long Index ) {
- HRESULT _hr = raw_DeleteByIndex(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2869)
- inline long VGCore::IVGProperties::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2870)
- inline HRESULT VGCore::IVGProperties::Description ( long Index, BSTR * Name, long * ID ) {
- HRESULT _hr = raw_Description(Index, Name, ID);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2871)
- inline HRESULT VGCore::IVGProperties::PutFile ( _bstr_t Name, long ID, _bstr_t FileName ) {
- HRESULT _hr = raw_PutFile(Name, ID, FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2872)
- inline HRESULT VGCore::IVGProperties::GetFile ( _bstr_t Name, long ID, _bstr_t FileName ) {
- HRESULT _hr = raw_GetFile(Name, ID, FileName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2873)
- inline VARIANT_BOOL VGCore::IVGProperties::Exists ( _bstr_t Name, long ID ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Exists(Name, ID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2874)
- inline VARIANT_BOOL VGCore::IVGProperties::DeleteAll ( _bstr_t Name ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_DeleteAll(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2875)
- inline VGCore::IVGPointPtr VGCore::IVGProperties::GetPoint ( _bstr_t uuidName ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_GetPoint(uuidName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2876)
- inline HRESULT VGCore::IVGProperties::SetPoint ( _bstr_t uuidName, struct IVGPoint * pVal ) {
- HRESULT _hr = raw_SetPoint(uuidName, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2877)
- inline VGCore::IVGVectorPtr VGCore::IVGProperties::GetVector ( _bstr_t uuidName ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_GetVector(uuidName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2878)
- inline HRESULT VGCore::IVGProperties::SetVector ( _bstr_t uuidName, struct IVGVector * pVal ) {
- HRESULT _hr = raw_SetVector(uuidName, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2879)
- inline VGCore::IVGCurvePtr VGCore::IVGProperties::GetCurve ( _bstr_t uuidName ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = raw_GetCurve(uuidName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2880)
- inline HRESULT VGCore::IVGProperties::SetCurve ( _bstr_t uuidName, struct IVGCurve * pVal ) {
- HRESULT _hr = raw_SetCurve(uuidName, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGToolStateAttributes wrapper method implementations
- //
- #pragma implementation_key(2881)
- inline _bstr_t VGCore::IVGToolStateAttributes::GetPropertyBarGuid ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PropertyBarGuid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2882)
- inline void VGCore::IVGToolStateAttributes::PutPropertyBarGuid ( _bstr_t pVal ) {
- HRESULT _hr = put_PropertyBarGuid(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2883)
- inline _bstr_t VGCore::IVGToolStateAttributes::GetContextMenuGuid ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ContextMenuGuid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(2884)
- inline void VGCore::IVGToolStateAttributes::PutContextMenuGuid ( _bstr_t pVal ) {
- HRESULT _hr = put_ContextMenuGuid(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2885)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetUseTabletPressure ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseTabletPressure(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2886)
- inline void VGCore::IVGToolStateAttributes::PutUseTabletPressure ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseTabletPressure(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2887)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetAllowTempPickState ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AllowTempPickState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2888)
- inline void VGCore::IVGToolStateAttributes::PutAllowTempPickState ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AllowTempPickState(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2889)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetAllowAutopan ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AllowAutopan(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2890)
- inline void VGCore::IVGToolStateAttributes::PutAllowAutopan ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AllowAutopan(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2891)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetAllowContextMenu ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AllowContextMenu(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2892)
- inline void VGCore::IVGToolStateAttributes::PutAllowContextMenu ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AllowContextMenu(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2893)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetCanUpdateSelectionOnMouseClick ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CanUpdateSelectionOnMouseClick(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2894)
- inline void VGCore::IVGToolStateAttributes::PutCanUpdateSelectionOnMouseClick ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_CanUpdateSelectionOnMouseClick(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2895)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetDeselectOnLButtonDown ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DeselectOnLButtonDown(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2896)
- inline void VGCore::IVGToolStateAttributes::PutDeselectOnLButtonDown ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DeselectOnLButtonDown(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2897)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::GetEnterGraceStateOnLButtonDown ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EnterGraceStateOnLButtonDown(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2898)
- inline void VGCore::IVGToolStateAttributes::PutEnterGraceStateOnLButtonDown ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_EnterGraceStateOnLButtonDown(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2899)
- inline void VGCore::IVGToolStateAttributes::PutStatusInfo ( _bstr_t _arg1 ) {
- HRESULT _hr = put_StatusInfo(_arg1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(2900)
- inline HRESULT VGCore::IVGToolStateAttributes::SetCursor ( enum cdrCursorShape CursorShape ) {
- HRESULT _hr = raw_SetCursor(CursorShape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2901)
- inline HRESULT VGCore::IVGToolStateAttributes::StartTimer ( long TimerId, long TimeToTick, VARIANT_BOOL OneTime ) {
- HRESULT _hr = raw_StartTimer(TimerId, TimeToTick, OneTime);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2902)
- inline HRESULT VGCore::IVGToolStateAttributes::StopTimer ( long TimerId ) {
- HRESULT _hr = raw_StopTimer(TimerId);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2903)
- inline HRESULT VGCore::IVGToolStateAttributes::SnapMouse ( struct IVGPoint * pt ) {
- HRESULT _hr = raw_SnapMouse(pt);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2904)
- inline HRESULT VGCore::IVGToolStateAttributes::AnchoredSnapMouse ( struct IVGPoint * pt, struct IVGPoint * AnchorPoint ) {
- HRESULT _hr = raw_AnchoredSnapMouse(pt, AnchorPoint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2905)
- inline HRESULT VGCore::IVGToolStateAttributes::ConstrainMouse ( struct IVGPoint * pt, struct IVGPoint * AnchorPoint ) {
- HRESULT _hr = raw_ConstrainMouse(pt, AnchorPoint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2906)
- inline VARIANT_BOOL VGCore::IVGToolStateAttributes::IsKeyDown ( long KeyCode ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsKeyDown(KeyCode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2907)
- inline double VGCore::IVGToolStateAttributes::GetCurrentPressure ( ) {
- double _result = 0;
- HRESULT _hr = get_CurrentPressure(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2908)
- inline HRESULT VGCore::IVGToolStateAttributes::SetCursorGuid ( _bstr_t newVal ) {
- HRESULT _hr = raw_SetCursorGuid(newVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2909)
- inline HRESULT VGCore::IVGToolStateAttributes::SetStateHintsPage ( _bstr_t newVal ) {
- HRESULT _hr = raw_SetStateHintsPage(newVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2910)
- inline HRESULT VGCore::IVGToolStateAttributes::ExitTemporaryToolState ( ) {
- HRESULT _hr = raw_ExitTemporaryToolState();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2911)
- inline VGCore::IVGDocumentPtr VGCore::IVGToolStateAttributes::GetDocument ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Document(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(2912)
- inline HRESULT VGCore::IVGToolStateAttributes::SetFocus ( ) {
- HRESULT _hr = raw_SetFocus();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2913)
- inline HRESULT VGCore::IVGToolStateAttributes::CaptureMouse ( ) {
- HRESULT _hr = raw_CaptureMouse();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2914)
- inline HRESULT VGCore::IVGToolStateAttributes::ReleaseMouse ( ) {
- HRESULT _hr = raw_ReleaseMouse();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGToolState wrapper method implementations
- //
- #pragma implementation_key(2915)
- inline HRESULT VGCore::IVGToolState::OnStartState ( struct IVGToolStateAttributes * StateAttributes ) {
- HRESULT _hr = raw_OnStartState(StateAttributes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2916)
- inline HRESULT VGCore::IVGToolState::OnExitState ( ) {
- HRESULT _hr = raw_OnExitState();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2917)
- inline HRESULT VGCore::IVGToolState::OnMouseMove ( struct IVGPoint * pt ) {
- HRESULT _hr = raw_OnMouseMove(pt);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2918)
- inline HRESULT VGCore::IVGToolState::OnLButtonDown ( struct IVGPoint * pt ) {
- HRESULT _hr = raw_OnLButtonDown(pt);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2919)
- inline HRESULT VGCore::IVGToolState::OnLButtonDownLeaveGrace ( struct IVGPoint * pt ) {
- HRESULT _hr = raw_OnLButtonDownLeaveGrace(pt);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2920)
- inline HRESULT VGCore::IVGToolState::OnLButtonUp ( struct IVGPoint * pt ) {
- HRESULT _hr = raw_OnLButtonUp(pt);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2921)
- inline HRESULT VGCore::IVGToolState::OnLButtonDblClick ( struct IVGPoint * pt ) {
- HRESULT _hr = raw_OnLButtonDblClick(pt);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2922)
- inline HRESULT VGCore::IVGToolState::OnClick ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
- HRESULT _hr = raw_OnClick(pt, Handled);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2923)
- inline HRESULT VGCore::IVGToolState::OnRButtonDown ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
- HRESULT _hr = raw_OnRButtonDown(pt, Handled);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2924)
- inline HRESULT VGCore::IVGToolState::OnRButtonUp ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
- HRESULT _hr = raw_OnRButtonUp(pt, Handled);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2925)
- inline HRESULT VGCore::IVGToolState::OnKeyDown ( long KeyCode, VARIANT_BOOL * Handled ) {
- HRESULT _hr = raw_OnKeyDown(KeyCode, Handled);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2926)
- inline HRESULT VGCore::IVGToolState::OnKeyUp ( long KeyCode, VARIANT_BOOL * Handled ) {
- HRESULT _hr = raw_OnKeyUp(KeyCode, Handled);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2927)
- inline HRESULT VGCore::IVGToolState::OnDelete ( VARIANT_BOOL * Handled ) {
- HRESULT _hr = raw_OnDelete(Handled);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2928)
- inline HRESULT VGCore::IVGToolState::OnAbort ( ) {
- HRESULT _hr = raw_OnAbort();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2929)
- inline HRESULT VGCore::IVGToolState::OnCommit ( struct IVGPoint * pt ) {
- HRESULT _hr = raw_OnCommit(pt);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2930)
- inline HRESULT VGCore::IVGToolState::OnSnapMouse ( struct IVGPoint * pt, VARIANT_BOOL * Handled ) {
- HRESULT _hr = raw_OnSnapMouse(pt, Handled);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2931)
- inline HRESULT VGCore::IVGToolState::OnTimer ( long TimerId, long TimeEllapsed ) {
- HRESULT _hr = raw_OnTimer(TimerId, TimeEllapsed);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2932)
- inline VARIANT_BOOL VGCore::IVGToolState::GetIsDrawing ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsDrawing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGOnScreenCurve wrapper method implementations
- //
- #pragma implementation_key(2933)
- inline HRESULT VGCore::IVGOnScreenCurve::Show ( ) {
- HRESULT _hr = raw_Show();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2934)
- inline HRESULT VGCore::IVGOnScreenCurve::Hide ( ) {
- HRESULT _hr = raw_Hide();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2935)
- inline HRESULT VGCore::IVGOnScreenCurve::SetPen ( long Color, long WidthInPixels, enum cdrOnScreenCurvePenStyle Style ) {
- HRESULT _hr = raw_SetPen(Color, WidthInPixels, Style);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2936)
- inline HRESULT VGCore::IVGOnScreenCurve::SetNoPen ( ) {
- HRESULT _hr = raw_SetNoPen();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2937)
- inline HRESULT VGCore::IVGOnScreenCurve::SetBrush ( long Color ) {
- HRESULT _hr = raw_SetBrush(Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2938)
- inline HRESULT VGCore::IVGOnScreenCurve::SetNoBrush ( ) {
- HRESULT _hr = raw_SetNoBrush();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2939)
- inline HRESULT VGCore::IVGOnScreenCurve::SetCurve ( struct IVGCurve * Curve ) {
- HRESULT _hr = raw_SetCurve(Curve);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2940)
- inline HRESULT VGCore::IVGOnScreenCurve::SetLine ( double x1, double y1, double x2, double y2 ) {
- HRESULT _hr = raw_SetLine(x1, y1, x2, y2);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2941)
- inline HRESULT VGCore::IVGOnScreenCurve::SetRectangle ( double x1, double y1, double x2, double y2 ) {
- HRESULT _hr = raw_SetRectangle(x1, y1, x2, y2);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2942)
- inline HRESULT VGCore::IVGOnScreenCurve::SetCircle ( double CenterX, double CenterY, double Radius ) {
- HRESULT _hr = raw_SetCircle(CenterX, CenterY, Radius);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2943)
- inline HRESULT VGCore::IVGOnScreenCurve::SetPoints ( struct IVGPointRange * Points ) {
- HRESULT _hr = raw_SetPoints(Points);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGMathUtils wrapper method implementations
- //
- #pragma implementation_key(2944)
- inline VGCore::IVGPointPtr VGCore::IVGMathUtils::Interpolate ( struct IVGPoint * S, struct IVGPoint * E, double t ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_Interpolate(S, E, t, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2945)
- inline VARIANT_BOOL VGCore::IVGMathUtils::IntersectLineSegments ( struct IVGPoint * S1, struct IVGPoint * E1, struct IVGPoint * S2, struct IVGPoint * E2, struct IVGPoint * * ppVal ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IntersectLineSegments(S1, E1, S2, E2, ppVal, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2946)
- inline double VGCore::IVGMathUtils::DistanceToLineSegment ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
- double _result = 0;
- HRESULT _hr = raw_DistanceToLineSegment(S, E, Point, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2947)
- inline VGCore::IVGPointPtr VGCore::IVGMathUtils::ClosestPointToLineSegment ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_ClosestPointToLineSegment(S, E, Point, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2948)
- inline VARIANT_BOOL VGCore::IVGMathUtils::IntersectInfiniteLines ( struct IVGPoint * S1, struct IVGPoint * E1, struct IVGPoint * S2, struct IVGPoint * E2, struct IVGPoint * * ppVal ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IntersectInfiniteLines(S1, E1, S2, E2, ppVal, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2949)
- inline double VGCore::IVGMathUtils::DistanceToInfiniteLine ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
- double _result = 0;
- HRESULT _hr = raw_DistanceToInfiniteLine(S, E, Point, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2950)
- inline VGCore::IVGPointPtr VGCore::IVGMathUtils::ClosestPointToInfiniteLine ( struct IVGPoint * S, struct IVGPoint * E, struct IVGPoint * Point ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_ClosestPointToInfiniteLine(S, E, Point, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2951)
- inline double VGCore::IVGMathUtils::GetRandomReal ( double low, double High ) {
- double _result = 0;
- HRESULT _hr = raw_GetRandomReal(low, High, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2952)
- inline long VGCore::IVGMathUtils::GetRandomInteger ( long low, long High ) {
- long _result = 0;
- HRESULT _hr = raw_GetRandomInteger(low, High, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2953)
- inline HRESULT VGCore::IVGMathUtils::FitLineToPoints ( struct IVGPointRange * Points, struct IVGPoint * * Origin, struct IVGVector * * Direction ) {
- HRESULT _hr = raw_FitLineToPoints(Points, Origin, Direction);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2954)
- inline VGCore::IVGPointPtr VGCore::IVGMathUtils::MidPoint ( struct IVGPoint * S, struct IVGPoint * E ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_MidPoint(S, E, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2955)
- inline VGCore::IVGPointPtr VGCore::IVGMathUtils::CreatePoint ( double x, double y ) {
- struct IVGPoint * _result = 0;
- HRESULT _hr = raw_CreatePoint(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointPtr(_result, false);
- }
- #pragma implementation_key(2956)
- inline VGCore::IVGVectorPtr VGCore::IVGMathUtils::CreateVector ( double x, double y ) {
- struct IVGVector * _result = 0;
- HRESULT _hr = raw_CreateVector(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGVectorPtr(_result, false);
- }
- #pragma implementation_key(2957)
- inline VGCore::IVGPointRangePtr VGCore::IVGMathUtils::CreatePointRange ( ) {
- struct IVGPointRange * _result = 0;
- HRESULT _hr = raw_CreatePointRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPointRangePtr(_result, false);
- }
- #pragma implementation_key(2958)
- inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateIdentityTransformMatrix ( ) {
- struct IVGTransformMatrix * _result = 0;
- HRESULT _hr = raw_CreateIdentityTransformMatrix(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransformMatrixPtr(_result, false);
- }
- #pragma implementation_key(2959)
- inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateRotationTransformMatrix ( double Angle, double OriginX, double OriginY ) {
- struct IVGTransformMatrix * _result = 0;
- HRESULT _hr = raw_CreateRotationTransformMatrix(Angle, OriginX, OriginY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransformMatrixPtr(_result, false);
- }
- #pragma implementation_key(2960)
- inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateTranslationTransformMatrix ( double TranslateX, double TranslateY ) {
- struct IVGTransformMatrix * _result = 0;
- HRESULT _hr = raw_CreateTranslationTransformMatrix(TranslateX, TranslateY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransformMatrixPtr(_result, false);
- }
- #pragma implementation_key(2961)
- inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateScaleTransformMatrix ( double ScaleX, double ScaleY, double OriginX, double OriginY ) {
- struct IVGTransformMatrix * _result = 0;
- HRESULT _hr = raw_CreateScaleTransformMatrix(ScaleX, ScaleY, OriginX, OriginY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransformMatrixPtr(_result, false);
- }
- #pragma implementation_key(2962)
- inline VGCore::IVGTransformMatrixPtr VGCore::IVGMathUtils::CreateLineSegmentTransformMatrix ( struct IVGPoint * FromStart, struct IVGPoint * FromEnd, struct IVGPoint * ToStart, struct IVGPoint * ToEnd ) {
- struct IVGTransformMatrix * _result = 0;
- HRESULT _hr = raw_CreateLineSegmentTransformMatrix(FromStart, FromEnd, ToStart, ToEnd, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTransformMatrixPtr(_result, false);
- }
- //
- // interface IVGNodeRange wrapper method implementations
- //
- #pragma implementation_key(2963)
- inline VGCore::IVGApplicationPtr VGCore::IVGNodeRange::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2964)
- inline VGCore::IVGCurvePtr VGCore::IVGNodeRange::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(2965)
- inline VGCore::IVGNodePtr VGCore::IVGNodeRange::GetItem ( long Index ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2966)
- inline long VGCore::IVGNodeRange::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2967)
- inline enum VGCore::cdrNodeType VGCore::IVGNodeRange::GetType ( ) {
- enum cdrNodeType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2968)
- inline double VGCore::IVGNodeRange::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2969)
- inline double VGCore::IVGNodeRange::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2970)
- inline double VGCore::IVGNodeRange::GetSizeWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2971)
- inline double VGCore::IVGNodeRange::GetSizeHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2972)
- inline HRESULT VGCore::IVGNodeRange::Add ( struct IVGNode * Node ) {
- HRESULT _hr = raw_Add(Node);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2973)
- inline HRESULT VGCore::IVGNodeRange::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2974)
- inline HRESULT VGCore::IVGNodeRange::Move ( double DeltaX, double DeltaY, long AnchorIndex, VARIANT_BOOL ElasticMode ) {
- HRESULT _hr = raw_Move(DeltaX, DeltaY, AnchorIndex, ElasticMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2975)
- inline HRESULT VGCore::IVGNodeRange::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2976)
- inline HRESULT VGCore::IVGNodeRange::Stretch ( float RatioX, float RatioY, VARIANT_BOOL UseAnchorPoint, double StretchAnchorX, double StretchAnchorY ) {
- HRESULT _hr = raw_Stretch(RatioX, RatioY, UseAnchorPoint, StretchAnchorX, StretchAnchorY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2977)
- inline HRESULT VGCore::IVGNodeRange::Rotate ( double Angle, VARIANT_BOOL UseCenterPoint, double RotationCenterX, double RotationCenterY ) {
- HRESULT _hr = raw_Rotate(Angle, UseCenterPoint, RotationCenterX, RotationCenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2978)
- inline HRESULT VGCore::IVGNodeRange::Skew ( double AngleX, double AngleY, VARIANT_BOOL UseAnchorPoint, double SkewAnchorX, double SkewAnchorY ) {
- HRESULT _hr = raw_Skew(AngleX, AngleY, UseAnchorPoint, SkewAnchorX, SkewAnchorY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2979)
- inline HRESULT VGCore::IVGNodeRange::AutoReduce ( double PrecisionMargin ) {
- HRESULT _hr = raw_AutoReduce(PrecisionMargin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2980)
- inline HRESULT VGCore::IVGNodeRange::RemoveAll ( ) {
- HRESULT _hr = raw_RemoveAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2981)
- inline HRESULT VGCore::IVGNodeRange::SetType ( enum cdrNodeType Type ) {
- HRESULT _hr = raw_SetType(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2982)
- inline IUnknownPtr VGCore::IVGNodeRange::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(2983)
- inline HRESULT VGCore::IVGNodeRange::AddRange ( struct IVGNodeRange * NodeRange ) {
- HRESULT _hr = raw_AddRange(NodeRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2984)
- inline VGCore::IVGSegmentRangePtr VGCore::IVGNodeRange::GetSegmentRange ( ) {
- struct IVGSegmentRange * _result = 0;
- HRESULT _hr = get_SegmentRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentRangePtr(_result, false);
- }
- #pragma implementation_key(2985)
- inline HRESULT VGCore::IVGNodeRange::BreakApart ( ) {
- HRESULT _hr = raw_BreakApart();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2986)
- inline HRESULT VGCore::IVGNodeRange::Smoothen ( long Smoothness ) {
- HRESULT _hr = raw_Smoothen(Smoothness);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2987)
- inline HRESULT VGCore::IVGNodeRange::RemoveRange ( struct IVGNodeRange * NodeRange ) {
- HRESULT _hr = raw_RemoveRange(NodeRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2988)
- inline HRESULT VGCore::IVGNodeRange::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2989)
- inline HRESULT VGCore::IVGNodeRange::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2990)
- inline HRESULT VGCore::IVGNodeRange::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2991)
- inline HRESULT VGCore::IVGNodeRange::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2992)
- inline HRESULT VGCore::IVGNodeRange::AddToSelection ( ) {
- HRESULT _hr = raw_AddToSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2993)
- inline HRESULT VGCore::IVGNodeRange::RemoveFromSelection ( ) {
- HRESULT _hr = raw_RemoveFromSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(2994)
- inline VGCore::IVGNodePtr VGCore::IVGNodeRange::GetFirstNode ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_FirstNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2995)
- inline VGCore::IVGNodePtr VGCore::IVGNodeRange::GetLastNode ( ) {
- struct IVGNode * _result = 0;
- HRESULT _hr = get_LastNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodePtr(_result, false);
- }
- #pragma implementation_key(2996)
- inline VARIANT_BOOL VGCore::IVGNodeRange::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(2997)
- inline VGCore::IVGRectPtr VGCore::IVGNodeRange::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- //
- // interface IVGSegmentRange wrapper method implementations
- //
- #pragma implementation_key(2998)
- inline VGCore::IVGApplicationPtr VGCore::IVGSegmentRange::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(2999)
- inline VGCore::IVGCurvePtr VGCore::IVGSegmentRange::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(3000)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegmentRange::GetItem ( long Index ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(3001)
- inline long VGCore::IVGSegmentRange::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3002)
- inline enum VGCore::cdrSegmentType VGCore::IVGSegmentRange::GetType ( ) {
- enum cdrSegmentType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3003)
- inline double VGCore::IVGSegmentRange::GetLength ( ) {
- double _result = 0;
- HRESULT _hr = get_Length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3004)
- inline HRESULT VGCore::IVGSegmentRange::Add ( struct IVGSegment * Segment ) {
- HRESULT _hr = raw_Add(Segment);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3005)
- inline HRESULT VGCore::IVGSegmentRange::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3006)
- inline HRESULT VGCore::IVGSegmentRange::AddNode ( ) {
- HRESULT _hr = raw_AddNode();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3007)
- inline HRESULT VGCore::IVGSegmentRange::RemoveAll ( ) {
- HRESULT _hr = raw_RemoveAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3008)
- inline HRESULT VGCore::IVGSegmentRange::SetType ( enum cdrSegmentType Type ) {
- HRESULT _hr = raw_SetType(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3009)
- inline IUnknownPtr VGCore::IVGSegmentRange::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3010)
- inline HRESULT VGCore::IVGSegmentRange::AddRange ( struct IVGSegmentRange * SegmentRange ) {
- HRESULT _hr = raw_AddRange(SegmentRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3011)
- inline VGCore::IVGNodeRangePtr VGCore::IVGSegmentRange::GetNodeRange ( ) {
- struct IVGNodeRange * _result = 0;
- HRESULT _hr = get_NodeRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGNodeRangePtr(_result, false);
- }
- #pragma implementation_key(3012)
- inline HRESULT VGCore::IVGSegmentRange::RemoveRange ( struct IVGSegmentRange * SegmentRange ) {
- HRESULT _hr = raw_RemoveRange(SegmentRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3013)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegmentRange::GetFirstSegment ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_FirstSegment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(3014)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegmentRange::GetLastSegment ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_LastSegment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(3015)
- inline HRESULT VGCore::IVGSegmentRange::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3016)
- inline HRESULT VGCore::IVGSegmentRange::AddToSelection ( ) {
- HRESULT _hr = raw_AddToSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3017)
- inline HRESULT VGCore::IVGSegmentRange::RemoveFromSelection ( ) {
- HRESULT _hr = raw_RemoveFromSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGSegments wrapper method implementations
- //
- #pragma implementation_key(3018)
- inline VGCore::IVGApplicationPtr VGCore::IVGSegments::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(3019)
- inline VGCore::IVGCurvePtr VGCore::IVGSegments::GetParent ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(3020)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegments::GetItem ( long Index ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(3021)
- inline IUnknownPtr VGCore::IVGSegments::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3022)
- inline long VGCore::IVGSegments::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3023)
- inline VGCore::IVGSegmentRangePtr VGCore::IVGSegments::Range ( SAFEARRAY * * IndexArray ) {
- struct IVGSegmentRange * _result = 0;
- HRESULT _hr = raw_Range(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentRangePtr(_result, false);
- }
- #pragma implementation_key(3024)
- inline VGCore::IVGSegmentRangePtr VGCore::IVGSegments::All ( ) {
- struct IVGSegmentRange * _result = 0;
- HRESULT _hr = raw_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentRangePtr(_result, false);
- }
- #pragma implementation_key(3025)
- inline VGCore::IVGSegmentRangePtr VGCore::IVGSegments::AllExcluding ( SAFEARRAY * * IndexArray ) {
- struct IVGSegmentRange * _result = 0;
- HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentRangePtr(_result, false);
- }
- #pragma implementation_key(3026)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegments::GetFirst ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- #pragma implementation_key(3027)
- inline VGCore::IVGSegmentPtr VGCore::IVGSegments::GetLast ( ) {
- struct IVGSegment * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSegmentPtr(_result, false);
- }
- //
- // interface IVGBitmap wrapper method implementations
- //
- #pragma implementation_key(3028)
- inline long VGCore::IVGBitmap::GetSizeWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3029)
- inline long VGCore::IVGBitmap::GetSizeHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3030)
- inline long VGCore::IVGBitmap::GetResolutionX ( ) {
- long _result = 0;
- HRESULT _hr = get_ResolutionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3031)
- inline long VGCore::IVGBitmap::GetResolutionY ( ) {
- long _result = 0;
- HRESULT _hr = get_ResolutionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3032)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetExternallyLinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ExternallyLinked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3033)
- inline HRESULT VGCore::IVGBitmap::ResolveLink ( ) {
- HRESULT _hr = raw_ResolveLink();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3034)
- inline HRESULT VGCore::IVGBitmap::UpdateLink ( ) {
- HRESULT _hr = raw_UpdateLink();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3035)
- inline HRESULT VGCore::IVGBitmap::Inflate ( long Width, long Height ) {
- HRESULT _hr = raw_Inflate(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3036)
- inline _bstr_t VGCore::IVGBitmap::GetLinkFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LinkFileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3037)
- inline enum VGCore::cdrImageType VGCore::IVGBitmap::GetMode ( ) {
- enum cdrImageType _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3038)
- inline VGCore::ICorelExportFilterPtr VGCore::IVGBitmap::SaveAs ( _bstr_t FileName, enum cdrFilter Filter, enum cdrCompressionType Compression ) {
- struct ICorelExportFilter * _result = 0;
- HRESULT _hr = raw_SaveAs(FileName, Filter, Compression, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICorelExportFilterPtr(_result, false);
- }
- #pragma implementation_key(3039)
- inline HRESULT VGCore::IVGBitmap::Resample ( long Width, long Height, VARIANT_BOOL AntiAlias, double ResolutionX, double ResolutionY ) {
- HRESULT _hr = raw_Resample(Width, Height, AntiAlias, ResolutionX, ResolutionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3040)
- inline HRESULT VGCore::IVGBitmap::ConvertTo ( enum cdrImageType Mode ) {
- HRESULT _hr = raw_ConvertTo(Mode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3041)
- inline HRESULT VGCore::IVGBitmap::ApplyBitmapEffect ( _bstr_t UndoString, _bstr_t Command ) {
- HRESULT _hr = raw_ApplyBitmapEffect(UndoString, Command);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3042)
- inline HRESULT VGCore::IVGBitmap::Crop ( ) {
- HRESULT _hr = raw_Crop();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3043)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetTransparent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Transparent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3044)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetWatermarked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Watermarked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3045)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetOPILinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OPILinked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3046)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetIsEPS ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEPS(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3047)
- inline DATE VGCore::IVGBitmap::GetExternalLinkTime ( ) {
- DATE _result = 0;
- HRESULT _hr = get_ExternalLinkTime(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3048)
- 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 ) {
- HRESULT _hr = raw_ConvertToPaletted(PaletteType, DitherType, DitherIntensity, Smoothing, NumColors, ColorSensitive, TargetColor, Importance, Lightness, ToleranceA, ToleranceB, Palette);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3049)
- inline HRESULT VGCore::IVGBitmap::ConvertToPaletted2 ( struct IVGStructPaletteOptions * Options ) {
- HRESULT _hr = raw_ConvertToPaletted2(Options);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3050)
- inline HRESULT VGCore::IVGBitmap::ConvertToBW ( enum cdrRenderType RenderType, long Intensity, long Threshold, enum cdrHalftoneType Halftone, long HalftoneAngle, long HalftoneSize ) {
- HRESULT _hr = raw_ConvertToBW(RenderType, Intensity, Threshold, Halftone, HalftoneAngle, HalftoneSize);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3051)
- inline HRESULT VGCore::IVGBitmap::ResetCropEnvelope ( ) {
- HRESULT _hr = raw_ResetCropEnvelope();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3052)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetEmbedded ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Embedded(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3053)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetCropped ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Cropped(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3054)
- inline VARIANT_BOOL VGCore::IVGBitmap::GetCropEnvelopeModified ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CropEnvelopeModified(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3055)
- inline VGCore::IVGCurvePtr VGCore::IVGBitmap::GetCropEnvelope ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_CropEnvelope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(3056)
- inline VGCore::IVGCurvePtr VGCore::IVGBitmap::GetBoundingBoxPath ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_BoundingBoxPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(3057)
- inline HRESULT VGCore::IVGBitmap::ConvertToDuotone ( struct IVGDuotone * Duotone ) {
- HRESULT _hr = raw_ConvertToDuotone(Duotone);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3058)
- inline VGCore::IVGDuotonePtr VGCore::IVGBitmap::GetDuotone ( ) {
- struct IVGDuotone * _result = 0;
- HRESULT _hr = get_Duotone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDuotonePtr(_result, false);
- }
- #pragma implementation_key(3059)
- inline void VGCore::IVGBitmap::PutLinkFileName ( _bstr_t pVal ) {
- HRESULT _hr = put_LinkFileName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3060)
- 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 ) {
- struct IVGTraceSettings * _result = 0;
- HRESULT _hr = raw_Trace(TraceType, Smoothing, DetailLevelPercent, ColorMode, PaletteID, ColorCount, DeleteOriginalObject, RemoveBackground, RemoveEntireBackColor, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTraceSettingsPtr(_result, false);
- }
- #pragma implementation_key(3061)
- inline VGCore::IVGImagePtr VGCore::IVGBitmap::GetImage ( ) {
- struct IVGImage * _result = 0;
- HRESULT _hr = get_Image(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImagePtr(_result, false);
- }
- #pragma implementation_key(3062)
- inline VGCore::IVGImagePtr VGCore::IVGBitmap::GetImageAlpha ( ) {
- struct IVGImage * _result = 0;
- HRESULT _hr = get_ImageAlpha(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImagePtr(_result, false);
- }
- #pragma implementation_key(3063)
- inline HRESULT VGCore::IVGBitmap::SetImageData ( struct IVGImage * Image, struct IVGImage * Alpha, long OffsetX, long OffsetY ) {
- HRESULT _hr = raw_SetImageData(Image, Alpha, OffsetX, OffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGEPS wrapper method implementations
- //
- #pragma implementation_key(3064)
- inline VGCore::IVGBitmapPtr VGCore::IVGEPS::GetPreviewBitmap ( ) {
- struct IVGBitmap * _result = 0;
- HRESULT _hr = get_PreviewBitmap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGBitmapPtr(_result, false);
- }
- #pragma implementation_key(3065)
- inline SAFEARRAY * VGCore::IVGEPS::GetData ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = get_Data(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3066)
- inline _bstr_t VGCore::IVGEPS::GetDataAsString ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DataAsString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3067)
- inline VGCore::IVGCurvePtr VGCore::IVGEPS::GetCropEnvelope ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_CropEnvelope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(3068)
- inline HRESULT VGCore::IVGEPS::ResetCropEnvelope ( ) {
- HRESULT _hr = raw_ResetCropEnvelope();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3069)
- inline VARIANT_BOOL VGCore::IVGEPS::GetCropEnvelopeModified ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CropEnvelopeModified(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3070)
- inline VGCore::IVGCurvePtr VGCore::IVGEPS::GetBoundingBoxPath ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_BoundingBoxPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(3071)
- inline _bstr_t VGCore::IVGEPS::GetLinkFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LinkFileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3072)
- inline void VGCore::IVGEPS::PutLinkFileName ( _bstr_t pVal ) {
- HRESULT _hr = put_LinkFileName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3073)
- inline SAFEARRAY * VGCore::IVGEPS::GetDCSFileNames ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = get_DCSFileNames(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGDuotone wrapper method implementations
- //
- #pragma implementation_key(3074)
- inline enum VGCore::cdrDuotoneType VGCore::IVGDuotone::GetType ( ) {
- enum cdrDuotoneType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3075)
- inline void VGCore::IVGDuotone::PutType ( enum cdrDuotoneType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3076)
- inline VARIANT_BOOL VGCore::IVGDuotone::GetUseOverprints ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseOverprints(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3077)
- inline void VGCore::IVGDuotone::PutUseOverprints ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseOverprints(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3078)
- inline long VGCore::IVGDuotone::GetOverprintCount ( ) {
- long _result = 0;
- HRESULT _hr = get_OverprintCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3079)
- inline VGCore::IVGDuotoneOverprintPtr VGCore::IVGDuotone::GetOverprints ( long Index ) {
- struct IVGDuotoneOverprint * _result = 0;
- HRESULT _hr = get_Overprints(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDuotoneOverprintPtr(_result, false);
- }
- #pragma implementation_key(3080)
- inline long VGCore::IVGDuotone::GetInkCount ( ) {
- long _result = 0;
- HRESULT _hr = get_InkCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3081)
- inline VGCore::IVGDuotoneInkPtr VGCore::IVGDuotone::GetInks ( long Index ) {
- struct IVGDuotoneInk * _result = 0;
- HRESULT _hr = get_Inks(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDuotoneInkPtr(_result, false);
- }
- #pragma implementation_key(3082)
- inline VGCore::IVGDuotonePtr VGCore::IVGDuotone::GetCopy ( ) {
- struct IVGDuotone * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDuotonePtr(_result, false);
- }
- #pragma implementation_key(3083)
- inline HRESULT VGCore::IVGDuotone::CopyAssign ( struct IVGDuotone * Duotone ) {
- HRESULT _hr = raw_CopyAssign(Duotone);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3084)
- inline HRESULT VGCore::IVGDuotone::ResetOverprints ( ) {
- HRESULT _hr = raw_ResetOverprints();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3085)
- inline VARIANT_BOOL VGCore::IVGDuotone::Load ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Load(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3086)
- inline VARIANT_BOOL VGCore::IVGDuotone::Save ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Save(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGDuotoneOverprint wrapper method implementations
- //
- #pragma implementation_key(3087)
- inline long VGCore::IVGDuotoneOverprint::GetCyan ( ) {
- long _result = 0;
- HRESULT _hr = get_Cyan(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3088)
- inline void VGCore::IVGDuotoneOverprint::PutCyan ( long pVal ) {
- HRESULT _hr = put_Cyan(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3089)
- inline long VGCore::IVGDuotoneOverprint::GetMagenta ( ) {
- long _result = 0;
- HRESULT _hr = get_Magenta(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3090)
- inline void VGCore::IVGDuotoneOverprint::PutMagenta ( long pVal ) {
- HRESULT _hr = put_Magenta(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3091)
- inline long VGCore::IVGDuotoneOverprint::GetYellow ( ) {
- long _result = 0;
- HRESULT _hr = get_Yellow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3092)
- inline void VGCore::IVGDuotoneOverprint::PutYellow ( long pVal ) {
- HRESULT _hr = put_Yellow(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3093)
- inline long VGCore::IVGDuotoneOverprint::GetBlack ( ) {
- long _result = 0;
- HRESULT _hr = get_Black(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3094)
- inline void VGCore::IVGDuotoneOverprint::PutBlack ( long pVal ) {
- HRESULT _hr = put_Black(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3095)
- inline VGCore::IVGColorPtr VGCore::IVGDuotoneOverprint::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3096)
- inline void VGCore::IVGDuotoneOverprint::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3097)
- inline HRESULT VGCore::IVGDuotoneOverprint::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3098)
- inline HRESULT VGCore::IVGDuotoneOverprint::SetValues ( long Cyan, long Magenta, long Yellow, long Black ) {
- HRESULT _hr = raw_SetValues(Cyan, Magenta, Yellow, Black);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGColor wrapper method implementations
- //
- #pragma implementation_key(3099)
- inline IDispatchPtr VGCore::IVGColor::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3100)
- inline IDispatchPtr VGCore::IVGColor::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3101)
- inline enum VGCore::cdrColorType VGCore::IVGColor::GetType ( ) {
- enum cdrColorType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3102)
- inline HRESULT VGCore::IVGColor::RGBAssign ( long Red, long Green, long Blue ) {
- HRESULT _hr = raw_RGBAssign(Red, Green, Blue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3103)
- inline long VGCore::IVGColor::GetRGBRed ( ) {
- long _result = 0;
- HRESULT _hr = get_RGBRed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3104)
- inline void VGCore::IVGColor::PutRGBRed ( long pVal ) {
- HRESULT _hr = put_RGBRed(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3105)
- inline long VGCore::IVGColor::GetRGBGreen ( ) {
- long _result = 0;
- HRESULT _hr = get_RGBGreen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3106)
- inline void VGCore::IVGColor::PutRGBGreen ( long pVal ) {
- HRESULT _hr = put_RGBGreen(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3107)
- inline long VGCore::IVGColor::GetRGBBlue ( ) {
- long _result = 0;
- HRESULT _hr = get_RGBBlue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3108)
- inline void VGCore::IVGColor::PutRGBBlue ( long pVal ) {
- HRESULT _hr = put_RGBBlue(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3109)
- inline HRESULT VGCore::IVGColor::ConvertToRGB ( ) {
- HRESULT _hr = raw_ConvertToRGB();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3110)
- inline HRESULT VGCore::IVGColor::CMYKAssign ( long Cyan, long Magenta, long Yellow, long Black ) {
- HRESULT _hr = raw_CMYKAssign(Cyan, Magenta, Yellow, Black);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3111)
- inline long VGCore::IVGColor::GetCMYKCyan ( ) {
- long _result = 0;
- HRESULT _hr = get_CMYKCyan(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3112)
- inline void VGCore::IVGColor::PutCMYKCyan ( long pVal ) {
- HRESULT _hr = put_CMYKCyan(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3113)
- inline long VGCore::IVGColor::GetCMYKYellow ( ) {
- long _result = 0;
- HRESULT _hr = get_CMYKYellow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3114)
- inline void VGCore::IVGColor::PutCMYKYellow ( long pVal ) {
- HRESULT _hr = put_CMYKYellow(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3115)
- inline long VGCore::IVGColor::GetCMYKMagenta ( ) {
- long _result = 0;
- HRESULT _hr = get_CMYKMagenta(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3116)
- inline void VGCore::IVGColor::PutCMYKMagenta ( long pVal ) {
- HRESULT _hr = put_CMYKMagenta(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3117)
- inline long VGCore::IVGColor::GetCMYKBlack ( ) {
- long _result = 0;
- HRESULT _hr = get_CMYKBlack(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3118)
- inline void VGCore::IVGColor::PutCMYKBlack ( long pVal ) {
- HRESULT _hr = put_CMYKBlack(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3119)
- inline HRESULT VGCore::IVGColor::ConvertToCMYK ( ) {
- HRESULT _hr = raw_ConvertToCMYK();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3120)
- inline HRESULT VGCore::IVGColor::CMYAssign ( long Cyan, long Magenta, long Yellow ) {
- HRESULT _hr = raw_CMYAssign(Cyan, Magenta, Yellow);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3121)
- inline long VGCore::IVGColor::GetCMYCyan ( ) {
- long _result = 0;
- HRESULT _hr = get_CMYCyan(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3122)
- inline void VGCore::IVGColor::PutCMYCyan ( long pVal ) {
- HRESULT _hr = put_CMYCyan(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3123)
- inline long VGCore::IVGColor::GetCMYMagenta ( ) {
- long _result = 0;
- HRESULT _hr = get_CMYMagenta(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3124)
- inline void VGCore::IVGColor::PutCMYMagenta ( long pVal ) {
- HRESULT _hr = put_CMYMagenta(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3125)
- inline long VGCore::IVGColor::GetCMYYellow ( ) {
- long _result = 0;
- HRESULT _hr = get_CMYYellow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3126)
- inline void VGCore::IVGColor::PutCMYYellow ( long pVal ) {
- HRESULT _hr = put_CMYYellow(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3127)
- inline HRESULT VGCore::IVGColor::ConvertToCMY ( ) {
- HRESULT _hr = raw_ConvertToCMY();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3128)
- inline HRESULT VGCore::IVGColor::HSBAssign ( long Hue, long Saturation, long Brightness ) {
- HRESULT _hr = raw_HSBAssign(Hue, Saturation, Brightness);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3129)
- inline long VGCore::IVGColor::GetHSBHue ( ) {
- long _result = 0;
- HRESULT _hr = get_HSBHue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3130)
- inline void VGCore::IVGColor::PutHSBHue ( long pVal ) {
- HRESULT _hr = put_HSBHue(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3131)
- inline long VGCore::IVGColor::GetHSBSaturation ( ) {
- long _result = 0;
- HRESULT _hr = get_HSBSaturation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3132)
- inline void VGCore::IVGColor::PutHSBSaturation ( long pVal ) {
- HRESULT _hr = put_HSBSaturation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3133)
- inline long VGCore::IVGColor::GetHSBBrightness ( ) {
- long _result = 0;
- HRESULT _hr = get_HSBBrightness(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3134)
- inline void VGCore::IVGColor::PutHSBBrightness ( long pVal ) {
- HRESULT _hr = put_HSBBrightness(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3135)
- inline HRESULT VGCore::IVGColor::ConvertToHSB ( ) {
- HRESULT _hr = raw_ConvertToHSB();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3136)
- inline HRESULT VGCore::IVGColor::HLSAssign ( long Hue, long Lightness, long Saturation ) {
- HRESULT _hr = raw_HLSAssign(Hue, Lightness, Saturation);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3137)
- inline long VGCore::IVGColor::GetHLSHue ( ) {
- long _result = 0;
- HRESULT _hr = get_HLSHue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3138)
- inline void VGCore::IVGColor::PutHLSHue ( long pVal ) {
- HRESULT _hr = put_HLSHue(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3139)
- inline long VGCore::IVGColor::GetHLSLightness ( ) {
- long _result = 0;
- HRESULT _hr = get_HLSLightness(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3140)
- inline void VGCore::IVGColor::PutHLSLightness ( long pVal ) {
- HRESULT _hr = put_HLSLightness(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3141)
- inline long VGCore::IVGColor::GetHLSSaturation ( ) {
- long _result = 0;
- HRESULT _hr = get_HLSSaturation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3142)
- inline void VGCore::IVGColor::PutHLSSaturation ( long pVal ) {
- HRESULT _hr = put_HLSSaturation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3143)
- inline HRESULT VGCore::IVGColor::ConvertToHLS ( ) {
- HRESULT _hr = raw_ConvertToHLS();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3144)
- inline HRESULT VGCore::IVGColor::BWAssign ( VARIANT_BOOL White ) {
- HRESULT _hr = raw_BWAssign(White);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3145)
- inline VARIANT_BOOL VGCore::IVGColor::GetBW ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BW(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3146)
- inline void VGCore::IVGColor::PutBW ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BW(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3147)
- inline HRESULT VGCore::IVGColor::ConvertToBW ( ) {
- HRESULT _hr = raw_ConvertToBW();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3148)
- inline HRESULT VGCore::IVGColor::GrayAssign ( long GrayValue ) {
- HRESULT _hr = raw_GrayAssign(GrayValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3149)
- inline long VGCore::IVGColor::GetGray ( ) {
- long _result = 0;
- HRESULT _hr = get_Gray(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3150)
- inline void VGCore::IVGColor::PutGray ( long pVal ) {
- HRESULT _hr = put_Gray(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3151)
- inline HRESULT VGCore::IVGColor::ConvertToGray ( ) {
- HRESULT _hr = raw_ConvertToGray();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3152)
- inline HRESULT VGCore::IVGColor::CorelScriptAssign ( long ColorModel, long V1, long V2, long V3, long V4, long V5, long V6, long V7 ) {
- HRESULT _hr = raw_CorelScriptAssign(ColorModel, V1, V2, V3, V4, V5, V6, V7);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3153)
- inline HRESULT VGCore::IVGColor::CorelScriptGetComponent ( long * ColorModel, long * V1, long * V2, long * V3, long * V4, long * V5, long * V6, long * V7 ) {
- HRESULT _hr = raw_CorelScriptGetComponent(ColorModel, V1, V2, V3, V4, V5, V6, V7);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3154)
- inline HRESULT VGCore::IVGColor::UserAssign ( long ParentWindowHandle ) {
- HRESULT _hr = raw_UserAssign(ParentWindowHandle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3155)
- inline HRESULT VGCore::IVGColor::CopyAssign ( struct IVGColor * Color ) {
- HRESULT _hr = raw_CopyAssign(Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3156)
- inline _bstr_t VGCore::IVGColor::GetName ( VARIANT_BOOL Components ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(Components, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3157)
- inline HRESULT VGCore::IVGColor::YIQAssign ( long y, long I, long Q ) {
- HRESULT _hr = raw_YIQAssign(y, I, Q);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3158)
- inline long VGCore::IVGColor::GetYIQLuminanceY ( ) {
- long _result = 0;
- HRESULT _hr = get_YIQLuminanceY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3159)
- inline void VGCore::IVGColor::PutYIQLuminanceY ( long pVal ) {
- HRESULT _hr = put_YIQLuminanceY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3160)
- inline long VGCore::IVGColor::GetYIQChromaI ( ) {
- long _result = 0;
- HRESULT _hr = get_YIQChromaI(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3161)
- inline void VGCore::IVGColor::PutYIQChromaI ( long pVal ) {
- HRESULT _hr = put_YIQChromaI(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3162)
- inline long VGCore::IVGColor::GetYIQChromaQ ( ) {
- long _result = 0;
- HRESULT _hr = get_YIQChromaQ(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3163)
- inline void VGCore::IVGColor::PutYIQChromaQ ( long pVal ) {
- HRESULT _hr = put_YIQChromaQ(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3164)
- inline HRESULT VGCore::IVGColor::ConvertToYIQ ( ) {
- HRESULT _hr = raw_ConvertToYIQ();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3165)
- inline HRESULT VGCore::IVGColor::LabAssign ( long L, long A, long B ) {
- HRESULT _hr = raw_LabAssign(L, A, B);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3166)
- inline long VGCore::IVGColor::GetLabLuminance ( ) {
- long _result = 0;
- HRESULT _hr = get_LabLuminance(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3167)
- inline void VGCore::IVGColor::PutLabLuminance ( long pVal ) {
- HRESULT _hr = put_LabLuminance(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3168)
- inline long VGCore::IVGColor::GetLabComponentA ( ) {
- long _result = 0;
- HRESULT _hr = get_LabComponentA(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3169)
- inline void VGCore::IVGColor::PutLabComponentA ( long pVal ) {
- HRESULT _hr = put_LabComponentA(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3170)
- inline long VGCore::IVGColor::GetLabComponentB ( ) {
- long _result = 0;
- HRESULT _hr = get_LabComponentB(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3171)
- inline void VGCore::IVGColor::PutLabComponentB ( long pVal ) {
- HRESULT _hr = put_LabComponentB(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3172)
- inline HRESULT VGCore::IVGColor::ConvertToLab ( ) {
- HRESULT _hr = raw_ConvertToLab();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3173)
- inline HRESULT VGCore::IVGColor::RegistrationAssign ( ) {
- HRESULT _hr = raw_RegistrationAssign();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3174)
- inline HRESULT VGCore::IVGColor::FixedAssign ( enum cdrPaletteID PaletteID, long PaletteIndex, long Tint ) {
- HRESULT _hr = raw_FixedAssign(PaletteID, PaletteIndex, Tint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3175)
- inline enum VGCore::cdrPaletteID VGCore::IVGColor::GetPaletteID ( ) {
- enum cdrPaletteID _result;
- HRESULT _hr = get_PaletteID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3176)
- inline long VGCore::IVGColor::GetPaletteIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_PaletteIndex(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3177)
- inline void VGCore::IVGColor::PutPaletteIndex ( long pVal ) {
- HRESULT _hr = put_PaletteIndex(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3178)
- inline long VGCore::IVGColor::GetTint ( ) {
- long _result = 0;
- HRESULT _hr = get_Tint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3179)
- inline void VGCore::IVGColor::PutTint ( long pVal ) {
- HRESULT _hr = put_Tint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3180)
- inline HRESULT VGCore::IVGColor::ConvertToFixed ( enum cdrPaletteID PaletteID ) {
- HRESULT _hr = raw_ConvertToFixed(PaletteID);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3181)
- inline VARIANT_BOOL VGCore::IVGColor::UserAssignEx ( long ParentWindowHandle ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UserAssignEx(ParentWindowHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3182)
- inline HRESULT VGCore::IVGColor::SetName ( _bstr_t Name ) {
- HRESULT _hr = raw_SetName(Name);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3183)
- inline HRESULT VGCore::IVGColor::BlendWith ( struct IVGColor * Color, long MixRatio ) {
- HRESULT _hr = raw_BlendWith(Color, MixRatio);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3184)
- inline VARIANT_BOOL VGCore::IVGColor::IsSame ( struct IVGColor * Color ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsSame(Color, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3185)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsInGamut ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsInGamut(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3186)
- inline VGCore::IVGColorPtr VGCore::IVGColor::GetInGamutColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_InGamutColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3187)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsCMYK ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsCMYK(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3188)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsGray ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsGray(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3189)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsWhite ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsWhite(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3190)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsSpot ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsSpot(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3191)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsTintable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsTintable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3192)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsValidDuotoneColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsValidDuotoneColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3193)
- inline VGCore::IVGColorPtr VGCore::IVGColor::GetValidDuotoneColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_ValidDuotoneColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3194)
- inline long VGCore::IVGColor::GetColorDistanceFrom ( struct IVGColor * Color ) {
- long _result = 0;
- HRESULT _hr = raw_GetColorDistanceFrom(Color, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3195)
- inline VARIANT_BOOL VGCore::IVGColor::IsSimilar ( struct IVGColor * Color ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsSimilar(Color, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3196)
- inline _bstr_t VGCore::IVGColor::ToString ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_ToString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3197)
- inline VARIANT_BOOL VGCore::IVGColor::StringAssign ( _bstr_t ColorString ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_StringAssign(ColorString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3198)
- inline HRESULT VGCore::IVGColor::Invalidate ( ) {
- HRESULT _hr = raw_Invalidate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3199)
- inline _bstr_t VGCore::IVGColor::GetHexValue ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_HexValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3200)
- inline void VGCore::IVGColor::PutHexValue ( _bstr_t pVal ) {
- HRESULT _hr = put_HexValue(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3201)
- inline VGCore::IVGColorPtr VGCore::IVGColor::GetCopy ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3202)
- inline long VGCore::IVGColor::GetRGBValue ( ) {
- long _result = 0;
- HRESULT _hr = get_RGBValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3203)
- inline void VGCore::IVGColor::PutRGBValue ( long pVal ) {
- HRESULT _hr = put_RGBValue(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3204)
- inline HRESULT VGCore::IVGColor::CopyAppearance ( struct IVGColor * Color, struct IVGColorContext * SourceColorContext ) {
- HRESULT _hr = raw_CopyAppearance(Color, SourceColorContext);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3205)
- inline VGCore::IVGColorContextPtr VGCore::IVGColor::GetColorContext ( ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = get_ColorContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(3206)
- inline VARIANT_BOOL VGCore::IVGColor::ConvertTo ( enum cdrColorType ColorType, struct IVGColorContext * DestinationColorContext, struct IVGColorContext * SourceColorContext ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ConvertTo(ColorType, DestinationColorContext, SourceColorContext, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3207)
- inline VGCore::IVGPalettePtr VGCore::IVGColor::GetPalette ( ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = get_Palette(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3208)
- inline HRESULT VGCore::IVGColor::SpotAssign ( _bstr_t PaletteIdentifier, long SpotColorID, long Tint ) {
- HRESULT _hr = raw_SpotAssign(PaletteIdentifier, SpotColorID, Tint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3209)
- inline HRESULT VGCore::IVGColor::SpotAssignByName ( _bstr_t PaletteIdentifier, _bstr_t SpotColorName, long Tint ) {
- HRESULT _hr = raw_SpotAssignByName(PaletteIdentifier, SpotColorName, Tint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3210)
- inline HRESULT VGCore::IVGColor::ConvertToPalette ( _bstr_t PaletteIdentifier ) {
- HRESULT _hr = raw_ConvertToPalette(PaletteIdentifier);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3211)
- inline long VGCore::IVGColor::GetSpotColorID ( ) {
- long _result = 0;
- HRESULT _hr = get_SpotColorID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3212)
- inline void VGCore::IVGColor::PutSpotColorID ( long pVal ) {
- HRESULT _hr = put_SpotColorID(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3213)
- inline _bstr_t VGCore::IVGColor::GetSpotColorName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_SpotColorName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3214)
- inline HRESULT VGCore::IVGColor::PaletteAssign ( _bstr_t PaletteIdentifier, long ColorIndex ) {
- HRESULT _hr = raw_PaletteAssign(PaletteIdentifier, ColorIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3215)
- inline _bstr_t VGCore::IVGColor::GetPaletteIdentifier ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PaletteIdentifier(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3216)
- inline VARIANT_BOOL VGCore::IVGColor::GetIsColorStyle ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsColorStyle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3217)
- inline _bstr_t VGCore::IVGColor::GetColorStyleName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ColorStyleName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3218)
- inline HRESULT VGCore::IVGColor::ModifyColorStyleColor ( struct IVGColor * Color, VARIANT_BOOL ChangeWholeHarmony ) {
- HRESULT _hr = raw_ModifyColorStyleColor(Color, ChangeWholeHarmony);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGDuotoneInk wrapper method implementations
- //
- #pragma implementation_key(3219)
- inline VGCore::IVGColorPtr VGCore::IVGDuotoneInk::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3220)
- inline void VGCore::IVGDuotoneInk::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3221)
- inline long VGCore::IVGDuotoneInk::GetHandleCount ( ) {
- long _result = 0;
- HRESULT _hr = get_HandleCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3222)
- inline long VGCore::IVGDuotoneInk::GetHandleX ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_HandleX(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3223)
- inline void VGCore::IVGDuotoneInk::PutHandleX ( long Index, long pVal ) {
- HRESULT _hr = put_HandleX(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3224)
- inline long VGCore::IVGDuotoneInk::GetHandleY ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_HandleY(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3225)
- inline void VGCore::IVGDuotoneInk::PutHandleY ( long Index, long pVal ) {
- HRESULT _hr = put_HandleY(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3226)
- inline long VGCore::IVGDuotoneInk::AddHandle ( long x, long y ) {
- long _result = 0;
- HRESULT _hr = raw_AddHandle(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3227)
- inline VARIANT_BOOL VGCore::IVGDuotoneInk::RemoveHandle ( long Index ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_RemoveHandle(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3228)
- inline long VGCore::IVGDuotoneInk::FindHandle ( long x, long y ) {
- long _result = 0;
- HRESULT _hr = raw_FindHandle(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3229)
- inline VARIANT_BOOL VGCore::IVGDuotoneInk::Load ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Load(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3230)
- inline VARIANT_BOOL VGCore::IVGDuotoneInk::Save ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Save(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3231)
- inline long VGCore::IVGDuotoneInk::GetCurveLevel ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_CurveLevel(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3232)
- inline HRESULT VGCore::IVGDuotoneInk::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3233)
- inline SAFEARRAY * VGCore::IVGDuotoneInk::GetCurveLevels ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetCurveLevels(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3234)
- inline SAFEARRAY * VGCore::IVGDuotoneInk::GetHandles ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetHandles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3235)
- inline HRESULT VGCore::IVGDuotoneInk::PutHandles ( const _variant_t & HandleArray, long NumElements ) {
- HRESULT _hr = raw_PutHandles(HandleArray, NumElements);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGFountainColor wrapper method implementations
- //
- #pragma implementation_key(3236)
- inline long VGCore::IVGFountainColor::GetPosition ( ) {
- long _result = 0;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3237)
- inline VGCore::IVGColorPtr VGCore::IVGFountainColor::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3238)
- inline void VGCore::IVGFountainColor::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3239)
- inline HRESULT VGCore::IVGFountainColor::Move ( long NewPosition ) {
- HRESULT _hr = raw_Move(NewPosition);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3240)
- inline HRESULT VGCore::IVGFountainColor::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3241)
- inline long VGCore::IVGFountainColor::GetMidPoint ( ) {
- long _result = 0;
- HRESULT _hr = get_MidPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3242)
- inline void VGCore::IVGFountainColor::PutMidPoint ( long pVal ) {
- HRESULT _hr = put_MidPoint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3243)
- inline enum VGCore::cdrFountainFillBlendType VGCore::IVGFountainColor::GetBlendType ( ) {
- enum cdrFountainFillBlendType _result;
- HRESULT _hr = get_BlendType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3244)
- inline void VGCore::IVGFountainColor::PutBlendType ( enum cdrFountainFillBlendType pVal ) {
- HRESULT _hr = put_BlendType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3245)
- inline unsigned char VGCore::IVGFountainColor::GetOpacity ( ) {
- unsigned char _result = 0;
- HRESULT _hr = get_Opacity(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3246)
- inline void VGCore::IVGFountainColor::PutOpacity ( unsigned char pVal ) {
- HRESULT _hr = put_Opacity(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGFountainColors wrapper method implementations
- //
- #pragma implementation_key(3247)
- inline VGCore::IVGFountainColorPtr VGCore::IVGFountainColors::GetItem ( long Index ) {
- struct IVGFountainColor * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainColorPtr(_result, false);
- }
- #pragma implementation_key(3248)
- inline void VGCore::IVGFountainColors::PutItem ( long Index, struct IVGFountainColor * ppVal ) {
- HRESULT _hr = put_Item(Index, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3249)
- inline IUnknownPtr VGCore::IVGFountainColors::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3250)
- inline long VGCore::IVGFountainColors::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3251)
- inline HRESULT VGCore::IVGFountainColors::Add ( struct IVGColor * Color, long Position ) {
- HRESULT _hr = raw_Add(Color, Position);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3252)
- inline long VGCore::IVGFountainColors::GetGrayLevel ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_GrayLevel(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3253)
- inline void VGCore::IVGFountainColors::PutGrayLevel ( long Index, long pVal ) {
- HRESULT _hr = put_GrayLevel(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3254)
- inline HRESULT VGCore::IVGFountainColors::AddGrayLevel ( long GrayLevel, long Position ) {
- HRESULT _hr = raw_AddGrayLevel(GrayLevel, Position);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3255)
- inline VGCore::IVGFountainColorPtr VGCore::IVGFountainColors::GetFirst ( ) {
- struct IVGFountainColor * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainColorPtr(_result, false);
- }
- #pragma implementation_key(3256)
- inline VGCore::IVGFountainColorPtr VGCore::IVGFountainColors::GetLast ( ) {
- struct IVGFountainColor * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainColorPtr(_result, false);
- }
- //
- // interface IVGFountainFill wrapper method implementations
- //
- #pragma implementation_key(3257)
- inline enum VGCore::cdrFountainFillType VGCore::IVGFountainFill::GetType ( ) {
- enum cdrFountainFillType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3258)
- inline void VGCore::IVGFountainFill::PutType ( enum cdrFountainFillType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3259)
- inline double VGCore::IVGFountainFill::GetStartX ( ) {
- double _result = 0;
- HRESULT _hr = get_StartX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3260)
- inline void VGCore::IVGFountainFill::PutStartX ( double pVal ) {
- HRESULT _hr = put_StartX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3261)
- inline double VGCore::IVGFountainFill::GetStartY ( ) {
- double _result = 0;
- HRESULT _hr = get_StartY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3262)
- inline void VGCore::IVGFountainFill::PutStartY ( double pVal ) {
- HRESULT _hr = put_StartY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3263)
- inline double VGCore::IVGFountainFill::GetEndX ( ) {
- double _result = 0;
- HRESULT _hr = get_EndX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3264)
- inline void VGCore::IVGFountainFill::PutEndX ( double pVal ) {
- HRESULT _hr = put_EndX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3265)
- inline double VGCore::IVGFountainFill::GetEndY ( ) {
- double _result = 0;
- HRESULT _hr = get_EndY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3266)
- inline void VGCore::IVGFountainFill::PutEndY ( double pVal ) {
- HRESULT _hr = put_EndY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3267)
- inline double VGCore::IVGFountainFill::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3268)
- inline HRESULT VGCore::IVGFountainFill::SetAngle ( double Angle ) {
- HRESULT _hr = raw_SetAngle(Angle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3269)
- inline HRESULT VGCore::IVGFountainFill::Translate ( double x, double y ) {
- HRESULT _hr = raw_Translate(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3270)
- inline long VGCore::IVGFountainFill::GetEdgePad ( ) {
- long _result = 0;
- HRESULT _hr = get_EdgePad(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3271)
- inline long VGCore::IVGFountainFill::GetSteps ( ) {
- long _result = 0;
- HRESULT _hr = get_Steps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3272)
- inline void VGCore::IVGFountainFill::PutSteps ( long pVal ) {
- HRESULT _hr = put_Steps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3273)
- inline enum VGCore::cdrFountainFillBlendType VGCore::IVGFountainFill::GetBlendType ( ) {
- enum cdrFountainFillBlendType _result;
- HRESULT _hr = get_BlendType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3274)
- inline void VGCore::IVGFountainFill::PutBlendType ( enum cdrFountainFillBlendType pVal ) {
- HRESULT _hr = put_BlendType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3275)
- inline long VGCore::IVGFountainFill::GetMidPoint ( ) {
- long _result = 0;
- HRESULT _hr = get_MidPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3276)
- inline void VGCore::IVGFountainFill::PutMidPoint ( long pVal ) {
- HRESULT _hr = put_MidPoint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3277)
- inline VGCore::IVGFountainColorsPtr VGCore::IVGFountainFill::GetColors ( ) {
- struct IVGFountainColors * _result = 0;
- HRESULT _hr = get_Colors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainColorsPtr(_result, false);
- }
- #pragma implementation_key(3278)
- inline VGCore::IVGColorPtr VGCore::IVGFountainFill::GetStartColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_StartColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3279)
- inline void VGCore::IVGFountainFill::PutStartColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_StartColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3280)
- inline VGCore::IVGColorPtr VGCore::IVGFountainFill::GetEndColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_EndColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3281)
- inline void VGCore::IVGFountainFill::PutEndColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_EndColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3282)
- inline void VGCore::IVGFountainFill::PutColors ( struct IVGFountainColors * ppVal ) {
- HRESULT _hr = put_Colors(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3283)
- inline HRESULT VGCore::IVGFountainFill::SetEdgePad ( long EdgePad ) {
- HRESULT _hr = raw_SetEdgePad(EdgePad);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3284)
- inline double VGCore::IVGFountainFill::GetCenterOffsetX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterOffsetX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3285)
- inline void VGCore::IVGFountainFill::PutCenterOffsetX ( double pVal ) {
- HRESULT _hr = put_CenterOffsetX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3286)
- inline double VGCore::IVGFountainFill::GetCenterOffsetY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterOffsetY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3287)
- inline void VGCore::IVGFountainFill::PutCenterOffsetY ( double pVal ) {
- HRESULT _hr = put_CenterOffsetY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3288)
- inline VARIANT_BOOL VGCore::IVGFountainFill::GetSmoothBlend ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SmoothBlend(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3289)
- inline void VGCore::IVGFountainFill::PutSmoothBlend ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_SmoothBlend(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3290)
- inline enum VGCore::cdrFountainFillSpreadMethod VGCore::IVGFountainFill::GetSpreadMethod ( ) {
- enum cdrFountainFillSpreadMethod _result;
- HRESULT _hr = get_SpreadMethod(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3291)
- inline void VGCore::IVGFountainFill::PutSpreadMethod ( enum cdrFountainFillSpreadMethod pVal ) {
- HRESULT _hr = put_SpreadMethod(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3292)
- inline VARIANT_BOOL VGCore::IVGFountainFill::GetAnisotropic ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Anisotropic(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3293)
- inline void VGCore::IVGFountainFill::PutAnisotropic ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Anisotropic(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3294)
- inline VARIANT_BOOL VGCore::IVGFountainFill::GetIsTransparent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsTransparent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3295)
- inline enum VGCore::cdrMergeMode VGCore::IVGFountainFill::GetMergeMode ( ) {
- enum cdrMergeMode _result;
- HRESULT _hr = get_MergeMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3296)
- inline void VGCore::IVGFountainFill::PutMergeMode ( enum cdrMergeMode pVal ) {
- HRESULT _hr = put_MergeMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3297)
- inline double VGCore::IVGFountainFill::GetScaleX ( ) {
- double _result = 0;
- HRESULT _hr = get_ScaleX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3298)
- inline void VGCore::IVGFountainFill::PutScaleX ( double pVal ) {
- HRESULT _hr = put_ScaleX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3299)
- inline double VGCore::IVGFountainFill::GetScaleY ( ) {
- double _result = 0;
- HRESULT _hr = get_ScaleY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3300)
- inline void VGCore::IVGFountainFill::PutScaleY ( double pVal ) {
- HRESULT _hr = put_ScaleY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3301)
- inline double VGCore::IVGFountainFill::GetSkew ( ) {
- double _result = 0;
- HRESULT _hr = get_Skew(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3302)
- inline void VGCore::IVGFountainFill::PutSkew ( double pVal ) {
- HRESULT _hr = put_Skew(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3303)
- inline double VGCore::IVGFountainFill::GetBlendAcceleration ( ) {
- double _result = 0;
- HRESULT _hr = get_BlendAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3304)
- inline void VGCore::IVGFountainFill::PutBlendAcceleration ( double pVal ) {
- HRESULT _hr = put_BlendAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3305)
- inline HRESULT VGCore::IVGFountainFill::MakeOpaque ( ) {
- HRESULT _hr = raw_MakeOpaque();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3306)
- inline HRESULT VGCore::IVGFountainFill::GetTransformations ( double * d11, double * d12, double * d21, double * d22 ) {
- HRESULT _hr = raw_GetTransformations(d11, d12, d21, d22);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3307)
- inline HRESULT VGCore::IVGFountainFill::SetTransformations ( double d11, double d12, double d21, double d22 ) {
- HRESULT _hr = raw_SetTransformations(d11, d12, d21, d22);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3308)
- inline VARIANT_BOOL VGCore::IVGFountainFill::GetHasHSBBlends ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasHSBBlends(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3309)
- inline VARIANT_BOOL VGCore::IVGFountainFill::GetHasNonLinearBlends ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasNonLinearBlends(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3310)
- inline double VGCore::IVGFountainFill::GetEnd2X ( ) {
- double _result = 0;
- HRESULT _hr = get_End2X(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3311)
- inline void VGCore::IVGFountainFill::PutEnd2X ( double pVal ) {
- HRESULT _hr = put_End2X(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3312)
- inline double VGCore::IVGFountainFill::GetEnd2Y ( ) {
- double _result = 0;
- HRESULT _hr = get_End2Y(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3313)
- inline void VGCore::IVGFountainFill::PutEnd2Y ( double pVal ) {
- HRESULT _hr = put_End2Y(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGPatternFill wrapper method implementations
- //
- #pragma implementation_key(3314)
- inline enum VGCore::cdrPatternFillType VGCore::IVGPatternFill::GetType ( ) {
- enum cdrPatternFillType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3315)
- inline void VGCore::IVGPatternFill::PutType ( enum cdrPatternFillType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3316)
- inline VGCore::IVGColorPtr VGCore::IVGPatternFill::GetFrontColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_FrontColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3317)
- inline void VGCore::IVGPatternFill::PutFrontColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_FrontColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3318)
- inline VGCore::IVGColorPtr VGCore::IVGPatternFill::GetBackColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_BackColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3319)
- inline void VGCore::IVGPatternFill::PutBackColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_BackColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3320)
- inline VGCore::IVGPatternCanvasPtr VGCore::IVGPatternFill::GetCanvas ( ) {
- struct IVGPatternCanvas * _result = 0;
- HRESULT _hr = get_Canvas(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternCanvasPtr(_result, false);
- }
- #pragma implementation_key(3321)
- inline void VGCore::IVGPatternFill::PutCanvas ( struct IVGPatternCanvas * ppVal ) {
- HRESULT _hr = put_Canvas(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3322)
- inline _bstr_t VGCore::IVGPatternFill::GetFilePath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FilePath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3323)
- inline double VGCore::IVGPatternFill::GetOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3324)
- inline void VGCore::IVGPatternFill::PutOriginX ( double pVal ) {
- HRESULT _hr = put_OriginX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3325)
- inline double VGCore::IVGPatternFill::GetOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3326)
- inline void VGCore::IVGPatternFill::PutOriginY ( double pVal ) {
- HRESULT _hr = put_OriginY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3327)
- inline double VGCore::IVGPatternFill::GetTileWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_TileWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3328)
- inline void VGCore::IVGPatternFill::PutTileWidth ( double pVal ) {
- HRESULT _hr = put_TileWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3329)
- inline double VGCore::IVGPatternFill::GetTileHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_TileHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3330)
- inline void VGCore::IVGPatternFill::PutTileHeight ( double pVal ) {
- HRESULT _hr = put_TileHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3331)
- inline enum VGCore::cdrTileOffsetType VGCore::IVGPatternFill::GetTileOffsetType ( ) {
- enum cdrTileOffsetType _result;
- HRESULT _hr = get_TileOffsetType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3332)
- inline void VGCore::IVGPatternFill::PutTileOffsetType ( enum cdrTileOffsetType pVal ) {
- HRESULT _hr = put_TileOffsetType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3333)
- inline long VGCore::IVGPatternFill::GetTileOffset ( ) {
- long _result = 0;
- HRESULT _hr = get_TileOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3334)
- inline void VGCore::IVGPatternFill::PutTileOffset ( long pVal ) {
- HRESULT _hr = put_TileOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3335)
- inline double VGCore::IVGPatternFill::GetSkewAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_SkewAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3336)
- inline void VGCore::IVGPatternFill::PutSkewAngle ( double pVal ) {
- HRESULT _hr = put_SkewAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3337)
- inline double VGCore::IVGPatternFill::GetRotationAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3338)
- inline void VGCore::IVGPatternFill::PutRotationAngle ( double pVal ) {
- HRESULT _hr = put_RotationAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3339)
- inline VARIANT_BOOL VGCore::IVGPatternFill::GetTransformWithShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TransformWithShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3340)
- inline void VGCore::IVGPatternFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TransformWithShape(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3341)
- inline VARIANT_BOOL VGCore::IVGPatternFill::Load ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Load(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3342)
- inline VARIANT_BOOL VGCore::IVGPatternFill::GetMirrorFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3343)
- inline void VGCore::IVGPatternFill::PutMirrorFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3344)
- inline VARIANT_BOOL VGCore::IVGPatternFill::GetMirrorFillX ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFillX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3345)
- inline void VGCore::IVGPatternFill::PutMirrorFillX ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFillX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3346)
- inline VARIANT_BOOL VGCore::IVGPatternFill::GetMirrorFillY ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFillY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3347)
- inline void VGCore::IVGPatternFill::PutMirrorFillY ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFillY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGOutline wrapper method implementations
- //
- #pragma implementation_key(3348)
- inline double VGCore::IVGOutline::GetWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3349)
- inline void VGCore::IVGOutline::PutWidth ( double pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3350)
- inline VGCore::IVGColorPtr VGCore::IVGOutline::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3351)
- inline void VGCore::IVGOutline::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3352)
- inline VGCore::IVGShapePtr VGCore::IVGOutline::ConvertToObject ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_ConvertToObject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3353)
- inline enum VGCore::cdrOutlineType VGCore::IVGOutline::GetType ( ) {
- enum cdrOutlineType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3354)
- inline void VGCore::IVGOutline::PutType ( enum cdrOutlineType Type ) {
- HRESULT _hr = put_Type(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3355)
- inline VGCore::IVGOutlineStylePtr VGCore::IVGOutline::GetStyle ( ) {
- struct IVGOutlineStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlineStylePtr(_result, false);
- }
- #pragma implementation_key(3356)
- inline void VGCore::IVGOutline::PutStyle ( struct IVGOutlineStyle * ppStyle ) {
- HRESULT _hr = put_Style(ppStyle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3357)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGOutline::GetStartArrow ( ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = get_StartArrow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(3358)
- inline void VGCore::IVGOutline::PutStartArrow ( struct IVGArrowHead * ppArrowHead ) {
- HRESULT _hr = put_StartArrow(ppArrowHead);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3359)
- inline VGCore::IVGArrowHeadPtr VGCore::IVGOutline::GetEndArrow ( ) {
- struct IVGArrowHead * _result = 0;
- HRESULT _hr = get_EndArrow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadPtr(_result, false);
- }
- #pragma implementation_key(3360)
- inline void VGCore::IVGOutline::PutEndArrow ( struct IVGArrowHead * ppArrowHead ) {
- HRESULT _hr = put_EndArrow(ppArrowHead);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3361)
- inline long VGCore::IVGOutline::GetNibStretch ( ) {
- long _result = 0;
- HRESULT _hr = get_NibStretch(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3362)
- inline void VGCore::IVGOutline::PutNibStretch ( long pVal ) {
- HRESULT _hr = put_NibStretch(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3363)
- inline double VGCore::IVGOutline::GetNibAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_NibAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3364)
- inline void VGCore::IVGOutline::PutNibAngle ( double pVal ) {
- HRESULT _hr = put_NibAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3365)
- inline VARIANT_BOOL VGCore::IVGOutline::GetBehindFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BehindFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3366)
- inline void VGCore::IVGOutline::PutBehindFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BehindFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3367)
- inline enum VGCore::cdrOutlineLineCaps VGCore::IVGOutline::GetLineCaps ( ) {
- enum cdrOutlineLineCaps _result;
- HRESULT _hr = get_LineCaps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3368)
- inline void VGCore::IVGOutline::PutLineCaps ( enum cdrOutlineLineCaps pVal ) {
- HRESULT _hr = put_LineCaps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3369)
- inline enum VGCore::cdrOutlineLineJoin VGCore::IVGOutline::GetLineJoin ( ) {
- enum cdrOutlineLineJoin _result;
- HRESULT _hr = get_LineJoin(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3370)
- inline void VGCore::IVGOutline::PutLineJoin ( enum cdrOutlineLineJoin pVal ) {
- HRESULT _hr = put_LineJoin(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3371)
- inline VARIANT_BOOL VGCore::IVGOutline::GetScaleWithShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ScaleWithShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3372)
- inline void VGCore::IVGOutline::PutScaleWithShape ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ScaleWithShape(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3373)
- 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 ) {
- HRESULT _hr = raw_SetProperties(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3374)
- inline double VGCore::IVGOutline::GetSize ( ) {
- double _result = 0;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3375)
- inline void VGCore::IVGOutline::PutSize ( double pVal ) {
- HRESULT _hr = put_Size(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3376)
- inline VGCore::IVGOutlinePtr VGCore::IVGOutline::GetCopy ( ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- #pragma implementation_key(3377)
- inline HRESULT VGCore::IVGOutline::CopyAssign ( struct IVGOutline * SourceOutline ) {
- HRESULT _hr = raw_CopyAssign(SourceOutline);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3378)
- inline VARIANT_BOOL VGCore::IVGOutline::UserAssign ( long ParentWindowHandle ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UserAssign(ParentWindowHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3379)
- inline VGCore::IVGPSScreenOptionsPtr VGCore::IVGOutline::GetPSScreen ( ) {
- struct IVGPSScreenOptions * _result = 0;
- HRESULT _hr = get_PSScreen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPSScreenOptionsPtr(_result, false);
- }
- #pragma implementation_key(3380)
- inline VARIANT_BOOL VGCore::IVGOutline::CompareWith ( struct IVGOutline * Outline ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CompareWith(Outline, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3381)
- inline double VGCore::IVGOutline::GetDashDotLength ( ) {
- double _result = 0;
- HRESULT _hr = get_DashDotLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3382)
- inline void VGCore::IVGOutline::PutDashDotLength ( double pVal ) {
- HRESULT _hr = put_DashDotLength(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3383)
- inline _bstr_t VGCore::IVGOutline::ToString ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_ToString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3384)
- inline VARIANT_BOOL VGCore::IVGOutline::StringAssign ( _bstr_t OutlineString ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_StringAssign(OutlineString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3385)
- inline double VGCore::IVGOutline::GetPenWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_PenWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3386)
- inline void VGCore::IVGOutline::PutPenWidth ( double pVal ) {
- HRESULT _hr = put_PenWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3387)
- inline double VGCore::IVGOutline::GetMiterLimit ( ) {
- double _result = 0;
- HRESULT _hr = get_MiterLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3388)
- inline void VGCore::IVGOutline::PutMiterLimit ( double pVal ) {
- HRESULT _hr = put_MiterLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3389)
- inline HRESULT VGCore::IVGOutline::SetNoOutline ( ) {
- HRESULT _hr = raw_SetNoOutline();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3390)
- inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGOutline::GetStartArrowOptions ( ) {
- struct IVGArrowHeadOptions * _result = 0;
- HRESULT _hr = get_StartArrowOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadOptionsPtr(_result, false);
- }
- #pragma implementation_key(3391)
- inline void VGCore::IVGOutline::PutStartArrowOptions ( struct IVGArrowHeadOptions * ppVal ) {
- HRESULT _hr = put_StartArrowOptions(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3392)
- inline VGCore::IVGArrowHeadOptionsPtr VGCore::IVGOutline::GetEndArrowOptions ( ) {
- struct IVGArrowHeadOptions * _result = 0;
- HRESULT _hr = get_EndArrowOptions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGArrowHeadOptionsPtr(_result, false);
- }
- #pragma implementation_key(3393)
- inline void VGCore::IVGOutline::PutEndArrowOptions ( struct IVGArrowHeadOptions * ppVal ) {
- HRESULT _hr = put_EndArrowOptions(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3394)
- inline enum VGCore::cdrOutlineJustification VGCore::IVGOutline::GetJustification ( ) {
- enum cdrOutlineJustification _result;
- HRESULT _hr = get_Justification(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3395)
- inline void VGCore::IVGOutline::PutJustification ( enum cdrOutlineJustification pVal ) {
- HRESULT _hr = put_Justification(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3396)
- 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 ) {
- HRESULT _hr = raw_SetPropertiesEx(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit, Justification);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3397)
- inline enum VGCore::cdrOutlineDashAdjust VGCore::IVGOutline::GetAdjustDashes ( ) {
- enum cdrOutlineDashAdjust _result;
- HRESULT _hr = get_AdjustDashes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3398)
- inline void VGCore::IVGOutline::PutAdjustDashes ( enum cdrOutlineDashAdjust pVal ) {
- HRESULT _hr = put_AdjustDashes(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGHatchPattern wrapper method implementations
- //
- #pragma implementation_key(3399)
- inline double VGCore::IVGHatchPattern::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3400)
- inline void VGCore::IVGHatchPattern::PutAngle ( double pVal ) {
- HRESULT _hr = put_Angle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3401)
- inline double VGCore::IVGHatchPattern::GetOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3402)
- inline void VGCore::IVGHatchPattern::PutOriginX ( double pVal ) {
- HRESULT _hr = put_OriginX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3403)
- inline double VGCore::IVGHatchPattern::GetOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3404)
- inline void VGCore::IVGHatchPattern::PutOriginY ( double pVal ) {
- HRESULT _hr = put_OriginY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3405)
- inline double VGCore::IVGHatchPattern::GetSpacing ( ) {
- double _result = 0;
- HRESULT _hr = get_Spacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3406)
- inline void VGCore::IVGHatchPattern::PutSpacing ( double pVal ) {
- HRESULT _hr = put_Spacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3407)
- inline double VGCore::IVGHatchPattern::GetShift ( ) {
- double _result = 0;
- HRESULT _hr = get_Shift(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3408)
- inline void VGCore::IVGHatchPattern::PutShift ( double pVal ) {
- HRESULT _hr = put_Shift(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3409)
- inline double VGCore::IVGHatchPattern::GetShiftPercent ( ) {
- double _result = 0;
- HRESULT _hr = get_ShiftPercent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3410)
- inline void VGCore::IVGHatchPattern::PutShiftPercent ( double pVal ) {
- HRESULT _hr = put_ShiftPercent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3411)
- inline VGCore::IVGOutlinePtr VGCore::IVGHatchPattern::GetOutline ( ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = get_Outline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- #pragma implementation_key(3412)
- inline long VGCore::IVGHatchPattern::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3413)
- inline HRESULT VGCore::IVGHatchPattern::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3414)
- inline HRESULT VGCore::IVGHatchPattern::SetOrigin ( double OriginX, double OriginY ) {
- HRESULT _hr = raw_SetOrigin(OriginX, OriginY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3415)
- inline HRESULT VGCore::IVGHatchPattern::GetOrigin ( double * OriginX, double * OriginY ) {
- HRESULT _hr = raw_GetOrigin(OriginX, OriginY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3416)
- 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 ) {
- HRESULT _hr = raw_SetProperties(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3417)
- inline HRESULT VGCore::IVGHatchPattern::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGHatchPatterns wrapper method implementations
- //
- #pragma implementation_key(3418)
- inline long VGCore::IVGHatchPatterns::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3419)
- inline VGCore::IVGHatchPatternPtr VGCore::IVGHatchPatterns::GetItem ( long Index ) {
- struct IVGHatchPattern * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchPatternPtr(_result, false);
- }
- #pragma implementation_key(3420)
- inline IUnknownPtr VGCore::IVGHatchPatterns::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3421)
- inline HRESULT VGCore::IVGHatchPatterns::Reset ( ) {
- HRESULT _hr = raw_Reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGImage wrapper method implementations
- //
- #pragma implementation_key(3422)
- inline enum VGCore::cdrImageType VGCore::IVGImage::GetType ( ) {
- enum cdrImageType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3423)
- inline long VGCore::IVGImage::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3424)
- inline long VGCore::IVGImage::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3425)
- inline VGCore::IVGColorPtr VGCore::IVGImage::GetPixel ( long x, long y ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Pixel(x, y, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3426)
- inline VGCore::IVGImagePtr VGCore::IVGImage::GetCopy ( ) {
- struct IVGImage * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImagePtr(_result, false);
- }
- #pragma implementation_key(3427)
- inline VARIANT_BOOL VGCore::IVGImage::GetReadOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ReadOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3428)
- inline VGCore::IVGImageTilesPtr VGCore::IVGImage::GetTiles ( ) {
- struct IVGImageTiles * _result = 0;
- HRESULT _hr = get_Tiles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGImageTilesPtr(_result, false);
- }
- #pragma implementation_key(3429)
- 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 ) {
- HRESULT _hr = raw_Blit(DestX, DestY, DestWidth, DestHeight, SrcImage, SrcX, SrcY, SrcWidth, SrcHeight, MergeMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3430)
- inline HRESULT VGCore::IVGImage::FillArea ( long x, long y, long Width, long Height, struct IVGColor * Color ) {
- HRESULT _hr = raw_FillArea(x, y, Width, Height, Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3431)
- inline HRESULT VGCore::IVGImage::FlipArea ( long x, long y, long Width, long Height, enum cdrFlipAxes Axes ) {
- HRESULT _hr = raw_FlipArea(x, y, Width, Height, Axes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGTransparency wrapper method implementations
- //
- #pragma implementation_key(3432)
- inline IDispatchPtr VGCore::IVGTransparency::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3433)
- inline IDispatchPtr VGCore::IVGTransparency::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3434)
- inline enum VGCore::cdrTransparencyType VGCore::IVGTransparency::GetType ( ) {
- enum cdrTransparencyType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3435)
- inline long VGCore::IVGTransparency::GetUniform ( ) {
- long _result = 0;
- HRESULT _hr = get_Uniform(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3436)
- inline void VGCore::IVGTransparency::PutUniform ( long pVal ) {
- HRESULT _hr = put_Uniform(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3437)
- inline VGCore::IVGFountainFillPtr VGCore::IVGTransparency::GetFountain ( ) {
- struct IVGFountainFill * _result = 0;
- HRESULT _hr = get_Fountain(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainFillPtr(_result, false);
- }
- #pragma implementation_key(3438)
- inline void VGCore::IVGTransparency::PutFountain ( struct IVGFountainFill * ppVal ) {
- HRESULT _hr = put_Fountain(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3439)
- inline VGCore::IVGPatternFillPtr VGCore::IVGTransparency::GetPattern ( ) {
- struct IVGPatternFill * _result = 0;
- HRESULT _hr = get_Pattern(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternFillPtr(_result, false);
- }
- #pragma implementation_key(3440)
- inline void VGCore::IVGTransparency::PutPattern ( struct IVGPatternFill * ppVal ) {
- HRESULT _hr = put_Pattern(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3441)
- inline VGCore::IVGTextureFillPtr VGCore::IVGTransparency::GetTexture ( ) {
- struct IVGTextureFill * _result = 0;
- HRESULT _hr = get_Texture(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextureFillPtr(_result, false);
- }
- #pragma implementation_key(3442)
- inline void VGCore::IVGTransparency::PutTexture ( struct IVGTextureFill * ppVal ) {
- HRESULT _hr = put_Texture(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3443)
- inline long VGCore::IVGTransparency::GetStart ( ) {
- long _result = 0;
- HRESULT _hr = get_Start(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3444)
- inline void VGCore::IVGTransparency::PutStart ( long pVal ) {
- HRESULT _hr = put_Start(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3445)
- inline long VGCore::IVGTransparency::GetEnd ( ) {
- long _result = 0;
- HRESULT _hr = get_End(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3446)
- inline void VGCore::IVGTransparency::PutEnd ( long pVal ) {
- HRESULT _hr = put_End(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3447)
- inline VARIANT_BOOL VGCore::IVGTransparency::GetFrozen ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Frozen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3448)
- inline HRESULT VGCore::IVGTransparency::ApplyNoTransparency ( ) {
- HRESULT _hr = raw_ApplyNoTransparency();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3449)
- inline HRESULT VGCore::IVGTransparency::ApplyUniformTransparency ( long Value ) {
- HRESULT _hr = raw_ApplyUniformTransparency(Value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3450)
- 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 ) {
- struct IVGFountainFill * _result = 0;
- HRESULT _hr = raw_ApplyFountainTransparency(Start, End, Type, Angle, Steps, EdgePad, MidPoint, CenterOffsetX, CenterOffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainFillPtr(_result, false);
- }
- #pragma implementation_key(3451)
- inline VGCore::IVGPatternFillPtr VGCore::IVGTransparency::ApplyPatternTransparency ( enum cdrPatternFillType Type, _bstr_t FileName, long PatternCanvasIndex, long Front, long Back, VARIANT_BOOL TransformWithShape ) {
- struct IVGPatternFill * _result = 0;
- HRESULT _hr = raw_ApplyPatternTransparency(Type, FileName, PatternCanvasIndex, Front, Back, TransformWithShape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternFillPtr(_result, false);
- }
- #pragma implementation_key(3452)
- inline VGCore::IVGTextureFillPtr VGCore::IVGTransparency::ApplyTextureTransparency ( _bstr_t TextureName, _bstr_t LibraryName, long Front, long Back ) {
- struct IVGTextureFill * _result = 0;
- HRESULT _hr = raw_ApplyTextureTransparency(TextureName, LibraryName, Front, Back, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextureFillPtr(_result, false);
- }
- #pragma implementation_key(3453)
- inline HRESULT VGCore::IVGTransparency::Freeze ( ) {
- HRESULT _hr = raw_Freeze();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3454)
- inline HRESULT VGCore::IVGTransparency::Unfreeze ( ) {
- HRESULT _hr = raw_Unfreeze();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3455)
- inline enum VGCore::cdrTransparencyAppliedTo VGCore::IVGTransparency::GetAppliedTo ( ) {
- enum cdrTransparencyAppliedTo _result;
- HRESULT _hr = get_AppliedTo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3456)
- inline void VGCore::IVGTransparency::PutAppliedTo ( enum cdrTransparencyAppliedTo pVal ) {
- HRESULT _hr = put_AppliedTo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3457)
- inline enum VGCore::cdrMergeMode VGCore::IVGTransparency::GetMergeMode ( ) {
- enum cdrMergeMode _result;
- HRESULT _hr = get_MergeMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3458)
- inline void VGCore::IVGTransparency::PutMergeMode ( enum cdrMergeMode pVal ) {
- HRESULT _hr = put_MergeMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3459)
- inline VARIANT_BOOL VGCore::IVGTransparency::UserAssign ( enum cdrTransparencyType TransparencyType, enum cdrPatternFillType PatternType, long ParentWindowHandle ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UserAssign(TransparencyType, PatternType, ParentWindowHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGDimension wrapper method implementations
- //
- #pragma implementation_key(3460)
- inline enum VGCore::cdrDimensionType VGCore::IVGDimension::GetType ( ) {
- enum cdrDimensionType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3461)
- inline VGCore::IVGDimensionLinearPtr VGCore::IVGDimension::GetLinear ( ) {
- struct IVGDimensionLinear * _result = 0;
- HRESULT _hr = get_Linear(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDimensionLinearPtr(_result, false);
- }
- #pragma implementation_key(3462)
- inline VGCore::IVGDimensionAngularPtr VGCore::IVGDimension::GetAngular ( ) {
- struct IVGDimensionAngular * _result = 0;
- HRESULT _hr = get_Angular(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDimensionAngularPtr(_result, false);
- }
- #pragma implementation_key(3463)
- inline long VGCore::IVGDimension::GetPrecision ( ) {
- long _result = 0;
- HRESULT _hr = get_Precision(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3464)
- inline void VGCore::IVGDimension::PutPrecision ( long pVal ) {
- HRESULT _hr = put_Precision(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3465)
- inline VARIANT_BOOL VGCore::IVGDimension::GetBoxedText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BoxedText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3466)
- inline void VGCore::IVGDimension::PutBoxedText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BoxedText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3467)
- inline VARIANT_BOOL VGCore::IVGDimension::GetLeadingZero ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_LeadingZero(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3468)
- inline void VGCore::IVGDimension::PutLeadingZero ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_LeadingZero(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3469)
- inline VGCore::IVGShapePtr VGCore::IVGDimension::GetTextShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_TextShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3470)
- inline _bstr_t VGCore::IVGDimension::GetPrefix ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Prefix(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3471)
- inline void VGCore::IVGDimension::PutPrefix ( _bstr_t pVal ) {
- HRESULT _hr = put_Prefix(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3472)
- inline _bstr_t VGCore::IVGDimension::GetSuffix ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Suffix(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3473)
- inline void VGCore::IVGDimension::PutSuffix ( _bstr_t pVal ) {
- HRESULT _hr = put_Suffix(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3474)
- inline VGCore::IVGOutlinePtr VGCore::IVGDimension::GetOutline ( ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = get_Outline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- #pragma implementation_key(3475)
- inline VARIANT_BOOL VGCore::IVGDimension::GetTextCentered ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TextCentered(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3476)
- inline void VGCore::IVGDimension::PutTextCentered ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TextCentered(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3477)
- inline VARIANT_BOOL VGCore::IVGDimension::GetShowUnits ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShowUnits(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3478)
- inline void VGCore::IVGDimension::PutShowUnits ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShowUnits(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3479)
- inline enum VGCore::cdrDimensionPlacement VGCore::IVGDimension::GetPlacement ( ) {
- enum cdrDimensionPlacement _result;
- HRESULT _hr = get_Placement(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3480)
- inline void VGCore::IVGDimension::PutPlacement ( enum cdrDimensionPlacement pVal ) {
- HRESULT _hr = put_Placement(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3481)
- inline VARIANT_BOOL VGCore::IVGDimension::GetHorizontalText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HorizontalText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3482)
- inline void VGCore::IVGDimension::PutHorizontalText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_HorizontalText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3483)
- inline VARIANT_BOOL VGCore::IVGDimension::GetDynamicText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DynamicText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3484)
- inline void VGCore::IVGDimension::PutDynamicText ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DynamicText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3485)
- inline double VGCore::IVGDimension::GetDistanceFromObject ( ) {
- double _result = 0;
- HRESULT _hr = get_DistanceFromObject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3486)
- inline VARIANT_BOOL VGCore::IVGDimension::GetUseDistanceFromObject ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseDistanceFromObject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3487)
- inline void VGCore::IVGDimension::PutUseDistanceFromObject ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseDistanceFromObject(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3488)
- inline HRESULT VGCore::IVGDimension::SetDistanceFromObject ( double Distance ) {
- HRESULT _hr = raw_SetDistanceFromObject(Distance);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3489)
- inline double VGCore::IVGDimension::GetOverhang ( ) {
- double _result = 0;
- HRESULT _hr = get_Overhang(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3490)
- inline VARIANT_BOOL VGCore::IVGDimension::GetUseOverhang ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseOverhang(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3491)
- inline void VGCore::IVGDimension::PutUseOverhang ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseOverhang(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3492)
- inline HRESULT VGCore::IVGDimension::SetOverhang ( double Overhang ) {
- HRESULT _hr = raw_SetOverhang(Overhang);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3493)
- inline double VGCore::IVGDimension::GetTextLabelGap ( ) {
- double _result = 0;
- HRESULT _hr = get_TextLabelGap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3494)
- inline VARIANT_BOOL VGCore::IVGDimension::GetUseTextLabelGap ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseTextLabelGap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3495)
- inline void VGCore::IVGDimension::PutUseTextLabelGap ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseTextLabelGap(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3496)
- inline HRESULT VGCore::IVGDimension::SetTextLabelGap ( double Gap ) {
- HRESULT _hr = raw_SetTextLabelGap(Gap);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3497)
- inline VARIANT_BOOL VGCore::IVGDimension::GetExtensionLinesVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ExtensionLinesVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3498)
- inline void VGCore::IVGDimension::PutExtensionLinesVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ExtensionLinesVisible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3499)
- inline VARIANT_BOOL VGCore::IVGDimension::GetInnerExtensionLinesVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_InnerExtensionLinesVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3500)
- inline void VGCore::IVGDimension::PutInnerExtensionLinesVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_InnerExtensionLinesVisible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3501)
- inline VARIANT_BOOL VGCore::IVGDimension::GetGapOnFreeExtensionVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_GapOnFreeExtensionVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3502)
- inline void VGCore::IVGDimension::PutGapOnFreeExtensionVisible ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_GapOnFreeExtensionVisible(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGCommentAnnotation wrapper method implementations
- //
- #pragma implementation_key(3503)
- inline VARIANT_BOOL VGCore::IVGCommentAnnotation::GetEndArrowVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_EndArrowVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3504)
- inline void VGCore::IVGCommentAnnotation::PutEndArrowVisible ( VARIANT_BOOL pRet ) {
- HRESULT _hr = put_EndArrowVisible(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3505)
- inline VGCore::IVGCurvePtr VGCore::IVGCommentAnnotation::GetCurve ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Curve(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(3506)
- inline void VGCore::IVGCommentAnnotation::PutCurve ( struct IVGCurve * pRet ) {
- HRESULT _hr = put_Curve(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3507)
- inline long VGCore::IVGCommentAnnotation::GetOutlineWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_OutlineWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3508)
- inline void VGCore::IVGCommentAnnotation::PutOutlineWidth ( long pRet ) {
- HRESULT _hr = put_OutlineWidth(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3509)
- inline VGCore::IVGColorPtr VGCore::IVGCommentAnnotation::GetFillColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_FillColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3510)
- inline void VGCore::IVGCommentAnnotation::PutFillColor ( struct IVGColor * pRet ) {
- HRESULT _hr = put_FillColor(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3511)
- inline VGCore::IVGColorPtr VGCore::IVGCommentAnnotation::GetOutlineColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_OutlineColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3512)
- inline void VGCore::IVGCommentAnnotation::PutOutlineColor ( struct IVGColor * pRet ) {
- HRESULT _hr = put_OutlineColor(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3513)
- inline enum VGCore::cdrCommentAnnotationType VGCore::IVGCommentAnnotation::GetType ( ) {
- enum cdrCommentAnnotationType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3514)
- inline VARIANT_BOOL VGCore::IVGCommentAnnotation::GetStartArrowVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_StartArrowVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3515)
- inline void VGCore::IVGCommentAnnotation::PutStartArrowVisible ( VARIANT_BOOL pRet ) {
- HRESULT _hr = put_StartArrowVisible(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3516)
- inline HRESULT VGCore::IVGCommentAnnotation::Move ( double DeltaX, double DeltaY ) {
- HRESULT _hr = raw_Move(DeltaX, DeltaY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3517)
- inline double VGCore::IVGCommentAnnotation::GetSizeWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3518)
- inline void VGCore::IVGCommentAnnotation::PutSizeWidth ( double pVal ) {
- HRESULT _hr = put_SizeWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3519)
- inline double VGCore::IVGCommentAnnotation::GetSizeHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3520)
- inline void VGCore::IVGCommentAnnotation::PutSizeHeight ( double pVal ) {
- HRESULT _hr = put_SizeHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3521)
- inline double VGCore::IVGCommentAnnotation::GetLeftX ( ) {
- double _result = 0;
- HRESULT _hr = get_LeftX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3522)
- inline void VGCore::IVGCommentAnnotation::PutLeftX ( double pVal ) {
- HRESULT _hr = put_LeftX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3523)
- inline double VGCore::IVGCommentAnnotation::GetRightX ( ) {
- double _result = 0;
- HRESULT _hr = get_RightX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3524)
- inline void VGCore::IVGCommentAnnotation::PutRightX ( double pVal ) {
- HRESULT _hr = put_RightX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3525)
- inline double VGCore::IVGCommentAnnotation::GetTopY ( ) {
- double _result = 0;
- HRESULT _hr = get_TopY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3526)
- inline void VGCore::IVGCommentAnnotation::PutTopY ( double pVal ) {
- HRESULT _hr = put_TopY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3527)
- inline double VGCore::IVGCommentAnnotation::GetBottomY ( ) {
- double _result = 0;
- HRESULT _hr = get_BottomY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3528)
- inline void VGCore::IVGCommentAnnotation::PutBottomY ( double pVal ) {
- HRESULT _hr = put_BottomY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3529)
- inline double VGCore::IVGCommentAnnotation::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3530)
- inline void VGCore::IVGCommentAnnotation::PutCenterX ( double pVal ) {
- HRESULT _hr = put_CenterX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3531)
- inline double VGCore::IVGCommentAnnotation::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3532)
- inline void VGCore::IVGCommentAnnotation::PutCenterY ( double pVal ) {
- HRESULT _hr = put_CenterY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3533)
- inline HRESULT VGCore::IVGCommentAnnotation::SetPosition ( enum cdrReferencePoint ReferencePoint, double x, double y ) {
- HRESULT _hr = raw_SetPosition(ReferencePoint, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3534)
- inline HRESULT VGCore::IVGCommentAnnotation::GetPosition ( enum cdrReferencePoint ReferencePoint, double * x, double * y ) {
- HRESULT _hr = raw_GetPosition(ReferencePoint, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3535)
- inline HRESULT VGCore::IVGCommentAnnotation::SetSize ( enum cdrReferencePoint ReferencePoint, double Width, double Height ) {
- HRESULT _hr = raw_SetSize(ReferencePoint, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3536)
- inline HRESULT VGCore::IVGCommentAnnotation::GetSize ( double * Width, double * Height ) {
- HRESULT _hr = raw_GetSize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3537)
- inline HRESULT VGCore::IVGCommentAnnotation::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3538)
- inline HRESULT VGCore::IVGCommentAnnotation::SetBoundingBox ( double x, double y, double Width, double Height, VARIANT_BOOL KeepAspect, enum cdrReferencePoint ReferencePoint ) {
- HRESULT _hr = raw_SetBoundingBox(x, y, Width, Height, KeepAspect, ReferencePoint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGColorContext wrapper method implementations
- //
- #pragma implementation_key(3539)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetRGBColorProfile ( ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_RGBColorProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3540)
- inline void VGCore::IVGColorContext::PutRGBColorProfile ( struct IVGColorProfile * ppVal ) {
- HRESULT _hr = put_RGBColorProfile(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3541)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetCMYKColorProfile ( ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_CMYKColorProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3542)
- inline void VGCore::IVGColorContext::PutCMYKColorProfile ( struct IVGColorProfile * ppVal ) {
- HRESULT _hr = put_CMYKColorProfile(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3543)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetGrayscaleColorProfile ( ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_GrayscaleColorProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3544)
- inline void VGCore::IVGColorContext::PutGrayscaleColorProfile ( struct IVGColorProfile * ppVal ) {
- HRESULT _hr = put_GrayscaleColorProfile(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3545)
- inline enum VGCore::clrRenderingIntent VGCore::IVGColorContext::GetRenderingIntent ( ) {
- enum clrRenderingIntent _result;
- HRESULT _hr = get_RenderingIntent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3546)
- inline void VGCore::IVGColorContext::PutRenderingIntent ( enum clrRenderingIntent pVal ) {
- HRESULT _hr = put_RenderingIntent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3547)
- inline enum VGCore::clrColorModel VGCore::IVGColorContext::GetBlendingColorModel ( ) {
- enum clrColorModel _result;
- HRESULT _hr = get_BlendingColorModel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3548)
- inline void VGCore::IVGColorContext::PutBlendingColorModel ( enum clrColorModel pVal ) {
- HRESULT _hr = put_BlendingColorModel(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3549)
- inline VGCore::IVGColorContextPtr VGCore::IVGColorContext::GetCopy ( ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(3550)
- inline HRESULT VGCore::IVGColorContext::CopyAssign ( struct IVGColorContext * ColorContext ) {
- HRESULT _hr = raw_CopyAssign(ColorContext);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3551)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorContext::GetColorProfile ( enum clrColorModel ColorModel ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_ColorProfile(ColorModel, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3552)
- inline void VGCore::IVGColorContext::PutColorProfile ( enum clrColorModel ColorModel, struct IVGColorProfile * ppVal ) {
- HRESULT _hr = put_ColorProfile(ColorModel, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3553)
- inline VARIANT_BOOL VGCore::IVGColorContext::Merge ( struct IVGColorContext * ColorContext ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Merge(ColorContext, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3554)
- inline VARIANT_BOOL VGCore::IVGColorContext::IsSame ( struct IVGColorContext * ColorContext ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsSame(ColorContext, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3555)
- inline VGCore::IVGColorProfilesPtr VGCore::IVGColorContext::GetColorProfiles ( ) {
- struct IVGColorProfiles * _result = 0;
- HRESULT _hr = get_ColorProfiles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilesPtr(_result, false);
- }
- #pragma implementation_key(3556)
- inline VARIANT_BOOL VGCore::IVGColorContext::GetReadOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ReadOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3557)
- inline _bstr_t VGCore::IVGColorContext::GetColorProfileNameList ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ColorProfileNameList(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVGColorProfile wrapper method implementations
- //
- #pragma implementation_key(3558)
- inline _bstr_t VGCore::IVGColorProfile::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3559)
- inline _bstr_t VGCore::IVGColorProfile::GetFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3560)
- inline _bstr_t VGCore::IVGColorProfile::GetManufacturer ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Manufacturer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3561)
- inline _bstr_t VGCore::IVGColorProfile::GetDeviceModel ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DeviceModel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3562)
- inline enum VGCore::clrDeviceType VGCore::IVGColorProfile::GetDeviceType ( ) {
- enum clrDeviceType _result;
- HRESULT _hr = get_DeviceType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3563)
- inline VARIANT_BOOL VGCore::IVGColorProfile::GetSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Selected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3564)
- inline HRESULT VGCore::IVGColorProfile::Select ( ) {
- HRESULT _hr = raw_Select();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3565)
- inline VARIANT_BOOL VGCore::IVGColorProfile::GetGeneric ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Generic(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3566)
- inline VARIANT_BOOL VGCore::IVGColorProfile::GetInstalled ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Installed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3567)
- inline _bstr_t VGCore::IVGColorProfile::GetID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3568)
- inline enum VGCore::clrColorModel VGCore::IVGColorProfile::GetColorModel ( ) {
- enum clrColorModel _result;
- HRESULT _hr = get_ColorModel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3569)
- inline VGCore::IVGColorContextPtr VGCore::IVGColorProfile::CreateColorContext ( enum clrRenderingIntent RenderingIntent ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = raw_CreateColorContext(RenderingIntent, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(3570)
- inline VARIANT_BOOL VGCore::IVGColorProfile::IsSame ( struct IVGColorProfile * ColorProfile ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsSame(ColorProfile, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGColorProfiles wrapper method implementations
- //
- #pragma implementation_key(3571)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorProfiles::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3572)
- inline long VGCore::IVGColorProfiles::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3573)
- inline IUnknownPtr VGCore::IVGColorProfiles::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3574)
- inline enum VGCore::clrDeviceType VGCore::IVGColorProfiles::GetDeviceType ( ) {
- enum clrDeviceType _result;
- HRESULT _hr = get_DeviceType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3575)
- inline VARIANT_BOOL VGCore::IVGColorProfiles::SelectByName ( _bstr_t Name ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_SelectByName(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3576)
- inline VARIANT_BOOL VGCore::IVGColorProfiles::Install ( _bstr_t FileName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Install(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3577)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorProfiles::GetGenericProfile ( ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_GenericProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- //
- // interface IVGProofColorSettings wrapper method implementations
- //
- #pragma implementation_key(3578)
- inline VGCore::IVGColorContextPtr VGCore::IVGProofColorSettings::GetColorContext ( ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = get_ColorContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(3579)
- inline void VGCore::IVGProofColorSettings::PutColorContext ( struct IVGColorContext * ppVal ) {
- HRESULT _hr = put_ColorContext(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3580)
- inline VARIANT_BOOL VGCore::IVGProofColorSettings::GetShowOutOfGamutWarning ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShowOutOfGamutWarning(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3581)
- inline void VGCore::IVGProofColorSettings::PutShowOutOfGamutWarning ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShowOutOfGamutWarning(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3582)
- inline VGCore::IVGColorPtr VGCore::IVGProofColorSettings::GetOutOfGamutColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_OutOfGamutColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3583)
- inline void VGCore::IVGProofColorSettings::PutOutOfGamutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_OutOfGamutColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3584)
- inline double VGCore::IVGProofColorSettings::GetOutOfGamutTransparency ( ) {
- double _result = 0;
- HRESULT _hr = get_OutOfGamutTransparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3585)
- inline void VGCore::IVGProofColorSettings::PutOutOfGamutTransparency ( double pVal ) {
- HRESULT _hr = put_OutOfGamutTransparency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3586)
- inline VARIANT_BOOL VGCore::IVGProofColorSettings::GetPreserveColorValues ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PreserveColorValues(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3587)
- inline void VGCore::IVGProofColorSettings::PutPreserveColorValues ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PreserveColorValues(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3588)
- inline VGCore::IVGProofColorSettingsPtr VGCore::IVGProofColorSettings::GetCopy ( ) {
- struct IVGProofColorSettings * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGProofColorSettingsPtr(_result, false);
- }
- #pragma implementation_key(3589)
- inline HRESULT VGCore::IVGProofColorSettings::CopyAssign ( struct IVGProofColorSettings * Source ) {
- HRESULT _hr = raw_CopyAssign(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGStructExportOptions wrapper method implementations
- //
- #pragma implementation_key(3590)
- inline void VGCore::IVGStructExportOptions::PutSizeX ( long pVal ) {
- HRESULT _hr = put_SizeX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3591)
- inline long VGCore::IVGStructExportOptions::GetSizeX ( ) {
- long _result = 0;
- HRESULT _hr = get_SizeX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3592)
- inline void VGCore::IVGStructExportOptions::PutSizeY ( long pVal ) {
- HRESULT _hr = put_SizeY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3593)
- inline long VGCore::IVGStructExportOptions::GetSizeY ( ) {
- long _result = 0;
- HRESULT _hr = get_SizeY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3594)
- inline void VGCore::IVGStructExportOptions::PutResolutionX ( long pVal ) {
- HRESULT _hr = put_ResolutionX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3595)
- inline long VGCore::IVGStructExportOptions::GetResolutionX ( ) {
- long _result = 0;
- HRESULT _hr = get_ResolutionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3596)
- inline void VGCore::IVGStructExportOptions::PutResolutionY ( long pVal ) {
- HRESULT _hr = put_ResolutionY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3597)
- inline long VGCore::IVGStructExportOptions::GetResolutionY ( ) {
- long _result = 0;
- HRESULT _hr = get_ResolutionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3598)
- inline void VGCore::IVGStructExportOptions::PutAntiAliasingType ( enum cdrAntiAliasingType pVal ) {
- HRESULT _hr = put_AntiAliasingType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3599)
- inline enum VGCore::cdrAntiAliasingType VGCore::IVGStructExportOptions::GetAntiAliasingType ( ) {
- enum cdrAntiAliasingType _result;
- HRESULT _hr = get_AntiAliasingType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3600)
- inline void VGCore::IVGStructExportOptions::PutOverwrite ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Overwrite(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3601)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetOverwrite ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Overwrite(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3602)
- inline void VGCore::IVGStructExportOptions::PutImageType ( enum cdrImageType pVal ) {
- HRESULT _hr = put_ImageType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3603)
- inline enum VGCore::cdrImageType VGCore::IVGStructExportOptions::GetImageType ( ) {
- enum cdrImageType _result;
- HRESULT _hr = get_ImageType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3604)
- inline void VGCore::IVGStructExportOptions::PutDithered ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Dithered(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3605)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetDithered ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Dithered(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3606)
- inline void VGCore::IVGStructExportOptions::PutTransparent ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Transparent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3607)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetTransparent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Transparent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3608)
- inline void VGCore::IVGStructExportOptions::PutUseColorProfile ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseColorProfile(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3609)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetUseColorProfile ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseColorProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3610)
- inline void VGCore::IVGStructExportOptions::PutCompression ( enum cdrCompressionType pVal ) {
- HRESULT _hr = put_Compression(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3611)
- inline enum VGCore::cdrCompressionType VGCore::IVGStructExportOptions::GetCompression ( ) {
- enum cdrCompressionType _result;
- HRESULT _hr = get_Compression(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3612)
- inline void VGCore::IVGStructExportOptions::PutMaintainLayers ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MaintainLayers(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3613)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMaintainLayers ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MaintainLayers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3614)
- inline void VGCore::IVGStructExportOptions::PutMaintainAspect ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MaintainAspect(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3615)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMaintainAspect ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MaintainAspect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3616)
- inline VGCore::IVGRectPtr VGCore::IVGStructExportOptions::GetExportArea ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_ExportArea(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(3617)
- inline void VGCore::IVGStructExportOptions::PutRefExportArea ( struct IVGRect * * ppVal ) {
- HRESULT _hr = putref_ExportArea(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3618)
- inline void VGCore::IVGStructExportOptions::PutMatted ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Matted(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3619)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMatted ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Matted(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3620)
- inline VGCore::IVGColorPtr VGCore::IVGStructExportOptions::GetMatteColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_MatteColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3621)
- inline void VGCore::IVGStructExportOptions::PutMatteColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_MatteColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3622)
- inline void VGCore::IVGStructExportOptions::PutMatteMaskedOnly ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MatteMaskedOnly(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3623)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetMatteMaskedOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MatteMaskedOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3624)
- inline void VGCore::IVGStructExportOptions::PutAlwaysOverprintBlack ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AlwaysOverprintBlack(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3625)
- inline VARIANT_BOOL VGCore::IVGStructExportOptions::GetAlwaysOverprintBlack ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AlwaysOverprintBlack(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3626)
- inline VGCore::IVGProofColorSettingsPtr VGCore::IVGStructExportOptions::GetProofColorSettings ( ) {
- struct IVGProofColorSettings * _result = 0;
- HRESULT _hr = get_ProofColorSettings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGProofColorSettingsPtr(_result, false);
- }
- #pragma implementation_key(3627)
- inline void VGCore::IVGStructExportOptions::PutProofColorSettings ( struct IVGProofColorSettings * ppVal ) {
- HRESULT _hr = put_ProofColorSettings(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGColorManager wrapper method implementations
- //
- #pragma implementation_key(3628)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetScannerCalibrated ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ScannerCalibrated(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3629)
- inline void VGCore::IVGColorManager::PutScannerCalibrated ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ScannerCalibrated(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3630)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetSeparationPrinterCalibrated ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SeparationPrinterCalibrated(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3631)
- inline void VGCore::IVGColorManager::PutSeparationPrinterCalibrated ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_SeparationPrinterCalibrated(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3632)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetCompositePrinterCalibrated ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CompositePrinterCalibrated(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3633)
- inline enum VGCore::clrCompPrnCalibration VGCore::IVGColorManager::GetCompositePrinterCalibration ( ) {
- enum clrCompPrnCalibration _result;
- HRESULT _hr = get_CompositePrinterCalibration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3634)
- inline void VGCore::IVGColorManager::PutCompositePrinterCalibration ( enum clrCompPrnCalibration pVal ) {
- HRESULT _hr = put_CompositePrinterCalibration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3635)
- inline enum VGCore::clrMonitorCalibration VGCore::IVGColorManager::GetMonitorCalibration ( ) {
- enum clrMonitorCalibration _result;
- HRESULT _hr = get_MonitorCalibration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3636)
- inline void VGCore::IVGColorManager::PutMonitorCalibration ( enum clrMonitorCalibration pVal ) {
- HRESULT _hr = put_MonitorCalibration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3637)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetCompositePrinterSimulatesSeparation ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CompositePrinterSimulatesSeparation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3638)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetShowOutOfGamut ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShowOutOfGamut(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3639)
- inline void VGCore::IVGColorManager::PutShowOutOfGamut ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShowOutOfGamut(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3640)
- inline VGCore::IVGColorPtr VGCore::IVGColorManager::GetOutOfGamutColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_OutOfGamutColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3641)
- inline void VGCore::IVGColorManager::PutOutOfGamutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_OutOfGamutColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3642)
- inline long VGCore::IVGColorManager::GetOutOfGamutTransparency ( ) {
- long _result = 0;
- HRESULT _hr = get_OutOfGamutTransparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3643)
- inline void VGCore::IVGColorManager::PutOutOfGamutTransparency ( long pVal ) {
- HRESULT _hr = put_OutOfGamutTransparency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3644)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetCMYKInPercents ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CMYKInPercents(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3645)
- inline void VGCore::IVGColorManager::PutCMYKInPercents ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_CMYKInPercents(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3646)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetCMYKGamutForSpotColors ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_CMYKGamutForSpotColors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3647)
- inline void VGCore::IVGColorManager::PutCMYKGamutForSpotColors ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_CMYKGamutForSpotColors(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3648)
- inline enum VGCore::clrRenderingIntent VGCore::IVGColorManager::GetRenderingIntent ( ) {
- enum clrRenderingIntent _result;
- HRESULT _hr = get_RenderingIntent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3649)
- inline void VGCore::IVGColorManager::PutRenderingIntent ( enum clrRenderingIntent pVal ) {
- HRESULT _hr = put_RenderingIntent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3650)
- inline enum VGCore::clrColorEngine VGCore::IVGColorManager::GetColorEngine ( ) {
- enum clrColorEngine _result;
- HRESULT _hr = get_ColorEngine(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3651)
- inline void VGCore::IVGColorManager::PutColorEngine ( enum clrColorEngine pVal ) {
- HRESULT _hr = put_ColorEngine(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3652)
- inline long VGCore::IVGColorManager::GetStyleCount ( ) {
- long _result = 0;
- HRESULT _hr = get_StyleCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3653)
- inline _bstr_t VGCore::IVGColorManager::GetStyleByIndex ( long Index ) {
- BSTR _result = 0;
- HRESULT _hr = get_StyleByIndex(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3654)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetCurrentProfile ( enum clrDeviceType DeviceType ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_CurrentProfile(DeviceType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3655)
- inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetInstalledProfiles ( enum clrDeviceType DeviceType ) {
- struct IVGColorProfiles * _result = 0;
- HRESULT _hr = get_InstalledProfiles(DeviceType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilesPtr(_result, false);
- }
- #pragma implementation_key(3656)
- inline VARIANT_BOOL VGCore::IVGColorManager::LoadStyle ( _bstr_t StyleName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_LoadStyle(StyleName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3657)
- inline VARIANT_BOOL VGCore::IVGColorManager::DeleteStyle ( _bstr_t StyleName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_DeleteStyle(StyleName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3658)
- inline VARIANT_BOOL VGCore::IVGColorManager::SaveStyle ( _bstr_t StyleName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_SaveStyle(StyleName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3659)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetIsICM2Available ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsICM2Available(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3660)
- inline _bstr_t VGCore::IVGColorManager::GetUnsavedStyleName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_UnsavedStyleName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3661)
- inline _bstr_t VGCore::IVGColorManager::GetGenericProfileName ( enum clrDeviceType DeviceType ) {
- BSTR _result = 0;
- HRESULT _hr = get_GenericProfileName(DeviceType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3662)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetIsCompositePrinterCMYK ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsCompositePrinterCMYK(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3663)
- inline enum VGCore::clrImportColorCorrection VGCore::IVGColorManager::GetColorCorrectionOnImport ( ) {
- enum clrImportColorCorrection _result;
- HRESULT _hr = get_ColorCorrectionOnImport(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3664)
- inline void VGCore::IVGColorManager::PutColorCorrectionOnImport ( enum clrImportColorCorrection pVal ) {
- HRESULT _hr = put_ColorCorrectionOnImport(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3665)
- inline enum VGCore::clrExportColorCorrection VGCore::IVGColorManager::GetColorCorrectionOnExport ( ) {
- enum clrExportColorCorrection _result;
- HRESULT _hr = get_ColorCorrectionOnExport(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3666)
- inline void VGCore::IVGColorManager::PutColorCorrectionOnExport ( enum clrExportColorCorrection pVal ) {
- HRESULT _hr = put_ColorCorrectionOnExport(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3667)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetDefaultImportProfile ( ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_DefaultImportProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3668)
- inline void VGCore::IVGColorManager::PutRefDefaultImportProfile ( struct IVGColorProfile * * ppVal ) {
- HRESULT _hr = putref_DefaultImportProfile(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3669)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetCustomImportProfile ( ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_CustomImportProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3670)
- inline void VGCore::IVGColorManager::PutRefCustomImportProfile ( struct IVGColorProfile * * ppVal ) {
- HRESULT _hr = putref_CustomImportProfile(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3671)
- inline VGCore::IVGColorProfilePtr VGCore::IVGColorManager::GetCustomExportProfile ( ) {
- struct IVGColorProfile * _result = 0;
- HRESULT _hr = get_CustomExportProfile(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilePtr(_result, false);
- }
- #pragma implementation_key(3672)
- inline void VGCore::IVGColorManager::PutRefCustomExportProfile ( struct IVGColorProfile * * ppVal ) {
- HRESULT _hr = putref_CustomExportProfile(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3673)
- inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetMonitorColorProfiles ( ) {
- struct IVGColorProfiles * _result = 0;
- HRESULT _hr = get_MonitorColorProfiles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilesPtr(_result, false);
- }
- #pragma implementation_key(3674)
- inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetProfilesByColorModel ( enum clrColorModel ColorModel ) {
- struct IVGColorProfiles * _result = 0;
- HRESULT _hr = raw_GetProfilesByColorModel(ColorModel, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilesPtr(_result, false);
- }
- #pragma implementation_key(3675)
- inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetProfilesForDevice ( enum clrDeviceType DeviceType, _bstr_t DeviceName ) {
- struct IVGColorProfiles * _result = 0;
- HRESULT _hr = raw_GetProfilesForDevice(DeviceType, DeviceName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilesPtr(_result, false);
- }
- #pragma implementation_key(3676)
- inline VGCore::IVGColorContextPtr VGCore::IVGColorManager::GetDefaultColorContext ( ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = get_DefaultColorContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(3677)
- inline VARIANT_BOOL VGCore::IVGColorManager::ColorEnginePresent ( enum clrColorEngine ColorEngine ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ColorEnginePresent(ColorEngine, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3678)
- inline VARIANT_BOOL VGCore::IVGColorManager::CanDeleteStyle ( _bstr_t StyleName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CanDeleteStyle(StyleName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3679)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetMapGrayToCMYKBlack ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MapGrayToCMYKBlack(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3680)
- inline void VGCore::IVGColorManager::PutMapGrayToCMYKBlack ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MapGrayToCMYKBlack(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3681)
- inline VARIANT_BOOL VGCore::IVGColorManager::GetPreservePureBlack ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PreservePureBlack(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3682)
- inline void VGCore::IVGColorManager::PutPreservePureBlack ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PreservePureBlack(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3683)
- inline enum VGCore::clrColorModel VGCore::IVGColorManager::GetSpotColorDefinition ( ) {
- enum clrColorModel _result;
- HRESULT _hr = get_SpotColorDefinition(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3684)
- inline void VGCore::IVGColorManager::PutSpotColorDefinition ( enum clrColorModel pVal ) {
- HRESULT _hr = put_SpotColorDefinition(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3685)
- inline VGCore::IVGColorProfilesPtr VGCore::IVGColorManager::GetColorProfiles ( ) {
- struct IVGColorProfiles * _result = 0;
- HRESULT _hr = get_ColorProfiles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorProfilesPtr(_result, false);
- }
- #pragma implementation_key(3686)
- inline VGCore::IVGColorManagementPolicyPtr VGCore::IVGColorManager::GetPolicyForOpen ( ) {
- struct IVGColorManagementPolicy * _result = 0;
- HRESULT _hr = get_PolicyForOpen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorManagementPolicyPtr(_result, false);
- }
- #pragma implementation_key(3687)
- inline VGCore::IVGColorManagementPolicyPtr VGCore::IVGColorManager::GetPolicyForImport ( ) {
- struct IVGColorManagementPolicy * _result = 0;
- HRESULT _hr = get_PolicyForImport(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorManagementPolicyPtr(_result, false);
- }
- //
- // interface IVGStructCreateOptions wrapper method implementations
- //
- #pragma implementation_key(3688)
- inline VGCore::IVGColorContextPtr VGCore::IVGStructCreateOptions::GetColorContext ( ) {
- struct IVGColorContext * _result = 0;
- HRESULT _hr = get_ColorContext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorContextPtr(_result, false);
- }
- #pragma implementation_key(3689)
- inline void VGCore::IVGStructCreateOptions::PutColorContext ( struct IVGColorContext * ppVal ) {
- HRESULT _hr = put_ColorContext(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3690)
- inline _bstr_t VGCore::IVGStructCreateOptions::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3691)
- inline void VGCore::IVGStructCreateOptions::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3692)
- inline double VGCore::IVGStructCreateOptions::GetPageWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_PageWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3693)
- inline void VGCore::IVGStructCreateOptions::PutPageWidth ( double pVal ) {
- HRESULT _hr = put_PageWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3694)
- inline double VGCore::IVGStructCreateOptions::GetPageHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_PageHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3695)
- inline void VGCore::IVGStructCreateOptions::PutPageHeight ( double pVal ) {
- HRESULT _hr = put_PageHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3696)
- inline enum VGCore::cdrUnit VGCore::IVGStructCreateOptions::GetUnits ( ) {
- enum cdrUnit _result;
- HRESULT _hr = get_Units(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3697)
- inline void VGCore::IVGStructCreateOptions::PutUnits ( enum cdrUnit pVal ) {
- HRESULT _hr = put_Units(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3698)
- inline double VGCore::IVGStructCreateOptions::GetResolution ( ) {
- double _result = 0;
- HRESULT _hr = get_Resolution(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3699)
- inline void VGCore::IVGStructCreateOptions::PutResolution ( double pVal ) {
- HRESULT _hr = put_Resolution(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGPalette wrapper method implementations
- //
- #pragma implementation_key(3700)
- inline IDispatchPtr VGCore::IVGPalette::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3701)
- inline IDispatchPtr VGCore::IVGPalette::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3702)
- inline _bstr_t VGCore::IVGPalette::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3703)
- inline void VGCore::IVGPalette::PutName ( _bstr_t Name ) {
- HRESULT _hr = put_Name(Name);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3704)
- inline HRESULT VGCore::IVGPalette::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3705)
- inline enum VGCore::cdrPaletteType VGCore::IVGPalette::GetType ( ) {
- enum cdrPaletteType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3706)
- inline VGCore::IVGColorsPtr VGCore::IVGPalette::Colors ( ) {
- struct IVGColors * _result = 0;
- HRESULT _hr = raw_Colors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorsPtr(_result, false);
- }
- #pragma implementation_key(3707)
- inline VGCore::IVGColorPtr VGCore::IVGPalette::GetColor ( long Index ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3708)
- inline void VGCore::IVGPalette::PutColor ( long Index, struct IVGColor * Color ) {
- HRESULT _hr = put_Color(Index, Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3709)
- inline HRESULT VGCore::IVGPalette::AddColor ( struct IVGColor * Color ) {
- HRESULT _hr = raw_AddColor(Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3710)
- inline HRESULT VGCore::IVGPalette::InsertColor ( long Index, struct IVGColor * Color ) {
- HRESULT _hr = raw_InsertColor(Index, Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3711)
- inline HRESULT VGCore::IVGPalette::RemoveColor ( long Index ) {
- HRESULT _hr = raw_RemoveColor(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3712)
- inline long VGCore::IVGPalette::GetIndexOfColor ( struct IVGColor * Color ) {
- long _result = 0;
- HRESULT _hr = raw_GetIndexOfColor(Color, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3713)
- inline VARIANT_BOOL VGCore::IVGPalette::GetDuplicatePresent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DuplicatePresent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3714)
- inline long VGCore::IVGPalette::GetColorCount ( ) {
- long _result = 0;
- HRESULT _hr = get_ColorCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3715)
- inline HRESULT VGCore::IVGPalette::Save ( ) {
- HRESULT _hr = raw_Save();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3716)
- inline enum VGCore::cdrPaletteID VGCore::IVGPalette::GetPaletteID ( ) {
- enum cdrPaletteID _result;
- HRESULT _hr = get_PaletteID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3717)
- inline _bstr_t VGCore::IVGPalette::GetFileName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FileName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3718)
- inline long VGCore::IVGPalette::MatchColor ( struct IVGColor * Color ) {
- long _result = 0;
- HRESULT _hr = raw_MatchColor(Color, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3719)
- inline long VGCore::IVGPalette::FindColor ( _bstr_t Name ) {
- long _result = 0;
- HRESULT _hr = raw_FindColor(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3720)
- inline HRESULT VGCore::IVGPalette::SaveAs ( _bstr_t FileName, _bstr_t Name, enum cdrPaletteVersion Version ) {
- HRESULT _hr = raw_SaveAs(FileName, Name, Version);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3721)
- inline VGCore::IVGDocumentPtr VGCore::IVGPalette::GetDocument ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Document(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(3722)
- inline _bstr_t VGCore::IVGPalette::GetIdentifier ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Identifier(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3723)
- inline VARIANT_BOOL VGCore::IVGPalette::GetIsEmpty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEmpty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3724)
- inline VARIANT_BOOL VGCore::IVGPalette::GetLocked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Locked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3725)
- inline VARIANT_BOOL VGCore::IVGPalette::GetDefault ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Default(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3726)
- inline VARIANT_BOOL VGCore::IVGPalette::GetIsOpen ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsOpen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3727)
- inline HRESULT VGCore::IVGPalette::Open ( ) {
- HRESULT _hr = raw_Open();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3728)
- inline HRESULT VGCore::IVGPalette::MakeDefault ( ) {
- HRESULT _hr = raw_MakeDefault();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3729)
- inline VARIANT_BOOL VGCore::IVGPalette::Delete ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Delete(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGColors wrapper method implementations
- //
- #pragma implementation_key(3730)
- inline IDispatchPtr VGCore::IVGColors::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3731)
- inline VGCore::IVGPalettePtr VGCore::IVGColors::GetParent ( ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3732)
- inline VGCore::IVGColorPtr VGCore::IVGColors::GetItem ( long Index ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3733)
- inline IUnknownPtr VGCore::IVGColors::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3734)
- inline long VGCore::IVGColors::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGPalettes wrapper method implementations
- //
- #pragma implementation_key(3735)
- inline IDispatchPtr VGCore::IVGPalettes::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3736)
- inline IDispatchPtr VGCore::IVGPalettes::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(3737)
- inline VGCore::IVGPalettePtr VGCore::IVGPalettes::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3738)
- inline IUnknownPtr VGCore::IVGPalettes::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3739)
- inline long VGCore::IVGPalettes::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3740)
- inline VGCore::IVGPalettePtr VGCore::IVGPalettes::Open ( _bstr_t FileName ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = raw_Open(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3741)
- inline VGCore::IVGPalettePtr VGCore::IVGPalettes::OpenFixed ( enum cdrPaletteID PaletteID ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = raw_OpenFixed(PaletteID, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3742)
- inline VGCore::IVGPalettePtr VGCore::IVGPalettes::CreateFromDocument ( _bstr_t Name, _bstr_t FileName, VARIANT_BOOL Overwrite ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = raw_CreateFromDocument(Name, FileName, Overwrite, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3743)
- inline VGCore::IVGPalettePtr VGCore::IVGPalettes::CreateFromSelection ( _bstr_t Name, _bstr_t FileName, VARIANT_BOOL Overwrite ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = raw_CreateFromSelection(Name, FileName, Overwrite, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3744)
- inline VGCore::IVGPalettePtr VGCore::IVGPalettes::Create ( _bstr_t Name, _bstr_t FileName, VARIANT_BOOL Overwrite ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = raw_Create(Name, FileName, Overwrite, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- //
- // interface IVGPaletteManager wrapper method implementations
- //
- #pragma implementation_key(3745)
- inline long VGCore::IVGPaletteManager::GetPaletteCount ( ) {
- long _result = 0;
- HRESULT _hr = get_PaletteCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3746)
- inline VGCore::IVGPalettePtr VGCore::IVGPaletteManager::GetPalette ( const _variant_t & IndexOrName ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = raw_GetPalette(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3747)
- inline VGCore::IVGPalettePtr VGCore::IVGPaletteManager::GetDefaultPalette ( ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = get_DefaultPalette(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- #pragma implementation_key(3748)
- inline VGCore::IVGPalettesPtr VGCore::IVGPaletteManager::GetOpenPalettes ( ) {
- struct IVGPalettes * _result = 0;
- HRESULT _hr = get_OpenPalettes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettesPtr(_result, false);
- }
- #pragma implementation_key(3749)
- inline IUnknownPtr VGCore::IVGPaletteManager::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3750)
- inline HRESULT VGCore::IVGPaletteManager::LoadAllPalettes ( ) {
- HRESULT _hr = raw_LoadAllPalettes();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3751)
- inline VGCore::IVGPalettePtr VGCore::IVGPaletteManager::LoadPalette ( _bstr_t FileName ) {
- struct IVGPalette * _result = 0;
- HRESULT _hr = raw_LoadPalette(FileName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPalettePtr(_result, false);
- }
- //
- // interface IVGTraceSettings wrapper method implementations
- //
- #pragma implementation_key(3752)
- inline enum VGCore::cdrTraceType VGCore::IVGTraceSettings::GetTraceType ( ) {
- enum cdrTraceType _result;
- HRESULT _hr = get_TraceType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3753)
- inline void VGCore::IVGTraceSettings::PutTraceType ( enum cdrTraceType pVal ) {
- HRESULT _hr = put_TraceType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3754)
- inline short VGCore::IVGTraceSettings::GetSmoothing ( ) {
- short _result = 0;
- HRESULT _hr = get_Smoothing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3755)
- inline void VGCore::IVGTraceSettings::PutSmoothing ( short pVal ) {
- HRESULT _hr = put_Smoothing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3756)
- inline short VGCore::IVGTraceSettings::GetDetailLevel ( ) {
- short _result = 0;
- HRESULT _hr = get_DetailLevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3757)
- inline void VGCore::IVGTraceSettings::PutDetailLevel ( short pVal ) {
- HRESULT _hr = put_DetailLevel(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3758)
- inline enum VGCore::cdrColorType VGCore::IVGTraceSettings::GetColorMode ( ) {
- enum cdrColorType _result;
- HRESULT _hr = get_ColorMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3759)
- inline enum VGCore::cdrPaletteID VGCore::IVGTraceSettings::GetPaletteID ( ) {
- enum cdrPaletteID _result;
- HRESULT _hr = get_PaletteID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3760)
- inline long VGCore::IVGTraceSettings::GetColorCount ( ) {
- long _result = 0;
- HRESULT _hr = get_ColorCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3761)
- inline VGCore::IVGColorPtr VGCore::IVGTraceSettings::GetColor ( long Index ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3762)
- inline VARIANT_BOOL VGCore::IVGTraceSettings::GetDeleteOriginalObject ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DeleteOriginalObject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3763)
- inline void VGCore::IVGTraceSettings::PutDeleteOriginalObject ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DeleteOriginalObject(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3764)
- inline VARIANT_BOOL VGCore::IVGTraceSettings::GetRemoveBackground ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RemoveBackground(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3765)
- inline void VGCore::IVGTraceSettings::PutRemoveBackground ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RemoveBackground(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3766)
- inline VARIANT_BOOL VGCore::IVGTraceSettings::GetRemoveEntireBackColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RemoveEntireBackColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3767)
- inline void VGCore::IVGTraceSettings::PutRemoveEntireBackColor ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RemoveEntireBackColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3768)
- inline enum VGCore::cdrTraceBackgroundMode VGCore::IVGTraceSettings::GetBackgroundRemovalMode ( ) {
- enum cdrTraceBackgroundMode _result;
- HRESULT _hr = get_BackgroundRemovalMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3769)
- inline void VGCore::IVGTraceSettings::PutBackgroundRemovalMode ( enum cdrTraceBackgroundMode pVal ) {
- HRESULT _hr = put_BackgroundRemovalMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3770)
- inline VGCore::IVGColorPtr VGCore::IVGTraceSettings::GetBackgroundColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_BackgroundColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3771)
- inline long VGCore::IVGTraceSettings::GetCurveCount ( ) {
- long _result = 0;
- HRESULT _hr = get_CurveCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3772)
- inline long VGCore::IVGTraceSettings::GetNodeCount ( ) {
- long _result = 0;
- HRESULT _hr = get_NodeCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3773)
- inline long VGCore::IVGTraceSettings::GetBitmapWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_BitmapWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3774)
- inline long VGCore::IVGTraceSettings::GetBitmapHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_BitmapHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3775)
- inline long VGCore::IVGTraceSettings::SetColorCount ( long ColorCount ) {
- long _result = 0;
- HRESULT _hr = raw_SetColorCount(ColorCount, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3776)
- inline VGCore::IVGShapeRangePtr VGCore::IVGTraceSettings::Finish ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Finish(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3777)
- inline VARIANT_BOOL VGCore::IVGTraceSettings::ShowDialog ( long ParentWindowHandle ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ShowDialog(ParentWindowHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3778)
- inline HRESULT VGCore::IVGTraceSettings::ApplyChanges ( ) {
- HRESULT _hr = raw_ApplyChanges();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3779)
- inline HRESULT VGCore::IVGTraceSettings::SetColorMode ( enum cdrColorType ColorMode, enum cdrPaletteID PaletteID ) {
- HRESULT _hr = raw_SetColorMode(ColorMode, PaletteID);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3780)
- inline short VGCore::IVGTraceSettings::GetDetailLevelPercent ( ) {
- short _result = 0;
- HRESULT _hr = get_DetailLevelPercent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3781)
- inline void VGCore::IVGTraceSettings::PutDetailLevelPercent ( short pVal ) {
- HRESULT _hr = put_DetailLevelPercent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3782)
- inline short VGCore::IVGTraceSettings::GetMaxDetailLevel ( ) {
- short _result = 0;
- HRESULT _hr = get_MaxDetailLevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3783)
- inline short VGCore::IVGTraceSettings::GetMinDetailLevel ( ) {
- short _result = 0;
- HRESULT _hr = get_MinDetailLevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3784)
- inline short VGCore::IVGTraceSettings::GetCornerSmoothness ( ) {
- short _result = 0;
- HRESULT _hr = get_CornerSmoothness(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3785)
- inline void VGCore::IVGTraceSettings::PutCornerSmoothness ( short pVal ) {
- HRESULT _hr = put_CornerSmoothness(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3786)
- inline VARIANT_BOOL VGCore::IVGTraceSettings::GetMergeAdjacentObjects ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MergeAdjacentObjects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3787)
- inline void VGCore::IVGTraceSettings::PutMergeAdjacentObjects ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MergeAdjacentObjects(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3788)
- inline VARIANT_BOOL VGCore::IVGTraceSettings::GetRemoveOverlap ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RemoveOverlap(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3789)
- inline void VGCore::IVGTraceSettings::PutRemoveOverlap ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RemoveOverlap(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3790)
- inline VARIANT_BOOL VGCore::IVGTraceSettings::GetGroupObjectsByColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_GroupObjectsByColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3791)
- inline void VGCore::IVGTraceSettings::PutGroupObjectsByColor ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_GroupObjectsByColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGShapeRange wrapper method implementations
- //
- #pragma implementation_key(3792)
- inline VGCore::IVGApplicationPtr VGCore::IVGShapeRange::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(3793)
- inline VGCore::IVGApplicationPtr VGCore::IVGShapeRange::GetParent ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(3794)
- inline VGCore::IVGShapePtr VGCore::IVGShapeRange::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3795)
- inline IUnknownPtr VGCore::IVGShapeRange::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3796)
- inline long VGCore::IVGShapeRange::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3797)
- inline HRESULT VGCore::IVGShapeRange::Add ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_Add(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3798)
- inline HRESULT VGCore::IVGShapeRange::Remove ( long Index ) {
- HRESULT _hr = raw_Remove(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3799)
- inline long VGCore::IVGShapeRange::IndexOf ( struct IVGShape * Shape ) {
- long _result = 0;
- HRESULT _hr = raw_IndexOf(Shape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3800)
- inline HRESULT VGCore::IVGShapeRange::AddToSelection ( ) {
- HRESULT _hr = raw_AddToSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3801)
- inline HRESULT VGCore::IVGShapeRange::ConvertToCurves ( ) {
- HRESULT _hr = raw_ConvertToCurves();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3802)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_ConvertToBitmap(BitDepth, Grayscale, Dithered, TransparentBG, Resolution, AntiAliasing, UseColorProfile, MultiChannel, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3803)
- inline HRESULT VGCore::IVGShapeRange::Copy ( ) {
- HRESULT _hr = raw_Copy();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3804)
- inline HRESULT VGCore::IVGShapeRange::Cut ( ) {
- HRESULT _hr = raw_Cut();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3805)
- inline HRESULT VGCore::IVGShapeRange::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3806)
- inline HRESULT VGCore::IVGShapeRange::GetPosition ( double * PositionX, double * PositionY ) {
- HRESULT _hr = raw_GetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3807)
- inline HRESULT VGCore::IVGShapeRange::GetSize ( double * Width, double * Height ) {
- HRESULT _hr = raw_GetSize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3808)
- inline HRESULT VGCore::IVGShapeRange::Move ( double DeltaX, double DeltaY ) {
- HRESULT _hr = raw_Move(DeltaX, DeltaY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3809)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Duplicate ( double OffsetX, double OffsetY ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Duplicate(OffsetX, OffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3810)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Clone ( double OffsetX, double OffsetY ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Clone(OffsetX, OffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3811)
- inline VGCore::IVGShapePtr VGCore::IVGShapeRange::Group ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Group(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3812)
- inline HRESULT VGCore::IVGShapeRange::RemoveAll ( ) {
- HRESULT _hr = raw_RemoveAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3813)
- inline HRESULT VGCore::IVGShapeRange::OrderToFront ( ) {
- HRESULT _hr = raw_OrderToFront();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3814)
- inline HRESULT VGCore::IVGShapeRange::OrderToBack ( ) {
- HRESULT _hr = raw_OrderToBack();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3815)
- inline HRESULT VGCore::IVGShapeRange::OrderForwardOne ( ) {
- HRESULT _hr = raw_OrderForwardOne();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3816)
- inline HRESULT VGCore::IVGShapeRange::OrderBackOne ( ) {
- HRESULT _hr = raw_OrderBackOne();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3817)
- inline HRESULT VGCore::IVGShapeRange::OrderFrontOf ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_OrderFrontOf(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3818)
- inline HRESULT VGCore::IVGShapeRange::OrderBackOf ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_OrderBackOf(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3819)
- inline HRESULT VGCore::IVGShapeRange::OrderReverse ( ) {
- HRESULT _hr = raw_OrderReverse();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3820)
- inline HRESULT VGCore::IVGShapeRange::Rotate ( double Angle ) {
- HRESULT _hr = raw_Rotate(Angle);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3821)
- inline HRESULT VGCore::IVGShapeRange::RotateEx ( double Angle, double CenterX, double CenterY ) {
- HRESULT _hr = raw_RotateEx(Angle, CenterX, CenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3822)
- inline HRESULT VGCore::IVGShapeRange::Skew ( double AngleX, double AngleY ) {
- HRESULT _hr = raw_Skew(AngleX, AngleY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3823)
- inline HRESULT VGCore::IVGShapeRange::SkewEx ( double AngleX, double AngleY, double CenterX, double CenterY ) {
- HRESULT _hr = raw_SkewEx(AngleX, AngleY, CenterX, CenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3824)
- inline HRESULT VGCore::IVGShapeRange::UngroupAll ( ) {
- HRESULT _hr = raw_UngroupAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3825)
- inline HRESULT VGCore::IVGShapeRange::Flip ( enum cdrFlipAxes Axes ) {
- HRESULT _hr = raw_Flip(Axes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3826)
- inline double VGCore::IVGShapeRange::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3827)
- inline void VGCore::IVGShapeRange::PutPositionX ( double pVal ) {
- HRESULT _hr = put_PositionX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3828)
- inline double VGCore::IVGShapeRange::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3829)
- inline void VGCore::IVGShapeRange::PutPositionY ( double pVal ) {
- HRESULT _hr = put_PositionY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3830)
- inline double VGCore::IVGShapeRange::GetSizeWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3831)
- inline void VGCore::IVGShapeRange::PutSizeWidth ( double pVal ) {
- HRESULT _hr = put_SizeWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3832)
- inline double VGCore::IVGShapeRange::GetSizeHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3833)
- inline void VGCore::IVGShapeRange::PutSizeHeight ( double pVal ) {
- HRESULT _hr = put_SizeHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3834)
- inline double VGCore::IVGShapeRange::GetRotationCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationCenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3835)
- inline void VGCore::IVGShapeRange::PutRotationCenterX ( double pVal ) {
- HRESULT _hr = put_RotationCenterX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3836)
- inline double VGCore::IVGShapeRange::GetRotationCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationCenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3837)
- inline void VGCore::IVGShapeRange::PutRotationCenterY ( double pVal ) {
- HRESULT _hr = put_RotationCenterY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3838)
- inline HRESULT VGCore::IVGShapeRange::AddToPowerClip ( struct IVGShape * Shape, enum cdrTriState CenterInContainer ) {
- HRESULT _hr = raw_AddToPowerClip(Shape, CenterInContainer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3839)
- inline HRESULT VGCore::IVGShapeRange::RemoveFromContainer ( long Level ) {
- HRESULT _hr = raw_RemoveFromContainer(Level);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3840)
- inline HRESULT VGCore::IVGShapeRange::AddRange ( struct IVGShapeRange * ShapeRange ) {
- HRESULT _hr = raw_AddRange(ShapeRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3841)
- inline HRESULT VGCore::IVGShapeRange::SetPosition ( double PositionX, double PositionY ) {
- HRESULT _hr = raw_SetPosition(PositionX, PositionY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3842)
- inline HRESULT VGCore::IVGShapeRange::SetSize ( double Width, double Height ) {
- HRESULT _hr = raw_SetSize(Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3843)
- 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 ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_ConvertToBitmapEx(Mode, Dithered, Transparent, Resolution, AntiAliasing, UseColorProfile, AlwaysOverprintBlack, OverprintBlackLimit, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3844)
- inline VGCore::IVGShapePtr VGCore::IVGShapeRange::Combine ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Combine(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3845)
- inline HRESULT VGCore::IVGShapeRange::SetBoundingBox ( double x, double y, double Width, double Height, VARIANT_BOOL KeepAspect, enum cdrReferencePoint ReferencePoint ) {
- HRESULT _hr = raw_SetBoundingBox(x, y, Width, Height, KeepAspect, ReferencePoint);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3846)
- inline HRESULT VGCore::IVGShapeRange::ApplyNoFill ( ) {
- HRESULT _hr = raw_ApplyNoFill();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3847)
- inline HRESULT VGCore::IVGShapeRange::ApplyUniformFill ( struct IVGColor * Color ) {
- HRESULT _hr = raw_ApplyUniformFill(Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3848)
- 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 ) {
- HRESULT _hr = raw_ApplyFountainFill(StartColor, EndColor, Type, Angle, Steps, EdgePad, MidPoint, BlendType, CenterOffsetX, CenterOffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3849)
- inline HRESULT VGCore::IVGShapeRange::ApplyPatternFill ( enum cdrPatternFillType Type, _bstr_t FileName, long PatternCanvasIndex, struct IVGColor * FrontColor, struct IVGColor * EndColor, VARIANT_BOOL TransformWithShape ) {
- HRESULT _hr = raw_ApplyPatternFill(Type, FileName, PatternCanvasIndex, FrontColor, EndColor, TransformWithShape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3850)
- inline HRESULT VGCore::IVGShapeRange::ApplyTextureFill ( _bstr_t TextureName, _bstr_t LibraryName ) {
- HRESULT _hr = raw_ApplyTextureFill(TextureName, LibraryName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3851)
- inline HRESULT VGCore::IVGShapeRange::ApplyPostscriptFill ( const _variant_t & IndexOrName ) {
- HRESULT _hr = raw_ApplyPostscriptFill(IndexOrName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3852)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::ConvertOutlineToObject ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_ConvertOutlineToObject(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3853)
- 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 ) {
- HRESULT _hr = raw_SetOutlineProperties(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3854)
- inline HRESULT VGCore::IVGShapeRange::CreateSelection ( ) {
- HRESULT _hr = raw_CreateSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3855)
- inline HRESULT VGCore::IVGShapeRange::RemoveFromSelection ( ) {
- HRESULT _hr = raw_RemoveFromSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3856)
- inline HRESULT VGCore::IVGShapeRange::SetRotationCenter ( double x, double y ) {
- HRESULT _hr = raw_SetRotationCenter(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3857)
- inline HRESULT VGCore::IVGShapeRange::Stretch ( double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
- HRESULT _hr = raw_Stretch(StretchX, StretchY, StretchCharactersSize);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3858)
- inline HRESULT VGCore::IVGShapeRange::StretchEx ( double CenterX, double CenterY, double StretchX, double StretchY, VARIANT_BOOL StretchCharactersSize ) {
- HRESULT _hr = raw_StretchEx(CenterX, CenterY, StretchX, StretchY, StretchCharactersSize);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3859)
- inline HRESULT VGCore::IVGShapeRange::SetSizeEx ( double CenterX, double CenterY, double Width, double Height ) {
- HRESULT _hr = raw_SetSizeEx(CenterX, CenterY, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3860)
- inline HRESULT VGCore::IVGShapeRange::GetBoundingBox ( double * x, double * y, double * Width, double * Height, VARIANT_BOOL UseOutline ) {
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height, UseOutline);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3861)
- inline HRESULT VGCore::IVGShapeRange::RestoreCloneLink ( enum cdrCloneLinkType LinkToRestore ) {
- HRESULT _hr = raw_RestoreCloneLink(LinkToRestore);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3862)
- inline HRESULT VGCore::IVGShapeRange::ClearEffect ( enum cdrEffectType Type ) {
- HRESULT _hr = raw_ClearEffect(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3863)
- inline HRESULT VGCore::IVGShapeRange::RemoveRange ( struct IVGShapeRange * Range ) {
- HRESULT _hr = raw_RemoveRange(Range);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3864)
- inline HRESULT VGCore::IVGShapeRange::DeleteItem ( long Index ) {
- HRESULT _hr = raw_DeleteItem(Index);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3865)
- inline _variant_t VGCore::IVGShapeRange::CustomCommand ( _bstr_t ComponentID, _bstr_t CommandID, SAFEARRAY * * Parameters ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_CustomCommand(ComponentID, CommandID, Parameters, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(3866)
- inline HRESULT VGCore::IVGShapeRange::AlignToShape ( enum cdrAlignType Type, struct IVGShape * Shape, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToShape(Type, Shape, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3867)
- inline HRESULT VGCore::IVGShapeRange::AlignToShapeRange ( enum cdrAlignType Type, struct IVGShapeRange * ShapeRange, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToShapeRange(Type, ShapeRange, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3868)
- inline HRESULT VGCore::IVGShapeRange::AlignToPage ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToPage(Type, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3869)
- inline HRESULT VGCore::IVGShapeRange::AlignToPageCenter ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToPageCenter(Type, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3870)
- inline HRESULT VGCore::IVGShapeRange::AlignToGrid ( enum cdrAlignType Type, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToGrid(Type, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3871)
- inline HRESULT VGCore::IVGShapeRange::AlignToPoint ( enum cdrAlignType Type, double x, double y, enum cdrTextAlignOrigin TextAlignOrigin ) {
- HRESULT _hr = raw_AlignToPoint(Type, x, y, TextAlignOrigin);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3872)
- inline HRESULT VGCore::IVGShapeRange::Distribute ( enum cdrDistributeType Type, VARIANT_BOOL PageExtent ) {
- HRESULT _hr = raw_Distribute(Type, PageExtent);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3873)
- inline VGCore::IVGShapePtr VGCore::IVGShapeRange::ConvertToSymbol ( _bstr_t Name ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_ConvertToSymbol(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3874)
- inline HRESULT VGCore::IVGShapeRange::Ungroup ( ) {
- HRESULT _hr = raw_Ungroup();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3875)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::UngroupEx ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_UngroupEx(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3876)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::UngroupAllEx ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_UngroupAllEx(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3877)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Range ( SAFEARRAY * * IndexArray ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Range(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3878)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::All ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3879)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::AllExcluding ( SAFEARRAY * * IndexArray ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_AllExcluding(IndexArray, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3880)
- inline HRESULT VGCore::IVGShapeRange::BreakApart ( ) {
- HRESULT _hr = raw_BreakApart();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3881)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::BreakApartEx ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_BreakApartEx(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3882)
- inline HRESULT VGCore::IVGShapeRange::MoveToLayer ( struct IVGLayer * Layer ) {
- HRESULT _hr = raw_MoveToLayer(Layer);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3883)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::CopyToLayer ( struct IVGLayer * Layer ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_CopyToLayer(Layer, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3884)
- inline HRESULT VGCore::IVGShapeRange::ClearTransformations ( ) {
- HRESULT _hr = raw_ClearTransformations();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3885)
- inline HRESULT VGCore::IVGShapeRange::Lock ( ) {
- HRESULT _hr = raw_Lock();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3886)
- inline HRESULT VGCore::IVGShapeRange::Unlock ( ) {
- HRESULT _hr = raw_Unlock();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3887)
- inline HRESULT VGCore::IVGShapeRange::AlignRangeToShape ( enum cdrAlignType Type, struct IVGShape * Shape ) {
- HRESULT _hr = raw_AlignRangeToShape(Type, Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3888)
- inline HRESULT VGCore::IVGShapeRange::AlignRangeToShapeRange ( enum cdrAlignType Type, struct IVGShapeRange * ShapeRange ) {
- HRESULT _hr = raw_AlignRangeToShapeRange(Type, ShapeRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3889)
- inline HRESULT VGCore::IVGShapeRange::AlignRangeToPage ( enum cdrAlignType Type ) {
- HRESULT _hr = raw_AlignRangeToPage(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3890)
- inline HRESULT VGCore::IVGShapeRange::AlignRangeToPageCenter ( enum cdrAlignType Type ) {
- HRESULT _hr = raw_AlignRangeToPageCenter(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3891)
- inline HRESULT VGCore::IVGShapeRange::AlignRangeToGrid ( enum cdrAlignType Type ) {
- HRESULT _hr = raw_AlignRangeToGrid(Type);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3892)
- inline HRESULT VGCore::IVGShapeRange::AlignRangeToPoint ( enum cdrAlignType Type, double x, double y ) {
- HRESULT _hr = raw_AlignRangeToPoint(Type, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3893)
- inline HRESULT VGCore::IVGShapeRange::ApplyEffectInvert ( ) {
- HRESULT _hr = raw_ApplyEffectInvert();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3894)
- inline HRESULT VGCore::IVGShapeRange::ApplyEffectPosterize ( long Level ) {
- HRESULT _hr = raw_ApplyEffectPosterize(Level);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3895)
- inline HRESULT VGCore::IVGShapeRange::ApplyEffectBCI ( long Brighness, long Contrast, long Intensity ) {
- HRESULT _hr = raw_ApplyEffectBCI(Brighness, Contrast, Intensity);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3896)
- inline HRESULT VGCore::IVGShapeRange::ApplyEffectColorBalance ( long CyanRed, long MagentaGreen, long YellowBlue, VARIANT_BOOL ApplyToShadows, VARIANT_BOOL ApplyToMidtones, VARIANT_BOOL ApplyToHighlights, VARIANT_BOOL PreserveLuminance ) {
- HRESULT _hr = raw_ApplyEffectColorBalance(CyanRed, MagentaGreen, YellowBlue, ApplyToShadows, ApplyToMidtones, ApplyToHighlights, PreserveLuminance);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3897)
- inline HRESULT VGCore::IVGShapeRange::ApplyEffectGamma ( double Gamma ) {
- HRESULT _hr = raw_ApplyEffectGamma(Gamma);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3898)
- inline HRESULT VGCore::IVGShapeRange::ApplyEffectHSL ( const _variant_t & Hue, const _variant_t & Saturation, const _variant_t & Lightness ) {
- HRESULT _hr = raw_ApplyEffectHSL(Hue, Saturation, Lightness);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3899)
- inline HRESULT VGCore::IVGShapeRange::AffineTransform ( double d11, double d12, double d21, double d22, double CenterX, double CenterY ) {
- HRESULT _hr = raw_AffineTransform(d11, d12, d21, d22, CenterX, CenterY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3900)
- inline HRESULT VGCore::IVGShapeRange::ApplyFill ( struct IVGFill * Fill ) {
- HRESULT _hr = raw_ApplyFill(Fill);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3901)
- inline HRESULT VGCore::IVGShapeRange::ApplyOutline ( struct IVGOutline * Outline ) {
- HRESULT _hr = raw_ApplyOutline(Outline);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3902)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::GetReverseRange ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = get_ReverseRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3903)
- inline HRESULT VGCore::IVGShapeRange::Fillet ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Fillet(Radius, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3904)
- inline HRESULT VGCore::IVGShapeRange::Chamfer ( double DistanceA, double DistanceB, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Chamfer(DistanceA, DistanceB, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3905)
- inline HRESULT VGCore::IVGShapeRange::Scallop ( double Radius, VARIANT_BOOL CombineSmoothSegments ) {
- HRESULT _hr = raw_Scallop(Radius, CombineSmoothSegments);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3906)
- inline HRESULT VGCore::IVGShapeRange::SetFillMode ( enum cdrFillMode Mode ) {
- HRESULT _hr = raw_SetFillMode(Mode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3907)
- 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 ) {
- HRESULT _hr = raw_ApplyCustomHatchFill(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3908)
- 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 ) {
- HRESULT _hr = raw_ApplyHatchFill(LibraryName, HatchNameOrIndex, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3909)
- inline double VGCore::IVGShapeRange::GetLeftX ( ) {
- double _result = 0;
- HRESULT _hr = get_LeftX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3910)
- inline double VGCore::IVGShapeRange::GetRightX ( ) {
- double _result = 0;
- HRESULT _hr = get_RightX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3911)
- inline double VGCore::IVGShapeRange::GetTopY ( ) {
- double _result = 0;
- HRESULT _hr = get_TopY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3912)
- inline double VGCore::IVGShapeRange::GetBottomY ( ) {
- double _result = 0;
- HRESULT _hr = get_BottomY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3913)
- inline VGCore::IVGShapesPtr VGCore::IVGShapeRange::GetShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_Shapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(3914)
- inline VGCore::IVGShapePtr VGCore::IVGShapeRange::GetFirstShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FirstShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3915)
- inline VGCore::IVGShapePtr VGCore::IVGShapeRange::GetLastShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_LastShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3916)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::StepAndRepeat ( long NumCopies, double DistanceX, double DistanceY, enum cdrDistanceMode ModeX, enum cdrDirection DirectionX, enum cdrDistanceMode ModeY, enum cdrDirection DirectionY ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_StepAndRepeat(NumCopies, DistanceX, DistanceY, ModeX, DirectionX, ModeY, DirectionY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3917)
- inline VARIANT_BOOL VGCore::IVGShapeRange::Exists ( struct IVGShape * Shape ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Exists(Shape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3918)
- inline VARIANT_BOOL VGCore::IVGShapeRange::ExistsAnyOfType ( SAFEARRAY * * TypeList ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ExistsAnyOfType(TypeList, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3919)
- inline long VGCore::IVGShapeRange::CountAnyOfType ( SAFEARRAY * * TypeList ) {
- long _result = 0;
- HRESULT _hr = raw_CountAnyOfType(TypeList, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3920)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::FindAnyOfType ( SAFEARRAY * * TypeList ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_FindAnyOfType(TypeList, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3921)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::GetLinkedShapes ( enum cdrShapeLinkType LinkType ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_GetLinkedShapes(LinkType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3922)
- inline VGCore::IVGRectPtr VGCore::IVGShapeRange::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(3923)
- inline HRESULT VGCore::IVGShapeRange::GetPositionEx ( enum cdrReferencePoint ReferencePoint, double * x, double * y ) {
- HRESULT _hr = raw_GetPositionEx(ReferencePoint, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3924)
- inline HRESULT VGCore::IVGShapeRange::SetPositionEx ( enum cdrReferencePoint ReferencePoint, double x, double y ) {
- HRESULT _hr = raw_SetPositionEx(ReferencePoint, x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3925)
- inline double VGCore::IVGShapeRange::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3926)
- inline void VGCore::IVGShapeRange::PutCenterX ( double pVal ) {
- HRESULT _hr = put_CenterX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3927)
- inline double VGCore::IVGShapeRange::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3928)
- inline void VGCore::IVGShapeRange::PutCenterY ( double pVal ) {
- HRESULT _hr = put_CenterY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3929)
- inline void VGCore::IVGShapeRange::PutLeftX ( double pVal ) {
- HRESULT _hr = put_LeftX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3930)
- inline void VGCore::IVGShapeRange::PutRightX ( double pVal ) {
- HRESULT _hr = put_RightX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3931)
- inline void VGCore::IVGShapeRange::PutTopY ( double pVal ) {
- HRESULT _hr = put_TopY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3932)
- inline void VGCore::IVGShapeRange::PutBottomY ( double pVal ) {
- HRESULT _hr = put_BottomY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3933)
- inline VARIANT_BOOL VGCore::IVGShapeRange::CopyPropertiesFrom ( struct IVGShape * Source, enum cdrCopyProperties Properties ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CopyPropertiesFrom(Source, Properties, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3934)
- inline enum VGCore::cdrOverprintState VGCore::IVGShapeRange::GetOverprintFillState ( ) {
- enum cdrOverprintState _result;
- HRESULT _hr = raw_GetOverprintFillState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3935)
- inline enum VGCore::cdrOverprintState VGCore::IVGShapeRange::GetOverprintOutlineState ( ) {
- enum cdrOverprintState _result;
- HRESULT _hr = raw_GetOverprintOutlineState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3936)
- inline HRESULT VGCore::IVGShapeRange::Sort ( _bstr_t CompareExpression, long StartIndex, long EndIndex, const _variant_t & Data ) {
- HRESULT _hr = raw_Sort(CompareExpression, StartIndex, EndIndex, Data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3937)
- inline HRESULT VGCore::IVGShapeRange::SetPixelAlignedRendering ( VARIANT_BOOL PixelAligned ) {
- HRESULT _hr = raw_SetPixelAlignedRendering(PixelAligned);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3938)
- inline VGCore::IVGDocumentPtr VGCore::IVGShapeRange::CreateDocumentFrom ( VARIANT_BOOL TemporaryDocument ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = raw_CreateDocumentFrom(TemporaryDocument, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(3939)
- 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 ) {
- HRESULT _hr = raw_AlignAndDistribute(MethodH, MethodV, AlignTo, DistributeArea, UseOutline, TextAlignOrigin, PointX, PointY, DistributeRect);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3940)
- 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 ) {
- HRESULT _hr = raw_SetOutlinePropertiesEx(Width, Style, Color, StartArrow, EndArrow, BehindFill, ScaleWithShape, LineCaps, LineJoin, NibAngle, NibStretch, DashDotLength, PenWidth, MiterLimit, Justification);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3941)
- inline VGCore::IVGShapePtr VGCore::IVGShapeRange::CreateBoundary ( double x, double y, VARIANT_BOOL PlaceOnTop, VARIANT_BOOL DeleteSource ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_CreateBoundary(x, y, PlaceOnTop, DeleteSource, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3942)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::EqualDivide ( long Divisions, double Gap, VARIANT_BOOL Group, VARIANT_BOOL Combine, VARIANT_BOOL DeleteSource ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_EqualDivide(Divisions, Gap, Group, Combine, DeleteSource, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3943)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Project ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Project(Plane, ReferencePoint, ApplyToDuplicate, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3944)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::Unproject ( enum cdrProjectPlane Plane, enum cdrReferencePoint ReferencePoint, VARIANT_BOOL ApplyToDuplicate ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Unproject(Plane, ReferencePoint, ApplyToDuplicate, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3945)
- inline HRESULT VGCore::IVGShapeRange::Show ( ) {
- HRESULT _hr = raw_Show();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3946)
- inline HRESULT VGCore::IVGShapeRange::Hide ( ) {
- HRESULT _hr = raw_Hide();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3947)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::GetToolShapes ( _bstr_t ShapeGuid ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_GetToolShapes(ShapeGuid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3948)
- inline HRESULT VGCore::IVGShapeRange::ModifyToolShapeProperties ( struct IVGProperties * ShapePropertiesToModify ) {
- HRESULT _hr = raw_ModifyToolShapeProperties(ShapePropertiesToModify);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3949)
- inline VGCore::IVGShapeRangePtr VGCore::IVGShapeRange::CreateParallelCurves ( long Count, double distanceBetweenCurves ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_CreateParallelCurves(Count, distanceBetweenCurves, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(3950)
- inline SAFEARRAY * VGCore::IVGShapeRange::GetColorTypes ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetColorTypes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3951)
- inline SAFEARRAY * VGCore::IVGShapeRange::GetColors ( long MaxBitmapColors ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetColors(MaxBitmapColors, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3952)
- inline HRESULT VGCore::IVGShapeRange::FlattenEffects ( ) {
- HRESULT _hr = raw_FlattenEffects();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGPowerClip wrapper method implementations
- //
- #pragma implementation_key(3953)
- inline VGCore::IVGApplicationPtr VGCore::IVGPowerClip::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(3954)
- inline VGCore::IVGShapePtr VGCore::IVGPowerClip::GetParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(3955)
- inline VGCore::IVGShapesPtr VGCore::IVGPowerClip::GetShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_Shapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(3956)
- inline VARIANT_BOOL VGCore::IVGPowerClip::GetContentsLocked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ContentsLocked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3957)
- inline void VGCore::IVGPowerClip::PutContentsLocked ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ContentsLocked(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3958)
- inline HRESULT VGCore::IVGPowerClip::EnterEditMode ( ) {
- HRESULT _hr = raw_EnterEditMode();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3959)
- inline HRESULT VGCore::IVGPowerClip::LeaveEditMode ( ) {
- HRESULT _hr = raw_LeaveEditMode();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3960)
- inline VGCore::IVGShapeRangePtr VGCore::IVGPowerClip::ExtractShapes ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_ExtractShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- //
- // interface IVGFill wrapper method implementations
- //
- #pragma implementation_key(3961)
- inline enum VGCore::cdrFillType VGCore::IVGFill::GetType ( ) {
- enum cdrFillType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3962)
- inline VGCore::IVGColorPtr VGCore::IVGFill::GetUniformColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_UniformColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(3963)
- inline void VGCore::IVGFill::PutUniformColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_UniformColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3964)
- inline VGCore::IVGFountainFillPtr VGCore::IVGFill::GetFountain ( ) {
- struct IVGFountainFill * _result = 0;
- HRESULT _hr = get_Fountain(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainFillPtr(_result, false);
- }
- #pragma implementation_key(3965)
- inline void VGCore::IVGFill::PutFountain ( struct IVGFountainFill * ppVal ) {
- HRESULT _hr = put_Fountain(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3966)
- inline VGCore::IVGPatternFillPtr VGCore::IVGFill::GetPattern ( ) {
- struct IVGPatternFill * _result = 0;
- HRESULT _hr = get_Pattern(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternFillPtr(_result, false);
- }
- #pragma implementation_key(3967)
- inline void VGCore::IVGFill::PutPattern ( struct IVGPatternFill * ppVal ) {
- HRESULT _hr = put_Pattern(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3968)
- inline VGCore::IVGTextureFillPtr VGCore::IVGFill::GetTexture ( ) {
- struct IVGTextureFill * _result = 0;
- HRESULT _hr = get_Texture(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextureFillPtr(_result, false);
- }
- #pragma implementation_key(3969)
- inline void VGCore::IVGFill::PutTexture ( struct IVGTextureFill * ppVal ) {
- HRESULT _hr = put_Texture(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3970)
- inline VGCore::IVGPostScriptFillPtr VGCore::IVGFill::GetPostScript ( ) {
- struct IVGPostScriptFill * _result = 0;
- HRESULT _hr = get_PostScript(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPostScriptFillPtr(_result, false);
- }
- #pragma implementation_key(3971)
- inline void VGCore::IVGFill::PutPostScript ( struct IVGPostScriptFill * ppVal ) {
- HRESULT _hr = put_PostScript(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3972)
- inline HRESULT VGCore::IVGFill::ApplyNoFill ( ) {
- HRESULT _hr = raw_ApplyNoFill();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3973)
- inline HRESULT VGCore::IVGFill::ApplyUniformFill ( struct IVGColor * Color ) {
- HRESULT _hr = raw_ApplyUniformFill(Color);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3974)
- 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 ) {
- struct IVGFountainFill * _result = 0;
- HRESULT _hr = raw_ApplyFountainFill(StartColor, EndColor, Type, Angle, Steps, EdgePad, MidPoint, BlendType, CenterOffsetX, CenterOffsetY, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFountainFillPtr(_result, false);
- }
- #pragma implementation_key(3975)
- inline VGCore::IVGPatternFillPtr VGCore::IVGFill::ApplyPatternFill ( enum cdrPatternFillType Type, _bstr_t FileName, long PatternCanvasIndex, struct IVGColor * FrontColor, struct IVGColor * EndColor, VARIANT_BOOL TransformWithShape ) {
- struct IVGPatternFill * _result = 0;
- HRESULT _hr = raw_ApplyPatternFill(Type, FileName, PatternCanvasIndex, FrontColor, EndColor, TransformWithShape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPatternFillPtr(_result, false);
- }
- #pragma implementation_key(3976)
- inline VGCore::IVGTextureFillPtr VGCore::IVGFill::ApplyTextureFill ( _bstr_t TextureName, _bstr_t LibraryName ) {
- struct IVGTextureFill * _result = 0;
- HRESULT _hr = raw_ApplyTextureFill(TextureName, LibraryName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextureFillPtr(_result, false);
- }
- #pragma implementation_key(3977)
- inline VGCore::IVGPostScriptFillPtr VGCore::IVGFill::ApplyPostscriptFill ( const _variant_t & IndexOrName ) {
- struct IVGPostScriptFill * _result = 0;
- HRESULT _hr = raw_ApplyPostscriptFill(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPostScriptFillPtr(_result, false);
- }
- #pragma implementation_key(3978)
- inline VGCore::IVGFillPtr VGCore::IVGFill::GetCopy ( ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(3979)
- inline HRESULT VGCore::IVGFill::CopyAssign ( struct IVGFill * SourceFill ) {
- HRESULT _hr = raw_CopyAssign(SourceFill);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3980)
- inline VARIANT_BOOL VGCore::IVGFill::UserAssign ( enum cdrFillType FillType, enum cdrPatternFillType PatternType, long ParentWindowHandle ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UserAssign(FillType, PatternType, ParentWindowHandle, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3981)
- inline VGCore::IVGPSScreenOptionsPtr VGCore::IVGFill::GetPSScreen ( ) {
- struct IVGPSScreenOptions * _result = 0;
- HRESULT _hr = get_PSScreen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPSScreenOptionsPtr(_result, false);
- }
- #pragma implementation_key(3982)
- inline VGCore::IVGHatchFillPtr VGCore::IVGFill::GetHatch ( ) {
- struct IVGHatchFill * _result = 0;
- HRESULT _hr = get_Hatch(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchFillPtr(_result, false);
- }
- #pragma implementation_key(3983)
- inline void VGCore::IVGFill::PutHatch ( struct IVGHatchFill * ppVal ) {
- HRESULT _hr = put_Hatch(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(3984)
- inline VARIANT_BOOL VGCore::IVGFill::CompareWith ( struct IVGFill * Fill ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CompareWith(Fill, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3985)
- 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 ) {
- struct IVGHatchFill * _result = 0;
- HRESULT _hr = raw_ApplyCustomHatchFill(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchFillPtr(_result, false);
- }
- #pragma implementation_key(3986)
- 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 ) {
- struct IVGHatchFill * _result = 0;
- HRESULT _hr = raw_ApplyHatchFill(LibraryName, HatchNameOrIndex, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchFillPtr(_result, false);
- }
- #pragma implementation_key(3987)
- inline _bstr_t VGCore::IVGFill::ToString ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_ToString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3988)
- inline VARIANT_BOOL VGCore::IVGFill::StringAssign ( _bstr_t FillString ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_StringAssign(FillString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGHatchFills wrapper method implementations
- //
- #pragma implementation_key(3989)
- inline VGCore::IVGFillPtr VGCore::IVGHatchFills::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(3990)
- inline long VGCore::IVGHatchFills::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3991)
- inline IUnknownPtr VGCore::IVGHatchFills::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(3992)
- inline VGCore::IVGFillPtr VGCore::IVGHatchFills::Find ( _bstr_t Name ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = raw_Find(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- //
- // interface IVGHatchLibrary wrapper method implementations
- //
- #pragma implementation_key(3993)
- inline _bstr_t VGCore::IVGHatchLibrary::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(3994)
- inline VGCore::IVGHatchFillsPtr VGCore::IVGHatchLibrary::GetFills ( ) {
- struct IVGHatchFills * _result = 0;
- HRESULT _hr = get_Fills(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchFillsPtr(_result, false);
- }
- #pragma implementation_key(3995)
- inline VARIANT_BOOL VGCore::IVGHatchLibrary::GetActive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Active(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3996)
- inline long VGCore::IVGHatchLibrary::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(3997)
- inline HRESULT VGCore::IVGHatchLibrary::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(3998)
- inline _bstr_t VGCore::IVGHatchLibrary::GetDisplayName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DisplayName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVGHatchFill wrapper method implementations
- //
- #pragma implementation_key(3999)
- inline VGCore::IVGColorPtr VGCore::IVGHatchFill::GetBackColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_BackColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4000)
- inline void VGCore::IVGHatchFill::PutBackColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_BackColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4001)
- inline VARIANT_BOOL VGCore::IVGHatchFill::GetHasBackground ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasBackground(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4002)
- inline VARIANT_BOOL VGCore::IVGHatchFill::GetTransformWithShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TransformWithShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4003)
- inline void VGCore::IVGHatchFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TransformWithShape(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4004)
- inline VARIANT_BOOL VGCore::IVGHatchFill::GetScaleLinesWithShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ScaleLinesWithShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4005)
- inline void VGCore::IVGHatchFill::PutScaleLinesWithShape ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ScaleLinesWithShape(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4006)
- inline VARIANT_BOOL VGCore::IVGHatchFill::GetUseWorldCoordinates ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseWorldCoordinates(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4007)
- inline void VGCore::IVGHatchFill::PutUseWorldCoordinates ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseWorldCoordinates(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4008)
- inline _bstr_t VGCore::IVGHatchFill::GetLibraryName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LibraryName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4009)
- inline _bstr_t VGCore::IVGHatchFill::GetHatchName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_HatchName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4010)
- inline VGCore::IVGHatchPatternsPtr VGCore::IVGHatchFill::GetPatterns ( ) {
- struct IVGHatchPatterns * _result = 0;
- HRESULT _hr = get_Patterns(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchPatternsPtr(_result, false);
- }
- #pragma implementation_key(4011)
- inline double VGCore::IVGHatchFill::GetFillScaleX ( ) {
- double _result = 0;
- HRESULT _hr = get_FillScaleX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4012)
- inline void VGCore::IVGHatchFill::PutFillScaleX ( double pVal ) {
- HRESULT _hr = put_FillScaleX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4013)
- inline double VGCore::IVGHatchFill::GetFillScaleY ( ) {
- double _result = 0;
- HRESULT _hr = get_FillScaleY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4014)
- inline void VGCore::IVGHatchFill::PutFillScaleY ( double pVal ) {
- HRESULT _hr = put_FillScaleY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4015)
- inline double VGCore::IVGHatchFill::GetRotationAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4016)
- inline void VGCore::IVGHatchFill::PutRotationAngle ( double pVal ) {
- HRESULT _hr = put_RotationAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4017)
- inline double VGCore::IVGHatchFill::GetSkewAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_SkewAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4018)
- inline void VGCore::IVGHatchFill::PutSkewAngle ( double pVal ) {
- HRESULT _hr = put_SkewAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4019)
- inline HRESULT VGCore::IVGHatchFill::SetNoBackColor ( ) {
- HRESULT _hr = raw_SetNoBackColor();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4020)
- inline HRESULT VGCore::IVGHatchFill::SetFillScale ( double FillScale ) {
- HRESULT _hr = raw_SetFillScale(FillScale);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4021)
- inline double VGCore::IVGHatchFill::GetFillScale ( ) {
- double _result = 0;
- HRESULT _hr = raw_GetFillScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4022)
- inline HRESULT VGCore::IVGHatchFill::SetLineScale ( double LineScale ) {
- HRESULT _hr = raw_SetLineScale(LineScale);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4023)
- inline double VGCore::IVGHatchFill::GetLineScale ( ) {
- double _result = 0;
- HRESULT _hr = raw_GetLineScale(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4024)
- 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 ) {
- struct IVGHatchPattern * _result = 0;
- HRESULT _hr = raw_AddPattern(Angle, Spacing, Shift, OriginX, OriginY, Width, Color, Style, DashDotLength, PenWidth, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchPatternPtr(_result, false);
- }
- #pragma implementation_key(4025)
- inline HRESULT VGCore::IVGHatchFill::AddToLibrary ( _bstr_t LibraryName, _bstr_t HatchName ) {
- HRESULT _hr = raw_AddToLibrary(LibraryName, HatchName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4026)
- 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 ) {
- HRESULT _hr = raw_Select(LibraryName, HatchNameOrIndex, BackColor, TransformWithShape, ScaleLinesWithShape, UseWorldCoordinates, FillScale, LineScale, FillAngle, FillSkew);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4027)
- inline VARIANT_BOOL VGCore::IVGHatchFill::GetIsFromLibrary ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsFromLibrary(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4028)
- inline long VGCore::IVGHatchFill::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4029)
- inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchFill::GetLibrary ( ) {
- struct IVGHatchLibrary * _result = 0;
- HRESULT _hr = get_Library(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchLibraryPtr(_result, false);
- }
- //
- // interface IVGStructFontProperties wrapper method implementations
- //
- #pragma implementation_key(4030)
- inline void VGCore::IVGStructFontProperties::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4031)
- inline _bstr_t VGCore::IVGStructFontProperties::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4032)
- inline void VGCore::IVGStructFontProperties::PutStyle ( enum cdrFontStyle pVal ) {
- HRESULT _hr = put_Style(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4033)
- inline enum VGCore::cdrFontStyle VGCore::IVGStructFontProperties::GetStyle ( ) {
- enum cdrFontStyle _result;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4034)
- inline void VGCore::IVGStructFontProperties::PutSize ( float pVal ) {
- HRESULT _hr = put_Size(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4035)
- inline float VGCore::IVGStructFontProperties::GetSize ( ) {
- float _result = 0;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4036)
- inline void VGCore::IVGStructFontProperties::PutUnderline ( enum cdrFontLine pVal ) {
- HRESULT _hr = put_Underline(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4037)
- inline enum VGCore::cdrFontLine VGCore::IVGStructFontProperties::GetUnderline ( ) {
- enum cdrFontLine _result;
- HRESULT _hr = get_Underline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4038)
- inline void VGCore::IVGStructFontProperties::PutOverscore ( enum cdrFontLine pVal ) {
- HRESULT _hr = put_Overscore(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4039)
- inline enum VGCore::cdrFontLine VGCore::IVGStructFontProperties::GetOverscore ( ) {
- enum cdrFontLine _result;
- HRESULT _hr = get_Overscore(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4040)
- inline void VGCore::IVGStructFontProperties::PutStrikethru ( enum cdrFontLine pVal ) {
- HRESULT _hr = put_Strikethru(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4041)
- inline enum VGCore::cdrFontLine VGCore::IVGStructFontProperties::GetStrikethru ( ) {
- enum cdrFontLine _result;
- HRESULT _hr = get_Strikethru(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4042)
- inline void VGCore::IVGStructFontProperties::PutUppercase ( enum cdrFontCase pVal ) {
- HRESULT _hr = put_Uppercase(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4043)
- inline enum VGCore::cdrFontCase VGCore::IVGStructFontProperties::GetUppercase ( ) {
- enum cdrFontCase _result;
- HRESULT _hr = get_Uppercase(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4044)
- inline void VGCore::IVGStructFontProperties::PutPosition ( enum cdrFontPosition pVal ) {
- HRESULT _hr = put_Position(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4045)
- inline enum VGCore::cdrFontPosition VGCore::IVGStructFontProperties::GetPosition ( ) {
- enum cdrFontPosition _result;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4046)
- inline void VGCore::IVGStructFontProperties::PutRangeKerning ( long pVal ) {
- HRESULT _hr = put_RangeKerning(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4047)
- inline long VGCore::IVGStructFontProperties::GetRangeKerning ( ) {
- long _result = 0;
- HRESULT _hr = get_RangeKerning(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4048)
- inline void VGCore::IVGStructFontProperties::PutFill ( struct IVGFill * ppVal ) {
- HRESULT _hr = put_Fill(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4049)
- inline VGCore::IVGFillPtr VGCore::IVGStructFontProperties::GetFill ( ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = get_Fill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(4050)
- inline void VGCore::IVGStructFontProperties::PutOutline ( struct IVGOutline * ppVal ) {
- HRESULT _hr = put_Outline(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4051)
- inline VGCore::IVGOutlinePtr VGCore::IVGStructFontProperties::GetOutline ( ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = get_Outline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- //
- // interface IVGHatchLibraries wrapper method implementations
- //
- #pragma implementation_key(4052)
- inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGHatchLibrary * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchLibraryPtr(_result, false);
- }
- #pragma implementation_key(4053)
- inline long VGCore::IVGHatchLibraries::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4054)
- inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::Find ( _bstr_t Name ) {
- struct IVGHatchLibrary * _result = 0;
- HRESULT _hr = raw_Find(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchLibraryPtr(_result, false);
- }
- #pragma implementation_key(4055)
- inline IUnknownPtr VGCore::IVGHatchLibraries::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4056)
- inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::GetActiveLibrary ( ) {
- struct IVGHatchLibrary * _result = 0;
- HRESULT _hr = get_ActiveLibrary(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchLibraryPtr(_result, false);
- }
- #pragma implementation_key(4057)
- inline VGCore::IVGHatchLibraryPtr VGCore::IVGHatchLibraries::GetDefaultLibrary ( ) {
- struct IVGHatchLibrary * _result = 0;
- HRESULT _hr = get_DefaultLibrary(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGHatchLibraryPtr(_result, false);
- }
- //
- // interface IVGText wrapper method implementations
- //
- #pragma implementation_key(4058)
- inline enum VGCore::cdrTextType VGCore::IVGText::GetType ( ) {
- enum cdrTextType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4059)
- inline long VGCore::IVGText::GetFramesInLink ( ) {
- long _result = 0;
- HRESULT _hr = get_FramesInLink(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4060)
- inline long VGCore::IVGText::GetUnusedFramesInLink ( ) {
- long _result = 0;
- HRESULT _hr = get_UnusedFramesInLink(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4061)
- inline VARIANT_BOOL VGCore::IVGText::GetOverflow ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Overflow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4062)
- inline VGCore::IVGStructFontPropertiesPtr VGCore::IVGText::GetFontProperties ( enum cdrTextFrames Frames ) {
- struct IVGStructFontProperties * _result = 0;
- HRESULT _hr = get_FontProperties(Frames, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructFontPropertiesPtr(_result, false);
- }
- #pragma implementation_key(4063)
- inline void VGCore::IVGText::PutFontProperties ( enum cdrTextFrames Frames, struct IVGStructFontProperties * ppVal ) {
- HRESULT _hr = put_FontProperties(Frames, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4064)
- inline VGCore::IVGStructFontPropertiesPtr VGCore::IVGText::GetFontPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
- struct IVGStructFontProperties * _result = 0;
- HRESULT _hr = get_FontPropertiesInRange(StartIndex, Count, IndexingType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructFontPropertiesPtr(_result, false);
- }
- #pragma implementation_key(4065)
- inline void VGCore::IVGText::PutFontPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructFontProperties * ppVal ) {
- HRESULT _hr = put_FontPropertiesInRange(StartIndex, Count, IndexingType, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4066)
- inline VGCore::IVGStructAlignPropertiesPtr VGCore::IVGText::GetAlignProperties ( enum cdrTextFrames Frames ) {
- struct IVGStructAlignProperties * _result = 0;
- HRESULT _hr = get_AlignProperties(Frames, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructAlignPropertiesPtr(_result, false);
- }
- #pragma implementation_key(4067)
- inline void VGCore::IVGText::PutAlignProperties ( enum cdrTextFrames Frames, struct IVGStructAlignProperties * ppVal ) {
- HRESULT _hr = put_AlignProperties(Frames, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4068)
- inline VGCore::IVGStructAlignPropertiesPtr VGCore::IVGText::GetAlignPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
- struct IVGStructAlignProperties * _result = 0;
- HRESULT _hr = get_AlignPropertiesInRange(StartIndex, Count, IndexingType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructAlignPropertiesPtr(_result, false);
- }
- #pragma implementation_key(4069)
- inline void VGCore::IVGText::PutAlignPropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructAlignProperties * ppVal ) {
- HRESULT _hr = put_AlignPropertiesInRange(StartIndex, Count, IndexingType, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4070)
- inline VGCore::IVGStructSpacePropertiesPtr VGCore::IVGText::GetSpaceProperties ( enum cdrTextFrames Frames ) {
- struct IVGStructSpaceProperties * _result = 0;
- HRESULT _hr = get_SpaceProperties(Frames, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructSpacePropertiesPtr(_result, false);
- }
- #pragma implementation_key(4071)
- inline void VGCore::IVGText::PutSpaceProperties ( enum cdrTextFrames Frames, struct IVGStructSpaceProperties * ppVal ) {
- HRESULT _hr = put_SpaceProperties(Frames, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4072)
- inline VGCore::IVGStructSpacePropertiesPtr VGCore::IVGText::GetSpacePropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
- struct IVGStructSpaceProperties * _result = 0;
- HRESULT _hr = get_SpacePropertiesInRange(StartIndex, Count, IndexingType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructSpacePropertiesPtr(_result, false);
- }
- #pragma implementation_key(4073)
- inline void VGCore::IVGText::PutSpacePropertiesInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructSpaceProperties * ppVal ) {
- HRESULT _hr = put_SpacePropertiesInRange(StartIndex, Count, IndexingType, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4074)
- inline VGCore::IVGStructHyphenationSettingsPtr VGCore::IVGText::GetHyphenationSettings ( enum cdrTextFrames Frames ) {
- struct IVGStructHyphenationSettings * _result = 0;
- HRESULT _hr = get_HyphenationSettings(Frames, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructHyphenationSettingsPtr(_result, false);
- }
- #pragma implementation_key(4075)
- inline void VGCore::IVGText::PutHyphenationSettings ( enum cdrTextFrames Frames, struct IVGStructHyphenationSettings * ppVal ) {
- HRESULT _hr = put_HyphenationSettings(Frames, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4076)
- inline VGCore::IVGStructHyphenationSettingsPtr VGCore::IVGText::GetHyphenationSettingsInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
- struct IVGStructHyphenationSettings * _result = 0;
- HRESULT _hr = get_HyphenationSettingsInRange(StartIndex, Count, IndexingType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStructHyphenationSettingsPtr(_result, false);
- }
- #pragma implementation_key(4077)
- inline void VGCore::IVGText::PutHyphenationSettingsInRange ( long StartIndex, long Count, enum cdrTextIndexingType IndexingType, struct IVGStructHyphenationSettings * ppVal ) {
- HRESULT _hr = put_HyphenationSettingsInRange(StartIndex, Count, IndexingType, ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4078)
- inline _bstr_t VGCore::IVGText::GetContents ( enum cdrTextFrames Frames ) {
- BSTR _result = 0;
- HRESULT _hr = get_Contents(Frames, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4079)
- inline void VGCore::IVGText::PutContents ( enum cdrTextFrames Frames, _bstr_t pVal ) {
- HRESULT _hr = put_Contents(Frames, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4080)
- inline VGCore::IVGEffectPtr VGCore::IVGText::FitToPath ( struct IVGShape * Path ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = raw_FitToPath(Path, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4081)
- inline long VGCore::IVGText::Find ( _bstr_t Text, VARIANT_BOOL CaseSensitive, long StartIndex, VARIANT_BOOL WrapAround, enum cdrTextIndexingType IndexingType ) {
- long _result = 0;
- HRESULT _hr = raw_Find(Text, CaseSensitive, StartIndex, WrapAround, IndexingType, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4082)
- 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 ) {
- HRESULT _hr = raw_Replace(OldText, NewText, CaseSensitive, StartIndex, ReplaceAll, WrapAround, IndexingType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4083)
- inline HRESULT VGCore::IVGText::ImportFromFile ( _bstr_t FileName, long StartIndex, enum cdrTextIndexingType IndexingType ) {
- HRESULT _hr = raw_ImportFromFile(FileName, StartIndex, IndexingType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4084)
- inline HRESULT VGCore::IVGText::ExportToFile ( _bstr_t FileName, long StartIndex, long Count, enum cdrTextIndexingType IndexingType ) {
- HRESULT _hr = raw_ExportToFile(FileName, StartIndex, Count, IndexingType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4085)
- inline HRESULT VGCore::IVGText::ConvertToArtistic ( ) {
- HRESULT _hr = raw_ConvertToArtistic();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4086)
- inline HRESULT VGCore::IVGText::ConvertToParagraph ( ) {
- HRESULT _hr = raw_ConvertToParagraph();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4087)
- inline VARIANT_BOOL VGCore::IVGText::GetIsHTMLCompatible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsHTMLCompatible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4088)
- inline VARIANT_BOOL VGCore::IVGText::MakeHTMLCompatible ( VARIANT_BOOL HTML ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_MakeHTMLCompatible(HTML, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4089)
- inline VGCore::IVGTextRangePtr VGCore::IVGText::GetStory ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Story(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4090)
- inline VGCore::IVGTextRangePtr VGCore::IVGText::GetSelection ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Selection(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4091)
- inline VGCore::IVGTextRangePtr VGCore::IVGText::Range ( long Start, long End ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_Range(Start, End, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4092)
- inline VARIANT_BOOL VGCore::IVGText::GetIsEditing ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEditing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4093)
- inline HRESULT VGCore::IVGText::BeginEdit ( ) {
- HRESULT _hr = raw_BeginEdit();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4094)
- inline VGCore::IVGTextFramePtr VGCore::IVGText::GetFrame ( ) {
- struct IVGTextFrame * _result = 0;
- HRESULT _hr = get_Frame(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramePtr(_result, false);
- }
- #pragma implementation_key(4095)
- inline VGCore::IVGTextFramesPtr VGCore::IVGText::GetFrames ( ) {
- struct IVGTextFrames * _result = 0;
- HRESULT _hr = get_Frames(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramesPtr(_result, false);
- }
- #pragma implementation_key(4096)
- inline VARIANT_BOOL VGCore::IVGText::GetIsArtisticText ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsArtisticText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4097)
- inline HRESULT VGCore::IVGText::FitTextToFrame ( ) {
- HRESULT _hr = raw_FitTextToFrame();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGEffect wrapper method implementations
- //
- #pragma implementation_key(4098)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffect::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4099)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffect::GetParent ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4100)
- inline enum VGCore::cdrEffectType VGCore::IVGEffect::GetType ( ) {
- enum cdrEffectType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4101)
- inline VGCore::IVGEffectBlendPtr VGCore::IVGEffect::GetBlend ( ) {
- struct IVGEffectBlend * _result = 0;
- HRESULT _hr = get_Blend(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectBlendPtr(_result, false);
- }
- #pragma implementation_key(4102)
- inline VGCore::IVGEffectControlPathPtr VGCore::IVGEffect::GetControlPath ( ) {
- struct IVGEffectControlPath * _result = 0;
- HRESULT _hr = get_ControlPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectControlPathPtr(_result, false);
- }
- #pragma implementation_key(4103)
- inline VGCore::IVGEffectExtrudePtr VGCore::IVGEffect::GetExtrude ( ) {
- struct IVGEffectExtrude * _result = 0;
- HRESULT _hr = get_Extrude(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectExtrudePtr(_result, false);
- }
- #pragma implementation_key(4104)
- inline VGCore::IVGEffectEnvelopePtr VGCore::IVGEffect::GetEnvelope ( ) {
- struct IVGEffectEnvelope * _result = 0;
- HRESULT _hr = get_Envelope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectEnvelopePtr(_result, false);
- }
- #pragma implementation_key(4105)
- inline VGCore::IVGEffectTextOnPathPtr VGCore::IVGEffect::GetTextOnPath ( ) {
- struct IVGEffectTextOnPath * _result = 0;
- HRESULT _hr = get_TextOnPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectTextOnPathPtr(_result, false);
- }
- #pragma implementation_key(4106)
- inline VGCore::IVGEffectDropShadowPtr VGCore::IVGEffect::GetDropShadow ( ) {
- struct IVGEffectDropShadow * _result = 0;
- HRESULT _hr = get_DropShadow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectDropShadowPtr(_result, false);
- }
- #pragma implementation_key(4107)
- inline VGCore::IVGEffectContourPtr VGCore::IVGEffect::GetContour ( ) {
- struct IVGEffectContour * _result = 0;
- HRESULT _hr = get_Contour(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectContourPtr(_result, false);
- }
- #pragma implementation_key(4108)
- inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffect::GetDistortion ( ) {
- struct IVGEffectDistortion * _result = 0;
- HRESULT _hr = get_Distortion(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectDistortionPtr(_result, false);
- }
- #pragma implementation_key(4109)
- inline VGCore::IVGEffectLensPtr VGCore::IVGEffect::GetLens ( ) {
- struct IVGEffectLens * _result = 0;
- HRESULT _hr = get_Lens(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectLensPtr(_result, false);
- }
- #pragma implementation_key(4110)
- inline VGCore::IVGEffectPerspectivePtr VGCore::IVGEffect::GetPerspective ( ) {
- struct IVGEffectPerspective * _result = 0;
- HRESULT _hr = get_Perspective(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPerspectivePtr(_result, false);
- }
- #pragma implementation_key(4111)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffect::GetClones ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_Clones(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4112)
- inline VGCore::IVGEffectPtr VGCore::IVGEffect::GetCloneParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_CloneParent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4113)
- inline HRESULT VGCore::IVGEffect::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4114)
- inline VGCore::IVGShapeRangePtr VGCore::IVGEffect::Separate ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Separate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(4115)
- inline VGCore::IVGCustomEffectPtr VGCore::IVGEffect::GetCustom ( ) {
- struct IVGCustomEffect * _result = 0;
- HRESULT _hr = get_Custom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCustomEffectPtr(_result, false);
- }
- #pragma implementation_key(4116)
- inline VGCore::IVGEffectInnerShadowPtr VGCore::IVGEffect::GetInnerShadow ( ) {
- struct IVGEffectInnerShadow * _result = 0;
- HRESULT _hr = get_InnerShadow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectInnerShadowPtr(_result, false);
- }
- //
- // interface IVGEffects wrapper method implementations
- //
- #pragma implementation_key(4117)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffects::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4118)
- inline VGCore::IVGShapePtr VGCore::IVGEffects::GetParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4119)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetItem ( long Index ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4120)
- inline IUnknownPtr VGCore::IVGEffects::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4121)
- inline long VGCore::IVGEffects::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4122)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetBlendEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_BlendEffects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4123)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetCustomEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_CustomEffects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4124)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetDistortionEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_DistortionEffects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4125)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetEnvelopeEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_EnvelopeEffects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4126)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffects::GetPerspectiveEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_PerspectiveEffects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4127)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetContourEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_ContourEffect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4128)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetControlPathEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_ControlPathEffect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4129)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetDropShadowEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_DropShadowEffect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4130)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetExtrudeEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_ExtrudeEffect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4131)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetLensEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_LensEffect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4132)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetTextOnPathEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_TextOnPathEffect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4133)
- inline VGCore::IVGEffectPtr VGCore::IVGEffects::GetInnerShadowEffect ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_InnerShadowEffect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- //
- // interface IVGEffectBlend wrapper method implementations
- //
- #pragma implementation_key(4134)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectBlend::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4135)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectBlend::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4136)
- inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetStartShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_StartShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4137)
- inline void VGCore::IVGEffectBlend::PutStartShape ( struct IVGShape * ppVal ) {
- HRESULT _hr = put_StartShape(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4138)
- inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetEndShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_EndShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4139)
- inline void VGCore::IVGEffectBlend::PutEndShape ( struct IVGShape * ppVal ) {
- HRESULT _hr = put_EndShape(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4140)
- inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetBlendGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_BlendGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4141)
- inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::GetPath ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Path(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4142)
- inline void VGCore::IVGEffectBlend::PutPath ( struct IVGShape * ppVal ) {
- HRESULT _hr = put_Path(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4143)
- inline double VGCore::IVGEffectBlend::GetStartShapeOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_StartShapeOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4144)
- inline void VGCore::IVGEffectBlend::PutStartShapeOffset ( double pVal ) {
- HRESULT _hr = put_StartShapeOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4145)
- inline double VGCore::IVGEffectBlend::GetEndShapeOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_EndShapeOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4146)
- inline void VGCore::IVGEffectBlend::PutEndShapeOffset ( double pVal ) {
- HRESULT _hr = put_EndShapeOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4147)
- inline enum VGCore::cdrBlendMode VGCore::IVGEffectBlend::GetMode ( ) {
- enum cdrBlendMode _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4148)
- inline void VGCore::IVGEffectBlend::PutMode ( enum cdrBlendMode pVal ) {
- HRESULT _hr = put_Mode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4149)
- inline long VGCore::IVGEffectBlend::GetSteps ( ) {
- long _result = 0;
- HRESULT _hr = get_Steps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4150)
- inline void VGCore::IVGEffectBlend::PutSteps ( long pVal ) {
- HRESULT _hr = put_Steps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4151)
- inline double VGCore::IVGEffectBlend::GetSpacing ( ) {
- double _result = 0;
- HRESULT _hr = get_Spacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4152)
- inline void VGCore::IVGEffectBlend::PutSpacing ( double pVal ) {
- HRESULT _hr = put_Spacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4153)
- inline double VGCore::IVGEffectBlend::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4154)
- inline void VGCore::IVGEffectBlend::PutAngle ( double pVal ) {
- HRESULT _hr = put_Angle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4155)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::GetLoop ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Loop(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4156)
- inline void VGCore::IVGEffectBlend::PutLoop ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Loop(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4157)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::GetFullPath ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FullPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4158)
- inline void VGCore::IVGEffectBlend::PutFullPath ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FullPath(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4159)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::GetRotateShapes ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RotateShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4160)
- inline void VGCore::IVGEffectBlend::PutRotateShapes ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RotateShapes(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4161)
- inline enum VGCore::cdrFountainFillBlendType VGCore::IVGEffectBlend::GetColorBlendType ( ) {
- enum cdrFountainFillBlendType _result;
- HRESULT _hr = get_ColorBlendType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4162)
- inline void VGCore::IVGEffectBlend::PutColorBlendType ( enum cdrFountainFillBlendType pVal ) {
- HRESULT _hr = put_ColorBlendType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4163)
- inline long VGCore::IVGEffectBlend::GetSpacingAcceleration ( ) {
- long _result = 0;
- HRESULT _hr = get_SpacingAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4164)
- inline void VGCore::IVGEffectBlend::PutSpacingAcceleration ( long pVal ) {
- HRESULT _hr = put_SpacingAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4165)
- inline long VGCore::IVGEffectBlend::GetColorAcceleration ( ) {
- long _result = 0;
- HRESULT _hr = get_ColorAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4166)
- inline void VGCore::IVGEffectBlend::PutColorAcceleration ( long pVal ) {
- HRESULT _hr = put_ColorAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4167)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::GetLinkAcceleration ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_LinkAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4168)
- inline void VGCore::IVGEffectBlend::PutLinkAcceleration ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_LinkAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4169)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::GetAccelerateSize ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AccelerateSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4170)
- inline void VGCore::IVGEffectBlend::PutAccelerateSize ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AccelerateSize(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4171)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::GetMapNodes ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MapNodes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4172)
- inline void VGCore::IVGEffectBlend::PutMapNodes ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MapNodes(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4173)
- inline VGCore::IVGSnapPointPtr VGCore::IVGEffectBlend::GetStartPoint ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_StartPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(4174)
- inline void VGCore::IVGEffectBlend::PutStartPoint ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_StartPoint(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4175)
- inline VGCore::IVGSnapPointPtr VGCore::IVGEffectBlend::GetEndPoint ( ) {
- struct IVGSnapPoint * _result = 0;
- HRESULT _hr = get_EndPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSnapPointPtr(_result, false);
- }
- #pragma implementation_key(4176)
- inline void VGCore::IVGEffectBlend::PutEndPoint ( struct IVGSnapPoint * ppVal ) {
- HRESULT _hr = put_EndPoint(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4177)
- inline VGCore::IVGShapePtr VGCore::IVGEffectBlend::Split ( long StepNo ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = raw_Split(StepNo, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4178)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::FuseStart ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_FuseStart(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4179)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::FuseEnd ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_FuseEnd(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4180)
- inline VARIANT_BOOL VGCore::IVGEffectBlend::CopyFrom ( struct IVGEffectBlend * Source ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CopyFrom(Source, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGEffectControlPath wrapper method implementations
- //
- #pragma implementation_key(4181)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectControlPath::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4182)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectControlPath::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4183)
- inline VGCore::IVGEffectsPtr VGCore::IVGEffectControlPath::GetEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_Effects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- //
- // interface IVGEffectEnvelope wrapper method implementations
- //
- #pragma implementation_key(4184)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectEnvelope::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4185)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectEnvelope::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4186)
- inline VGCore::IVGCurvePtr VGCore::IVGEffectEnvelope::GetContainer ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Container(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(4187)
- inline void VGCore::IVGEffectEnvelope::PutContainer ( struct IVGCurve * pVal ) {
- HRESULT _hr = put_Container(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4188)
- inline enum VGCore::cdrEnvelopeMode VGCore::IVGEffectEnvelope::GetMode ( ) {
- enum cdrEnvelopeMode _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4189)
- inline void VGCore::IVGEffectEnvelope::PutMode ( enum cdrEnvelopeMode pVal ) {
- HRESULT _hr = put_Mode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4190)
- inline VARIANT_BOOL VGCore::IVGEffectEnvelope::GetKeepLines ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_KeepLines(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4191)
- inline void VGCore::IVGEffectEnvelope::PutKeepLines ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_KeepLines(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4192)
- inline HRESULT VGCore::IVGEffectEnvelope::Select ( long PresetIndex ) {
- HRESULT _hr = raw_Select(PresetIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4193)
- inline HRESULT VGCore::IVGEffectEnvelope::CopyFrom ( struct IVGEffectEnvelope * Source ) {
- HRESULT _hr = raw_CopyFrom(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4194)
- inline VARIANT_BOOL VGCore::IVGEffectEnvelope::CreateFrom ( struct IVGShape * Shape ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CreateFrom(Shape, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4195)
- inline VARIANT_BOOL VGCore::IVGEffectEnvelope::CopyFromShape ( struct IVGShape * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CopyFromShape(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4196)
- inline VARIANT_BOOL VGCore::IVGEffectEnvelope::CopyFromCurve ( struct IVGCurve * Source, enum cdrEnvelopeMode Mode, VARIANT_BOOL KeepLines, enum cdrEnvelopeCopyMode CopyMode, const _variant_t & CornerIndices ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_CopyFromCurve(Source, Mode, KeepLines, CopyMode, CornerIndices, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4197)
- inline _variant_t VGCore::IVGEffectEnvelope::GetCornerIndices ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_CornerIndices(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(4198)
- inline void VGCore::IVGEffectEnvelope::PutCornerIndices ( const _variant_t & pVal ) {
- HRESULT _hr = put_CornerIndices(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectTextOnPath wrapper method implementations
- //
- #pragma implementation_key(4199)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectTextOnPath::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4200)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectTextOnPath::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4201)
- inline VGCore::IVGShapePtr VGCore::IVGEffectTextOnPath::GetText ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Text(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4202)
- inline void VGCore::IVGEffectTextOnPath::PutText ( struct IVGShape * ppVal ) {
- HRESULT _hr = put_Text(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4203)
- inline VGCore::IVGShapePtr VGCore::IVGEffectTextOnPath::GetPath ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Path(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4204)
- inline void VGCore::IVGEffectTextOnPath::PutPath ( struct IVGShape * ppVal ) {
- HRESULT _hr = put_Path(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4205)
- inline double VGCore::IVGEffectTextOnPath::GetDistanceFromPath ( ) {
- double _result = 0;
- HRESULT _hr = get_DistanceFromPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4206)
- inline void VGCore::IVGEffectTextOnPath::PutDistanceFromPath ( double pVal ) {
- HRESULT _hr = put_DistanceFromPath(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4207)
- inline double VGCore::IVGEffectTextOnPath::GetOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_Offset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4208)
- inline void VGCore::IVGEffectTextOnPath::PutOffset ( double pVal ) {
- HRESULT _hr = put_Offset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4209)
- inline enum VGCore::cdrFittedOrientation VGCore::IVGEffectTextOnPath::GetOrientation ( ) {
- enum cdrFittedOrientation _result;
- HRESULT _hr = get_Orientation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4210)
- inline void VGCore::IVGEffectTextOnPath::PutOrientation ( enum cdrFittedOrientation pVal ) {
- HRESULT _hr = put_Orientation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4211)
- inline enum VGCore::cdrFittedPlacement VGCore::IVGEffectTextOnPath::GetPlacement ( ) {
- enum cdrFittedPlacement _result;
- HRESULT _hr = get_Placement(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4212)
- inline void VGCore::IVGEffectTextOnPath::PutPlacement ( enum cdrFittedPlacement pVal ) {
- HRESULT _hr = put_Placement(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4213)
- inline VARIANT_BOOL VGCore::IVGEffectTextOnPath::GetPlaceOnOtherSide ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_PlaceOnOtherSide(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4214)
- inline void VGCore::IVGEffectTextOnPath::PutPlaceOnOtherSide ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_PlaceOnOtherSide(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4215)
- inline enum VGCore::cdrFittedQuadrant VGCore::IVGEffectTextOnPath::GetQuadrant ( ) {
- enum cdrFittedQuadrant _result;
- HRESULT _hr = get_Quadrant(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4216)
- inline void VGCore::IVGEffectTextOnPath::PutQuadrant ( enum cdrFittedQuadrant pVal ) {
- HRESULT _hr = put_Quadrant(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4217)
- inline enum VGCore::cdrFittedVertPlacement VGCore::IVGEffectTextOnPath::GetVertPlacement ( ) {
- enum cdrFittedVertPlacement _result;
- HRESULT _hr = get_VertPlacement(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4218)
- inline void VGCore::IVGEffectTextOnPath::PutVertPlacement ( enum cdrFittedVertPlacement pVal ) {
- HRESULT _hr = put_VertPlacement(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectDropShadow wrapper method implementations
- //
- #pragma implementation_key(4219)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectDropShadow::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4220)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectDropShadow::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4221)
- inline double VGCore::IVGEffectDropShadow::GetOffsetX ( ) {
- double _result = 0;
- HRESULT _hr = get_OffsetX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4222)
- inline void VGCore::IVGEffectDropShadow::PutOffsetX ( double pVal ) {
- HRESULT _hr = put_OffsetX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4223)
- inline double VGCore::IVGEffectDropShadow::GetOffsetY ( ) {
- double _result = 0;
- HRESULT _hr = get_OffsetY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4224)
- inline void VGCore::IVGEffectDropShadow::PutOffsetY ( double pVal ) {
- HRESULT _hr = put_OffsetY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4225)
- inline long VGCore::IVGEffectDropShadow::GetOpacity ( ) {
- long _result = 0;
- HRESULT _hr = get_Opacity(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4226)
- inline void VGCore::IVGEffectDropShadow::PutOpacity ( long pVal ) {
- HRESULT _hr = put_Opacity(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4227)
- inline long VGCore::IVGEffectDropShadow::GetFeather ( ) {
- long _result = 0;
- HRESULT _hr = get_Feather(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4228)
- inline void VGCore::IVGEffectDropShadow::PutFeather ( long pVal ) {
- HRESULT _hr = put_Feather(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4229)
- inline enum VGCore::cdrFeatherType VGCore::IVGEffectDropShadow::GetFeatherType ( ) {
- enum cdrFeatherType _result;
- HRESULT _hr = get_FeatherType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4230)
- inline void VGCore::IVGEffectDropShadow::PutFeatherType ( enum cdrFeatherType pVal ) {
- HRESULT _hr = put_FeatherType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4231)
- inline enum VGCore::cdrEdgeType VGCore::IVGEffectDropShadow::GetFeatherEdge ( ) {
- enum cdrEdgeType _result;
- HRESULT _hr = get_FeatherEdge(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4232)
- inline void VGCore::IVGEffectDropShadow::PutFeatherEdge ( enum cdrEdgeType pVal ) {
- HRESULT _hr = put_FeatherEdge(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4233)
- inline enum VGCore::cdrDropShadowType VGCore::IVGEffectDropShadow::GetType ( ) {
- enum cdrDropShadowType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4234)
- inline void VGCore::IVGEffectDropShadow::PutType ( enum cdrDropShadowType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4235)
- inline double VGCore::IVGEffectDropShadow::GetPerspectiveAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_PerspectiveAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4236)
- inline void VGCore::IVGEffectDropShadow::PutPerspectiveAngle ( double pVal ) {
- HRESULT _hr = put_PerspectiveAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4237)
- inline double VGCore::IVGEffectDropShadow::GetPerspectiveStretch ( ) {
- double _result = 0;
- HRESULT _hr = get_PerspectiveStretch(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4238)
- inline void VGCore::IVGEffectDropShadow::PutPerspectiveStretch ( double pVal ) {
- HRESULT _hr = put_PerspectiveStretch(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4239)
- inline long VGCore::IVGEffectDropShadow::GetFade ( ) {
- long _result = 0;
- HRESULT _hr = get_Fade(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4240)
- inline void VGCore::IVGEffectDropShadow::PutFade ( long pVal ) {
- HRESULT _hr = put_Fade(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4241)
- inline VGCore::IVGColorPtr VGCore::IVGEffectDropShadow::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4242)
- inline void VGCore::IVGEffectDropShadow::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4243)
- inline HRESULT VGCore::IVGEffectDropShadow::SetOffset ( double OffsetX, double OffsetY ) {
- HRESULT _hr = raw_SetOffset(OffsetX, OffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4244)
- inline VGCore::IVGShapePtr VGCore::IVGEffectDropShadow::GetShadowGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ShadowGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4245)
- inline enum VGCore::cdrMergeMode VGCore::IVGEffectDropShadow::GetMergeMode ( ) {
- enum cdrMergeMode _result;
- HRESULT _hr = get_MergeMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4246)
- inline void VGCore::IVGEffectDropShadow::PutMergeMode ( enum cdrMergeMode pVal ) {
- HRESULT _hr = put_MergeMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectContour wrapper method implementations
- //
- #pragma implementation_key(4247)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectContour::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4248)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectContour::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4249)
- inline enum VGCore::cdrContourDirection VGCore::IVGEffectContour::GetDirection ( ) {
- enum cdrContourDirection _result;
- HRESULT _hr = get_Direction(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4250)
- inline void VGCore::IVGEffectContour::PutDirection ( enum cdrContourDirection pVal ) {
- HRESULT _hr = put_Direction(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4251)
- inline double VGCore::IVGEffectContour::GetOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_Offset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4252)
- inline void VGCore::IVGEffectContour::PutOffset ( double pVal ) {
- HRESULT _hr = put_Offset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4253)
- inline long VGCore::IVGEffectContour::GetSteps ( ) {
- long _result = 0;
- HRESULT _hr = get_Steps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4254)
- inline void VGCore::IVGEffectContour::PutSteps ( long pVal ) {
- HRESULT _hr = put_Steps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4255)
- inline enum VGCore::cdrFountainFillBlendType VGCore::IVGEffectContour::GetColorBlendType ( ) {
- enum cdrFountainFillBlendType _result;
- HRESULT _hr = get_ColorBlendType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4256)
- inline void VGCore::IVGEffectContour::PutColorBlendType ( enum cdrFountainFillBlendType pVal ) {
- HRESULT _hr = put_ColorBlendType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4257)
- inline VGCore::IVGColorPtr VGCore::IVGEffectContour::GetOutlineColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_OutlineColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4258)
- inline void VGCore::IVGEffectContour::PutOutlineColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_OutlineColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4259)
- inline VGCore::IVGColorPtr VGCore::IVGEffectContour::GetFillColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_FillColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4260)
- inline void VGCore::IVGEffectContour::PutFillColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_FillColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4261)
- inline VGCore::IVGColorPtr VGCore::IVGEffectContour::GetFillColorTo ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_FillColorTo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4262)
- inline void VGCore::IVGEffectContour::PutFillColorTo ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_FillColorTo(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4263)
- inline VARIANT_BOOL VGCore::IVGEffectContour::GetLinkAcceleration ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_LinkAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4264)
- inline void VGCore::IVGEffectContour::PutLinkAcceleration ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_LinkAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4265)
- inline long VGCore::IVGEffectContour::GetColorAcceleration ( ) {
- long _result = 0;
- HRESULT _hr = get_ColorAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4266)
- inline void VGCore::IVGEffectContour::PutColorAcceleration ( long pVal ) {
- HRESULT _hr = put_ColorAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4267)
- inline long VGCore::IVGEffectContour::GetSpacingAcceleration ( ) {
- long _result = 0;
- HRESULT _hr = get_SpacingAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4268)
- inline void VGCore::IVGEffectContour::PutSpacingAcceleration ( long pVal ) {
- HRESULT _hr = put_SpacingAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4269)
- inline VGCore::IVGShapePtr VGCore::IVGEffectContour::GetContourGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ContourGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4270)
- inline enum VGCore::cdrContourEndCapType VGCore::IVGEffectContour::GetEndCapType ( ) {
- enum cdrContourEndCapType _result;
- HRESULT _hr = get_EndCapType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4271)
- inline void VGCore::IVGEffectContour::PutEndCapType ( enum cdrContourEndCapType pVal ) {
- HRESULT _hr = put_EndCapType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4272)
- inline enum VGCore::cdrContourCornerType VGCore::IVGEffectContour::GetCornerType ( ) {
- enum cdrContourCornerType _result;
- HRESULT _hr = get_CornerType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4273)
- inline void VGCore::IVGEffectContour::PutCornerType ( enum cdrContourCornerType pVal ) {
- HRESULT _hr = put_CornerType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4274)
- inline double VGCore::IVGEffectContour::GetMiterLimit ( ) {
- double _result = 0;
- HRESULT _hr = get_MiterLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4275)
- inline void VGCore::IVGEffectContour::PutMiterLimit ( double pVal ) {
- HRESULT _hr = put_MiterLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectLens wrapper method implementations
- //
- #pragma implementation_key(4276)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectLens::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4277)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectLens::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4278)
- inline HRESULT VGCore::IVGEffectLens::Freeze ( ) {
- HRESULT _hr = raw_Freeze();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4279)
- inline HRESULT VGCore::IVGEffectLens::Unfreeze ( ) {
- HRESULT _hr = raw_Unfreeze();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4280)
- inline VGCore::IVGShapeRangePtr VGCore::IVGEffectLens::Ungroup ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_Ungroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(4281)
- inline VGCore::IVGShapesPtr VGCore::IVGEffectLens::GetShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_Shapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(4282)
- inline VARIANT_BOOL VGCore::IVGEffectLens::GetFrozen ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Frozen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4283)
- inline enum VGCore::cdrLensType VGCore::IVGEffectLens::GetType ( ) {
- enum cdrLensType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4284)
- inline void VGCore::IVGEffectLens::PutType ( enum cdrLensType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4285)
- inline long VGCore::IVGEffectLens::GetRate ( ) {
- long _result = 0;
- HRESULT _hr = get_Rate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4286)
- inline void VGCore::IVGEffectLens::PutRate ( long pVal ) {
- HRESULT _hr = put_Rate(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4287)
- inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4288)
- inline void VGCore::IVGEffectLens::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4289)
- inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetOutlineColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_OutlineColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4290)
- inline void VGCore::IVGEffectLens::PutOutlineColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_OutlineColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4291)
- inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetFillColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_FillColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4292)
- inline void VGCore::IVGEffectLens::PutFillColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_FillColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4293)
- inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetFromColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_FromColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4294)
- inline void VGCore::IVGEffectLens::PutFromColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_FromColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4295)
- inline VGCore::IVGColorPtr VGCore::IVGEffectLens::GetToColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_ToColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4296)
- inline void VGCore::IVGEffectLens::PutToColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_ToColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4297)
- inline VARIANT_BOOL VGCore::IVGEffectLens::GetUseOutlineColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseOutlineColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4298)
- inline void VGCore::IVGEffectLens::PutUseOutlineColor ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseOutlineColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4299)
- inline VARIANT_BOOL VGCore::IVGEffectLens::GetUseFillColor ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseFillColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4300)
- inline void VGCore::IVGEffectLens::PutUseFillColor ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseFillColor(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4301)
- inline enum VGCore::cdrFountainFillBlendType VGCore::IVGEffectLens::GetColorMapPalette ( ) {
- enum cdrFountainFillBlendType _result;
- HRESULT _hr = get_ColorMapPalette(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4302)
- inline void VGCore::IVGEffectLens::PutColorMapPalette ( enum cdrFountainFillBlendType pVal ) {
- HRESULT _hr = put_ColorMapPalette(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4303)
- inline double VGCore::IVGEffectLens::GetMagnification ( ) {
- double _result = 0;
- HRESULT _hr = get_Magnification(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4304)
- inline void VGCore::IVGEffectLens::PutMagnification ( double pVal ) {
- HRESULT _hr = put_Magnification(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4305)
- inline VARIANT_BOOL VGCore::IVGEffectLens::GetUseViewPoint ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseViewPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4306)
- inline void VGCore::IVGEffectLens::PutUseViewPoint ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseViewPoint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4307)
- inline double VGCore::IVGEffectLens::GetViewPointX ( ) {
- double _result = 0;
- HRESULT _hr = get_ViewPointX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4308)
- inline void VGCore::IVGEffectLens::PutViewPointX ( double pVal ) {
- HRESULT _hr = put_ViewPointX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4309)
- inline double VGCore::IVGEffectLens::GetViewPointY ( ) {
- double _result = 0;
- HRESULT _hr = get_ViewPointY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4310)
- inline void VGCore::IVGEffectLens::PutViewPointY ( double pVal ) {
- HRESULT _hr = put_ViewPointY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4311)
- inline VARIANT_BOOL VGCore::IVGEffectLens::GetRemoveFace ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_RemoveFace(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4312)
- inline void VGCore::IVGEffectLens::PutRemoveFace ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_RemoveFace(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4313)
- inline long VGCore::IVGEffectLens::GetPaletteRotation ( ) {
- long _result = 0;
- HRESULT _hr = get_PaletteRotation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4314)
- inline void VGCore::IVGEffectLens::PutPaletteRotation ( long pVal ) {
- HRESULT _hr = put_PaletteRotation(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectPerspective wrapper method implementations
- //
- #pragma implementation_key(4315)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectPerspective::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4316)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectPerspective::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4317)
- inline VARIANT_BOOL VGCore::IVGEffectPerspective::GetUseHorizVanishingPoint ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseHorizVanishingPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4318)
- inline void VGCore::IVGEffectPerspective::PutUseHorizVanishingPoint ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseHorizVanishingPoint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4319)
- inline VARIANT_BOOL VGCore::IVGEffectPerspective::GetUseVertVanishingPoint ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseVertVanishingPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4320)
- inline void VGCore::IVGEffectPerspective::PutUseVertVanishingPoint ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseVertVanishingPoint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4321)
- inline double VGCore::IVGEffectPerspective::GetHorizVanishingPointX ( ) {
- double _result = 0;
- HRESULT _hr = get_HorizVanishingPointX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4322)
- inline void VGCore::IVGEffectPerspective::PutHorizVanishingPointX ( double pVal ) {
- HRESULT _hr = put_HorizVanishingPointX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4323)
- inline double VGCore::IVGEffectPerspective::GetHorizVanishingPointY ( ) {
- double _result = 0;
- HRESULT _hr = get_HorizVanishingPointY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4324)
- inline void VGCore::IVGEffectPerspective::PutHorizVanishingPointY ( double pVal ) {
- HRESULT _hr = put_HorizVanishingPointY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4325)
- inline double VGCore::IVGEffectPerspective::GetVertVanishingPointX ( ) {
- double _result = 0;
- HRESULT _hr = get_VertVanishingPointX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4326)
- inline void VGCore::IVGEffectPerspective::PutVertVanishingPointX ( double pVal ) {
- HRESULT _hr = put_VertVanishingPointX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4327)
- inline double VGCore::IVGEffectPerspective::GetVertVanishingPointY ( ) {
- double _result = 0;
- HRESULT _hr = get_VertVanishingPointY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4328)
- inline void VGCore::IVGEffectPerspective::PutVertVanishingPointY ( double pVal ) {
- HRESULT _hr = put_VertVanishingPointY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectInnerShadow wrapper method implementations
- //
- #pragma implementation_key(4329)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectInnerShadow::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4330)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectInnerShadow::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4331)
- inline double VGCore::IVGEffectInnerShadow::GetOffsetX ( ) {
- double _result = 0;
- HRESULT _hr = get_OffsetX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4332)
- inline void VGCore::IVGEffectInnerShadow::PutOffsetX ( double pVal ) {
- HRESULT _hr = put_OffsetX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4333)
- inline double VGCore::IVGEffectInnerShadow::GetOffsetY ( ) {
- double _result = 0;
- HRESULT _hr = get_OffsetY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4334)
- inline void VGCore::IVGEffectInnerShadow::PutOffsetY ( double pVal ) {
- HRESULT _hr = put_OffsetY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4335)
- inline long VGCore::IVGEffectInnerShadow::GetOpacity ( ) {
- long _result = 0;
- HRESULT _hr = get_Opacity(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4336)
- inline void VGCore::IVGEffectInnerShadow::PutOpacity ( long pVal ) {
- HRESULT _hr = put_Opacity(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4337)
- inline long VGCore::IVGEffectInnerShadow::GetFeather ( ) {
- long _result = 0;
- HRESULT _hr = get_Feather(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4338)
- inline void VGCore::IVGEffectInnerShadow::PutFeather ( long pVal ) {
- HRESULT _hr = put_Feather(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4339)
- inline enum VGCore::cdrFeatherType VGCore::IVGEffectInnerShadow::GetFeatherType ( ) {
- enum cdrFeatherType _result;
- HRESULT _hr = get_FeatherType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4340)
- inline void VGCore::IVGEffectInnerShadow::PutFeatherType ( enum cdrFeatherType pVal ) {
- HRESULT _hr = put_FeatherType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4341)
- inline enum VGCore::cdrEdgeType VGCore::IVGEffectInnerShadow::GetFeatherEdge ( ) {
- enum cdrEdgeType _result;
- HRESULT _hr = get_FeatherEdge(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4342)
- inline void VGCore::IVGEffectInnerShadow::PutFeatherEdge ( enum cdrEdgeType pVal ) {
- HRESULT _hr = put_FeatherEdge(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4343)
- inline VGCore::IVGColorPtr VGCore::IVGEffectInnerShadow::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4344)
- inline void VGCore::IVGEffectInnerShadow::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4345)
- inline HRESULT VGCore::IVGEffectInnerShadow::SetOffset ( double OffsetX, double OffsetY ) {
- HRESULT _hr = raw_SetOffset(OffsetX, OffsetY);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4346)
- inline VGCore::IVGShapePtr VGCore::IVGEffectInnerShadow::GetShadowGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ShadowGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4347)
- inline enum VGCore::cdrMergeMode VGCore::IVGEffectInnerShadow::GetMergeMode ( ) {
- enum cdrMergeMode _result;
- HRESULT _hr = get_MergeMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4348)
- inline void VGCore::IVGEffectInnerShadow::PutMergeMode ( enum cdrMergeMode pVal ) {
- HRESULT _hr = put_MergeMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4349)
- inline double VGCore::IVGEffectInnerShadow::GetDepth ( ) {
- double _result = 0;
- HRESULT _hr = get_Depth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4350)
- inline void VGCore::IVGEffectInnerShadow::PutDepth ( double pVal ) {
- HRESULT _hr = put_Depth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectExtrude wrapper method implementations
- //
- #pragma implementation_key(4351)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectExtrude::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4352)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectExtrude::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4353)
- inline enum VGCore::cdrExtrudeType VGCore::IVGEffectExtrude::GetType ( ) {
- enum cdrExtrudeType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4354)
- inline void VGCore::IVGEffectExtrude::PutType ( enum cdrExtrudeType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4355)
- inline VGCore::IVGExtrudeVanishingPointPtr VGCore::IVGEffectExtrude::GetVanishingPoint ( ) {
- struct IVGExtrudeVanishingPoint * _result = 0;
- HRESULT _hr = get_VanishingPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGExtrudeVanishingPointPtr(_result, false);
- }
- #pragma implementation_key(4356)
- inline void VGCore::IVGEffectExtrude::PutVanishingPoint ( struct IVGExtrudeVanishingPoint * ppVal ) {
- HRESULT _hr = put_VanishingPoint(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4357)
- inline long VGCore::IVGEffectExtrude::GetDepth ( ) {
- long _result = 0;
- HRESULT _hr = get_Depth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4358)
- inline void VGCore::IVGEffectExtrude::PutDepth ( long pVal ) {
- HRESULT _hr = put_Depth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4359)
- inline double VGCore::IVGEffectExtrude::GetAngleX ( ) {
- double _result = 0;
- HRESULT _hr = get_AngleX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4360)
- inline void VGCore::IVGEffectExtrude::PutAngleX ( double pVal ) {
- HRESULT _hr = put_AngleX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4361)
- inline double VGCore::IVGEffectExtrude::GetAngleY ( ) {
- double _result = 0;
- HRESULT _hr = get_AngleY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4362)
- inline void VGCore::IVGEffectExtrude::PutAngleY ( double pVal ) {
- HRESULT _hr = put_AngleY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4363)
- inline double VGCore::IVGEffectExtrude::GetAngleZ ( ) {
- double _result = 0;
- HRESULT _hr = get_AngleZ(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4364)
- inline void VGCore::IVGEffectExtrude::PutAngleZ ( double pVal ) {
- HRESULT _hr = put_AngleZ(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4365)
- inline enum VGCore::cdrExtrudeShading VGCore::IVGEffectExtrude::GetShading ( ) {
- enum cdrExtrudeShading _result;
- HRESULT _hr = get_Shading(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4366)
- inline void VGCore::IVGEffectExtrude::PutShading ( enum cdrExtrudeShading pVal ) {
- HRESULT _hr = put_Shading(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4367)
- inline VGCore::IVGColorPtr VGCore::IVGEffectExtrude::GetBaseColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_BaseColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4368)
- inline void VGCore::IVGEffectExtrude::PutBaseColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_BaseColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4369)
- inline VGCore::IVGColorPtr VGCore::IVGEffectExtrude::GetShadingColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_ShadingColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4370)
- inline void VGCore::IVGEffectExtrude::PutShadingColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_ShadingColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4371)
- inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetUseBevel ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseBevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4372)
- inline void VGCore::IVGEffectExtrude::PutUseBevel ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseBevel(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4373)
- inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetShowBevelOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShowBevelOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4374)
- inline void VGCore::IVGEffectExtrude::PutShowBevelOnly ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShowBevelOnly(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4375)
- inline double VGCore::IVGEffectExtrude::GetBevelDepth ( ) {
- double _result = 0;
- HRESULT _hr = get_BevelDepth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4376)
- inline void VGCore::IVGEffectExtrude::PutBevelDepth ( double pVal ) {
- HRESULT _hr = put_BevelDepth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4377)
- inline double VGCore::IVGEffectExtrude::GetBevelAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_BevelAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4378)
- inline void VGCore::IVGEffectExtrude::PutBevelAngle ( double pVal ) {
- HRESULT _hr = put_BevelAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4379)
- inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetUseExtrudeColorForBevel ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseExtrudeColorForBevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4380)
- inline void VGCore::IVGEffectExtrude::PutUseExtrudeColorForBevel ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseExtrudeColorForBevel(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4381)
- inline VGCore::IVGColorPtr VGCore::IVGEffectExtrude::GetBevelColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_BevelColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4382)
- inline void VGCore::IVGEffectExtrude::PutBevelColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_BevelColor(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4383)
- inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetLightPresent ( long Index ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_LightPresent(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4384)
- inline void VGCore::IVGEffectExtrude::PutLightPresent ( long Index, VARIANT_BOOL pVal ) {
- HRESULT _hr = put_LightPresent(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4385)
- inline enum VGCore::cdrExtrudeLightPosition VGCore::IVGEffectExtrude::GetLightPosition ( long Index ) {
- enum cdrExtrudeLightPosition _result;
- HRESULT _hr = get_LightPosition(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4386)
- inline void VGCore::IVGEffectExtrude::PutLightPosition ( long Index, enum cdrExtrudeLightPosition pVal ) {
- HRESULT _hr = put_LightPosition(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4387)
- inline long VGCore::IVGEffectExtrude::GetLightIntensity ( long Index ) {
- long _result = 0;
- HRESULT _hr = get_LightIntensity(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4388)
- inline void VGCore::IVGEffectExtrude::PutLightIntensity ( long Index, long pVal ) {
- HRESULT _hr = put_LightIntensity(Index, pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4389)
- inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetUseFullColorRange ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseFullColorRange(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4390)
- inline void VGCore::IVGEffectExtrude::PutUseFullColorRange ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseFullColorRange(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4391)
- inline VARIANT_BOOL VGCore::IVGEffectExtrude::GetFaceVisible ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FaceVisible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4392)
- inline VGCore::IVGShapePtr VGCore::IVGEffectExtrude::GetFaceShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FaceShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4393)
- inline VGCore::IVGShapePtr VGCore::IVGEffectExtrude::GetBevelGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_BevelGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4394)
- inline VGCore::IVGShapePtr VGCore::IVGEffectExtrude::GetExtrudeGroup ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_ExtrudeGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4395)
- inline HRESULT VGCore::IVGEffectExtrude::Rotate ( double AngleX, double AngleY, double AngleZ ) {
- HRESULT _hr = raw_Rotate(AngleX, AngleY, AngleZ);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4396)
- inline HRESULT VGCore::IVGEffectExtrude::SetBevel ( double Depth, double Angle, VARIANT_BOOL ShowBevelOnly ) {
- HRESULT _hr = raw_SetBevel(Depth, Angle, ShowBevelOnly);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4397)
- inline HRESULT VGCore::IVGEffectExtrude::SetLight ( long Index, enum cdrExtrudeLightPosition Position, long LightIntensity ) {
- HRESULT _hr = raw_SetLight(Index, Position, LightIntensity);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4398)
- inline HRESULT VGCore::IVGEffectExtrude::CopyFrom ( struct IVGEffectExtrude * Source ) {
- HRESULT _hr = raw_CopyFrom(Source);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGExtrudeVanishingPoint wrapper method implementations
- //
- #pragma implementation_key(4399)
- inline VGCore::IVGApplicationPtr VGCore::IVGExtrudeVanishingPoint::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4400)
- inline VGCore::IVGEffectExtrudePtr VGCore::IVGExtrudeVanishingPoint::GetParent ( ) {
- struct IVGEffectExtrude * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectExtrudePtr(_result, false);
- }
- #pragma implementation_key(4401)
- inline enum VGCore::cdrExtrudeVPType VGCore::IVGExtrudeVanishingPoint::GetType ( ) {
- enum cdrExtrudeVPType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4402)
- inline void VGCore::IVGExtrudeVanishingPoint::PutType ( enum cdrExtrudeVPType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4403)
- inline double VGCore::IVGExtrudeVanishingPoint::GetPositionX ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4404)
- inline void VGCore::IVGExtrudeVanishingPoint::PutPositionX ( double pVal ) {
- HRESULT _hr = put_PositionX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4405)
- inline double VGCore::IVGExtrudeVanishingPoint::GetPositionY ( ) {
- double _result = 0;
- HRESULT _hr = get_PositionY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4406)
- inline void VGCore::IVGExtrudeVanishingPoint::PutPositionY ( double pVal ) {
- HRESULT _hr = put_PositionY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4407)
- inline VGCore::IVGEffectsPtr VGCore::IVGExtrudeVanishingPoint::GetEffects ( ) {
- struct IVGEffects * _result = 0;
- HRESULT _hr = get_Effects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectsPtr(_result, false);
- }
- #pragma implementation_key(4408)
- inline VARIANT_BOOL VGCore::IVGExtrudeVanishingPoint::Share ( struct IVGEffectExtrude * Source ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Share(Source, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGEffectDistortion wrapper method implementations
- //
- #pragma implementation_key(4409)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectDistortion::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4410)
- inline VGCore::IVGEffectPtr VGCore::IVGEffectDistortion::GetParent ( ) {
- struct IVGEffect * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPtr(_result, false);
- }
- #pragma implementation_key(4411)
- inline enum VGCore::cdrDistortionType VGCore::IVGEffectDistortion::GetType ( ) {
- enum cdrDistortionType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4412)
- inline void VGCore::IVGEffectDistortion::PutType ( enum cdrDistortionType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4413)
- inline double VGCore::IVGEffectDistortion::GetOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4414)
- inline void VGCore::IVGEffectDistortion::PutOriginX ( double pVal ) {
- HRESULT _hr = put_OriginX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4415)
- inline double VGCore::IVGEffectDistortion::GetOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4416)
- inline void VGCore::IVGEffectDistortion::PutOriginY ( double pVal ) {
- HRESULT _hr = put_OriginY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4417)
- inline VGCore::IVGEffectPushPullDistortionPtr VGCore::IVGEffectDistortion::GetPushPull ( ) {
- struct IVGEffectPushPullDistortion * _result = 0;
- HRESULT _hr = get_PushPull(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectPushPullDistortionPtr(_result, false);
- }
- #pragma implementation_key(4418)
- inline void VGCore::IVGEffectDistortion::PutPushPull ( struct IVGEffectPushPullDistortion * ppVal ) {
- HRESULT _hr = put_PushPull(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4419)
- inline VGCore::IVGEffectZipperDistortionPtr VGCore::IVGEffectDistortion::GetZipper ( ) {
- struct IVGEffectZipperDistortion * _result = 0;
- HRESULT _hr = get_Zipper(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectZipperDistortionPtr(_result, false);
- }
- #pragma implementation_key(4420)
- inline void VGCore::IVGEffectDistortion::PutZipper ( struct IVGEffectZipperDistortion * ppVal ) {
- HRESULT _hr = put_Zipper(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4421)
- inline VGCore::IVGEffectTwisterDistortionPtr VGCore::IVGEffectDistortion::GetTwister ( ) {
- struct IVGEffectTwisterDistortion * _result = 0;
- HRESULT _hr = get_Twister(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectTwisterDistortionPtr(_result, false);
- }
- #pragma implementation_key(4422)
- inline void VGCore::IVGEffectDistortion::PutTwister ( struct IVGEffectTwisterDistortion * ppVal ) {
- HRESULT _hr = put_Twister(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4423)
- inline HRESULT VGCore::IVGEffectDistortion::CenterDistortion ( ) {
- HRESULT _hr = raw_CenterDistortion();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4424)
- inline VGCore::IVGEffectCustomDistortionPtr VGCore::IVGEffectDistortion::GetCustom ( ) {
- struct IVGEffectCustomDistortion * _result = 0;
- HRESULT _hr = get_Custom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectCustomDistortionPtr(_result, false);
- }
- //
- // interface IVGEffectPushPullDistortion wrapper method implementations
- //
- #pragma implementation_key(4425)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectPushPullDistortion::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4426)
- inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffectPushPullDistortion::GetParent ( ) {
- struct IVGEffectDistortion * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectDistortionPtr(_result, false);
- }
- #pragma implementation_key(4427)
- inline long VGCore::IVGEffectPushPullDistortion::GetAmplitude ( ) {
- long _result = 0;
- HRESULT _hr = get_Amplitude(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4428)
- inline void VGCore::IVGEffectPushPullDistortion::PutAmplitude ( long pVal ) {
- HRESULT _hr = put_Amplitude(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectZipperDistortion wrapper method implementations
- //
- #pragma implementation_key(4429)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectZipperDistortion::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4430)
- inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffectZipperDistortion::GetParent ( ) {
- struct IVGEffectDistortion * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectDistortionPtr(_result, false);
- }
- #pragma implementation_key(4431)
- inline long VGCore::IVGEffectZipperDistortion::GetAmplitude ( ) {
- long _result = 0;
- HRESULT _hr = get_Amplitude(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4432)
- inline void VGCore::IVGEffectZipperDistortion::PutAmplitude ( long pVal ) {
- HRESULT _hr = put_Amplitude(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4433)
- inline long VGCore::IVGEffectZipperDistortion::GetFrequency ( ) {
- long _result = 0;
- HRESULT _hr = get_Frequency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4434)
- inline void VGCore::IVGEffectZipperDistortion::PutFrequency ( long pVal ) {
- HRESULT _hr = put_Frequency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4435)
- inline VARIANT_BOOL VGCore::IVGEffectZipperDistortion::GetRandom ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Random(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4436)
- inline void VGCore::IVGEffectZipperDistortion::PutRandom ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Random(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4437)
- inline VARIANT_BOOL VGCore::IVGEffectZipperDistortion::GetSmooth ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Smooth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4438)
- inline void VGCore::IVGEffectZipperDistortion::PutSmooth ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Smooth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4439)
- inline VARIANT_BOOL VGCore::IVGEffectZipperDistortion::GetLocal ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Local(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4440)
- inline void VGCore::IVGEffectZipperDistortion::PutLocal ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Local(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGEffectTwisterDistortion wrapper method implementations
- //
- #pragma implementation_key(4441)
- inline VGCore::IVGApplicationPtr VGCore::IVGEffectTwisterDistortion::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4442)
- inline VGCore::IVGEffectDistortionPtr VGCore::IVGEffectTwisterDistortion::GetParent ( ) {
- struct IVGEffectDistortion * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGEffectDistortionPtr(_result, false);
- }
- #pragma implementation_key(4443)
- inline double VGCore::IVGEffectTwisterDistortion::GetAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_Angle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4444)
- inline void VGCore::IVGEffectTwisterDistortion::PutAngle ( double pVal ) {
- HRESULT _hr = put_Angle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGTextRange wrapper method implementations
- //
- #pragma implementation_key(4445)
- inline _bstr_t VGCore::IVGTextRange::GetText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Text(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4446)
- inline void VGCore::IVGTextRange::PutText ( _bstr_t ppVal ) {
- HRESULT _hr = put_Text(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4447)
- inline _bstr_t VGCore::IVGTextRange::GetWideText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_WideText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4448)
- inline void VGCore::IVGTextRange::PutWideText ( _bstr_t ppVal ) {
- HRESULT _hr = put_WideText(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4449)
- inline VGCore::IVGTextCharactersPtr VGCore::IVGTextRange::GetCharacters ( ) {
- struct IVGTextCharacters * _result = 0;
- HRESULT _hr = get_Characters(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextCharactersPtr(_result, false);
- }
- #pragma implementation_key(4450)
- inline VGCore::IVGTextWordsPtr VGCore::IVGTextRange::GetWords ( ) {
- struct IVGTextWords * _result = 0;
- HRESULT _hr = get_Words(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextWordsPtr(_result, false);
- }
- #pragma implementation_key(4451)
- inline VGCore::IVGTextLinesPtr VGCore::IVGTextRange::GetLines ( ) {
- struct IVGTextLines * _result = 0;
- HRESULT _hr = get_Lines(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextLinesPtr(_result, false);
- }
- #pragma implementation_key(4452)
- inline VGCore::IVGTextParagraphsPtr VGCore::IVGTextRange::GetParagraphs ( ) {
- struct IVGTextParagraphs * _result = 0;
- HRESULT _hr = get_Paragraphs(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextParagraphsPtr(_result, false);
- }
- #pragma implementation_key(4453)
- inline long VGCore::IVGTextRange::GetStart ( ) {
- long _result = 0;
- HRESULT _hr = get_Start(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4454)
- inline void VGCore::IVGTextRange::PutStart ( long pVal ) {
- HRESULT _hr = put_Start(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4455)
- inline long VGCore::IVGTextRange::GetEnd ( ) {
- long _result = 0;
- HRESULT _hr = get_End(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4456)
- inline void VGCore::IVGTextRange::PutEnd ( long pVal ) {
- HRESULT _hr = put_End(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4457)
- inline long VGCore::IVGTextRange::GetLength ( ) {
- long _result = 0;
- HRESULT _hr = get_Length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4458)
- inline void VGCore::IVGTextRange::PutLength ( long pVal ) {
- HRESULT _hr = put_Length(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4459)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Duplicate ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_Duplicate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4460)
- inline enum VGCore::cdrFontStyle VGCore::IVGTextRange::GetStyle ( ) {
- enum cdrFontStyle _result;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4461)
- inline void VGCore::IVGTextRange::PutStyle ( enum cdrFontStyle pVal ) {
- HRESULT _hr = put_Style(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4462)
- inline VARIANT_BOOL VGCore::IVGTextRange::GetBold ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Bold(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4463)
- inline void VGCore::IVGTextRange::PutBold ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Bold(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4464)
- inline VARIANT_BOOL VGCore::IVGTextRange::GetItalic ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Italic(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4465)
- inline void VGCore::IVGTextRange::PutItalic ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Italic(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4466)
- inline enum VGCore::cdrFontLine VGCore::IVGTextRange::GetUnderline ( ) {
- enum cdrFontLine _result;
- HRESULT _hr = get_Underline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4467)
- inline void VGCore::IVGTextRange::PutUnderline ( enum cdrFontLine pVal ) {
- HRESULT _hr = put_Underline(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4468)
- inline enum VGCore::cdrFontLine VGCore::IVGTextRange::GetStrikethru ( ) {
- enum cdrFontLine _result;
- HRESULT _hr = get_Strikethru(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4469)
- inline void VGCore::IVGTextRange::PutStrikethru ( enum cdrFontLine pVal ) {
- HRESULT _hr = put_Strikethru(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4470)
- inline enum VGCore::cdrFontLine VGCore::IVGTextRange::GetOverscore ( ) {
- enum cdrFontLine _result;
- HRESULT _hr = get_Overscore(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4471)
- inline void VGCore::IVGTextRange::PutOverscore ( enum cdrFontLine pVal ) {
- HRESULT _hr = put_Overscore(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4472)
- inline _bstr_t VGCore::IVGTextRange::GetFont ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Font(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4473)
- inline void VGCore::IVGTextRange::PutFont ( _bstr_t pVal ) {
- HRESULT _hr = put_Font(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4474)
- inline float VGCore::IVGTextRange::GetSize ( ) {
- float _result = 0;
- HRESULT _hr = get_Size(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4475)
- inline void VGCore::IVGTextRange::PutSize ( float pVal ) {
- HRESULT _hr = put_Size(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4476)
- inline enum VGCore::cdrFontPosition VGCore::IVGTextRange::GetPosition ( ) {
- enum cdrFontPosition _result;
- HRESULT _hr = get_Position(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4477)
- inline void VGCore::IVGTextRange::PutPosition ( enum cdrFontPosition pVal ) {
- HRESULT _hr = put_Position(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4478)
- inline enum VGCore::cdrFontCase VGCore::IVGTextRange::GetCase ( ) {
- enum cdrFontCase _result;
- HRESULT _hr = get_Case(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4479)
- inline void VGCore::IVGTextRange::PutCase ( enum cdrFontCase pVal ) {
- HRESULT _hr = put_Case(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4480)
- inline float VGCore::IVGTextRange::GetCharAngle ( ) {
- float _result = 0;
- HRESULT _hr = get_CharAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4481)
- inline void VGCore::IVGTextRange::PutCharAngle ( float pVal ) {
- HRESULT _hr = put_CharAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4482)
- inline enum VGCore::cdrAlignment VGCore::IVGTextRange::GetAlignment ( ) {
- enum cdrAlignment _result;
- HRESULT _hr = get_Alignment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4483)
- inline void VGCore::IVGTextRange::PutAlignment ( enum cdrAlignment pVal ) {
- HRESULT _hr = put_Alignment(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4484)
- inline double VGCore::IVGTextRange::GetFirstLineIndent ( ) {
- double _result = 0;
- HRESULT _hr = get_FirstLineIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4485)
- inline void VGCore::IVGTextRange::PutFirstLineIndent ( double pVal ) {
- HRESULT _hr = put_FirstLineIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4486)
- inline long VGCore::IVGTextRange::GetHorizShift ( ) {
- long _result = 0;
- HRESULT _hr = get_HorizShift(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4487)
- inline void VGCore::IVGTextRange::PutHorizShift ( long pVal ) {
- HRESULT _hr = put_HorizShift(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4488)
- inline long VGCore::IVGTextRange::GetVertShift ( ) {
- long _result = 0;
- HRESULT _hr = get_VertShift(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4489)
- inline void VGCore::IVGTextRange::PutVertShift ( long pVal ) {
- HRESULT _hr = put_VertShift(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4490)
- inline double VGCore::IVGTextRange::GetLeftIndent ( ) {
- double _result = 0;
- HRESULT _hr = get_LeftIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4491)
- inline void VGCore::IVGTextRange::PutLeftIndent ( double pVal ) {
- HRESULT _hr = put_LeftIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4492)
- inline double VGCore::IVGTextRange::GetRightIndent ( ) {
- double _result = 0;
- HRESULT _hr = get_RightIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4493)
- inline void VGCore::IVGTextRange::PutRightIndent ( double pVal ) {
- HRESULT _hr = put_RightIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4494)
- inline float VGCore::IVGTextRange::GetMinWordSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_MinWordSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4495)
- inline void VGCore::IVGTextRange::PutMinWordSpacing ( float pVal ) {
- HRESULT _hr = put_MinWordSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4496)
- inline float VGCore::IVGTextRange::GetMaxWordSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_MaxWordSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4497)
- inline void VGCore::IVGTextRange::PutMaxWordSpacing ( float pVal ) {
- HRESULT _hr = put_MaxWordSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4498)
- inline float VGCore::IVGTextRange::GetMaxCharSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_MaxCharSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4499)
- inline void VGCore::IVGTextRange::PutMaxCharSpacing ( float pVal ) {
- HRESULT _hr = put_MaxCharSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4500)
- inline float VGCore::IVGTextRange::GetParaSpacingBefore ( ) {
- float _result = 0;
- HRESULT _hr = get_ParaSpacingBefore(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4501)
- inline void VGCore::IVGTextRange::PutParaSpacingBefore ( float pVal ) {
- HRESULT _hr = put_ParaSpacingBefore(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4502)
- inline float VGCore::IVGTextRange::GetParaSpacingAfter ( ) {
- float _result = 0;
- HRESULT _hr = get_ParaSpacingAfter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4503)
- inline void VGCore::IVGTextRange::PutParaSpacingAfter ( float pVal ) {
- HRESULT _hr = put_ParaSpacingAfter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4504)
- inline float VGCore::IVGTextRange::GetCharSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_CharSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4505)
- inline void VGCore::IVGTextRange::PutCharSpacing ( float pVal ) {
- HRESULT _hr = put_CharSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4506)
- inline float VGCore::IVGTextRange::GetLineSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_LineSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4507)
- inline void VGCore::IVGTextRange::PutLineSpacing ( float pVal ) {
- HRESULT _hr = put_LineSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4508)
- inline enum VGCore::cdrLineSpacingType VGCore::IVGTextRange::GetLineSpacingType ( ) {
- enum cdrLineSpacingType _result;
- HRESULT _hr = get_LineSpacingType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4509)
- inline float VGCore::IVGTextRange::GetWordSpacing ( ) {
- float _result = 0;
- HRESULT _hr = get_WordSpacing(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4510)
- inline void VGCore::IVGTextRange::PutWordSpacing ( float pVal ) {
- HRESULT _hr = put_WordSpacing(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4511)
- inline enum VGCore::cdrTriState VGCore::IVGTextRange::GetAutoHyphenate ( ) {
- enum cdrTriState _result;
- HRESULT _hr = get_AutoHyphenate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4512)
- inline void VGCore::IVGTextRange::PutAutoHyphenate ( enum cdrTriState pVal ) {
- HRESULT _hr = put_AutoHyphenate(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4513)
- inline double VGCore::IVGTextRange::GetHyphenHotZone ( ) {
- double _result = 0;
- HRESULT _hr = get_HyphenHotZone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4514)
- inline void VGCore::IVGTextRange::PutHyphenHotZone ( double pVal ) {
- HRESULT _hr = put_HyphenHotZone(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4515)
- inline long VGCore::IVGTextRange::GetHyphenMinCharsBefore ( ) {
- long _result = 0;
- HRESULT _hr = get_HyphenMinCharsBefore(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4516)
- inline void VGCore::IVGTextRange::PutHyphenMinCharsBefore ( long pVal ) {
- HRESULT _hr = put_HyphenMinCharsBefore(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4517)
- inline long VGCore::IVGTextRange::GetHyphenMinCharsAfter ( ) {
- long _result = 0;
- HRESULT _hr = get_HyphenMinCharsAfter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4518)
- inline void VGCore::IVGTextRange::PutHyphenMinCharsAfter ( long pVal ) {
- HRESULT _hr = put_HyphenMinCharsAfter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4519)
- inline long VGCore::IVGTextRange::GetHyphenMinWordLength ( ) {
- long _result = 0;
- HRESULT _hr = get_HyphenMinWordLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4520)
- inline void VGCore::IVGTextRange::PutHyphenMinWordLength ( long pVal ) {
- HRESULT _hr = put_HyphenMinWordLength(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4521)
- inline VARIANT_BOOL VGCore::IVGTextRange::GetHyphenateCapitals ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HyphenateCapitals(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4522)
- inline void VGCore::IVGTextRange::PutHyphenateCapitals ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_HyphenateCapitals(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4523)
- inline HRESULT VGCore::IVGTextRange::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4524)
- inline HRESULT VGCore::IVGTextRange::Select ( ) {
- HRESULT _hr = raw_Select();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4525)
- inline HRESULT VGCore::IVGTextRange::Copy ( ) {
- HRESULT _hr = raw_Copy();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4526)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Paste ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_Paste(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4527)
- inline HRESULT VGCore::IVGTextRange::ChangeCase ( enum cdrTextChangeCase Case ) {
- HRESULT _hr = raw_ChangeCase(Case);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4528)
- inline HRESULT VGCore::IVGTextRange::SetRange ( long Start, long End ) {
- HRESULT _hr = raw_SetRange(Start, End);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4529)
- inline enum VGCore::cdrTextLanguage VGCore::IVGTextRange::GetLanguageID ( ) {
- enum cdrTextLanguage _result;
- HRESULT _hr = get_LanguageID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4530)
- inline void VGCore::IVGTextRange::PutLanguageID ( enum cdrTextLanguage pVal ) {
- HRESULT _hr = put_LanguageID(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4531)
- inline enum VGCore::cdrTextCharSet VGCore::IVGTextRange::GetCharSet ( ) {
- enum cdrTextCharSet _result;
- HRESULT _hr = get_CharSet(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4532)
- inline void VGCore::IVGTextRange::PutCharSet ( enum cdrTextCharSet pVal ) {
- HRESULT _hr = put_CharSet(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4533)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertBefore ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_InsertBefore(Text, LanguageID, CharSet, Font, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4534)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertBeforeWide ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_InsertBeforeWide(Text, LanguageID, CharSet, Font, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4535)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertAfter ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_InsertAfter(Text, LanguageID, CharSet, Font, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4536)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::InsertAfterWide ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_InsertAfterWide(Text, LanguageID, CharSet, Font, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4537)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Replace ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_Replace(Text, LanguageID, CharSet, Font, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4538)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::ReplaceWide ( _bstr_t Text, enum cdrTextLanguage LanguageID, enum cdrTextCharSet CharSet, _bstr_t Font ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_ReplaceWide(Text, LanguageID, CharSet, Font, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4539)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRange::Range ( long Start, long End ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = raw_Range(Start, End, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4540)
- inline HRESULT VGCore::IVGTextRange::SetLineSpacing ( enum cdrLineSpacingType Type, float LineSpacing, float ParaBefore, float ParaAfter ) {
- HRESULT _hr = raw_SetLineSpacing(Type, LineSpacing, ParaBefore, ParaAfter);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4541)
- inline VGCore::IVGTextColumnsPtr VGCore::IVGTextRange::GetColumns ( ) {
- struct IVGTextColumns * _result = 0;
- HRESULT _hr = get_Columns(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextColumnsPtr(_result, false);
- }
- #pragma implementation_key(4542)
- inline VGCore::IVGTextFramesPtr VGCore::IVGTextRange::GetFrames ( ) {
- struct IVGTextFrames * _result = 0;
- HRESULT _hr = get_Frames(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramesPtr(_result, false);
- }
- #pragma implementation_key(4543)
- inline HRESULT VGCore::IVGTextRange::Collapse ( VARIANT_BOOL ToEnd ) {
- HRESULT _hr = raw_Collapse(ToEnd);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4544)
- inline HRESULT VGCore::IVGTextRange::Combine ( struct IVGTextRange * Range ) {
- HRESULT _hr = raw_Combine(Range);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4545)
- inline VARIANT_BOOL VGCore::IVGTextRange::InRange ( struct IVGTextRange * Range ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_InRange(Range, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4546)
- inline VARIANT_BOOL VGCore::IVGTextRange::IsSame ( struct IVGTextRange * Range ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsSame(Range, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4547)
- inline VGCore::IVGFillPtr VGCore::IVGTextRange::GetFill ( ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = get_Fill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(4548)
- inline VGCore::IVGOutlinePtr VGCore::IVGTextRange::GetOutline ( ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = get_Outline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- #pragma implementation_key(4549)
- inline long VGCore::IVGTextRange::GetRangeKerning ( ) {
- long _result = 0;
- HRESULT _hr = get_RangeKerning(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4550)
- inline void VGCore::IVGTextRange::PutRangeKerning ( long pVal ) {
- HRESULT _hr = put_RangeKerning(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4551)
- inline VGCore::IVGTextTabPositionsPtr VGCore::IVGTextRange::GetTabs ( ) {
- struct IVGTextTabPositions * _result = 0;
- HRESULT _hr = get_Tabs(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextTabPositionsPtr(_result, false);
- }
- #pragma implementation_key(4552)
- inline enum VGCore::cdrTextEffect VGCore::IVGTextRange::GetEffect ( ) {
- enum cdrTextEffect _result;
- HRESULT _hr = get_Effect(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4553)
- inline long VGCore::IVGTextRange::GetDropCapLinesDropped ( ) {
- long _result = 0;
- HRESULT _hr = get_DropCapLinesDropped(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4554)
- inline void VGCore::IVGTextRange::PutDropCapLinesDropped ( long pVal ) {
- HRESULT _hr = put_DropCapLinesDropped(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4555)
- inline double VGCore::IVGTextRange::GetDropCapDistanceFromText ( ) {
- double _result = 0;
- HRESULT _hr = get_DropCapDistanceFromText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4556)
- inline void VGCore::IVGTextRange::PutDropCapDistanceFromText ( double pVal ) {
- HRESULT _hr = put_DropCapDistanceFromText(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4557)
- inline VARIANT_BOOL VGCore::IVGTextRange::GetDropCapHangingIndent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DropCapHangingIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4558)
- inline void VGCore::IVGTextRange::PutDropCapHangingIndent ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DropCapHangingIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4559)
- inline _bstr_t VGCore::IVGTextRange::GetBulletFont ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_BulletFont(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4560)
- inline void VGCore::IVGTextRange::PutBulletFont ( _bstr_t pVal ) {
- HRESULT _hr = put_BulletFont(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4561)
- inline _bstr_t VGCore::IVGTextRange::GetBulletSymbol ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_BulletSymbol(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4562)
- inline void VGCore::IVGTextRange::PutBulletSymbol ( _bstr_t pVal ) {
- HRESULT _hr = put_BulletSymbol(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4563)
- inline float VGCore::IVGTextRange::GetBulletSize ( ) {
- float _result = 0;
- HRESULT _hr = get_BulletSize(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4564)
- inline void VGCore::IVGTextRange::PutBulletSize ( float pVal ) {
- HRESULT _hr = put_BulletSize(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4565)
- inline float VGCore::IVGTextRange::GetBulletBaselineShift ( ) {
- float _result = 0;
- HRESULT _hr = get_BulletBaselineShift(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4566)
- inline void VGCore::IVGTextRange::PutBulletBaselineShift ( float pVal ) {
- HRESULT _hr = put_BulletBaselineShift(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4567)
- inline double VGCore::IVGTextRange::GetBulletHorizontalPosition ( ) {
- double _result = 0;
- HRESULT _hr = get_BulletHorizontalPosition(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4568)
- inline void VGCore::IVGTextRange::PutBulletHorizontalPosition ( double pVal ) {
- HRESULT _hr = put_BulletHorizontalPosition(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4569)
- inline VARIANT_BOOL VGCore::IVGTextRange::GetBulletHangingIndent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BulletHangingIndent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4570)
- inline void VGCore::IVGTextRange::PutBulletHangingIndent ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BulletHangingIndent(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4571)
- inline VARIANT_BOOL VGCore::IVGTextRange::GetIsEmpty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsEmpty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4572)
- inline HRESULT VGCore::IVGTextRange::ApplyNoEffect ( ) {
- HRESULT _hr = raw_ApplyNoEffect();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4573)
- inline HRESULT VGCore::IVGTextRange::ApplyBulletEffect ( _bstr_t Symbol, _bstr_t Font, float Size, float BaselineShift, double HorizontalPosition, VARIANT_BOOL HangingIndent ) {
- HRESULT _hr = raw_ApplyBulletEffect(Symbol, Font, Size, BaselineShift, HorizontalPosition, HangingIndent);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4574)
- inline HRESULT VGCore::IVGTextRange::ApplyDropCapEffect ( long LinesDropped, double DistanceFromText, VARIANT_BOOL HangingIndent ) {
- HRESULT _hr = raw_ApplyDropCapEffect(LinesDropped, DistanceFromText, HangingIndent);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4575)
- inline VARIANT_BOOL VGCore::IVGTextRange::GetHyphenateAllCapWords ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HyphenateAllCapWords(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4576)
- inline void VGCore::IVGTextRange::PutHyphenateAllCapWords ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_HyphenateAllCapWords(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4577)
- inline VGCore::IVGTextRangesPtr VGCore::IVGTextRange::EnumRanges ( enum cdrTextPropertySet PropertyFilter ) {
- struct IVGTextRanges * _result = 0;
- HRESULT _hr = raw_EnumRanges(PropertyFilter, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangesPtr(_result, false);
- }
- #pragma implementation_key(4578)
- inline _variant_t VGCore::IVGTextRange::Evaluate ( _bstr_t Expression ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_Evaluate(Expression, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(4579)
- inline VGCore::IVGTextRangesPtr VGCore::IVGTextRange::FindRanges ( _bstr_t Query ) {
- struct IVGTextRanges * _result = 0;
- HRESULT _hr = raw_FindRanges(Query, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangesPtr(_result, false);
- }
- #pragma implementation_key(4580)
- inline VGCore::IVGCurvePtr VGCore::IVGTextRange::GetBaselines ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_Baselines(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(4581)
- inline HRESULT VGCore::IVGTextRange::Straighten ( ) {
- HRESULT _hr = raw_Straighten();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4582)
- inline HRESULT VGCore::IVGTextRange::AlignToBaseline ( ) {
- HRESULT _hr = raw_AlignToBaseline();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4583)
- inline VGCore::IVGCurvePtr VGCore::IVGTextRange::GetTextLineRects ( ) {
- struct IVGCurve * _result = 0;
- HRESULT _hr = get_TextLineRects(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCurvePtr(_result, false);
- }
- #pragma implementation_key(4584)
- inline VGCore::IVGFillPtr VGCore::IVGTextRange::GetCharBackFill ( ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = get_CharBackFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(4585)
- inline HRESULT VGCore::IVGTextRange::CopyAttributes ( struct IVGTextRange * SourceRange ) {
- HRESULT _hr = raw_CopyAttributes(SourceRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4586)
- inline long VGCore::IVGTextRange::GetOpenTypeFeature ( _bstr_t Feature ) {
- long _result = 0;
- HRESULT _hr = raw_GetOpenTypeFeature(Feature, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4587)
- inline HRESULT VGCore::IVGTextRange::SetOpenTypeFeature ( _bstr_t Feature, long State ) {
- HRESULT _hr = raw_SetOpenTypeFeature(Feature, State);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4588)
- inline long VGCore::IVGTextRange::GetTextFormatter ( ) {
- long _result = 0;
- HRESULT _hr = get_TextFormatter(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4589)
- inline void VGCore::IVGTextRange::PutTextFormatter ( long pVal ) {
- HRESULT _hr = put_TextFormatter(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4590)
- inline HRESULT VGCore::IVGTextRange::ApplyStyle ( _bstr_t StyleName ) {
- HRESULT _hr = raw_ApplyStyle(StyleName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4591)
- inline VGCore::IVGStylePtr VGCore::IVGTextRange::GetObjectStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_ObjectStyle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4592)
- inline VGCore::IVGTextIndentLevelStylesPtr VGCore::IVGTextRange::GetIndentLevelStyles ( ) {
- struct IVGTextIndentLevelStyles * _result = 0;
- HRESULT _hr = get_IndentLevelStyles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextIndentLevelStylesPtr(_result, false);
- }
- #pragma implementation_key(4593)
- inline long VGCore::IVGTextRange::GetIndentLevel ( ) {
- long _result = 0;
- HRESULT _hr = get_IndentLevel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4594)
- inline void VGCore::IVGTextRange::PutIndentLevel ( long pVal ) {
- HRESULT _hr = put_IndentLevel(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4595)
- inline VGCore::IVGTextVariableAxesPtr VGCore::IVGTextRange::GetVariableAxes ( ) {
- struct IVGTextVariableAxes * _result = 0;
- HRESULT _hr = get_VariableAxes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextVariableAxesPtr(_result, false);
- }
- //
- // interface IVGTextCharacters wrapper method implementations
- //
- #pragma implementation_key(4596)
- inline IUnknownPtr VGCore::IVGTextCharacters::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4597)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetItem ( long Index, long Count ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Item(Index, Count, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4598)
- inline long VGCore::IVGTextCharacters::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4599)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetAll ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4600)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetFirst ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4601)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextCharacters::GetLast ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- //
- // interface IVGTextWords wrapper method implementations
- //
- #pragma implementation_key(4602)
- inline IUnknownPtr VGCore::IVGTextWords::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4603)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetItem ( long Index, long Count ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Item(Index, Count, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4604)
- inline long VGCore::IVGTextWords::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4605)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetAll ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4606)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetFirst ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4607)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextWords::GetLast ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- //
- // interface IVGTextLines wrapper method implementations
- //
- #pragma implementation_key(4608)
- inline IUnknownPtr VGCore::IVGTextLines::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4609)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetItem ( long Index, long Count ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Item(Index, Count, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4610)
- inline long VGCore::IVGTextLines::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4611)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetAll ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4612)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetFirst ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4613)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextLines::GetLast ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- //
- // interface IVGTextParagraphs wrapper method implementations
- //
- #pragma implementation_key(4614)
- inline IUnknownPtr VGCore::IVGTextParagraphs::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4615)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetItem ( long Index, long Count ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Item(Index, Count, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4616)
- inline long VGCore::IVGTextParagraphs::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4617)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetAll ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4618)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetFirst ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4619)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextParagraphs::GetLast ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- //
- // interface IVGTextColumns wrapper method implementations
- //
- #pragma implementation_key(4620)
- inline IUnknownPtr VGCore::IVGTextColumns::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4621)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetItem ( long Index, long Count ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Item(Index, Count, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4622)
- inline long VGCore::IVGTextColumns::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4623)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetAll ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4624)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetFirst ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4625)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextColumns::GetLast ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- //
- // interface IVGTextFrame wrapper method implementations
- //
- #pragma implementation_key(4626)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextFrame::GetRange ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Range(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4627)
- inline VGCore::IVGTextFramePtr VGCore::IVGTextFrame::GetPrevious ( ) {
- struct IVGTextFrame * _result = 0;
- HRESULT _hr = get_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramePtr(_result, false);
- }
- #pragma implementation_key(4628)
- inline VGCore::IVGTextFramePtr VGCore::IVGTextFrame::GetNext ( ) {
- struct IVGTextFrame * _result = 0;
- HRESULT _hr = get_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramePtr(_result, false);
- }
- #pragma implementation_key(4629)
- inline long VGCore::IVGTextFrame::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4630)
- inline VARIANT_BOOL VGCore::IVGTextFrame::GetEmpty ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Empty(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4631)
- inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsFirst ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsFirst(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4632)
- inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsLast ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsLast(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4633)
- inline enum VGCore::cdrVerticalAlignment VGCore::IVGTextFrame::GetVerticalAlignment ( ) {
- enum cdrVerticalAlignment _result;
- HRESULT _hr = get_VerticalAlignment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4634)
- inline void VGCore::IVGTextFrame::PutVerticalAlignment ( enum cdrVerticalAlignment pVal ) {
- HRESULT _hr = put_VerticalAlignment(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4635)
- inline VARIANT_BOOL VGCore::IVGTextFrame::GetMulticolumn ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Multicolumn(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4636)
- inline long VGCore::IVGTextFrame::GetColumnCount ( ) {
- long _result = 0;
- HRESULT _hr = get_ColumnCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4637)
- inline double VGCore::IVGTextFrame::GetColumnWidth ( long Index ) {
- double _result = 0;
- HRESULT _hr = get_ColumnWidth(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4638)
- inline double VGCore::IVGTextFrame::GetColumnGutter ( long Index ) {
- double _result = 0;
- HRESULT _hr = get_ColumnGutter(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4639)
- inline HRESULT VGCore::IVGTextFrame::SetColumns ( long NumColumns, VARIANT_BOOL EqualColumns, SAFEARRAY * * WidthsAndGutters ) {
- HRESULT _hr = raw_SetColumns(NumColumns, EqualColumns, WidthsAndGutters);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4640)
- inline HRESULT VGCore::IVGTextFrame::LinkTo ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_LinkTo(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4641)
- inline HRESULT VGCore::IVGTextFrame::UnLink ( ) {
- HRESULT _hr = raw_UnLink();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4642)
- inline VGCore::IVGShapePtr VGCore::IVGTextFrame::GetContainer ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Container(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4643)
- inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsInsideContainer ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsInsideContainer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4644)
- inline VARIANT_BOOL VGCore::IVGTextFrame::GetIsFittedToPath ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsFittedToPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4645)
- inline VGCore::IVGShapePtr VGCore::IVGTextFrame::GetPath ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Path(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4646)
- inline VGCore::IVGShapePtr VGCore::IVGTextFrame::GetFrameShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_FrameShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4647)
- inline VGCore::IVGFillPtr VGCore::IVGTextFrame::GetFill ( ) {
- struct IVGFill * _result = 0;
- HRESULT _hr = get_Fill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGFillPtr(_result, false);
- }
- #pragma implementation_key(4648)
- inline void VGCore::IVGTextFrame::PutFill ( struct IVGFill * ppVal ) {
- HRESULT _hr = put_Fill(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4649)
- inline VGCore::IVGOutlinePtr VGCore::IVGTextFrame::GetOutline ( ) {
- struct IVGOutline * _result = 0;
- HRESULT _hr = get_Outline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGOutlinePtr(_result, false);
- }
- #pragma implementation_key(4650)
- inline void VGCore::IVGTextFrame::PutOutline ( struct IVGOutline * ppVal ) {
- HRESULT _hr = put_Outline(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGTextFrames wrapper method implementations
- //
- #pragma implementation_key(4651)
- inline IUnknownPtr VGCore::IVGTextFrames::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4652)
- inline VGCore::IVGTextFramePtr VGCore::IVGTextFrames::GetItem ( long Index ) {
- struct IVGTextFrame * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramePtr(_result, false);
- }
- #pragma implementation_key(4653)
- inline long VGCore::IVGTextFrames::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4654)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextFrames::GetRange ( long Index, long Count ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Range(Index, Count, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4655)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextFrames::GetAll ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_All(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4656)
- inline VGCore::IVGTextFramePtr VGCore::IVGTextFrames::GetFirst ( ) {
- struct IVGTextFrame * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramePtr(_result, false);
- }
- #pragma implementation_key(4657)
- inline VGCore::IVGTextFramePtr VGCore::IVGTextFrames::GetLast ( ) {
- struct IVGTextFrame * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextFramePtr(_result, false);
- }
- //
- // interface IVGTextRanges wrapper method implementations
- //
- #pragma implementation_key(4658)
- inline IUnknownPtr VGCore::IVGTextRanges::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4659)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRanges::GetItem ( long Index ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4660)
- inline long VGCore::IVGTextRanges::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4661)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRanges::GetFirst ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4662)
- inline VGCore::IVGTextRangePtr VGCore::IVGTextRanges::GetLast ( ) {
- struct IVGTextRange * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangePtr(_result, false);
- }
- #pragma implementation_key(4663)
- inline VGCore::IVGTextRangesPtr VGCore::IVGTextRanges::Reverse ( ) {
- struct IVGTextRanges * _result = 0;
- HRESULT _hr = raw_Reverse(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTextRangesPtr(_result, false);
- }
- //
- // interface IVGStyle wrapper method implementations
- //
- #pragma implementation_key(4664)
- inline _bstr_t VGCore::IVGStyle::GetCategoryName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_CategoryName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4665)
- inline SAFEARRAY * VGCore::IVGStyle::GetAllPropertyNames ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetAllPropertyNames(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4666)
- inline SAFEARRAY * VGCore::IVGStyle::GetOverridePropertyNames ( ) {
- SAFEARRAY * _result = 0;
- HRESULT _hr = raw_GetOverridePropertyNames(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4667)
- inline VARIANT_BOOL VGCore::IVGStyle::IsPropertyInherited ( _bstr_t Name ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsPropertyInherited(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4668)
- inline _variant_t VGCore::IVGStyle::GetProperty ( _bstr_t Name ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_GetProperty(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(4669)
- inline HRESULT VGCore::IVGStyle::SetProperty ( _bstr_t Name, const _variant_t & Value ) {
- HRESULT _hr = raw_SetProperty(Name, Value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4670)
- inline VARIANT_BOOL VGCore::IVGStyle::ClearProperty ( _bstr_t Name ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_ClearProperty(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4671)
- inline VGCore::IVGStyleOutlinePtr VGCore::IVGStyle::GetOutline ( ) {
- struct IVGStyleOutline * _result = 0;
- HRESULT _hr = get_Outline(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleOutlinePtr(_result, false);
- }
- #pragma implementation_key(4672)
- inline VGCore::IVGStyleFillPtr VGCore::IVGStyle::GetFill ( ) {
- struct IVGStyleFill * _result = 0;
- HRESULT _hr = get_Fill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleFillPtr(_result, false);
- }
- #pragma implementation_key(4673)
- inline VGCore::IVGStyleCharacterPtr VGCore::IVGStyle::GetCharacter ( ) {
- struct IVGStyleCharacter * _result = 0;
- HRESULT _hr = get_Character(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleCharacterPtr(_result, false);
- }
- #pragma implementation_key(4674)
- inline VGCore::IVGStyleParagraphPtr VGCore::IVGStyle::GetParagraph ( ) {
- struct IVGStyleParagraph * _result = 0;
- HRESULT _hr = get_Paragraph(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleParagraphPtr(_result, false);
- }
- #pragma implementation_key(4675)
- inline VGCore::IVGStyleFramePtr VGCore::IVGStyle::GetFrame ( ) {
- struct IVGStyleFrame * _result = 0;
- HRESULT _hr = get_Frame(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleFramePtr(_result, false);
- }
- #pragma implementation_key(4676)
- inline _bstr_t VGCore::IVGStyle::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4677)
- inline _bstr_t VGCore::IVGStyle::GetDisplayName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DisplayName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4678)
- inline VARIANT_BOOL VGCore::IVGStyle::GetIsStyleSet ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsStyleSet(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4679)
- inline VARIANT_BOOL VGCore::IVGStyle::GetIsObjectDefaults ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsObjectDefaults(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4680)
- inline _bstr_t VGCore::IVGStyle::GetDisplayCategoryName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DisplayCategoryName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4681)
- inline VGCore::IVGStylePtr VGCore::IVGStyle::GetBasedOn ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_BasedOn(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4682)
- inline VGCore::IVGStylesPtr VGCore::IVGStyle::GetDerivedStyles ( ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = get_DerivedStyles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4683)
- inline _bstr_t VGCore::IVGStyle::ToString ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_ToString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4684)
- inline VARIANT_BOOL VGCore::IVGStyle::StringAssign ( _bstr_t StyleString ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_StringAssign(StyleString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4685)
- inline _bstr_t VGCore::IVGStyle::GetPropertyAsString ( _bstr_t Name ) {
- BSTR _result = 0;
- HRESULT _hr = raw_GetPropertyAsString(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4686)
- inline VARIANT_BOOL VGCore::IVGStyle::SetPropertyAsString ( _bstr_t Name, _bstr_t Value ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_SetPropertyAsString(Name, Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4687)
- inline VARIANT_BOOL VGCore::IVGStyle::Rename ( _bstr_t NewName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Rename(NewName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4688)
- inline VARIANT_BOOL VGCore::IVGStyle::SetBasedOn ( _bstr_t NewParent ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_SetBasedOn(NewParent, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4689)
- inline VARIANT_BOOL VGCore::IVGStyle::Delete ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Delete(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4690)
- inline HRESULT VGCore::IVGStyle::Assign ( struct IVGStyle * pVal ) {
- HRESULT _hr = raw_Assign(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4691)
- inline VGCore::IVGStylePtr VGCore::IVGStyle::GetCopy ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4692)
- inline VGCore::IVGStyleTransparencyPtr VGCore::IVGStyle::GetTransparency ( ) {
- struct IVGStyleTransparency * _result = 0;
- HRESULT _hr = get_Transparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleTransparencyPtr(_result, false);
- }
- //
- // interface IVGStyleOutline wrapper method implementations
- //
- #pragma implementation_key(4693)
- inline VGCore::IVGStylePtr VGCore::IVGStyleOutline::GetStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4694)
- inline enum VGCore::cdrOutlineType VGCore::IVGStyleOutline::GetType ( ) {
- enum cdrOutlineType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4695)
- inline void VGCore::IVGStyleOutline::PutType ( enum cdrOutlineType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4696)
- inline VARIANT_BOOL VGCore::IVGStyleOutline::GetOverprint ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Overprint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4697)
- inline void VGCore::IVGStyleOutline::PutOverprint ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Overprint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4698)
- inline VARIANT_BOOL VGCore::IVGStyleOutline::GetBehindFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BehindFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4699)
- inline void VGCore::IVGStyleOutline::PutBehindFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_BehindFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4700)
- inline VARIANT_BOOL VGCore::IVGStyleOutline::GetScaleWithShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ScaleWithShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4701)
- inline void VGCore::IVGStyleOutline::PutScaleWithShape ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ScaleWithShape(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4702)
- inline double VGCore::IVGStyleOutline::GetWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4703)
- inline void VGCore::IVGStyleOutline::PutWidth ( double pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4704)
- inline VGCore::IVGColorPtr VGCore::IVGStyleOutline::GetColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_Color(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4705)
- inline void VGCore::IVGStyleOutline::PutColor ( struct IVGColor * ppVal ) {
- HRESULT _hr = put_Color(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4706)
- inline VARIANT_BOOL VGCore::IVGStyleOutline::GetOverlapArrow ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_OverlapArrow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4707)
- inline void VGCore::IVGStyleOutline::PutOverlapArrow ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_OverlapArrow(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4708)
- inline VARIANT_BOOL VGCore::IVGStyleOutline::GetShareArrow ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShareArrow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4709)
- inline void VGCore::IVGStyleOutline::PutShareArrow ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShareArrow(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4710)
- inline double VGCore::IVGStyleOutline::GetMiterLimit ( ) {
- double _result = 0;
- HRESULT _hr = get_MiterLimit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4711)
- inline void VGCore::IVGStyleOutline::PutMiterLimit ( double pVal ) {
- HRESULT _hr = put_MiterLimit(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4712)
- inline long VGCore::IVGStyleOutline::GetNibStretch ( ) {
- long _result = 0;
- HRESULT _hr = get_NibStretch(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4713)
- inline void VGCore::IVGStyleOutline::PutNibStretch ( long pVal ) {
- HRESULT _hr = put_NibStretch(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4714)
- inline double VGCore::IVGStyleOutline::GetNibAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_NibAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4715)
- inline void VGCore::IVGStyleOutline::PutNibAngle ( double pVal ) {
- HRESULT _hr = put_NibAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4716)
- inline double VGCore::IVGStyleOutline::GetWidelineWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_WidelineWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4717)
- inline void VGCore::IVGStyleOutline::PutWidelineWidth ( double pVal ) {
- HRESULT _hr = put_WidelineWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4718)
- inline enum VGCore::cdrOutlineLineCaps VGCore::IVGStyleOutline::GetLineCaps ( ) {
- enum cdrOutlineLineCaps _result;
- HRESULT _hr = get_LineCaps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4719)
- inline void VGCore::IVGStyleOutline::PutLineCaps ( enum cdrOutlineLineCaps pVal ) {
- HRESULT _hr = put_LineCaps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4720)
- inline enum VGCore::cdrOutlineLineJoin VGCore::IVGStyleOutline::GetLineJoin ( ) {
- enum cdrOutlineLineJoin _result;
- HRESULT _hr = get_LineJoin(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4721)
- inline void VGCore::IVGStyleOutline::PutLineJoin ( enum cdrOutlineLineJoin pVal ) {
- HRESULT _hr = put_LineJoin(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4722)
- inline enum VGCore::cdrOutlineJustification VGCore::IVGStyleOutline::GetJustification ( ) {
- enum cdrOutlineJustification _result;
- HRESULT _hr = get_Justification(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4723)
- inline void VGCore::IVGStyleOutline::PutJustification ( enum cdrOutlineJustification pVal ) {
- HRESULT _hr = put_Justification(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4724)
- inline enum VGCore::cdrOutlineDashAdjust VGCore::IVGStyleOutline::GetAdjustDashes ( ) {
- enum cdrOutlineDashAdjust _result;
- HRESULT _hr = get_AdjustDashes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4725)
- inline void VGCore::IVGStyleOutline::PutAdjustDashes ( enum cdrOutlineDashAdjust pVal ) {
- HRESULT _hr = put_AdjustDashes(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGStyleFill wrapper method implementations
- //
- #pragma implementation_key(4726)
- inline VGCore::IVGStylePtr VGCore::IVGStyleFill::GetStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4727)
- inline enum VGCore::cdrFillStyleType VGCore::IVGStyleFill::GetType ( ) {
- enum cdrFillStyleType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4728)
- inline void VGCore::IVGStyleFill::PutType ( enum cdrFillStyleType pVal ) {
- HRESULT _hr = put_Type(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4729)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetOverprint ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Overprint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4730)
- inline void VGCore::IVGStyleFill::PutOverprint ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_Overprint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4731)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetWindingFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_WindingFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4732)
- inline void VGCore::IVGStyleFill::PutWindingFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_WindingFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4733)
- inline enum VGCore::cdrFountainFillType VGCore::IVGStyleFill::GetFountainFillType ( ) {
- enum cdrFountainFillType _result;
- HRESULT _hr = get_FountainFillType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4734)
- inline void VGCore::IVGStyleFill::PutFountainFillType ( enum cdrFountainFillType pVal ) {
- HRESULT _hr = put_FountainFillType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4735)
- inline long VGCore::IVGStyleFill::GetEdgePad ( ) {
- long _result = 0;
- HRESULT _hr = get_EdgePad(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4736)
- inline void VGCore::IVGStyleFill::PutEdgePad ( long pVal ) {
- HRESULT _hr = put_EdgePad(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4737)
- inline long VGCore::IVGStyleFill::GetFountainCenterOffsetX ( ) {
- long _result = 0;
- HRESULT _hr = get_FountainCenterOffsetX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4738)
- inline void VGCore::IVGStyleFill::PutFountainCenterOffsetX ( long pVal ) {
- HRESULT _hr = put_FountainCenterOffsetX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4739)
- inline long VGCore::IVGStyleFill::GetFountainCenterOffsetY ( ) {
- long _result = 0;
- HRESULT _hr = get_FountainCenterOffsetY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4740)
- inline void VGCore::IVGStyleFill::PutFountainCenterOffsetY ( long pVal ) {
- HRESULT _hr = put_FountainCenterOffsetY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4741)
- inline long VGCore::IVGStyleFill::GetFountainSteps ( ) {
- long _result = 0;
- HRESULT _hr = get_FountainSteps(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4742)
- inline void VGCore::IVGStyleFill::PutFountainSteps ( long pVal ) {
- HRESULT _hr = put_FountainSteps(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4743)
- inline enum VGCore::cdrFountainFillBlendType VGCore::IVGStyleFill::GetFountainBlendType ( ) {
- enum cdrFountainFillBlendType _result;
- HRESULT _hr = get_FountainBlendType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4744)
- inline void VGCore::IVGStyleFill::PutFountainBlendType ( enum cdrFountainFillBlendType pVal ) {
- HRESULT _hr = put_FountainBlendType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4745)
- inline long VGCore::IVGStyleFill::GetMidPoint ( ) {
- long _result = 0;
- HRESULT _hr = get_MidPoint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4746)
- inline void VGCore::IVGStyleFill::PutMidPoint ( long pVal ) {
- HRESULT _hr = put_MidPoint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4747)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetFlipColors ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FlipColors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4748)
- inline void VGCore::IVGStyleFill::PutFlipColors ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FlipColors(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4749)
- inline _bstr_t VGCore::IVGStyleFill::GetPostScriptName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PostScriptName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4750)
- inline void VGCore::IVGStyleFill::PutPostScriptName ( _bstr_t pVal ) {
- HRESULT _hr = put_PostScriptName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4751)
- inline double VGCore::IVGStyleFill::GetTileWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_TileWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4752)
- inline void VGCore::IVGStyleFill::PutTileWidth ( double pVal ) {
- HRESULT _hr = put_TileWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4753)
- inline double VGCore::IVGStyleFill::GetTileHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_TileHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4754)
- inline void VGCore::IVGStyleFill::PutTileHeight ( double pVal ) {
- HRESULT _hr = put_TileHeight(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4755)
- inline double VGCore::IVGStyleFill::GetTileOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_TileOriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4756)
- inline void VGCore::IVGStyleFill::PutTileOriginX ( double pVal ) {
- HRESULT _hr = put_TileOriginX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4757)
- inline double VGCore::IVGStyleFill::GetTileOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_TileOriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4758)
- inline void VGCore::IVGStyleFill::PutTileOriginY ( double pVal ) {
- HRESULT _hr = put_TileOriginY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4759)
- inline enum VGCore::cdrTileOffsetType VGCore::IVGStyleFill::GetTileOffsetType ( ) {
- enum cdrTileOffsetType _result;
- HRESULT _hr = get_TileOffsetType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4760)
- inline void VGCore::IVGStyleFill::PutTileOffsetType ( enum cdrTileOffsetType pVal ) {
- HRESULT _hr = put_TileOffsetType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4761)
- inline long VGCore::IVGStyleFill::GetTileOffset ( ) {
- long _result = 0;
- HRESULT _hr = get_TileOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4762)
- inline void VGCore::IVGStyleFill::PutTileOffset ( long pVal ) {
- HRESULT _hr = put_TileOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4763)
- inline double VGCore::IVGStyleFill::GetRotationAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_RotationAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4764)
- inline void VGCore::IVGStyleFill::PutRotationAngle ( double pVal ) {
- HRESULT _hr = put_RotationAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4765)
- inline double VGCore::IVGStyleFill::GetSkewAngle ( ) {
- double _result = 0;
- HRESULT _hr = get_SkewAngle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4766)
- inline void VGCore::IVGStyleFill::PutSkewAngle ( double pVal ) {
- HRESULT _hr = put_SkewAngle(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4767)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetMirrorFill ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4768)
- inline void VGCore::IVGStyleFill::PutMirrorFill ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFill(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4769)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetTransformWithShape ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_TransformWithShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4770)
- inline void VGCore::IVGStyleFill::PutTransformWithShape ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_TransformWithShape(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4771)
- inline VGCore::IVGColorPtr VGCore::IVGStyleFill::GetPrimaryColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_PrimaryColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4772)
- inline VGCore::IVGColorPtr VGCore::IVGStyleFill::GetSecondaryColor ( ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = get_SecondaryColor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4773)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetMirrorFillX ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFillX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4774)
- inline void VGCore::IVGStyleFill::PutMirrorFillX ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFillX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4775)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetMirrorFillY ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_MirrorFillY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4776)
- inline void VGCore::IVGStyleFill::PutMirrorFillY ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_MirrorFillY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4777)
- inline double VGCore::IVGStyleFill::GetFountainCenterXOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_FountainCenterXOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4778)
- inline void VGCore::IVGStyleFill::PutFountainCenterXOffset ( double pVal ) {
- HRESULT _hr = put_FountainCenterXOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4779)
- inline double VGCore::IVGStyleFill::GetFountainCenterYOffset ( ) {
- double _result = 0;
- HRESULT _hr = get_FountainCenterYOffset(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4780)
- inline void VGCore::IVGStyleFill::PutFountainCenterYOffset ( double pVal ) {
- HRESULT _hr = put_FountainCenterYOffset(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4781)
- inline double VGCore::IVGStyleFill::GetFountainBlendAcceleration ( ) {
- double _result = 0;
- HRESULT _hr = get_FountainBlendAcceleration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4782)
- inline void VGCore::IVGStyleFill::PutFountainBlendAcceleration ( double pVal ) {
- HRESULT _hr = put_FountainBlendAcceleration(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4783)
- inline double VGCore::IVGStyleFill::GetFountainScaleX ( ) {
- double _result = 0;
- HRESULT _hr = get_FountainScaleX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4784)
- inline void VGCore::IVGStyleFill::PutFountainScaleX ( double pVal ) {
- HRESULT _hr = put_FountainScaleX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4785)
- inline double VGCore::IVGStyleFill::GetFountainScaleY ( ) {
- double _result = 0;
- HRESULT _hr = get_FountainScaleY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4786)
- inline void VGCore::IVGStyleFill::PutFountainScaleY ( double pVal ) {
- HRESULT _hr = put_FountainScaleY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4787)
- inline VARIANT_BOOL VGCore::IVGStyleFill::GetFountainAnisotropic ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FountainAnisotropic(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4788)
- inline void VGCore::IVGStyleFill::PutFountainAnisotropic ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_FountainAnisotropic(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4789)
- inline enum VGCore::cdrFountainFillSpreadMethod VGCore::IVGStyleFill::GetFountainSpreadMethod ( ) {
- enum cdrFountainFillSpreadMethod _result;
- HRESULT _hr = get_FountainSpreadMethod(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4790)
- inline void VGCore::IVGStyleFill::PutFountainSpreadMethod ( enum cdrFountainFillSpreadMethod pVal ) {
- HRESULT _hr = put_FountainSpreadMethod(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4791)
- inline unsigned char VGCore::IVGStyleFill::GetPrimaryOpacity ( ) {
- unsigned char _result = 0;
- HRESULT _hr = get_PrimaryOpacity(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4792)
- inline void VGCore::IVGStyleFill::PutPrimaryOpacity ( unsigned char pVal ) {
- HRESULT _hr = put_PrimaryOpacity(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4793)
- inline unsigned char VGCore::IVGStyleFill::GetSecondaryOpacity ( ) {
- unsigned char _result = 0;
- HRESULT _hr = get_SecondaryOpacity(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4794)
- inline void VGCore::IVGStyleFill::PutSecondaryOpacity ( unsigned char pVal ) {
- HRESULT _hr = put_SecondaryOpacity(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4795)
- inline enum VGCore::cdrMergeMode VGCore::IVGStyleFill::GetMergeMode ( ) {
- enum cdrMergeMode _result;
- HRESULT _hr = get_MergeMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4796)
- inline void VGCore::IVGStyleFill::PutMergeMode ( enum cdrMergeMode pVal ) {
- HRESULT _hr = put_MergeMode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4797)
- inline VARIANT_BOOL VGCore::IVGStyleFill::SaveFill ( _bstr_t FileName, struct IVGFillMetadata * Metadata ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_SaveFill(FileName, Metadata, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4798)
- inline VARIANT_BOOL VGCore::IVGStyleFill::LoadFill ( _bstr_t FileName, struct IVGFillMetadata * * Metadata ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_LoadFill(FileName, Metadata, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGStyleCharacter wrapper method implementations
- //
- #pragma implementation_key(4799)
- inline VGCore::IVGStylePtr VGCore::IVGStyleCharacter::GetStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- //
- // interface IVGStyleParagraph wrapper method implementations
- //
- #pragma implementation_key(4800)
- inline VGCore::IVGStylePtr VGCore::IVGStyleParagraph::GetStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- //
- // interface IVGStyleFrame wrapper method implementations
- //
- #pragma implementation_key(4801)
- inline VGCore::IVGStylePtr VGCore::IVGStyleFrame::GetStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- //
- // interface IVGStyles wrapper method implementations
- //
- #pragma implementation_key(4802)
- inline long VGCore::IVGStyles::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4803)
- inline VGCore::IVGStylePtr VGCore::IVGStyles::GetItem ( long Index ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4804)
- inline IUnknownPtr VGCore::IVGStyles::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4805)
- inline VGCore::IVGStylePtr VGCore::IVGStyles::Find ( _bstr_t Name ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = raw_Find(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4806)
- inline VGCore::IVGStylePtr VGCore::IVGStyles::GetFirst ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4807)
- inline VGCore::IVGStylePtr VGCore::IVGStyles::GetLast ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- //
- // interface IVGStyleTransparency wrapper method implementations
- //
- #pragma implementation_key(4808)
- inline VGCore::IVGStylePtr VGCore::IVGStyleTransparency::GetStyle ( ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = get_Style(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4809)
- inline VGCore::IVGStyleFillPtr VGCore::IVGStyleTransparency::GetFill ( ) {
- struct IVGStyleFill * _result = 0;
- HRESULT _hr = get_Fill(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStyleFillPtr(_result, false);
- }
- #pragma implementation_key(4810)
- inline enum VGCore::cdrMergeMode VGCore::IVGStyleTransparency::GetMode ( ) {
- enum cdrMergeMode _result;
- HRESULT _hr = get_Mode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4811)
- inline void VGCore::IVGStyleTransparency::PutMode ( enum cdrMergeMode pVal ) {
- HRESULT _hr = put_Mode(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4812)
- inline double VGCore::IVGStyleTransparency::GetUniformTransparency ( ) {
- double _result = 0;
- HRESULT _hr = get_UniformTransparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4813)
- inline void VGCore::IVGStyleTransparency::PutUniformTransparency ( double pVal ) {
- HRESULT _hr = put_UniformTransparency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4814)
- inline double VGCore::IVGStyleTransparency::GetWhiteTransparency ( ) {
- double _result = 0;
- HRESULT _hr = get_WhiteTransparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4815)
- inline void VGCore::IVGStyleTransparency::PutWhiteTransparency ( double pVal ) {
- HRESULT _hr = put_WhiteTransparency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4816)
- inline double VGCore::IVGStyleTransparency::GetBlackTransparency ( ) {
- double _result = 0;
- HRESULT _hr = get_BlackTransparency(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4817)
- inline void VGCore::IVGStyleTransparency::PutBlackTransparency ( double pVal ) {
- HRESULT _hr = put_BlackTransparency(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4818)
- inline enum VGCore::cdrTransparencyAppliedTo VGCore::IVGStyleTransparency::GetAppliesTo ( ) {
- enum cdrTransparencyAppliedTo _result;
- HRESULT _hr = get_AppliesTo(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4819)
- inline void VGCore::IVGStyleTransparency::PutAppliesTo ( enum cdrTransparencyAppliedTo pVal ) {
- HRESULT _hr = put_AppliesTo(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGToolShape wrapper method implementations
- //
- #pragma implementation_key(4820)
- inline HRESULT VGCore::IVGToolShape::OnGenerateShape ( struct IVGLayer * Parent, struct IVGProperties * ObjectProperties, struct IVGStyle * pStyleAttributes, struct IVGTransformMatrix * pTransformation, VARIANT_BOOL IsPreviewOnly ) {
- HRESULT _hr = raw_OnGenerateShape(Parent, ObjectProperties, pStyleAttributes, pTransformation, IsPreviewOnly);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGStyleSheet wrapper method implementations
- //
- #pragma implementation_key(4821)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetStyles ( ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = get_Styles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4822)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetStyleSets ( ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = get_StyleSets(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4823)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetObjectDefaults ( ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = get_ObjectDefaults(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4824)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetAllStyles ( ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = get_AllStyles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4825)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::GetAllStyleSets ( ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = get_AllStyleSets(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4826)
- inline VGCore::IVGStylePtr VGCore::IVGStyleSheet::FindStyle ( _bstr_t Name ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = raw_FindStyle(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4827)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleFromShape ( struct IVGShape * Shape, _bstr_t Category, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = raw_CreateStyleFromShape(Shape, Category, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4828)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleFromShapeRange ( struct IVGShapeRange * ShapeRange, _bstr_t Category, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = raw_CreateStyleFromShapeRange(ShapeRange, Category, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4829)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleFromTextRange ( struct IVGTextRange * TextRange, _bstr_t Category, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = raw_CreateStyleFromTextRange(TextRange, Category, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4830)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleSetFromShape ( struct IVGShape * Shape, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = raw_CreateStyleSetFromShape(Shape, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4831)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleSetFromShapeRange ( struct IVGShapeRange * ShapeRange, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = raw_CreateStyleSetFromShapeRange(ShapeRange, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4832)
- inline VGCore::IVGStylesPtr VGCore::IVGStyleSheet::CreateStyleSetFromTextRange ( struct IVGTextRange * TextRange, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyles * _result = 0;
- HRESULT _hr = raw_CreateStyleSetFromTextRange(TextRange, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylesPtr(_result, false);
- }
- #pragma implementation_key(4833)
- inline VGCore::IVGStylePtr VGCore::IVGStyleSheet::CreateStyle ( _bstr_t Category, _bstr_t BasedOn, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = raw_CreateStyle(Category, BasedOn, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4834)
- inline VGCore::IVGStylePtr VGCore::IVGStyleSheet::CreateStyleSet ( _bstr_t BasedOn, _bstr_t Name, VARIANT_BOOL ReplaceExisting ) {
- struct IVGStyle * _result = 0;
- HRESULT _hr = raw_CreateStyleSet(BasedOn, Name, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGStylePtr(_result, false);
- }
- #pragma implementation_key(4835)
- inline VARIANT_BOOL VGCore::IVGStyleSheet::Export ( _bstr_t FileName, VARIANT_BOOL Styles, VARIANT_BOOL StyleSets, VARIANT_BOOL ObjectDefaults, VARIANT_BOOL ColorStyles ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Export(FileName, Styles, StyleSets, ObjectDefaults, ColorStyles, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4836)
- inline VARIANT_BOOL VGCore::IVGStyleSheet::Import ( _bstr_t FileName, VARIANT_BOOL MergeStyles, VARIANT_BOOL Styles, VARIANT_BOOL StyleSets, VARIANT_BOOL ObjectDefaults, VARIANT_BOOL ColorStyles ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_Import(FileName, MergeStyles, Styles, StyleSets, ObjectDefaults, ColorStyles, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4837)
- inline VGCore::IVGColorsPtr VGCore::IVGStyleSheet::GetAllColorStyles ( ) {
- struct IVGColors * _result = 0;
- HRESULT _hr = get_AllColorStyles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorsPtr(_result, false);
- }
- #pragma implementation_key(4838)
- inline VGCore::IVGColorPtr VGCore::IVGStyleSheet::CreateColorStyle ( _bstr_t Name, struct IVGColor * Color, long HarmonyIndex, long IndexInHarmony, VARIANT_BOOL ReplaceExisting ) {
- struct IVGColor * _result = 0;
- HRESULT _hr = raw_CreateColorStyle(Name, Color, HarmonyIndex, IndexInHarmony, ReplaceExisting, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGColorPtr(_result, false);
- }
- #pragma implementation_key(4839)
- inline HRESULT VGCore::IVGStyleSheet::DeleteAllColorStyles ( ) {
- HRESULT _hr = raw_DeleteAllColorStyles();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4840)
- inline HRESULT VGCore::IVGStyleSheet::DeleteColorStyle ( _bstr_t Name ) {
- HRESULT _hr = raw_DeleteColorStyle(Name);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4841)
- inline HRESULT VGCore::IVGStyleSheet::RenameColorStyle ( _bstr_t OldName, _bstr_t NewName ) {
- HRESULT _hr = raw_RenameColorStyle(OldName, NewName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGDataItems wrapper method implementations
- //
- #pragma implementation_key(4842)
- inline VGCore::IVGApplicationPtr VGCore::IVGDataItems::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4843)
- inline VGCore::IVGShapePtr VGCore::IVGDataItems::GetParent ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4844)
- inline long VGCore::IVGDataItems::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4845)
- inline VGCore::IVGDataItemPtr VGCore::IVGDataItems::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGDataItem * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataItemPtr(_result, false);
- }
- #pragma implementation_key(4846)
- inline IUnknownPtr VGCore::IVGDataItems::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4847)
- inline VGCore::IVGDataItemPtr VGCore::IVGDataItems::Add ( struct IVGDataField * DataField, const _variant_t & Value ) {
- struct IVGDataItem * _result = 0;
- HRESULT _hr = raw_Add(DataField, Value, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataItemPtr(_result, false);
- }
- #pragma implementation_key(4848)
- inline HRESULT VGCore::IVGDataItems::CopyFrom ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_CopyFrom(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4849)
- inline HRESULT VGCore::IVGDataItems::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGDataItem wrapper method implementations
- //
- #pragma implementation_key(4850)
- inline VGCore::IVGApplicationPtr VGCore::IVGDataItem::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4851)
- inline VGCore::IVGDataItemsPtr VGCore::IVGDataItem::GetParent ( ) {
- struct IVGDataItems * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataItemsPtr(_result, false);
- }
- #pragma implementation_key(4852)
- inline _variant_t VGCore::IVGDataItem::GetValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_Value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- #pragma implementation_key(4853)
- inline void VGCore::IVGDataItem::PutValue ( const _variant_t & pVal ) {
- HRESULT _hr = put_Value(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4854)
- inline VGCore::IVGDataFieldPtr VGCore::IVGDataItem::GetDataField ( ) {
- struct IVGDataField * _result = 0;
- HRESULT _hr = get_DataField(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataFieldPtr(_result, false);
- }
- #pragma implementation_key(4855)
- inline HRESULT VGCore::IVGDataItem::Clear ( ) {
- HRESULT _hr = raw_Clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4856)
- inline _bstr_t VGCore::IVGDataItem::GetFormattedValue ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FormattedValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVGDataField wrapper method implementations
- //
- #pragma implementation_key(4857)
- inline VGCore::IVGApplicationPtr VGCore::IVGDataField::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4858)
- inline VGCore::IVGDataFieldsPtr VGCore::IVGDataField::GetParent ( ) {
- struct IVGDataFields * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataFieldsPtr(_result, false);
- }
- #pragma implementation_key(4859)
- inline _bstr_t VGCore::IVGDataField::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4860)
- inline void VGCore::IVGDataField::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4861)
- inline enum VGCore::cdrDataFormatType VGCore::IVGDataField::GetFormatType ( ) {
- enum cdrDataFormatType _result;
- HRESULT _hr = get_FormatType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4862)
- inline _bstr_t VGCore::IVGDataField::GetFormat ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Format(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4863)
- inline void VGCore::IVGDataField::PutFormat ( _bstr_t pVal ) {
- HRESULT _hr = put_Format(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4864)
- inline long VGCore::IVGDataField::GetFieldWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_FieldWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4865)
- inline void VGCore::IVGDataField::PutFieldWidth ( long pVal ) {
- HRESULT _hr = put_FieldWidth(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4866)
- inline VARIANT_BOOL VGCore::IVGDataField::GetAppDefault ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_AppDefault(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4867)
- inline void VGCore::IVGDataField::PutAppDefault ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_AppDefault(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4868)
- inline VARIANT_BOOL VGCore::IVGDataField::GetDocDefault ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_DocDefault(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4869)
- inline void VGCore::IVGDataField::PutDocDefault ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_DocDefault(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4870)
- inline VARIANT_BOOL VGCore::IVGDataField::GetSummarizeGroup ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SummarizeGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4871)
- inline void VGCore::IVGDataField::PutSummarizeGroup ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_SummarizeGroup(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4872)
- inline HRESULT VGCore::IVGDataField::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4873)
- inline HRESULT VGCore::IVGDataField::Reorder ( long NewIndex ) {
- HRESULT _hr = raw_Reorder(NewIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4874)
- inline long VGCore::IVGDataField::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4875)
- inline _bstr_t VGCore::IVGDataField::GetTarget ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Target(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4876)
- inline void VGCore::IVGDataField::PutTarget ( _bstr_t pVal ) {
- HRESULT _hr = put_Target(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4877)
- inline _bstr_t VGCore::IVGDataField::GetDefaultValue ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_DefaultValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4878)
- inline void VGCore::IVGDataField::PutDefaultValue ( _bstr_t pVal ) {
- HRESULT _hr = put_DefaultValue(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4879)
- inline _bstr_t VGCore::IVGDataField::GetConstraint ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Constraint(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4880)
- inline void VGCore::IVGDataField::PutConstraint ( _bstr_t pVal ) {
- HRESULT _hr = put_Constraint(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4881)
- inline enum VGCore::cdrDataType VGCore::IVGDataField::GetDataType ( ) {
- enum cdrDataType _result;
- HRESULT _hr = get_DataType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4882)
- inline void VGCore::IVGDataField::PutDataType ( enum cdrDataType pVal ) {
- HRESULT _hr = put_DataType(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4883)
- inline _bstr_t VGCore::IVGDataField::GetParentName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ParentName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4884)
- inline void VGCore::IVGDataField::PutParentName ( _bstr_t pVal ) {
- HRESULT _hr = put_ParentName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4885)
- inline _bstr_t VGCore::IVGDataField::GetElementName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_ElementName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4886)
- inline void VGCore::IVGDataField::PutElementName ( _bstr_t pVal ) {
- HRESULT _hr = put_ElementName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGDataFields wrapper method implementations
- //
- #pragma implementation_key(4887)
- inline VGCore::IVGApplicationPtr VGCore::IVGDataFields::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(4888)
- inline VGCore::IVGDocumentPtr VGCore::IVGDataFields::GetParent ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(4889)
- inline long VGCore::IVGDataFields::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4890)
- inline VGCore::IVGDataFieldPtr VGCore::IVGDataFields::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGDataField * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataFieldPtr(_result, false);
- }
- #pragma implementation_key(4891)
- inline IUnknownPtr VGCore::IVGDataFields::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(4892)
- inline VGCore::IVGDataFieldPtr VGCore::IVGDataFields::Add ( _bstr_t Name, _bstr_t Format, VARIANT_BOOL AppDefault, VARIANT_BOOL DocDefault, VARIANT_BOOL SummarizeGroup ) {
- struct IVGDataField * _result = 0;
- HRESULT _hr = raw_Add(Name, Format, AppDefault, DocDefault, SummarizeGroup, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataFieldPtr(_result, false);
- }
- #pragma implementation_key(4893)
- 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 ) {
- struct IVGDataField * _result = 0;
- HRESULT _hr = raw_AddEx(Name, DataType, DefaultValue, Constraint, Target, Format, AppDefault, DocDefault, SummarizeGroup, FieldWidth, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataFieldPtr(_result, false);
- }
- #pragma implementation_key(4894)
- inline VARIANT_BOOL VGCore::IVGDataFields::IsPresent ( _bstr_t FieldName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsPresent(FieldName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4895)
- 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 ) {
- struct IVGDataField * _result = 0;
- HRESULT _hr = raw_AddEx2(ParentName, ElementName, Name, DataType, DefaultValue, Constraint, Target, Format, AppDefault, DocDefault, SummarizeGroup, FieldWidth, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDataFieldPtr(_result, false);
- }
- //
- // interface IVGSymbol wrapper method implementations
- //
- #pragma implementation_key(4896)
- inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbol::GetDefinition ( ) {
- struct IVGSymbolDefinition * _result = 0;
- HRESULT _hr = get_Definition(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolDefinitionPtr(_result, false);
- }
- #pragma implementation_key(4897)
- inline VGCore::IVGShapeRangePtr VGCore::IVGSymbol::RevertToShapes ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = raw_RevertToShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- //
- // interface IVGSymbolDefinition wrapper method implementations
- //
- #pragma implementation_key(4898)
- inline _bstr_t VGCore::IVGSymbolDefinition::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4899)
- inline void VGCore::IVGSymbolDefinition::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4900)
- inline _bstr_t VGCore::IVGSymbolDefinition::GetDescription ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Description(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4901)
- inline void VGCore::IVGSymbolDefinition::PutDescription ( _bstr_t pVal ) {
- HRESULT _hr = put_Description(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(4902)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetLinked ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Linked(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4903)
- inline _bstr_t VGCore::IVGSymbolDefinition::GetLinkLibraryPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_LinkLibraryPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4904)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetNested ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Nested(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4905)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetHasLinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasLinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4906)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetIsLinkBroken ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsLinkBroken(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4907)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetIsLinkUpdated ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsLinkUpdated(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4908)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetHasBrokenLinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasBrokenLinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4909)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetHasUpdatedLinks ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_HasUpdatedLinks(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4910)
- inline VGCore::IVGSymbolDefinitionsPtr VGCore::IVGSymbolDefinition::GetNestedSymbols ( ) {
- struct IVGSymbolDefinitions * _result = 0;
- HRESULT _hr = get_NestedSymbols(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolDefinitionsPtr(_result, false);
- }
- #pragma implementation_key(4911)
- inline VARIANT_BOOL VGCore::IVGSymbolDefinition::GetEditable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Editable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4912)
- inline long VGCore::IVGSymbolDefinition::GetInstanceCount ( ) {
- long _result = 0;
- HRESULT _hr = get_InstanceCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4913)
- inline VGCore::IVGShapeRangePtr VGCore::IVGSymbolDefinition::GetInstances ( ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = get_Instances(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(4914)
- inline HRESULT VGCore::IVGSymbolDefinition::EnterEditMode ( ) {
- HRESULT _hr = raw_EnterEditMode();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4915)
- inline HRESULT VGCore::IVGSymbolDefinition::LeaveEditMode ( ) {
- HRESULT _hr = raw_LeaveEditMode();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4916)
- inline HRESULT VGCore::IVGSymbolDefinition::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4917)
- inline HRESULT VGCore::IVGSymbolDefinition::Copy ( ) {
- HRESULT _hr = raw_Copy();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4918)
- inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbolDefinition::Duplicate ( _bstr_t Name ) {
- struct IVGSymbolDefinition * _result = 0;
- HRESULT _hr = raw_Duplicate(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolDefinitionPtr(_result, false);
- }
- #pragma implementation_key(4919)
- inline HRESULT VGCore::IVGSymbolDefinition::BreakLink ( ) {
- HRESULT _hr = raw_BreakLink();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4920)
- inline HRESULT VGCore::IVGSymbolDefinition::UpdateLinks ( ) {
- HRESULT _hr = raw_UpdateLinks();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4921)
- inline HRESULT VGCore::IVGSymbolDefinition::FixLink ( _bstr_t LibraryPath ) {
- HRESULT _hr = raw_FixLink(LibraryPath);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4922)
- inline enum VGCore::cdrSymbolType VGCore::IVGSymbolDefinition::GetType ( ) {
- enum cdrSymbolType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGSymbolDefinitions wrapper method implementations
- //
- #pragma implementation_key(4923)
- inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbolDefinitions::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGSymbolDefinition * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolDefinitionPtr(_result, false);
- }
- #pragma implementation_key(4924)
- inline long VGCore::IVGSymbolDefinitions::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4925)
- inline IUnknownPtr VGCore::IVGSymbolDefinitions::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IVGSymbolLibrary wrapper method implementations
- //
- #pragma implementation_key(4926)
- inline VGCore::IVGSymbolDefinitionsPtr VGCore::IVGSymbolLibrary::GetSymbols ( ) {
- struct IVGSymbolDefinitions * _result = 0;
- HRESULT _hr = get_Symbols(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolDefinitionsPtr(_result, false);
- }
- #pragma implementation_key(4927)
- inline _bstr_t VGCore::IVGSymbolLibrary::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4928)
- inline _bstr_t VGCore::IVGSymbolLibrary::GetFilePath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FilePath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4929)
- inline VARIANT_BOOL VGCore::IVGSymbolLibrary::GetReadOnly ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ReadOnly(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4930)
- inline HRESULT VGCore::IVGSymbolLibrary::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4931)
- inline HRESULT VGCore::IVGSymbolLibrary::PurgeUnusedSymbols ( ) {
- HRESULT _hr = raw_PurgeUnusedSymbols();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4932)
- inline VGCore::IVGSymbolDefinitionPtr VGCore::IVGSymbolLibrary::Paste ( _bstr_t Name ) {
- struct IVGSymbolDefinition * _result = 0;
- HRESULT _hr = raw_Paste(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolDefinitionPtr(_result, false);
- }
- //
- // interface IVGSymbolLibraries wrapper method implementations
- //
- #pragma implementation_key(4933)
- inline VGCore::IVGSymbolLibraryPtr VGCore::IVGSymbolLibraries::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGSymbolLibrary * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolLibraryPtr(_result, false);
- }
- #pragma implementation_key(4934)
- inline long VGCore::IVGSymbolLibraries::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4935)
- inline VGCore::IVGSymbolLibraryPtr VGCore::IVGSymbolLibraries::Add ( _bstr_t FileName, VARIANT_BOOL CopyLocally ) {
- struct IVGSymbolLibrary * _result = 0;
- HRESULT _hr = raw_Add(FileName, CopyLocally, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSymbolLibraryPtr(_result, false);
- }
- #pragma implementation_key(4936)
- inline long VGCore::IVGSymbolLibraries::AddFromFolder ( _bstr_t Folder, VARIANT_BOOL Recursive, VARIANT_BOOL CopyLocally ) {
- long _result = 0;
- HRESULT _hr = raw_AddFromFolder(Folder, Recursive, CopyLocally, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4937)
- inline IUnknownPtr VGCore::IVGSymbolLibraries::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IVGTreeNode wrapper method implementations
- //
- #pragma implementation_key(4938)
- inline enum VGCore::cdrTreeNodeType VGCore::IVGTreeNode::GetType ( ) {
- enum cdrTreeNodeType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4939)
- inline enum VGCore::cdrShapeType VGCore::IVGTreeNode::GetShapeType ( ) {
- enum cdrShapeType _result;
- HRESULT _hr = get_ShapeType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4940)
- inline VGCore::IVGShapePtr VGCore::IVGTreeNode::GetShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_Shape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4941)
- inline VGCore::IVGShapePtr VGCore::IVGTreeNode::GetVirtualShape ( ) {
- struct IVGShape * _result = 0;
- HRESULT _hr = get_VirtualShape(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapePtr(_result, false);
- }
- #pragma implementation_key(4942)
- inline VGCore::IVGPagePtr VGCore::IVGTreeNode::GetPage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Page(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(4943)
- inline VGCore::IVGLayerPtr VGCore::IVGTreeNode::GetLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_Layer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(4944)
- inline VGCore::IVGDocumentPtr VGCore::IVGTreeNode::GetDocument ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Document(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(4945)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetNext ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4946)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetPrevious ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4947)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetParent ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4948)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetFirstChild ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_FirstChild(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4949)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetLastChild ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_LastChild(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4950)
- inline VGCore::IVGTreeNodesPtr VGCore::IVGTreeNode::GetChildren ( ) {
- struct IVGTreeNodes * _result = 0;
- HRESULT _hr = get_Children(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodesPtr(_result, false);
- }
- #pragma implementation_key(4951)
- inline VARIANT_BOOL VGCore::IVGTreeNode::GetIsGroupChild ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_IsGroupChild(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4952)
- inline VARIANT_BOOL VGCore::IVGTreeNode::GetSelected ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Selected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4953)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetNextSelected ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_NextSelected(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4954)
- inline VARIANT_BOOL VGCore::IVGTreeNode::UnLink ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_UnLink(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4955)
- inline VARIANT_BOOL VGCore::IVGTreeNode::LinkBefore ( struct IVGTreeNode * TreeNode ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_LinkBefore(TreeNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4956)
- inline VARIANT_BOOL VGCore::IVGTreeNode::LinkAfter ( struct IVGTreeNode * TreeNode ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_LinkAfter(TreeNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4957)
- inline VARIANT_BOOL VGCore::IVGTreeNode::LinkAsChildOf ( struct IVGTreeNode * TreeNode ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_LinkAsChildOf(TreeNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4958)
- inline VARIANT_BOOL VGCore::IVGTreeNode::MoveToFirst ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_MoveToFirst(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4959)
- inline VARIANT_BOOL VGCore::IVGTreeNode::MoveToLast ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_MoveToLast(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4960)
- inline VARIANT_BOOL VGCore::IVGTreeNode::MoveBefore ( struct IVGTreeNode * TreeNode ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_MoveBefore(TreeNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4961)
- inline VARIANT_BOOL VGCore::IVGTreeNode::MoveAfter ( struct IVGTreeNode * TreeNode ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_MoveAfter(TreeNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4962)
- inline VARIANT_BOOL VGCore::IVGTreeNode::IsDescendentOf ( struct IVGTreeNode * TreeNode ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_IsDescendentOf(TreeNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4963)
- inline HRESULT VGCore::IVGTreeNode::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4964)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNode::GetCopy ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = raw_GetCopy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4965)
- inline HRESULT VGCore::IVGTreeNode::SwapData ( struct IVGTreeNode * TreeNode ) {
- HRESULT _hr = raw_SwapData(TreeNode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4966)
- inline HRESULT VGCore::IVGTreeNode::SwapGroupData ( struct IVGTreeNode * GroupNode ) {
- HRESULT _hr = raw_SwapGroupData(GroupNode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4967)
- inline long VGCore::IVGTreeNode::GetHandle ( ) {
- long _result = 0;
- HRESULT _hr = get_Handle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4968)
- inline _bstr_t VGCore::IVGTreeNode::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(4969)
- inline void VGCore::IVGTreeNode::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGTreeNodes wrapper method implementations
- //
- #pragma implementation_key(4970)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeNodes::GetItem ( long Index ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4971)
- inline long VGCore::IVGTreeNodes::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4972)
- inline IUnknownPtr VGCore::IVGTreeNodes::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IVGSpread wrapper method implementations
- //
- #pragma implementation_key(4973)
- inline long VGCore::IVGSpread::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4974)
- inline double VGCore::IVGSpread::GetSizeWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeWidth(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4975)
- inline double VGCore::IVGSpread::GetSizeHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_SizeHeight(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4976)
- inline double VGCore::IVGSpread::GetLeftX ( ) {
- double _result = 0;
- HRESULT _hr = get_LeftX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4977)
- inline double VGCore::IVGSpread::GetRightX ( ) {
- double _result = 0;
- HRESULT _hr = get_RightX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4978)
- inline double VGCore::IVGSpread::GetTopY ( ) {
- double _result = 0;
- HRESULT _hr = get_TopY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4979)
- inline double VGCore::IVGSpread::GetBottomY ( ) {
- double _result = 0;
- HRESULT _hr = get_BottomY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4980)
- inline double VGCore::IVGSpread::GetCenterX ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4981)
- inline double VGCore::IVGSpread::GetCenterY ( ) {
- double _result = 0;
- HRESULT _hr = get_CenterY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(4982)
- inline VGCore::IVGRectPtr VGCore::IVGSpread::GetBoundingBox ( ) {
- struct IVGRect * _result = 0;
- HRESULT _hr = get_BoundingBox(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRectPtr(_result, false);
- }
- #pragma implementation_key(4983)
- inline HRESULT VGCore::IVGSpread::GetBoundingBox ( double * x, double * y, double * Width, double * Height ) {
- HRESULT _hr = raw_GetBoundingBox(x, y, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(4984)
- inline VGCore::IVGPagesPtr VGCore::IVGSpread::GetPages ( ) {
- struct IVGPages * _result = 0;
- HRESULT _hr = get_Pages(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagesPtr(_result, false);
- }
- #pragma implementation_key(4985)
- inline VGCore::IVGSpreadPtr VGCore::IVGSpread::GetNext ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(4986)
- inline VGCore::IVGSpreadPtr VGCore::IVGSpread::GetPrevious ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(4987)
- inline VGCore::IVGLayersPtr VGCore::IVGSpread::GetLayers ( ) {
- struct IVGLayers * _result = 0;
- HRESULT _hr = get_Layers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayersPtr(_result, false);
- }
- #pragma implementation_key(4988)
- inline VGCore::IVGLayersPtr VGCore::IVGSpread::GetAllLayers ( ) {
- struct IVGLayers * _result = 0;
- HRESULT _hr = get_AllLayers(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayersPtr(_result, false);
- }
- #pragma implementation_key(4989)
- inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetActiveLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_ActiveLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(4990)
- inline VGCore::IVGShapesPtr VGCore::IVGSpread::GetShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_Shapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(4991)
- inline VGCore::IVGShapesPtr VGCore::IVGSpread::GetSelectableShapes ( ) {
- struct IVGShapes * _result = 0;
- HRESULT _hr = get_SelectableShapes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapesPtr(_result, false);
- }
- #pragma implementation_key(4992)
- inline VGCore::IVGLayerPtr VGCore::IVGSpread::CreateLayer ( _bstr_t LayerName ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = raw_CreateLayer(LayerName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(4993)
- inline VGCore::IVGShapeRangePtr VGCore::IVGSpread::GetGuides ( enum cdrGuideType Type ) {
- struct IVGShapeRange * _result = 0;
- HRESULT _hr = get_Guides(Type, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGShapeRangePtr(_result, false);
- }
- #pragma implementation_key(4994)
- inline VGCore::IVGTreeNodePtr VGCore::IVGSpread::GetTreeNode ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_TreeNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(4995)
- inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetGuidesLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_GuidesLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(4996)
- inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetDesktopLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_DesktopLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(4997)
- inline VGCore::IVGLayerPtr VGCore::IVGSpread::GetGridLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_GridLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- //
- // interface IVGTreeManager wrapper method implementations
- //
- #pragma implementation_key(4998)
- inline VGCore::IVGLayerPtr VGCore::IVGTreeManager::GetVirtualLayer ( ) {
- struct IVGLayer * _result = 0;
- HRESULT _hr = get_VirtualLayer(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGLayerPtr(_result, false);
- }
- #pragma implementation_key(4999)
- inline long VGCore::IVGTreeManager::GetSelectedNodeCount ( ) {
- long _result = 0;
- HRESULT _hr = get_SelectedNodeCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5000)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeManager::GetFirstSelectedNode ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = get_FirstSelectedNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(5001)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeManager::CreateGroupNode ( ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = raw_CreateGroupNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- #pragma implementation_key(5002)
- inline VGCore::IVGTreeNodePtr VGCore::IVGTreeManager::CleanGroupNode ( struct IVGTreeNode * GroupNode ) {
- struct IVGTreeNode * _result = 0;
- HRESULT _hr = raw_CleanGroupNode(GroupNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGTreeNodePtr(_result, false);
- }
- //
- // interface IVGSpreads wrapper method implementations
- //
- #pragma implementation_key(5003)
- inline VGCore::IVGSpreadPtr VGCore::IVGSpreads::GetItem ( long Index ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(5004)
- inline long VGCore::IVGSpreads::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5005)
- inline IUnknownPtr VGCore::IVGSpreads::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5006)
- inline VGCore::IVGSpreadPtr VGCore::IVGSpreads::GetFirst ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- #pragma implementation_key(5007)
- inline VGCore::IVGSpreadPtr VGCore::IVGSpreads::GetLast ( ) {
- struct IVGSpread * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGSpreadPtr(_result, false);
- }
- //
- // interface IVGPageMarkup wrapper method implementations
- //
- #pragma implementation_key(5008)
- inline _bstr_t VGCore::IVGPageMarkup::GetPageGuid ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_PageGuid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5009)
- inline VGCore::IVGCommentThreadsPtr VGCore::IVGPageMarkup::GetThreads ( ) {
- struct IVGCommentThreads * _result = 0;
- HRESULT _hr = get_Threads(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentThreadsPtr(_result, false);
- }
- #pragma implementation_key(5010)
- inline VGCore::IVGPagePtr VGCore::IVGPageMarkup::GetPage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Page(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(5011)
- inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateHotspot ( _bstr_t Text, double x, double y, struct IVGCommentAuthor * Author ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_CreateHotspot(Text, x, y, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5012)
- 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 ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_CreateRectangle(Text, x, y, Width, Height, OutlineWidth, FillColor, OutlineColor, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5013)
- 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 ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_CreateEllipse(Text, x, y, RadiusX, RadiusY, OutlineWidth, FillColor, OutlineColor, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5014)
- 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 ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_CreateArrow(Text, x, y, VectorX, VectorY, OutlineWidth, OutlineColor, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5015)
- inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateFreehand ( _bstr_t Text, struct IVGCurve * Curve, long OutlineWidth, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_CreateFreehand(Text, Curve, OutlineWidth, OutlineColor, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5016)
- inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateHighlight ( _bstr_t Text, struct IVGCurve * Curve, long OutlineWidth, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_CreateHighlight(Text, Curve, OutlineWidth, OutlineColor, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5017)
- inline VGCore::IVGCommentPtr VGCore::IVGPageMarkup::CreateCollaborativeText ( _bstr_t Text, struct IVGShape * Shape, struct IVGColor * OutlineColor, struct IVGCommentAuthor * Author ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_CreateCollaborativeText(Text, Shape, OutlineColor, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- //
- // interface IVGCommentThreads wrapper method implementations
- //
- #pragma implementation_key(5018)
- inline VGCore::IVGCommentThreadPtr VGCore::IVGCommentThreads::GetItem ( const _variant_t & IndexOrGuid ) {
- struct IVGCommentThread * _result = 0;
- HRESULT _hr = get_Item(IndexOrGuid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentThreadPtr(_result, false);
- }
- #pragma implementation_key(5019)
- inline IUnknownPtr VGCore::IVGCommentThreads::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5020)
- inline long VGCore::IVGCommentThreads::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5021)
- inline VGCore::IVGCommentThreadPtr VGCore::IVGCommentThreads::GetFirst ( ) {
- struct IVGCommentThread * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentThreadPtr(_result, false);
- }
- #pragma implementation_key(5022)
- inline VGCore::IVGCommentThreadPtr VGCore::IVGCommentThreads::GetLast ( ) {
- struct IVGCommentThread * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentThreadPtr(_result, false);
- }
- //
- // interface IVGCommentThread wrapper method implementations
- //
- #pragma implementation_key(5023)
- inline VGCore::IVGCommentTargetPtr VGCore::IVGCommentThread::GetTarget ( ) {
- struct IVGCommentTarget * _result = 0;
- HRESULT _hr = get_Target(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentTargetPtr(_result, false);
- }
- #pragma implementation_key(5024)
- inline VGCore::IVGCommentsPtr VGCore::IVGCommentThread::GetComments ( ) {
- struct IVGComments * _result = 0;
- HRESULT _hr = get_Comments(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentsPtr(_result, false);
- }
- #pragma implementation_key(5025)
- inline enum VGCore::cdrCommentStatus VGCore::IVGCommentThread::GetStatus ( ) {
- enum cdrCommentStatus _result;
- HRESULT _hr = get_Status(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5026)
- inline VGCore::IVGCommentPtr VGCore::IVGCommentThread::Reply ( _bstr_t Text, struct IVGCommentAuthor * Author ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_Reply(Text, Author, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5027)
- inline HRESULT VGCore::IVGCommentThread::Resolve ( struct IVGCommentAuthor * Author ) {
- HRESULT _hr = raw_Resolve(Author);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5028)
- inline HRESULT VGCore::IVGCommentThread::Reopen ( struct IVGCommentAuthor * Author ) {
- HRESULT _hr = raw_Reopen(Author);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5029)
- inline HRESULT VGCore::IVGCommentThread::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5030)
- inline VGCore::IVGPageMarkupPtr VGCore::IVGCommentThread::GetPageMarkup ( ) {
- struct IVGPageMarkup * _result = 0;
- HRESULT _hr = get_PageMarkup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPageMarkupPtr(_result, false);
- }
- #pragma implementation_key(5031)
- inline VGCore::IVGCommentAnnotationPtr VGCore::IVGCommentThread::GetAnnotation ( ) {
- struct IVGCommentAnnotation * _result = 0;
- HRESULT _hr = get_Annotation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentAnnotationPtr(_result, false);
- }
- //
- // interface IVGComment wrapper method implementations
- //
- #pragma implementation_key(5032)
- inline VGCore::IVGCommentAuthorPtr VGCore::IVGComment::GetAuthor ( ) {
- struct IVGCommentAuthor * _result = 0;
- HRESULT _hr = get_Author(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentAuthorPtr(_result, false);
- }
- #pragma implementation_key(5033)
- inline void VGCore::IVGComment::PutRefAuthor ( struct IVGCommentAuthor * * pRet ) {
- HRESULT _hr = putref_Author(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5034)
- inline _bstr_t VGCore::IVGComment::GetText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Text(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5035)
- inline void VGCore::IVGComment::PutText ( _bstr_t pRet ) {
- HRESULT _hr = put_Text(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5036)
- inline DATE VGCore::IVGComment::GetCreationTime ( ) {
- DATE _result = 0;
- HRESULT _hr = get_CreationTime(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5037)
- inline void VGCore::IVGComment::PutCreationTime ( DATE pRet ) {
- HRESULT _hr = put_CreationTime(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5038)
- inline DATE VGCore::IVGComment::GetModificationTime ( ) {
- DATE _result = 0;
- HRESULT _hr = get_ModificationTime(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5039)
- inline void VGCore::IVGComment::PutModificationTime ( DATE pRet ) {
- HRESULT _hr = put_ModificationTime(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5040)
- inline _bstr_t VGCore::IVGComment::GetGuid ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Guid(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5041)
- inline VGCore::IVGCommentThreadPtr VGCore::IVGComment::GetThread ( ) {
- struct IVGCommentThread * _result = 0;
- HRESULT _hr = get_Thread(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentThreadPtr(_result, false);
- }
- #pragma implementation_key(5042)
- inline _bstr_t VGCore::IVGComment::GetOnlineID ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_OnlineID(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5043)
- inline void VGCore::IVGComment::PutOnlineID ( _bstr_t pRet ) {
- HRESULT _hr = put_OnlineID(pRet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5044)
- inline HRESULT VGCore::IVGComment::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVGComments wrapper method implementations
- //
- #pragma implementation_key(5045)
- inline VGCore::IVGCommentPtr VGCore::IVGComments::GetItem ( const _variant_t & IndexOrGuid ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = get_Item(IndexOrGuid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5046)
- inline IUnknownPtr VGCore::IVGComments::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5047)
- inline long VGCore::IVGComments::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5048)
- inline VGCore::IVGCommentPtr VGCore::IVGComments::GetFirst ( ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = get_First(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5049)
- inline VGCore::IVGCommentPtr VGCore::IVGComments::GetLast ( ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = get_Last(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- //
- // interface IVGDocumentMarkup wrapper method implementations
- //
- #pragma implementation_key(5050)
- inline VGCore::IVGCommentPtr VGCore::IVGDocumentMarkup::FindComment ( _bstr_t Guid ) {
- struct IVGComment * _result = 0;
- HRESULT _hr = raw_FindComment(Guid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentPtr(_result, false);
- }
- #pragma implementation_key(5051)
- inline VGCore::IVGCommentThreadPtr VGCore::IVGDocumentMarkup::FindThread ( _bstr_t Guid ) {
- struct IVGCommentThread * _result = 0;
- HRESULT _hr = raw_FindThread(Guid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGCommentThreadPtr(_result, false);
- }
- #pragma implementation_key(5052)
- inline VGCore::IVGPagePtr VGCore::IVGDocumentMarkup::FindPage ( _bstr_t Guid ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = raw_FindPage(Guid, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- //
- // interface IVGWindow wrapper method implementations
- //
- #pragma implementation_key(5053)
- inline IDispatchPtr VGCore::IVGWindow::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5054)
- inline VGCore::IVGWindowsPtr VGCore::IVGWindow::GetParent ( ) {
- struct IVGWindows * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowsPtr(_result, false);
- }
- #pragma implementation_key(5055)
- inline HRESULT VGCore::IVGWindow::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5056)
- inline HRESULT VGCore::IVGWindow::Close ( ) {
- HRESULT _hr = raw_Close();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5057)
- inline VARIANT_BOOL VGCore::IVGWindow::GetFullScreen ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FullScreen(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5058)
- inline void VGCore::IVGWindow::PutFullScreen ( VARIANT_BOOL FullScreen ) {
- HRESULT _hr = put_FullScreen(FullScreen);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5059)
- inline IDispatchPtr VGCore::IVGWindow::GetPage ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Page(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5060)
- inline VARIANT_BOOL VGCore::IVGWindow::GetActive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Active(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5061)
- inline _bstr_t VGCore::IVGWindow::GetCaption ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Caption(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5062)
- inline long VGCore::IVGWindow::GetHeight ( ) {
- long _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5063)
- inline void VGCore::IVGWindow::PutHeight ( long pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5064)
- inline long VGCore::IVGWindow::GetWidth ( ) {
- long _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5065)
- inline void VGCore::IVGWindow::PutWidth ( long pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5066)
- inline long VGCore::IVGWindow::GetLeft ( ) {
- long _result = 0;
- HRESULT _hr = get_Left(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5067)
- inline void VGCore::IVGWindow::PutLeft ( long pVal ) {
- HRESULT _hr = put_Left(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5068)
- inline long VGCore::IVGWindow::GetTop ( ) {
- long _result = 0;
- HRESULT _hr = get_Top(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5069)
- inline void VGCore::IVGWindow::PutTop ( long pVal ) {
- HRESULT _hr = put_Top(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5070)
- inline enum VGCore::cdrWindowState VGCore::IVGWindow::GetWindowState ( ) {
- enum cdrWindowState _result;
- HRESULT _hr = get_WindowState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5071)
- inline void VGCore::IVGWindow::PutWindowState ( enum cdrWindowState pVal ) {
- HRESULT _hr = put_WindowState(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5072)
- inline VGCore::IVGWindowPtr VGCore::IVGWindow::GetPrevious ( ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = get_Previous(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- #pragma implementation_key(5073)
- inline VGCore::IVGWindowPtr VGCore::IVGWindow::GetNext ( ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = get_Next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- #pragma implementation_key(5074)
- inline long VGCore::IVGWindow::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5075)
- inline VGCore::IVGWindowPtr VGCore::IVGWindow::NewWindow ( ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = raw_NewWindow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- #pragma implementation_key(5076)
- inline HRESULT VGCore::IVGWindow::Refresh ( ) {
- HRESULT _hr = raw_Refresh();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5077)
- inline VGCore::IVGDocumentPtr VGCore::IVGWindow::GetDocument ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Document(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(5078)
- inline VGCore::IVGActiveViewPtr VGCore::IVGWindow::GetActiveView ( ) {
- struct IVGActiveView * _result = 0;
- HRESULT _hr = get_ActiveView(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGActiveViewPtr(_result, false);
- }
- #pragma implementation_key(5079)
- inline HRESULT VGCore::IVGWindow::ScreenToDocument ( long XScreen, long YScreen, double * XDoc, double * YDoc ) {
- HRESULT _hr = raw_ScreenToDocument(XScreen, YScreen, XDoc, YDoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5080)
- inline HRESULT VGCore::IVGWindow::DocumentToScreen ( double XDoc, double YDoc, long * XScreen, long * YScreen ) {
- HRESULT _hr = raw_DocumentToScreen(XDoc, YDoc, XScreen, YScreen);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5081)
- inline long VGCore::IVGWindow::GetHandle ( ) {
- long _result = 0;
- HRESULT _hr = get_Handle(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5082)
- inline VGCore::ICUIViewWindowPtr VGCore::IVGWindow::GetViewWindow ( ) {
- struct ICUIViewWindow * _result = 0;
- HRESULT _hr = get_ViewWindow(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ICUIViewWindowPtr(_result, false);
- }
- #pragma implementation_key(5083)
- inline double VGCore::IVGWindow::ScreenDistanceToDocumentDistance ( double ScreenDistance ) {
- double _result = 0;
- HRESULT _hr = raw_ScreenDistanceToDocumentDistance(ScreenDistance, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5084)
- inline double VGCore::IVGWindow::DocumentDistanceToScreenDistance ( double DocumentDistance ) {
- double _result = 0;
- HRESULT _hr = raw_DocumentDistanceToScreenDistance(DocumentDistance, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGWindows wrapper method implementations
- //
- #pragma implementation_key(5085)
- inline IDispatchPtr VGCore::IVGWindows::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5086)
- inline IDispatchPtr VGCore::IVGWindows::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5087)
- inline VGCore::IVGWindowPtr VGCore::IVGWindows::GetItem ( long Index ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- #pragma implementation_key(5088)
- inline IUnknownPtr VGCore::IVGWindows::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5089)
- inline long VGCore::IVGWindows::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5090)
- inline HRESULT VGCore::IVGWindows::CloseAll ( ) {
- HRESULT _hr = raw_CloseAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5091)
- inline HRESULT VGCore::IVGWindows::Arrange ( enum cdrWindowArrangeStyle Style ) {
- HRESULT _hr = raw_Arrange(Style);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5092)
- inline HRESULT VGCore::IVGWindows::Refresh ( ) {
- HRESULT _hr = raw_Refresh();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5093)
- inline VGCore::IVGWindowPtr VGCore::IVGWindows::FindWindow ( _bstr_t Caption ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = raw_FindWindow(Caption, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- //
- // interface IVGActiveView wrapper method implementations
- //
- #pragma implementation_key(5094)
- inline VGCore::IVGApplicationPtr VGCore::IVGActiveView::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(5095)
- inline VGCore::IVGWindowPtr VGCore::IVGActiveView::GetParent ( ) {
- struct IVGWindow * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWindowPtr(_result, false);
- }
- #pragma implementation_key(5096)
- inline enum VGCore::cdrViewType VGCore::IVGActiveView::GetType ( ) {
- enum cdrViewType _result;
- HRESULT _hr = get_Type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5097)
- inline void VGCore::IVGActiveView::PutType ( enum cdrViewType pType ) {
- HRESULT _hr = put_Type(pType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5098)
- inline double VGCore::IVGActiveView::GetOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5099)
- inline void VGCore::IVGActiveView::PutOriginX ( double pVal ) {
- HRESULT _hr = put_OriginX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5100)
- inline double VGCore::IVGActiveView::GetOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5101)
- inline void VGCore::IVGActiveView::PutOriginY ( double pVal ) {
- HRESULT _hr = put_OriginY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5102)
- inline double VGCore::IVGActiveView::GetZoom ( ) {
- double _result = 0;
- HRESULT _hr = get_Zoom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5103)
- inline void VGCore::IVGActiveView::PutZoom ( double pVal ) {
- HRESULT _hr = put_Zoom(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5104)
- inline HRESULT VGCore::IVGActiveView::ToFitPage ( ) {
- HRESULT _hr = raw_ToFitPage();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5105)
- inline HRESULT VGCore::IVGActiveView::ToFitPageWidth ( ) {
- HRESULT _hr = raw_ToFitPageWidth();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5106)
- inline HRESULT VGCore::IVGActiveView::ToFitPageHeight ( ) {
- HRESULT _hr = raw_ToFitPageHeight();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5107)
- inline HRESULT VGCore::IVGActiveView::ToFitShape ( struct IVGShape * Shape ) {
- HRESULT _hr = raw_ToFitShape(Shape);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5108)
- inline HRESULT VGCore::IVGActiveView::ToFitSelection ( ) {
- HRESULT _hr = raw_ToFitSelection();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5109)
- inline HRESULT VGCore::IVGActiveView::ToFitArea ( double Left, double Top, double Right, double Bottom ) {
- HRESULT _hr = raw_ToFitArea(Left, Top, Right, Bottom);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5110)
- inline HRESULT VGCore::IVGActiveView::ToFitAllObjects ( ) {
- HRESULT _hr = raw_ToFitAllObjects();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5111)
- inline HRESULT VGCore::IVGActiveView::ToFitShapeRange ( struct IVGShapeRange * ShapeRange ) {
- HRESULT _hr = raw_ToFitShapeRange(ShapeRange);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5112)
- inline HRESULT VGCore::IVGActiveView::SetViewPoint ( double x, double y, double Zoom ) {
- HRESULT _hr = raw_SetViewPoint(x, y, Zoom);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5113)
- inline HRESULT VGCore::IVGActiveView::SetActualSize ( ) {
- HRESULT _hr = raw_SetActualSize();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5114)
- inline HRESULT VGCore::IVGActiveView::ZoomIn ( ) {
- HRESULT _hr = raw_ZoomIn();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5115)
- inline HRESULT VGCore::IVGActiveView::ZoomInAtPoint ( double x, double y ) {
- HRESULT _hr = raw_ZoomInAtPoint(x, y);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5116)
- inline HRESULT VGCore::IVGActiveView::ZoomOut ( ) {
- HRESULT _hr = raw_ZoomOut();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5117)
- inline HRESULT VGCore::IVGActiveView::GetViewArea ( double * x, double * y, double * Width, double * Height ) {
- HRESULT _hr = raw_GetViewArea(x, y, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5118)
- inline HRESULT VGCore::IVGActiveView::SetViewArea ( double x, double y, double Width, double Height ) {
- HRESULT _hr = raw_SetViewArea(x, y, Width, Height);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5119)
- inline VARIANT_BOOL VGCore::IVGActiveView::GetSimulateOverprints ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_SimulateOverprints(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5120)
- inline void VGCore::IVGActiveView::PutSimulateOverprints ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_SimulateOverprints(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5121)
- inline VGCore::IVGProofColorSettingsPtr VGCore::IVGActiveView::GetProofColorSettings ( ) {
- struct IVGProofColorSettings * _result = 0;
- HRESULT _hr = get_ProofColorSettings(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGProofColorSettingsPtr(_result, false);
- }
- #pragma implementation_key(5122)
- inline void VGCore::IVGActiveView::PutProofColorSettings ( struct IVGProofColorSettings * ppVal ) {
- HRESULT _hr = put_ProofColorSettings(ppVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5123)
- inline VARIANT_BOOL VGCore::IVGActiveView::GetShowProofColors ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_ShowProofColors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5124)
- inline void VGCore::IVGActiveView::PutShowProofColors ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_ShowProofColors(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGWorkspace wrapper method implementations
- //
- #pragma implementation_key(5125)
- inline IDispatchPtr VGCore::IVGWorkspace::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5126)
- inline VGCore::IVGWorkspacesPtr VGCore::IVGWorkspace::GetParent ( ) {
- struct IVGWorkspaces * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWorkspacesPtr(_result, false);
- }
- #pragma implementation_key(5127)
- inline _bstr_t VGCore::IVGWorkspace::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5128)
- inline _bstr_t VGCore::IVGWorkspace::GetDescription ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Description(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5129)
- inline VARIANT_BOOL VGCore::IVGWorkspace::GetDefault ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Default(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5130)
- inline HRESULT VGCore::IVGWorkspace::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5131)
- inline VARIANT_BOOL VGCore::IVGWorkspace::GetActive ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_Active(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGWorkspaces wrapper method implementations
- //
- #pragma implementation_key(5132)
- inline IDispatchPtr VGCore::IVGWorkspaces::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5133)
- inline IDispatchPtr VGCore::IVGWorkspaces::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5134)
- inline VGCore::IVGWorkspacePtr VGCore::IVGWorkspaces::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGWorkspace * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGWorkspacePtr(_result, false);
- }
- #pragma implementation_key(5135)
- inline IUnknownPtr VGCore::IVGWorkspaces::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5136)
- inline long VGCore::IVGWorkspaces::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGRecentFiles wrapper method implementations
- //
- #pragma implementation_key(5137)
- inline VGCore::IVGRecentFilePtr VGCore::IVGRecentFiles::Add ( _bstr_t Name, _bstr_t Path ) {
- struct IVGRecentFile * _result = 0;
- HRESULT _hr = raw_Add(Name, Path, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRecentFilePtr(_result, false);
- }
- #pragma implementation_key(5138)
- inline IDispatchPtr VGCore::IVGRecentFiles::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5139)
- inline IDispatchPtr VGCore::IVGRecentFiles::GetParent ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5140)
- inline VGCore::IVGRecentFilePtr VGCore::IVGRecentFiles::GetItem ( long Index ) {
- struct IVGRecentFile * _result = 0;
- HRESULT _hr = get_Item(Index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRecentFilePtr(_result, false);
- }
- #pragma implementation_key(5141)
- inline IUnknownPtr VGCore::IVGRecentFiles::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5142)
- inline long VGCore::IVGRecentFiles::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5143)
- inline long VGCore::IVGRecentFiles::GetMaximum ( ) {
- long _result = 0;
- HRESULT _hr = get_Maximum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGRecentFile wrapper method implementations
- //
- #pragma implementation_key(5144)
- inline HRESULT VGCore::IVGRecentFile::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5145)
- inline IDispatchPtr VGCore::IVGRecentFile::Open ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = raw_Open(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5146)
- inline IDispatchPtr VGCore::IVGRecentFile::GetApplication ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- #pragma implementation_key(5147)
- inline VGCore::IVGRecentFilesPtr VGCore::IVGRecentFile::GetParent ( ) {
- struct IVGRecentFiles * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGRecentFilesPtr(_result, false);
- }
- #pragma implementation_key(5148)
- inline long VGCore::IVGRecentFile::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5149)
- inline _bstr_t VGCore::IVGRecentFile::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5150)
- inline void VGCore::IVGRecentFile::PutName ( _bstr_t pVal ) {
- HRESULT _hr = put_Name(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5151)
- inline _bstr_t VGCore::IVGRecentFile::GetPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Path(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5152)
- inline void VGCore::IVGRecentFile::PutPath ( _bstr_t pVal ) {
- HRESULT _hr = put_Path(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5153)
- inline _bstr_t VGCore::IVGRecentFile::GetFullName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_FullName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5154)
- inline void VGCore::IVGRecentFile::PutFullName ( _bstr_t pVal ) {
- HRESULT _hr = put_FullName(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVGPageSizes wrapper method implementations
- //
- #pragma implementation_key(5155)
- inline VGCore::IVGApplicationPtr VGCore::IVGPageSizes::GetParent ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(5156)
- inline long VGCore::IVGPageSizes::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5157)
- inline VGCore::IVGPageSizePtr VGCore::IVGPageSizes::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGPageSize * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPageSizePtr(_result, false);
- }
- #pragma implementation_key(5158)
- inline IUnknownPtr VGCore::IVGPageSizes::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5159)
- inline VGCore::IVGPageSizePtr VGCore::IVGPageSizes::Add ( _bstr_t Name, double Width, double Height ) {
- struct IVGPageSize * _result = 0;
- HRESULT _hr = raw_Add(Name, Width, Height, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPageSizePtr(_result, false);
- }
- //
- // interface IVGPageSize wrapper method implementations
- //
- #pragma implementation_key(5160)
- inline VGCore::IVGPageSizesPtr VGCore::IVGPageSize::GetParent ( ) {
- struct IVGPageSizes * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPageSizesPtr(_result, false);
- }
- #pragma implementation_key(5161)
- inline VARIANT_BOOL VGCore::IVGPageSize::GetBuiltIn ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_BuiltIn(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5162)
- inline _bstr_t VGCore::IVGPageSize::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5163)
- inline double VGCore::IVGPageSize::GetWidth ( ) {
- double _result = 0;
- HRESULT _hr = get_Width(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5164)
- inline void VGCore::IVGPageSize::PutWidth ( double pVal ) {
- HRESULT _hr = put_Width(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5165)
- inline double VGCore::IVGPageSize::GetHeight ( ) {
- double _result = 0;
- HRESULT _hr = get_Height(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5166)
- inline void VGCore::IVGPageSize::PutHeight ( double pVal ) {
- HRESULT _hr = put_Height(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5167)
- inline long VGCore::IVGPageSize::GetIndex ( ) {
- long _result = 0;
- HRESULT _hr = get_Index(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5168)
- inline HRESULT VGCore::IVGPageSize::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5169)
- inline VARIANT_BOOL VGCore::IVGPageSize::GetFixedOrientation ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_FixedOrientation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5170)
- inline enum VGCore::cdrUnit VGCore::IVGPageSize::GetDefaultUnit ( ) {
- enum cdrUnit _result;
- HRESULT _hr = get_DefaultUnit(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVGViews wrapper method implementations
- //
- #pragma implementation_key(5171)
- inline VGCore::IVGApplicationPtr VGCore::IVGViews::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(5172)
- inline VGCore::IVGDocumentPtr VGCore::IVGViews::GetParent ( ) {
- struct IVGDocument * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGDocumentPtr(_result, false);
- }
- #pragma implementation_key(5173)
- inline VGCore::IVGViewPtr VGCore::IVGViews::GetItem ( const _variant_t & IndexOrName ) {
- struct IVGView * _result = 0;
- HRESULT _hr = get_Item(IndexOrName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGViewPtr(_result, false);
- }
- #pragma implementation_key(5174)
- inline IUnknownPtr VGCore::IVGViews::Get_NewEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__NewEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- #pragma implementation_key(5175)
- inline long VGCore::IVGViews::GetCount ( ) {
- long _result = 0;
- HRESULT _hr = get_Count(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5176)
- inline VGCore::IVGViewPtr VGCore::IVGViews::AddActiveView ( _bstr_t Name ) {
- struct IVGView * _result = 0;
- HRESULT _hr = raw_AddActiveView(Name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGViewPtr(_result, false);
- }
- //
- // interface IVGView wrapper method implementations
- //
- #pragma implementation_key(5177)
- inline VGCore::IVGApplicationPtr VGCore::IVGView::GetApplication ( ) {
- struct IVGApplication * _result = 0;
- HRESULT _hr = get_Application(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGApplicationPtr(_result, false);
- }
- #pragma implementation_key(5178)
- inline VGCore::IVGViewsPtr VGCore::IVGView::GetParent ( ) {
- struct IVGViews * _result = 0;
- HRESULT _hr = get_Parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGViewsPtr(_result, false);
- }
- #pragma implementation_key(5179)
- inline _bstr_t VGCore::IVGView::GetName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_Name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- #pragma implementation_key(5180)
- inline void VGCore::IVGView::PutName ( _bstr_t Name ) {
- HRESULT _hr = put_Name(Name);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5181)
- inline double VGCore::IVGView::GetOriginX ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginX(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5182)
- inline void VGCore::IVGView::PutOriginX ( double pVal ) {
- HRESULT _hr = put_OriginX(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5183)
- inline double VGCore::IVGView::GetOriginY ( ) {
- double _result = 0;
- HRESULT _hr = get_OriginY(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5184)
- inline void VGCore::IVGView::PutOriginY ( double pVal ) {
- HRESULT _hr = put_OriginY(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5185)
- inline VARIANT_BOOL VGCore::IVGView::GetUsePage ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UsePage(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5186)
- inline void VGCore::IVGView::PutUsePage ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UsePage(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5187)
- inline VGCore::IVGPagePtr VGCore::IVGView::GetPage ( ) {
- struct IVGPage * _result = 0;
- HRESULT _hr = get_Page(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVGPagePtr(_result, false);
- }
- #pragma implementation_key(5188)
- inline void VGCore::IVGView::PutPage ( struct IVGPage * Page ) {
- HRESULT _hr = put_Page(Page);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5189)
- inline VARIANT_BOOL VGCore::IVGView::GetUseZoom ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_UseZoom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5190)
- inline void VGCore::IVGView::PutUseZoom ( VARIANT_BOOL pVal ) {
- HRESULT _hr = put_UseZoom(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5191)
- inline double VGCore::IVGView::GetZoom ( ) {
- double _result = 0;
- HRESULT _hr = get_Zoom(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- #pragma implementation_key(5192)
- inline void VGCore::IVGView::PutZoom ( double pVal ) {
- HRESULT _hr = put_Zoom(pVal);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- #pragma implementation_key(5193)
- inline HRESULT VGCore::IVGView::Activate ( ) {
- HRESULT _hr = raw_Activate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- #pragma implementation_key(5194)
- inline HRESULT VGCore::IVGView::Delete ( ) {
- HRESULT _hr = raw_Delete();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
|