1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172 |
- // Machine generated IDispatch wrapper class(es) created with ClassWizard
- #include "stdafx.h"
- #include "excel9.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // _Application properties
- /////////////////////////////////////////////////////////////////////////////
- // _Application operations
- LPDISPATCH _Application::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetActiveCell()
- {
- LPDISPATCH result;
- InvokeHelper(0x131, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetActiveChart()
- {
- LPDISPATCH result;
- InvokeHelper(0xb7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetActivePrinter()
- {
- CString result;
- InvokeHelper(0x132, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetActivePrinter(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x132, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- LPDISPATCH _Application::GetActiveSheet()
- {
- LPDISPATCH result;
- InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetActiveWindow()
- {
- LPDISPATCH result;
- InvokeHelper(0x2f7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetActiveWorkbook()
- {
- LPDISPATCH result;
- InvokeHelper(0x134, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAddIns()
- {
- LPDISPATCH result;
- InvokeHelper(0x225, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAssistant()
- {
- LPDISPATCH result;
- InvokeHelper(0x59e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Application::Calculate()
- {
- InvokeHelper(0x117, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Application::GetCells()
- {
- LPDISPATCH result;
- InvokeHelper(0xee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetCharts()
- {
- LPDISPATCH result;
- InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetColumns()
- {
- LPDISPATCH result;
- InvokeHelper(0xf1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetCommandBars()
- {
- LPDISPATCH result;
- InvokeHelper(0x59f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetDDEAppReturnCode()
- {
- long result;
- InvokeHelper(0x14c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::DDEExecute(long Channel, LPCTSTR String)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x14d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Channel, String);
- }
- long _Application::DDEInitiate(LPCTSTR App, LPCTSTR Topic)
- {
- long result;
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x14e, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- App, Topic);
- return result;
- }
- void _Application::DDEPoke(long Channel, const VARIANT& Item, const VARIANT& Data)
- {
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x14f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Channel, &Item, &Data);
- }
- VARIANT _Application::DDERequest(long Channel, LPCTSTR Item)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x150, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Channel, Item);
- return result;
- }
- void _Application::DDETerminate(long Channel)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x151, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Channel);
- }
- VARIANT _Application::Evaluate(const VARIANT& Name)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Name);
- return result;
- }
- VARIANT _Application::_Evaluate(const VARIANT& Name)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xfffffffb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Name);
- return result;
- }
- VARIANT _Application::ExecuteExcel4Macro(LPCTSTR String)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x15e, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- String);
- return result;
- }
- LPDISPATCH _Application::Intersect(LPDISPATCH Arg1, LPDISPATCH Arg2, const VARIANT& Arg3, const VARIANT& Arg4, const VARIANT& Arg5, const VARIANT& Arg6, const VARIANT& Arg7, const VARIANT& Arg8, const VARIANT& Arg9, const VARIANT& Arg10,
- const VARIANT& Arg11, const VARIANT& Arg12, const VARIANT& Arg13, const VARIANT& Arg14, const VARIANT& Arg15, const VARIANT& Arg16, const VARIANT& Arg17, const VARIANT& Arg18, const VARIANT& Arg19, const VARIANT& Arg20,
- const VARIANT& Arg21, const VARIANT& Arg22, const VARIANT& Arg23, const VARIANT& Arg24, const VARIANT& Arg25, const VARIANT& Arg26, const VARIANT& Arg27, const VARIANT& Arg28, const VARIANT& Arg29, const VARIANT& Arg30)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_DISPATCH VTS_DISPATCH VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x2fe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Arg1, Arg2, &Arg3, &Arg4, &Arg5, &Arg6, &Arg7, &Arg8, &Arg9, &Arg10, &Arg11, &Arg12, &Arg13, &Arg14, &Arg15, &Arg16, &Arg17, &Arg18, &Arg19, &Arg20, &Arg21, &Arg22, &Arg23, &Arg24, &Arg25, &Arg26, &Arg27, &Arg28, &Arg29, &Arg30);
- return result;
- }
- LPDISPATCH _Application::GetNames()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ba, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetRange(const VARIANT& Cell1, const VARIANT& Cell2)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xc5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Cell1, &Cell2);
- return result;
- }
- LPDISPATCH _Application::GetRows()
- {
- LPDISPATCH result;
- InvokeHelper(0x102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT _Application::Run(const VARIANT& Macro, const VARIANT& Arg1, const VARIANT& Arg2, const VARIANT& Arg3, const VARIANT& Arg4, const VARIANT& Arg5, const VARIANT& Arg6, const VARIANT& Arg7, const VARIANT& Arg8, const VARIANT& Arg9,
- const VARIANT& Arg10, const VARIANT& Arg11, const VARIANT& Arg12, const VARIANT& Arg13, const VARIANT& Arg14, const VARIANT& Arg15, const VARIANT& Arg16, const VARIANT& Arg17, const VARIANT& Arg18, const VARIANT& Arg19,
- const VARIANT& Arg20, const VARIANT& Arg21, const VARIANT& Arg22, const VARIANT& Arg23, const VARIANT& Arg24, const VARIANT& Arg25, const VARIANT& Arg26, const VARIANT& Arg27, const VARIANT& Arg28, const VARIANT& Arg29,
- const VARIANT& Arg30)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x103, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Macro, &Arg1, &Arg2, &Arg3, &Arg4, &Arg5, &Arg6, &Arg7, &Arg8, &Arg9, &Arg10, &Arg11, &Arg12, &Arg13, &Arg14, &Arg15, &Arg16, &Arg17, &Arg18, &Arg19, &Arg20, &Arg21, &Arg22, &Arg23, &Arg24, &Arg25, &Arg26, &Arg27, &Arg28, &Arg29, &Arg30);
- return result;
- }
- VARIANT _Application::_Run2(const VARIANT& Macro, const VARIANT& Arg1, const VARIANT& Arg2, const VARIANT& Arg3, const VARIANT& Arg4, const VARIANT& Arg5, const VARIANT& Arg6, const VARIANT& Arg7, const VARIANT& Arg8, const VARIANT& Arg9,
- const VARIANT& Arg10, const VARIANT& Arg11, const VARIANT& Arg12, const VARIANT& Arg13, const VARIANT& Arg14, const VARIANT& Arg15, const VARIANT& Arg16, const VARIANT& Arg17, const VARIANT& Arg18, const VARIANT& Arg19,
- const VARIANT& Arg20, const VARIANT& Arg21, const VARIANT& Arg22, const VARIANT& Arg23, const VARIANT& Arg24, const VARIANT& Arg25, const VARIANT& Arg26, const VARIANT& Arg27, const VARIANT& Arg28, const VARIANT& Arg29,
- const VARIANT& Arg30)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x326, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Macro, &Arg1, &Arg2, &Arg3, &Arg4, &Arg5, &Arg6, &Arg7, &Arg8, &Arg9, &Arg10, &Arg11, &Arg12, &Arg13, &Arg14, &Arg15, &Arg16, &Arg17, &Arg18, &Arg19, &Arg20, &Arg21, &Arg22, &Arg23, &Arg24, &Arg25, &Arg26, &Arg27, &Arg28, &Arg29, &Arg30);
- return result;
- }
- LPDISPATCH _Application::GetSelection()
- {
- LPDISPATCH result;
- InvokeHelper(0x93, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Application::SendKeys(const VARIANT& Keys, const VARIANT& Wait)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x17f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Keys, &Wait);
- }
- LPDISPATCH _Application::GetSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x1e5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetThisWorkbook()
- {
- LPDISPATCH result;
- InvokeHelper(0x30a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::Union(LPDISPATCH Arg1, LPDISPATCH Arg2, const VARIANT& Arg3, const VARIANT& Arg4, const VARIANT& Arg5, const VARIANT& Arg6, const VARIANT& Arg7, const VARIANT& Arg8, const VARIANT& Arg9, const VARIANT& Arg10, const VARIANT& Arg11,
- const VARIANT& Arg12, const VARIANT& Arg13, const VARIANT& Arg14, const VARIANT& Arg15, const VARIANT& Arg16, const VARIANT& Arg17, const VARIANT& Arg18, const VARIANT& Arg19, const VARIANT& Arg20, const VARIANT& Arg21,
- const VARIANT& Arg22, const VARIANT& Arg23, const VARIANT& Arg24, const VARIANT& Arg25, const VARIANT& Arg26, const VARIANT& Arg27, const VARIANT& Arg28, const VARIANT& Arg29, const VARIANT& Arg30)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_DISPATCH VTS_DISPATCH VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x30b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Arg1, Arg2, &Arg3, &Arg4, &Arg5, &Arg6, &Arg7, &Arg8, &Arg9, &Arg10, &Arg11, &Arg12, &Arg13, &Arg14, &Arg15, &Arg16, &Arg17, &Arg18, &Arg19, &Arg20, &Arg21, &Arg22, &Arg23, &Arg24, &Arg25, &Arg26, &Arg27, &Arg28, &Arg29, &Arg30);
- return result;
- }
- LPDISPATCH _Application::GetWindows()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ae, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetWorkbooks()
- {
- LPDISPATCH result;
- InvokeHelper(0x23c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetWorksheetFunction()
- {
- LPDISPATCH result;
- InvokeHelper(0x5a0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetWorksheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetExcel4IntlMacroSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x245, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetExcel4MacroSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x243, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Application::ActivateMicrosoftApp(long Index)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x447, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Index);
- }
- void _Application::AddChartAutoFormat(const VARIANT& Chart, LPCTSTR Name, const VARIANT& Description)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_BSTR VTS_VARIANT;
- InvokeHelper(0xd8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Chart, Name, &Description);
- }
- void _Application::AddCustomList(const VARIANT& ListArray, const VARIANT& ByRow)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x30c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &ListArray, &ByRow);
- }
- BOOL _Application::GetAlertBeforeOverwriting()
- {
- BOOL result;
- InvokeHelper(0x3a2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetAlertBeforeOverwriting(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x3a2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString _Application::GetAltStartupPath()
- {
- CString result;
- InvokeHelper(0x139, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetAltStartupPath(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x139, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL _Application::GetAskToUpdateLinks()
- {
- BOOL result;
- InvokeHelper(0x3e0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetAskToUpdateLinks(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x3e0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetEnableAnimations()
- {
- BOOL result;
- InvokeHelper(0x49c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetEnableAnimations(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x49c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Application::GetAutoCorrect()
- {
- LPDISPATCH result;
- InvokeHelper(0x479, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetBuild()
- {
- long result;
- InvokeHelper(0x13a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetCalculateBeforeSave()
- {
- BOOL result;
- InvokeHelper(0x13b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCalculateBeforeSave(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x13b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetCalculation()
- {
- long result;
- InvokeHelper(0x13c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCalculation(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x13c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT _Application::GetCaller(const VARIANT& Index)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x13d, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &Index);
- return result;
- }
- BOOL _Application::GetCanPlaySounds()
- {
- BOOL result;
- InvokeHelper(0x13e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetCanRecordSounds()
- {
- BOOL result;
- InvokeHelper(0x13f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetCaption()
- {
- CString result;
- InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCaption(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x8b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL _Application::GetCellDragAndDrop()
- {
- BOOL result;
- InvokeHelper(0x140, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCellDragAndDrop(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x140, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- double _Application::CentimetersToPoints(double Centimeters)
- {
- double result;
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x43e, DISPATCH_METHOD, VT_R8, (void*)&result, parms,
- Centimeters);
- return result;
- }
- BOOL _Application::CheckSpelling(LPCTSTR Word, const VARIANT& CustomDictionary, const VARIANT& IgnoreUppercase)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1f9, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Word, &CustomDictionary, &IgnoreUppercase);
- return result;
- }
- VARIANT _Application::GetClipboardFormats(const VARIANT& Index)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x141, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &Index);
- return result;
- }
- BOOL _Application::GetDisplayClipboardWindow()
- {
- BOOL result;
- InvokeHelper(0x142, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayClipboardWindow(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x142, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetCommandUnderlines()
- {
- long result;
- InvokeHelper(0x143, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCommandUnderlines(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x143, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetConstrainNumeric()
- {
- BOOL result;
- InvokeHelper(0x144, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetConstrainNumeric(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x144, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Application::ConvertFormula(const VARIANT& Formula, long FromReferenceStyle, const VARIANT& ToReferenceStyle, const VARIANT& ToAbsolute, const VARIANT& RelativeTo)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x145, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Formula, FromReferenceStyle, &ToReferenceStyle, &ToAbsolute, &RelativeTo);
- return result;
- }
- BOOL _Application::GetCopyObjectsWithCells()
- {
- BOOL result;
- InvokeHelper(0x3df, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCopyObjectsWithCells(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x3df, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetCursor()
- {
- long result;
- InvokeHelper(0x489, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCursor(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x489, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetCustomListCount()
- {
- long result;
- InvokeHelper(0x313, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Application::GetCutCopyMode()
- {
- long result;
- InvokeHelper(0x14a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCutCopyMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetDataEntryMode()
- {
- long result;
- InvokeHelper(0x14b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDataEntryMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString _Application::Get_Default()
- {
- CString result;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetDefaultFilePath()
- {
- CString result;
- InvokeHelper(0x40e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDefaultFilePath(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x40e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- void _Application::DeleteChartAutoFormat(LPCTSTR Name)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xd9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name);
- }
- void _Application::DeleteCustomList(long ListNum)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x30f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ListNum);
- }
- LPDISPATCH _Application::GetDialogs()
- {
- LPDISPATCH result;
- InvokeHelper(0x2f9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetDisplayAlerts()
- {
- BOOL result;
- InvokeHelper(0x157, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayAlerts(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x157, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetDisplayFormulaBar()
- {
- BOOL result;
- InvokeHelper(0x158, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayFormulaBar(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x158, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetDisplayFullScreen()
- {
- BOOL result;
- InvokeHelper(0x425, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayFullScreen(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x425, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetDisplayNoteIndicator()
- {
- BOOL result;
- InvokeHelper(0x159, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayNoteIndicator(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x159, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetDisplayCommentIndicator()
- {
- long result;
- InvokeHelper(0x4ac, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayCommentIndicator(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4ac, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetDisplayExcel4Menus()
- {
- BOOL result;
- InvokeHelper(0x39f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayExcel4Menus(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x39f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetDisplayRecentFiles()
- {
- BOOL result;
- InvokeHelper(0x39e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayRecentFiles(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x39e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetDisplayScrollBars()
- {
- BOOL result;
- InvokeHelper(0x15a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayScrollBars(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x15a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetDisplayStatusBar()
- {
- BOOL result;
- InvokeHelper(0x15b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayStatusBar(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x15b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Application::DoubleClick()
- {
- InvokeHelper(0x15d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Application::GetEditDirectlyInCell()
- {
- BOOL result;
- InvokeHelper(0x3a1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetEditDirectlyInCell(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x3a1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetEnableAutoComplete()
- {
- BOOL result;
- InvokeHelper(0x49b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetEnableAutoComplete(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x49b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetEnableCancelKey()
- {
- long result;
- InvokeHelper(0x448, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetEnableCancelKey(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x448, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetEnableSound()
- {
- BOOL result;
- InvokeHelper(0x4ad, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetEnableSound(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4ad, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Application::GetFileConverters(const VARIANT& Index1, const VARIANT& Index2)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x3a3, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &Index1, &Index2);
- return result;
- }
- LPDISPATCH _Application::GetFileSearch()
- {
- LPDISPATCH result;
- InvokeHelper(0x4b0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetFileFind()
- {
- LPDISPATCH result;
- InvokeHelper(0x4b1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetFixedDecimal()
- {
- BOOL result;
- InvokeHelper(0x15f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetFixedDecimal(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x15f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetFixedDecimalPlaces()
- {
- long result;
- InvokeHelper(0x160, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetFixedDecimalPlaces(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x160, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT _Application::GetCustomListContents(long ListNum)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x312, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- ListNum);
- return result;
- }
- long _Application::GetCustomListNum(const VARIANT& ListArray)
- {
- long result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x311, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- &ListArray);
- return result;
- }
- VARIANT _Application::GetOpenFilename(const VARIANT& FileFilter, const VARIANT& FilterIndex, const VARIANT& Title, const VARIANT& ButtonText, const VARIANT& MultiSelect)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x433, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &FileFilter, &FilterIndex, &Title, &ButtonText, &MultiSelect);
- return result;
- }
- VARIANT _Application::GetSaveAsFilename(const VARIANT& InitialFilename, const VARIANT& FileFilter, const VARIANT& FilterIndex, const VARIANT& Title, const VARIANT& ButtonText)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x434, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &InitialFilename, &FileFilter, &FilterIndex, &Title, &ButtonText);
- return result;
- }
- void _Application::Goto(const VARIANT& Reference, const VARIANT& Scroll)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1db, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Reference, &Scroll);
- }
- double _Application::GetHeight()
- {
- double result;
- InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void _Application::SetHeight(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- void _Application::Help(const VARIANT& HelpFile, const VARIANT& HelpContextID)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x162, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &HelpFile, &HelpContextID);
- }
- BOOL _Application::GetIgnoreRemoteRequests()
- {
- BOOL result;
- InvokeHelper(0x164, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetIgnoreRemoteRequests(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x164, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- double _Application::InchesToPoints(double Inches)
- {
- double result;
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x43f, DISPATCH_METHOD, VT_R8, (void*)&result, parms,
- Inches);
- return result;
- }
- VARIANT _Application::InputBox(LPCTSTR Prompt, const VARIANT& Title, const VARIANT& Default, const VARIANT& Left, const VARIANT& Top, const VARIANT& HelpFile, const VARIANT& HelpContextID, const VARIANT& Type)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x165, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Prompt, &Title, &Default, &Left, &Top, &HelpFile, &HelpContextID, &Type);
- return result;
- }
- BOOL _Application::GetInteractive()
- {
- BOOL result;
- InvokeHelper(0x169, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetInteractive(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x169, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Application::GetInternational(const VARIANT& Index)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x16a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &Index);
- return result;
- }
- BOOL _Application::GetIteration()
- {
- BOOL result;
- InvokeHelper(0x16b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetIteration(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x16b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- double _Application::GetLeft()
- {
- double result;
- InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void _Application::SetLeft(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x7f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString _Application::GetLibraryPath()
- {
- CString result;
- InvokeHelper(0x16e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::MacroOptions(const VARIANT& Macro, const VARIANT& Description, const VARIANT& HasMenu, const VARIANT& MenuText, const VARIANT& HasShortcutKey, const VARIANT& ShortcutKey, const VARIANT& Category, const VARIANT& StatusBar,
- const VARIANT& HelpContextID, const VARIANT& HelpFile)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x46f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Macro, &Description, &HasMenu, &MenuText, &HasShortcutKey, &ShortcutKey, &Category, &StatusBar, &HelpContextID, &HelpFile);
- }
- void _Application::MailLogoff()
- {
- InvokeHelper(0x3b1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::MailLogon(const VARIANT& Name, const VARIANT& Password, const VARIANT& DownloadNewMail)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x3af, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Name, &Password, &DownloadNewMail);
- }
- VARIANT _Application::GetMailSession()
- {
- VARIANT result;
- InvokeHelper(0x3ae, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long _Application::GetMailSystem()
- {
- long result;
- InvokeHelper(0x3cb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetMathCoprocessorAvailable()
- {
- BOOL result;
- InvokeHelper(0x16f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- double _Application::GetMaxChange()
- {
- double result;
- InvokeHelper(0x170, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void _Application::SetMaxChange(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x170, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long _Application::GetMaxIterations()
- {
- long result;
- InvokeHelper(0x171, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetMaxIterations(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x171, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetMemoryFree()
- {
- long result;
- InvokeHelper(0x172, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Application::GetMemoryTotal()
- {
- long result;
- InvokeHelper(0x173, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Application::GetMemoryUsed()
- {
- long result;
- InvokeHelper(0x174, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetMouseAvailable()
- {
- BOOL result;
- InvokeHelper(0x175, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetMoveAfterReturn()
- {
- BOOL result;
- InvokeHelper(0x176, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetMoveAfterReturn(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x176, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetMoveAfterReturnDirection()
- {
- long result;
- InvokeHelper(0x478, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetMoveAfterReturnDirection(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x478, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH _Application::GetRecentFiles()
- {
- LPDISPATCH result;
- InvokeHelper(0x4b2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetName()
- {
- CString result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::NextLetter()
- {
- LPDISPATCH result;
- InvokeHelper(0x3cc, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetNetworkTemplatesPath()
- {
- CString result;
- InvokeHelper(0x184, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetODBCErrors()
- {
- LPDISPATCH result;
- InvokeHelper(0x4b3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetODBCTimeout()
- {
- long result;
- InvokeHelper(0x4b4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetODBCTimeout(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4b4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void _Application::OnKey(LPCTSTR Key, const VARIANT& Procedure)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT;
- InvokeHelper(0x272, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Key, &Procedure);
- }
- void _Application::OnRepeat(LPCTSTR Text, LPCTSTR Procedure)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x301, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Text, Procedure);
- }
- void _Application::OnTime(const VARIANT& EarliestTime, LPCTSTR Procedure, const VARIANT& LatestTime, const VARIANT& Schedule)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_BSTR VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x270, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &EarliestTime, Procedure, &LatestTime, &Schedule);
- }
- void _Application::OnUndo(LPCTSTR Text, LPCTSTR Procedure)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x302, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Text, Procedure);
- }
- CString _Application::GetOnWindow()
- {
- CString result;
- InvokeHelper(0x26f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetOnWindow(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x26f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString _Application::GetOperatingSystem()
- {
- CString result;
- InvokeHelper(0x177, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetOrganizationName()
- {
- CString result;
- InvokeHelper(0x178, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetPath()
- {
- CString result;
- InvokeHelper(0x123, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetPathSeparator()
- {
- CString result;
- InvokeHelper(0x179, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- VARIANT _Application::GetPreviousSelections(const VARIANT& Index)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x17a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &Index);
- return result;
- }
- BOOL _Application::GetPivotTableSelection()
- {
- BOOL result;
- InvokeHelper(0x4b5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetPivotTableSelection(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4b5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetPromptForSummaryInfo()
- {
- BOOL result;
- InvokeHelper(0x426, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetPromptForSummaryInfo(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x426, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Application::Quit()
- {
- InvokeHelper(0x12e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::RecordMacro(const VARIANT& BasicCode, const VARIANT& XlmCode)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x305, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &BasicCode, &XlmCode);
- }
- BOOL _Application::GetRecordRelative()
- {
- BOOL result;
- InvokeHelper(0x17b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long _Application::GetReferenceStyle()
- {
- long result;
- InvokeHelper(0x17c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetReferenceStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x17c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT _Application::GetRegisteredFunctions(const VARIANT& Index1, const VARIANT& Index2)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x307, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &Index1, &Index2);
- return result;
- }
- BOOL _Application::RegisterXLL(LPCTSTR Filename)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x1e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Filename);
- return result;
- }
- void _Application::Repeat()
- {
- InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Application::GetRollZoom()
- {
- BOOL result;
- InvokeHelper(0x4b6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetRollZoom(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4b6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Application::SaveWorkspace(const VARIANT& Filename)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xd4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename);
- }
- BOOL _Application::GetScreenUpdating()
- {
- BOOL result;
- InvokeHelper(0x17e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetScreenUpdating(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x17e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Application::SetDefaultChart(const VARIANT& FormatName, const VARIANT& Gallery)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xdb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &FormatName, &Gallery);
- }
- long _Application::GetSheetsInNewWorkbook()
- {
- long result;
- InvokeHelper(0x3e1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetSheetsInNewWorkbook(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3e1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetShowChartTipNames()
- {
- BOOL result;
- InvokeHelper(0x4b7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetShowChartTipNames(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4b7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetShowChartTipValues()
- {
- BOOL result;
- InvokeHelper(0x4b8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetShowChartTipValues(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4b8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString _Application::GetStandardFont()
- {
- CString result;
- InvokeHelper(0x39c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetStandardFont(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x39c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- double _Application::GetStandardFontSize()
- {
- double result;
- InvokeHelper(0x39d, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void _Application::SetStandardFontSize(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x39d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString _Application::GetStartupPath()
- {
- CString result;
- InvokeHelper(0x181, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- VARIANT _Application::GetStatusBar()
- {
- VARIANT result;
- InvokeHelper(0x182, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void _Application::SetStatusBar(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x182, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- CString _Application::GetTemplatesPath()
- {
- CString result;
- InvokeHelper(0x17d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetShowToolTips()
- {
- BOOL result;
- InvokeHelper(0x183, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetShowToolTips(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x183, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- double _Application::GetTop()
- {
- double result;
- InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void _Application::SetTop(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x7e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long _Application::GetDefaultSaveFormat()
- {
- long result;
- InvokeHelper(0x4b9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDefaultSaveFormat(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4b9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString _Application::GetTransitionMenuKey()
- {
- CString result;
- InvokeHelper(0x136, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetTransitionMenuKey(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x136, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long _Application::GetTransitionMenuKeyAction()
- {
- long result;
- InvokeHelper(0x137, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetTransitionMenuKeyAction(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x137, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetTransitionNavigKeys()
- {
- BOOL result;
- InvokeHelper(0x138, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetTransitionNavigKeys(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x138, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Application::Undo()
- {
- InvokeHelper(0x12f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- double _Application::GetUsableHeight()
- {
- double result;
- InvokeHelper(0x185, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- double _Application::GetUsableWidth()
- {
- double result;
- InvokeHelper(0x186, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetUserControl()
- {
- BOOL result;
- InvokeHelper(0x4ba, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetUserControl(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4ba, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString _Application::GetUserName_()
- {
- CString result;
- InvokeHelper(0x187, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetUserName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x187, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString _Application::GetValue()
- {
- CString result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetVbe()
- {
- LPDISPATCH result;
- InvokeHelper(0x4bb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetVersion()
- {
- CString result;
- InvokeHelper(0x188, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetVisible()
- {
- BOOL result;
- InvokeHelper(0x22e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetVisible(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x22e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Application::Volatile(const VARIANT& Volatile)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x314, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Volatile);
- }
- double _Application::GetWidth()
- {
- double result;
- InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void _Application::SetWidth(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x7a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL _Application::GetWindowsForPens()
- {
- BOOL result;
- InvokeHelper(0x18b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long _Application::GetWindowState()
- {
- long result;
- InvokeHelper(0x18c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetWindowState(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x18c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetDefaultSheetDirection()
- {
- long result;
- InvokeHelper(0xe5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDefaultSheetDirection(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xe5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetCursorMovement()
- {
- long result;
- InvokeHelper(0xe8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCursorMovement(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xe8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetControlCharacters()
- {
- BOOL result;
- InvokeHelper(0xe9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetControlCharacters(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xe9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetEnableEvents()
- {
- BOOL result;
- InvokeHelper(0x4bc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetEnableEvents(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4bc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::Wait(const VARIANT& Time)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6ea, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- &Time);
- return result;
- }
- BOOL _Application::GetExtendList()
- {
- BOOL result;
- InvokeHelper(0x701, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetExtendList(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x701, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Application::GetOLEDBErrors()
- {
- LPDISPATCH result;
- InvokeHelper(0x702, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetPhonetic(const VARIANT& Text)
- {
- CString result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x703, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- &Text);
- return result;
- }
- LPDISPATCH _Application::GetCOMAddIns()
- {
- LPDISPATCH result;
- InvokeHelper(0x704, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetDefaultWebOptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x705, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetProductCode()
- {
- CString result;
- InvokeHelper(0x706, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetUserLibraryPath()
- {
- CString result;
- InvokeHelper(0x707, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetAutoPercentEntry()
- {
- BOOL result;
- InvokeHelper(0x708, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetAutoPercentEntry(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x708, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Application::GetLanguageSettings()
- {
- LPDISPATCH result;
- InvokeHelper(0x709, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAnswerWizard()
- {
- LPDISPATCH result;
- InvokeHelper(0x70c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Application::CalculateFull()
- {
- InvokeHelper(0x70d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Application::FindFile()
- {
- BOOL result;
- InvokeHelper(0x6eb, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long _Application::GetCalculationVersion()
- {
- long result;
- InvokeHelper(0x70e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetShowWindowsInTaskbar()
- {
- BOOL result;
- InvokeHelper(0x70f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetShowWindowsInTaskbar(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x70f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetFeatureInstall()
- {
- long result;
- InvokeHelper(0x710, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetFeatureInstall(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x710, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- /////////////////////////////////////////////////////////////////////////////
- // _Worksheet properties
- /////////////////////////////////////////////////////////////////////////////
- // _Worksheet operations
- LPDISPATCH _Worksheet::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Worksheet::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::Activate()
- {
- InvokeHelper(0x130, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Worksheet::Copy(const VARIANT& Before, const VARIANT& After)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x227, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Before, &After);
- }
- void _Worksheet::Delete()
- {
- InvokeHelper(0x75, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- CString _Worksheet::GetCodeName()
- {
- CString result;
- InvokeHelper(0x55d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Worksheet::Get_CodeName()
- {
- CString result;
- InvokeHelper(0x80010000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::Set_CodeName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x80010000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long _Worksheet::GetIndex()
- {
- long result;
- InvokeHelper(0x1e6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::Move(const VARIANT& Before, const VARIANT& After)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x27d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Before, &After);
- }
- CString _Worksheet::GetName()
- {
- CString result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- LPDISPATCH _Worksheet::GetNext()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetPageSetup()
- {
- LPDISPATCH result;
- InvokeHelper(0x3e6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetPrevious()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::PrintPreview(const VARIANT& EnableChanges)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x119, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &EnableChanges);
- }
- void _Worksheet::Protect(const VARIANT& Password, const VARIANT& DrawingObjects, const VARIANT& Contents, const VARIANT& Scenarios, const VARIANT& UserInterfaceOnly)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x11a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Password, &DrawingObjects, &Contents, &Scenarios, &UserInterfaceOnly);
- }
- BOOL _Worksheet::GetProtectContents()
- {
- BOOL result;
- InvokeHelper(0x124, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Worksheet::GetProtectDrawingObjects()
- {
- BOOL result;
- InvokeHelper(0x125, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Worksheet::GetProtectionMode()
- {
- BOOL result;
- InvokeHelper(0x487, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Worksheet::GetProtectScenarios()
- {
- BOOL result;
- InvokeHelper(0x126, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SaveAs(LPCTSTR Filename, const VARIANT& FileFormat, const VARIANT& Password, const VARIANT& WriteResPassword, const VARIANT& ReadOnlyRecommended, const VARIANT& CreateBackup, const VARIANT& AddToMru, const VARIANT& TextCodepage,
- const VARIANT& TextVisualLayout)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x11c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Filename, &FileFormat, &Password, &WriteResPassword, &ReadOnlyRecommended, &CreateBackup, &AddToMru, &TextCodepage, &TextVisualLayout);
- }
- void _Worksheet::Select(const VARIANT& Replace)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xeb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Replace);
- }
- void _Worksheet::Unprotect(const VARIANT& Password)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x11d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Password);
- }
- long _Worksheet::GetVisible()
- {
- long result;
- InvokeHelper(0x22e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetVisible(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x22e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH _Worksheet::GetShapes()
- {
- LPDISPATCH result;
- InvokeHelper(0x561, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Worksheet::GetTransitionExpEval()
- {
- BOOL result;
- InvokeHelper(0x191, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetTransitionExpEval(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x191, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Worksheet::GetAutoFilterMode()
- {
- BOOL result;
- InvokeHelper(0x318, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetAutoFilterMode(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x318, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Worksheet::SetBackgroundPicture(LPCTSTR Filename)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x4a4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Filename);
- }
- void _Worksheet::Calculate()
- {
- InvokeHelper(0x117, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Worksheet::GetEnableCalculation()
- {
- BOOL result;
- InvokeHelper(0x590, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetEnableCalculation(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x590, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Worksheet::GetCells()
- {
- LPDISPATCH result;
- InvokeHelper(0xee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::ChartObjects(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x424, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- void _Worksheet::CheckSpelling(const VARIANT& CustomDictionary, const VARIANT& IgnoreUppercase, const VARIANT& AlwaysSuggest, const VARIANT& SpellLang)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1f9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &CustomDictionary, &IgnoreUppercase, &AlwaysSuggest, &SpellLang);
- }
- LPDISPATCH _Worksheet::GetCircularReference()
- {
- LPDISPATCH result;
- InvokeHelper(0x42d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::ClearArrows()
- {
- InvokeHelper(0x3ca, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Worksheet::GetColumns()
- {
- LPDISPATCH result;
- InvokeHelper(0xf1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Worksheet::GetConsolidationFunction()
- {
- long result;
- InvokeHelper(0x315, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT _Worksheet::GetConsolidationOptions()
- {
- VARIANT result;
- InvokeHelper(0x316, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT _Worksheet::GetConsolidationSources()
- {
- VARIANT result;
- InvokeHelper(0x317, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- BOOL _Worksheet::GetEnableAutoFilter()
- {
- BOOL result;
- InvokeHelper(0x484, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetEnableAutoFilter(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x484, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Worksheet::GetEnableSelection()
- {
- long result;
- InvokeHelper(0x591, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetEnableSelection(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x591, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Worksheet::GetEnableOutlining()
- {
- BOOL result;
- InvokeHelper(0x485, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetEnableOutlining(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x485, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Worksheet::GetEnablePivotTable()
- {
- BOOL result;
- InvokeHelper(0x486, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetEnablePivotTable(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x486, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Worksheet::Evaluate(const VARIANT& Name)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Name);
- return result;
- }
- VARIANT _Worksheet::_Evaluate(const VARIANT& Name)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xfffffffb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Name);
- return result;
- }
- BOOL _Worksheet::GetFilterMode()
- {
- BOOL result;
- InvokeHelper(0x320, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::ResetAllPageBreaks()
- {
- InvokeHelper(0x592, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Worksheet::GetNames()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ba, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::OLEObjects(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x31f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- LPDISPATCH _Worksheet::GetOutline()
- {
- LPDISPATCH result;
- InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::Paste(const VARIANT& Destination, const VARIANT& Link)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xd3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Destination, &Link);
- }
- void _Worksheet::PasteSpecial(const VARIANT& Format, const VARIANT& Link, const VARIANT& DisplayAsIcon, const VARIANT& IconFileName, const VARIANT& IconIndex, const VARIANT& IconLabel)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x403, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Format, &Link, &DisplayAsIcon, &IconFileName, &IconIndex, &IconLabel);
- }
- LPDISPATCH _Worksheet::PivotTables(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x2b2, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- LPDISPATCH _Worksheet::PivotTableWizard(const VARIANT& SourceType, const VARIANT& SourceData, const VARIANT& TableDestination, const VARIANT& TableName, const VARIANT& RowGrand, const VARIANT& ColumnGrand, const VARIANT& SaveData,
- const VARIANT& HasAutoFormat, const VARIANT& AutoPage, const VARIANT& Reserved, const VARIANT& BackgroundQuery, const VARIANT& OptimizeCache, const VARIANT& PageFieldOrder, const VARIANT& PageFieldWrapCount, const VARIANT& ReadData,
- const VARIANT& Connection)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x2ac, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &SourceType, &SourceData, &TableDestination, &TableName, &RowGrand, &ColumnGrand, &SaveData, &HasAutoFormat, &AutoPage, &Reserved, &BackgroundQuery, &OptimizeCache, &PageFieldOrder, &PageFieldWrapCount, &ReadData, &Connection);
- return result;
- }
- LPDISPATCH _Worksheet::GetRange(const VARIANT& Cell1, const VARIANT& Cell2)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xc5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Cell1, &Cell2);
- return result;
- }
- LPDISPATCH _Worksheet::GetRows()
- {
- LPDISPATCH result;
- InvokeHelper(0x102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::Scenarios(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x38c, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- CString _Worksheet::GetScrollArea()
- {
- CString result;
- InvokeHelper(0x599, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetScrollArea(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x599, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- void _Worksheet::ShowAllData()
- {
- InvokeHelper(0x31a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Worksheet::ShowDataForm()
- {
- InvokeHelper(0x199, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- double _Worksheet::GetStandardHeight()
- {
- double result;
- InvokeHelper(0x197, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- double _Worksheet::GetStandardWidth()
- {
- double result;
- InvokeHelper(0x198, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetStandardWidth(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x198, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL _Worksheet::GetTransitionFormEntry()
- {
- BOOL result;
- InvokeHelper(0x192, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetTransitionFormEntry(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x192, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Worksheet::GetType()
- {
- long result;
- InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetUsedRange()
- {
- LPDISPATCH result;
- InvokeHelper(0x19c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetHPageBreaks()
- {
- LPDISPATCH result;
- InvokeHelper(0x58a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetVPageBreaks()
- {
- LPDISPATCH result;
- InvokeHelper(0x58b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetQueryTables()
- {
- LPDISPATCH result;
- InvokeHelper(0x59a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Worksheet::GetDisplayPageBreaks()
- {
- BOOL result;
- InvokeHelper(0x59b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetDisplayPageBreaks(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x59b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Worksheet::GetComments()
- {
- LPDISPATCH result;
- InvokeHelper(0x23f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Worksheet::GetHyperlinks()
- {
- LPDISPATCH result;
- InvokeHelper(0x571, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::ClearCircles()
- {
- InvokeHelper(0x59c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Worksheet::CircleInvalid()
- {
- InvokeHelper(0x59d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Worksheet::GetAutoFilter()
- {
- LPDISPATCH result;
- InvokeHelper(0x319, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Worksheet::GetDisplayRightToLeft()
- {
- BOOL result;
- InvokeHelper(0x6ee, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::SetDisplayRightToLeft(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x6ee, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Worksheet::GetScripts()
- {
- LPDISPATCH result;
- InvokeHelper(0x718, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Worksheet::PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate, const VARIANT& PrToFileName)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ec, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
- }
- /////////////////////////////////////////////////////////////////////////////
- // _Workbook properties
- /////////////////////////////////////////////////////////////////////////////
- // _Workbook operations
- LPDISPATCH _Workbook::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Workbook::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetAcceptLabelsInFormulas()
- {
- BOOL result;
- InvokeHelper(0x5a1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetAcceptLabelsInFormulas(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::Activate()
- {
- InvokeHelper(0x130, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Workbook::GetActiveChart()
- {
- LPDISPATCH result;
- InvokeHelper(0xb7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetActiveSheet()
- {
- LPDISPATCH result;
- InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Workbook::GetAutoUpdateFrequency()
- {
- long result;
- InvokeHelper(0x5a2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetAutoUpdateFrequency(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5a2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Workbook::GetAutoUpdateSaveChanges()
- {
- BOOL result;
- InvokeHelper(0x5a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetAutoUpdateSaveChanges(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Workbook::GetChangeHistoryDuration()
- {
- long result;
- InvokeHelper(0x5a4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetChangeHistoryDuration(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5a4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH _Workbook::GetBuiltinDocumentProperties()
- {
- LPDISPATCH result;
- InvokeHelper(0x498, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::ChangeFileAccess(long Mode, const VARIANT& WritePassword, const VARIANT& Notify)
- {
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x3dd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Mode, &WritePassword, &Notify);
- }
- void _Workbook::ChangeLink(LPCTSTR Name, LPCTSTR NewName, long Type)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR VTS_I4;
- InvokeHelper(0x322, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name, NewName, Type);
- }
- LPDISPATCH _Workbook::GetCharts()
- {
- LPDISPATCH result;
- InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Close(const VARIANT& SaveChanges, const VARIANT& Filename, const VARIANT& RouteWorkbook)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x115, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &SaveChanges, &Filename, &RouteWorkbook);
- }
- CString _Workbook::GetCodeName()
- {
- CString result;
- InvokeHelper(0x55d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Workbook::Get_CodeName()
- {
- CString result;
- InvokeHelper(0x80010000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Set_CodeName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x80010000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- VARIANT _Workbook::GetColors(const VARIANT& Index)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x11e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &Index);
- return result;
- }
- void _Workbook::SetColors(const VARIANT& Index, const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x11e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &Index, &newValue);
- }
- LPDISPATCH _Workbook::GetCommandBars()
- {
- LPDISPATCH result;
- InvokeHelper(0x59f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Workbook::GetConflictResolution()
- {
- long result;
- InvokeHelper(0x497, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetConflictResolution(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x497, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH _Workbook::GetContainer()
- {
- LPDISPATCH result;
- InvokeHelper(0x4a6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetCreateBackup()
- {
- BOOL result;
- InvokeHelper(0x11f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetCustomDocumentProperties()
- {
- LPDISPATCH result;
- InvokeHelper(0x499, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetDate1904()
- {
- BOOL result;
- InvokeHelper(0x193, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetDate1904(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x193, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::DeleteNumberFormat(LPCTSTR NumberFormat)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x18d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- NumberFormat);
- }
- long _Workbook::GetDisplayDrawingObjects()
- {
- long result;
- InvokeHelper(0x194, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetDisplayDrawingObjects(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x194, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Workbook::ExclusiveAccess()
- {
- BOOL result;
- InvokeHelper(0x490, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long _Workbook::GetFileFormat()
- {
- long result;
- InvokeHelper(0x120, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Workbook::ForwardMailer()
- {
- InvokeHelper(0x3cd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- CString _Workbook::GetFullName()
- {
- CString result;
- InvokeHelper(0x121, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetHasPassword()
- {
- BOOL result;
- InvokeHelper(0x122, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetHasRoutingSlip()
- {
- BOOL result;
- InvokeHelper(0x3b6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetHasRoutingSlip(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x3b6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetIsAddin()
- {
- BOOL result;
- InvokeHelper(0x5a5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetIsAddin(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Workbook::LinkInfo(LPCTSTR Name, long LinkInfo, const VARIANT& Type, const VARIANT& EditionRef)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_BSTR VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x327, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Name, LinkInfo, &Type, &EditionRef);
- return result;
- }
- VARIANT _Workbook::LinkSources(const VARIANT& Type)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x328, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Type);
- return result;
- }
- LPDISPATCH _Workbook::GetMailer()
- {
- LPDISPATCH result;
- InvokeHelper(0x3d3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::MergeWorkbook(const VARIANT& Filename)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x5a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename);
- }
- BOOL _Workbook::GetMultiUserEditing()
- {
- BOOL result;
- InvokeHelper(0x491, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Workbook::GetName()
- {
- CString result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetNames()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ba, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::NewWindow()
- {
- LPDISPATCH result;
- InvokeHelper(0x118, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::OpenLinks(LPCTSTR Name, const VARIANT& ReadOnly, const VARIANT& Type)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x323, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name, &ReadOnly, &Type);
- }
- CString _Workbook::GetPath()
- {
- CString result;
- InvokeHelper(0x123, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetPersonalViewListSettings()
- {
- BOOL result;
- InvokeHelper(0x5a7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetPersonalViewListSettings(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetPersonalViewPrintSettings()
- {
- BOOL result;
- InvokeHelper(0x5a8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetPersonalViewPrintSettings(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Workbook::PivotCaches()
- {
- LPDISPATCH result;
- InvokeHelper(0x5a9, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Post(const VARIANT& DestName)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x48e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &DestName);
- }
- BOOL _Workbook::GetPrecisionAsDisplayed()
- {
- BOOL result;
- InvokeHelper(0x195, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetPrecisionAsDisplayed(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x195, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::PrintPreview(const VARIANT& EnableChanges)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x119, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &EnableChanges);
- }
- void _Workbook::Protect(const VARIANT& Password, const VARIANT& Structure, const VARIANT& Windows)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x11a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Password, &Structure, &Windows);
- }
- void _Workbook::ProtectSharing(const VARIANT& Filename, const VARIANT& Password, const VARIANT& WriteResPassword, const VARIANT& ReadOnlyRecommended, const VARIANT& CreateBackup, const VARIANT& SharingPassword)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5aa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename, &Password, &WriteResPassword, &ReadOnlyRecommended, &CreateBackup, &SharingPassword);
- }
- BOOL _Workbook::GetProtectStructure()
- {
- BOOL result;
- InvokeHelper(0x24c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetProtectWindows()
- {
- BOOL result;
- InvokeHelper(0x127, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetReadOnly()
- {
- BOOL result;
- InvokeHelper(0x128, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetReadOnlyRecommended()
- {
- BOOL result;
- InvokeHelper(0x129, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::RefreshAll()
- {
- InvokeHelper(0x5ac, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::Reply()
- {
- InvokeHelper(0x3d1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::ReplyAll()
- {
- InvokeHelper(0x3d2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::RemoveUser(long Index)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5ad, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Index);
- }
- long _Workbook::GetRevisionNumber()
- {
- long result;
- InvokeHelper(0x494, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Route()
- {
- InvokeHelper(0x3b2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Workbook::GetRouted()
- {
- BOOL result;
- InvokeHelper(0x3b7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetRoutingSlip()
- {
- LPDISPATCH result;
- InvokeHelper(0x3b5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::RunAutoMacros(long Which)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x27a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Which);
- }
- void _Workbook::Save()
- {
- InvokeHelper(0x11b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::SaveAs(const VARIANT& Filename, const VARIANT& FileFormat, const VARIANT& Password, const VARIANT& WriteResPassword, const VARIANT& ReadOnlyRecommended, const VARIANT& CreateBackup, long AccessMode, const VARIANT& ConflictResolution,
- const VARIANT& AddToMru, const VARIANT& TextCodepage, const VARIANT& TextVisualLayout)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x11c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename, &FileFormat, &Password, &WriteResPassword, &ReadOnlyRecommended, &CreateBackup, AccessMode, &ConflictResolution, &AddToMru, &TextCodepage, &TextVisualLayout);
- }
- void _Workbook::SaveCopyAs(const VARIANT& Filename)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xaf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename);
- }
- BOOL _Workbook::GetSaved()
- {
- BOOL result;
- InvokeHelper(0x12a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetSaved(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x12a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetSaveLinkValues()
- {
- BOOL result;
- InvokeHelper(0x196, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetSaveLinkValues(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x196, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::SendMail(const VARIANT& Recipients, const VARIANT& Subject, const VARIANT& ReturnReceipt)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x3b3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Recipients, &Subject, &ReturnReceipt);
- }
- void _Workbook::SendMailer(const VARIANT& FileFormat, long Priority)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_I4;
- InvokeHelper(0x3d4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &FileFormat, Priority);
- }
- void _Workbook::SetLinkOnData(LPCTSTR Name, const VARIANT& Procedure)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT;
- InvokeHelper(0x329, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name, &Procedure);
- }
- LPDISPATCH _Workbook::GetSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x1e5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetShowConflictHistory()
- {
- BOOL result;
- InvokeHelper(0x493, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetShowConflictHistory(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x493, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Workbook::GetStyles()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ed, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Unprotect(const VARIANT& Password)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x11d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Password);
- }
- void _Workbook::UnprotectSharing(const VARIANT& SharingPassword)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x5af, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &SharingPassword);
- }
- void _Workbook::UpdateFromFile()
- {
- InvokeHelper(0x3e3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::UpdateLink(const VARIANT& Name, const VARIANT& Type)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x324, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Name, &Type);
- }
- BOOL _Workbook::GetUpdateRemoteReferences()
- {
- BOOL result;
- InvokeHelper(0x19b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetUpdateRemoteReferences(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x19b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Workbook::GetUserStatus()
- {
- VARIANT result;
- InvokeHelper(0x495, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetCustomViews()
- {
- LPDISPATCH result;
- InvokeHelper(0x5b0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetWindows()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ae, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetWorksheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetWriteReserved()
- {
- BOOL result;
- InvokeHelper(0x12b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Workbook::GetWriteReservedBy()
- {
- CString result;
- InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetExcel4IntlMacroSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x245, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetExcel4MacroSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x243, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetTemplateRemoveExtData()
- {
- BOOL result;
- InvokeHelper(0x5b1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetTemplateRemoveExtData(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::HighlightChangesOptions(const VARIANT& When, const VARIANT& Who, const VARIANT& Where)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5b2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &When, &Who, &Where);
- }
- BOOL _Workbook::GetHighlightChangesOnScreen()
- {
- BOOL result;
- InvokeHelper(0x5b5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetHighlightChangesOnScreen(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetKeepChangeHistory()
- {
- BOOL result;
- InvokeHelper(0x5b6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetKeepChangeHistory(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetListChangesOnNewSheet()
- {
- BOOL result;
- InvokeHelper(0x5b7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetListChangesOnNewSheet(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::PurgeChangeHistoryNow(long Days, const VARIANT& SharingPassword)
- {
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT;
- InvokeHelper(0x5b8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Days, &SharingPassword);
- }
- void _Workbook::AcceptAllChanges(const VARIANT& When, const VARIANT& Who, const VARIANT& Where)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5ba, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &When, &Who, &Where);
- }
- void _Workbook::RejectAllChanges(const VARIANT& When, const VARIANT& Who, const VARIANT& Where)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5bb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &When, &Who, &Where);
- }
- void _Workbook::ResetColors()
- {
- InvokeHelper(0x5bc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Workbook::GetVBProject()
- {
- LPDISPATCH result;
- InvokeHelper(0x5bd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::FollowHyperlink(LPCTSTR Address, const VARIANT& SubAddress, const VARIANT& NewWindow, const VARIANT& AddHistory, const VARIANT& ExtraInfo, const VARIANT& Method, const VARIANT& HeaderInfo)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5be, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Address, &SubAddress, &NewWindow, &AddHistory, &ExtraInfo, &Method, &HeaderInfo);
- }
- void _Workbook::AddToFavorites()
- {
- InvokeHelper(0x5c4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Workbook::GetIsInplace()
- {
- BOOL result;
- InvokeHelper(0x6e9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate, const VARIANT& PrToFileName)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ec, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
- }
- void _Workbook::WebPagePreview()
- {
- InvokeHelper(0x71a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Workbook::GetPublishObjects()
- {
- LPDISPATCH result;
- InvokeHelper(0x71b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetWebOptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x71c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::ReloadAs(long Encoding)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x71d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Encoding);
- }
- LPDISPATCH _Workbook::GetHTMLProject()
- {
- LPDISPATCH result;
- InvokeHelper(0x71f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetEnvelopeVisible()
- {
- BOOL result;
- InvokeHelper(0x720, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetEnvelopeVisible(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x720, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Workbook::GetCalculationVersion()
- {
- long result;
- InvokeHelper(0x70e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetVBASigned()
- {
- BOOL result;
- InvokeHelper(0x724, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Workbooks properties
- /////////////////////////////////////////////////////////////////////////////
- // Workbooks operations
- LPDISPATCH Workbooks::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Workbooks::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::Add(const VARIANT& Template)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Template);
- return result;
- }
- void Workbooks::Close()
- {
- InvokeHelper(0x115, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- long Workbooks::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- LPUNKNOWN Workbooks::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::Open(LPCTSTR Filename, const VARIANT& UpdateLinks, const VARIANT& ReadOnly, const VARIANT& Format, const VARIANT& Password, const VARIANT& WriteResPassword, const VARIANT& IgnoreReadOnlyRecommended, const VARIANT& Origin,
- const VARIANT& Delimiter, const VARIANT& Editable, const VARIANT& Notify, const VARIANT& Converter, const VARIANT& AddToMru)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x2aa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Filename, &UpdateLinks, &ReadOnly, &Format, &Password, &WriteResPassword, &IgnoreReadOnlyRecommended, &Origin, &Delimiter, &Editable, &Notify, &Converter, &AddToMru);
- return result;
- }
- LPDISPATCH Workbooks::Get_Default(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- void Workbooks::OpenText(LPCTSTR Filename, const VARIANT& Origin, const VARIANT& StartRow, const VARIANT& DataType, long TextQualifier, const VARIANT& ConsecutiveDelimiter, const VARIANT& Tab, const VARIANT& Semicolon, const VARIANT& Comma,
- const VARIANT& Space, const VARIANT& Other, const VARIANT& OtherChar, const VARIANT& FieldInfo, const VARIANT& TextVisualLayout, const VARIANT& DecimalSeparator, const VARIANT& ThousandsSeparator)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ed, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Filename, &Origin, &StartRow, &DataType, TextQualifier, &ConsecutiveDelimiter, &Tab, &Semicolon, &Comma, &Space, &Other, &OtherChar, &FieldInfo, &TextVisualLayout, &DecimalSeparator, &ThousandsSeparator);
- }
- /////////////////////////////////////////////////////////////////////////////
- // FontExcel properties
- /////////////////////////////////////////////////////////////////////////////
- // FontExcel operations
- LPDISPATCH FontExcel::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long FontExcel::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH FontExcel::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT FontExcel::GetBackground()
- {
- VARIANT result;
- InvokeHelper(0xb4, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetBackground(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetBold()
- {
- VARIANT result;
- InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetBold(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x60, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetFontStyle()
- {
- VARIANT result;
- InvokeHelper(0xb1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetFontStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetItalic()
- {
- VARIANT result;
- InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetItalic(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetName()
- {
- VARIANT result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetName(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetOutlineFont()
- {
- VARIANT result;
- InvokeHelper(0xdd, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetOutlineFont(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xdd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetShadow()
- {
- VARIANT result;
- InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetShadow(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetSize()
- {
- VARIANT result;
- InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetSize(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetStrikethrough()
- {
- VARIANT result;
- InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetStrikethrough(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetSubscript()
- {
- VARIANT result;
- InvokeHelper(0xb3, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetSubscript(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetSuperscript()
- {
- VARIANT result;
- InvokeHelper(0xb2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetSuperscript(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT FontExcel::GetUnderline()
- {
- VARIANT result;
- InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void FontExcel::SetUnderline(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- /////////////////////////////////////////////////////////////////////////////
- // Range properties
- /////////////////////////////////////////////////////////////////////////////
- // Range operations
- LPDISPATCH Range::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Range::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Activate()
- {
- VARIANT result;
- InvokeHelper(0x130, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetAddIndent()
- {
- VARIANT result;
- InvokeHelper(0x427, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetAddIndent(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x427, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- CString Range::GetAddress(const VARIANT& RowAbsolute, const VARIANT& ColumnAbsolute, long ReferenceStyle, const VARIANT& External, const VARIANT& RelativeTo)
- {
- CString result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xec, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- &RowAbsolute, &ColumnAbsolute, ReferenceStyle, &External, &RelativeTo);
- return result;
- }
- CString Range::GetAddressLocal(const VARIANT& RowAbsolute, const VARIANT& ColumnAbsolute, long ReferenceStyle, const VARIANT& External, const VARIANT& RelativeTo)
- {
- CString result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1b5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- &RowAbsolute, &ColumnAbsolute, ReferenceStyle, &External, &RelativeTo);
- return result;
- }
- VARIANT Range::AdvancedFilter(long Action, const VARIANT& CriteriaRange, const VARIANT& CopyToRange, const VARIANT& Unique)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x36c, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Action, &CriteriaRange, &CopyToRange, &Unique);
- return result;
- }
- VARIANT Range::ApplyNames(const VARIANT& Names, const VARIANT& IgnoreRelativeAbsolute, const VARIANT& UseRowColumnNames, const VARIANT& OmitColumn, const VARIANT& OmitRow, long Order, const VARIANT& AppendLast)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT;
- InvokeHelper(0x1b9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Names, &IgnoreRelativeAbsolute, &UseRowColumnNames, &OmitColumn, &OmitRow, Order, &AppendLast);
- return result;
- }
- VARIANT Range::ApplyOutlineStyles()
- {
- VARIANT result;
- InvokeHelper(0x1c0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetAreas()
- {
- LPDISPATCH result;
- InvokeHelper(0x238, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString Range::AutoComplete(LPCTSTR String)
- {
- CString result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x4a1, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- String);
- return result;
- }
- VARIANT Range::AutoFill(LPDISPATCH Destination, long Type)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_DISPATCH VTS_I4;
- InvokeHelper(0x1c1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Destination, Type);
- return result;
- }
- VARIANT Range::AutoFilter(const VARIANT& Field, const VARIANT& Criteria1, long Operator, const VARIANT& Criteria2, const VARIANT& VisibleDropDown)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x319, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Field, &Criteria1, Operator, &Criteria2, &VisibleDropDown);
- return result;
- }
- VARIANT Range::AutoFit()
- {
- VARIANT result;
- InvokeHelper(0xed, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::AutoFormat(long Format, const VARIANT& Number, const VARIANT& FontExcel, const VARIANT& Alignment, const VARIANT& Border, const VARIANT& Pattern, const VARIANT& Width)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x72, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Format, &Number, &FontExcel, &Alignment, &Border, &Pattern, &Width);
- return result;
- }
- VARIANT Range::AutoOutline()
- {
- VARIANT result;
- InvokeHelper(0x40c, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::BorderAround(const VARIANT& LineStyle, long Weight, long ColorIndex, const VARIANT& Color)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT;
- InvokeHelper(0x42b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &LineStyle, Weight, ColorIndex, &Color);
- return result;
- }
- LPDISPATCH Range::GetBorders()
- {
- LPDISPATCH result;
- InvokeHelper(0x1b3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Calculate()
- {
- VARIANT result;
- InvokeHelper(0x117, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetCells()
- {
- LPDISPATCH result;
- InvokeHelper(0xee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetCharacters(const VARIANT& Start, const VARIANT& Length)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x25b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Start, &Length);
- return result;
- }
- VARIANT Range::CheckSpelling(const VARIANT& CustomDictionary, const VARIANT& IgnoreUppercase, const VARIANT& AlwaysSuggest, const VARIANT& SpellLang)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1f9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &CustomDictionary, &IgnoreUppercase, &AlwaysSuggest, &SpellLang);
- return result;
- }
- VARIANT Range::Clear()
- {
- VARIANT result;
- InvokeHelper(0x6f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearContents()
- {
- VARIANT result;
- InvokeHelper(0x71, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearFormats()
- {
- VARIANT result;
- InvokeHelper(0x70, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearNotes()
- {
- VARIANT result;
- InvokeHelper(0xef, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearOutline()
- {
- VARIANT result;
- InvokeHelper(0x40d, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long Range::GetColumn()
- {
- long result;
- InvokeHelper(0xf0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::ColumnDifferences(const VARIANT& Comparison)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x1fe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Comparison);
- return result;
- }
- LPDISPATCH Range::GetColumns()
- {
- LPDISPATCH result;
- InvokeHelper(0xf1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetColumnWidth()
- {
- VARIANT result;
- InvokeHelper(0xf2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetColumnWidth(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xf2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::Consolidate(const VARIANT& Sources, const VARIANT& Function, const VARIANT& TopRow, const VARIANT& LeftColumn, const VARIANT& CreateLinks)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1e2, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Sources, &Function, &TopRow, &LeftColumn, &CreateLinks);
- return result;
- }
- VARIANT Range::Copy(const VARIANT& Destination)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x227, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Destination);
- return result;
- }
- long Range::CopyFromRecordset(LPUNKNOWN Data, const VARIANT& MaxRows, const VARIANT& MaxColumns)
- {
- long result;
- static BYTE parms[] =
- VTS_UNKNOWN VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x480, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Data, &MaxRows, &MaxColumns);
- return result;
- }
- VARIANT Range::CopyPicture(long Appearance, long Format)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0xd5, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Appearance, Format);
- return result;
- }
- long Range::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::CreateNames(const VARIANT& Top, const VARIANT& Left, const VARIANT& Bottom, const VARIANT& Right)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1c9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Top, &Left, &Bottom, &Right);
- return result;
- }
- VARIANT Range::CreatePublisher(const VARIANT& Edition, long Appearance, const VARIANT& ContainsPICT, const VARIANT& ContainsBIFF, const VARIANT& ContainsRTF, const VARIANT& ContainsVALU)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1ca, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Edition, Appearance, &ContainsPICT, &ContainsBIFF, &ContainsRTF, &ContainsVALU);
- return result;
- }
- LPDISPATCH Range::GetCurrentArray()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetCurrentRegion()
- {
- LPDISPATCH result;
- InvokeHelper(0xf3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Cut(const VARIANT& Destination)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x235, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Destination);
- return result;
- }
- VARIANT Range::DataSeries(const VARIANT& Rowcol, long Type, long Date, const VARIANT& Step, const VARIANT& Stop, const VARIANT& Trend)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1d0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Rowcol, Type, Date, &Step, &Stop, &Trend);
- return result;
- }
- VARIANT Range::Get_Default(const VARIANT& RowIndex, const VARIANT& ColumnIndex)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &RowIndex, &ColumnIndex);
- return result;
- }
- void Range::Set_Default(const VARIANT& RowIndex, const VARIANT& ColumnIndex, const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &RowIndex, &ColumnIndex, &newValue);
- }
- VARIANT Range::Delete(const VARIANT& Shift)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x75, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Shift);
- return result;
- }
- LPDISPATCH Range::GetDependents()
- {
- LPDISPATCH result;
- InvokeHelper(0x21f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::DialogBox_()
- {
- VARIANT result;
- InvokeHelper(0xf5, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetDirectDependents()
- {
- LPDISPATCH result;
- InvokeHelper(0x221, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetDirectPrecedents()
- {
- LPDISPATCH result;
- InvokeHelper(0x222, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::EditionOptions(long Type, long Option, const VARIANT& Name, const VARIANT& Reference, long Appearance, long ChartSize, const VARIANT& Format)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT;
- InvokeHelper(0x46b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Type, Option, &Name, &Reference, Appearance, ChartSize, &Format);
- return result;
- }
- LPDISPATCH Range::GetEnd(long Direction)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1f4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- Direction);
- return result;
- }
- LPDISPATCH Range::GetEntireColumn()
- {
- LPDISPATCH result;
- InvokeHelper(0xf6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetEntireRow()
- {
- LPDISPATCH result;
- InvokeHelper(0xf7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillDown()
- {
- VARIANT result;
- InvokeHelper(0xf8, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillLeft()
- {
- VARIANT result;
- InvokeHelper(0xf9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillRight()
- {
- VARIANT result;
- InvokeHelper(0xfa, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillUp()
- {
- VARIANT result;
- InvokeHelper(0xfb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::Find(const VARIANT& What, const VARIANT& After, const VARIANT& LookIn, const VARIANT& LookAt, const VARIANT& SearchOrder, long SearchDirection, const VARIANT& MatchCase, const VARIANT& MatchByte)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x18e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &What, &After, &LookIn, &LookAt, &SearchOrder, SearchDirection, &MatchCase, &MatchByte);
- return result;
- }
- LPDISPATCH Range::FindNext(const VARIANT& After)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x18f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &After);
- return result;
- }
- LPDISPATCH Range::FindPrevious(const VARIANT& After)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x190, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &After);
- return result;
- }
- LPDISPATCH Range::GetFont()
- {
- LPDISPATCH result;
- InvokeHelper(0x92, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetFormula()
- {
- VARIANT result;
- InvokeHelper(0x105, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormula(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaArray()
- {
- VARIANT result;
- InvokeHelper(0x24a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaArray(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x24a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- long Range::GetFormulaLabel()
- {
- long result;
- InvokeHelper(0x564, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaLabel(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x564, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT Range::GetFormulaHidden()
- {
- VARIANT result;
- InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaHidden(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x106, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaLocal()
- {
- VARIANT result;
- InvokeHelper(0x107, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaLocal(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x107, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaR1C1()
- {
- VARIANT result;
- InvokeHelper(0x108, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaR1C1(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x108, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaR1C1Local()
- {
- VARIANT result;
- InvokeHelper(0x109, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaR1C1Local(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x109, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::FunctionWizard()
- {
- VARIANT result;
- InvokeHelper(0x23b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- BOOL Range::GoalSeek(const VARIANT& Goal, LPDISPATCH ChangingCell)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x1d8, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- &Goal, ChangingCell);
- return result;
- }
- VARIANT Range::Group(const VARIANT& Start, const VARIANT& End, const VARIANT& By, const VARIANT& Periods)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x2e, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Start, &End, &By, &Periods);
- return result;
- }
- VARIANT Range::GetHasArray()
- {
- VARIANT result;
- InvokeHelper(0x10a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetHasFormula()
- {
- VARIANT result;
- InvokeHelper(0x10b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetHeight()
- {
- VARIANT result;
- InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetHidden()
- {
- VARIANT result;
- InvokeHelper(0x10c, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetHidden(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x10c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetHorizontalAlignment()
- {
- VARIANT result;
- InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetHorizontalAlignment(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x88, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetIndentLevel()
- {
- VARIANT result;
- InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetIndentLevel(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xc9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- void Range::InsertIndent(long InsertAmount)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x565, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- InsertAmount);
- }
- VARIANT Range::Insert(const VARIANT& Shift)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xfc, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Shift);
- return result;
- }
- LPDISPATCH Range::GetInterior()
- {
- LPDISPATCH result;
- InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetItem(const VARIANT& RowIndex, const VARIANT& ColumnIndex)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &RowIndex, &ColumnIndex);
- return result;
- }
- void Range::SetItem(const VARIANT& RowIndex, const VARIANT& ColumnIndex, const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &RowIndex, &ColumnIndex, &newValue);
- }
- VARIANT Range::Justify()
- {
- VARIANT result;
- InvokeHelper(0x1ef, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetLeft()
- {
- VARIANT result;
- InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long Range::GetListHeaderRows()
- {
- long result;
- InvokeHelper(0x4a3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ListNames()
- {
- VARIANT result;
- InvokeHelper(0xfd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long Range::GetLocationInTable()
- {
- long result;
- InvokeHelper(0x2b3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetLocked()
- {
- VARIANT result;
- InvokeHelper(0x10d, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetLocked(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x10d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- void Range::Merge(const VARIANT& Across)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x234, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Across);
- }
- void Range::UnMerge()
- {
- InvokeHelper(0x568, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH Range::GetMergeArea()
- {
- LPDISPATCH result;
- InvokeHelper(0x569, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetMergeCells()
- {
- VARIANT result;
- InvokeHelper(0xd0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetMergeCells(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xd0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetName()
- {
- VARIANT result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetName(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::NavigateArrow(const VARIANT& TowardPrecedent, const VARIANT& ArrowNumber, const VARIANT& LinkNumber)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x408, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &TowardPrecedent, &ArrowNumber, &LinkNumber);
- return result;
- }
- LPUNKNOWN Range::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetNext()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString Range::NoteText(const VARIANT& Text, const VARIANT& Start, const VARIANT& Length)
- {
- CString result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x467, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- &Text, &Start, &Length);
- return result;
- }
- VARIANT Range::GetNumberFormat()
- {
- VARIANT result;
- InvokeHelper(0xc1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetNumberFormat(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xc1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetNumberFormatLocal()
- {
- VARIANT result;
- InvokeHelper(0x449, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetNumberFormatLocal(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x449, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::GetOffset(const VARIANT& RowOffset, const VARIANT& ColumnOffset)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xfe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &RowOffset, &ColumnOffset);
- return result;
- }
- VARIANT Range::GetOrientation()
- {
- VARIANT result;
- InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetOrientation(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x86, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetOutlineLevel()
- {
- VARIANT result;
- InvokeHelper(0x10f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetOutlineLevel(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x10f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- long Range::GetPageBreak()
- {
- long result;
- InvokeHelper(0xff, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Range::SetPageBreak(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xff, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT Range::Parse(const VARIANT& ParseLine, const VARIANT& Destination)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1dd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &ParseLine, &Destination);
- return result;
- }
- VARIANT Range::PasteSpecial(long Paste, long Operation, const VARIANT& SkipBlanks, const VARIANT& Transpose)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x403, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Paste, Operation, &SkipBlanks, &Transpose);
- return result;
- }
- LPDISPATCH Range::GetPivotField()
- {
- LPDISPATCH result;
- InvokeHelper(0x2db, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPivotItem()
- {
- LPDISPATCH result;
- InvokeHelper(0x2e4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPivotTable()
- {
- LPDISPATCH result;
- InvokeHelper(0x2cc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPrecedents()
- {
- LPDISPATCH result;
- InvokeHelper(0x220, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetPrefixCharacter()
- {
- VARIANT result;
- InvokeHelper(0x1f8, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPrevious()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::_PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x389, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate);
- return result;
- }
- VARIANT Range::PrintPreview(const VARIANT& EnableChanges)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x119, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &EnableChanges);
- return result;
- }
- LPDISPATCH Range::GetQueryTable()
- {
- LPDISPATCH result;
- InvokeHelper(0x56a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetRange(const VARIANT& Cell1, const VARIANT& Cell2)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xc5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Cell1, &Cell2);
- return result;
- }
- VARIANT Range::RemoveSubtotal()
- {
- VARIANT result;
- InvokeHelper(0x373, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- BOOL Range::Replace(const VARIANT& What, const VARIANT& Replacement, const VARIANT& LookAt, const VARIANT& SearchOrder, const VARIANT& MatchCase, const VARIANT& MatchByte)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xe2, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- &What, &Replacement, &LookAt, &SearchOrder, &MatchCase, &MatchByte);
- return result;
- }
- LPDISPATCH Range::GetResize(const VARIANT& RowSize, const VARIANT& ColumnSize)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x100, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &RowSize, &ColumnSize);
- return result;
- }
- long Range::GetRow()
- {
- long result;
- InvokeHelper(0x101, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::RowDifferences(const VARIANT& Comparison)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x1ff, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Comparison);
- return result;
- }
- VARIANT Range::GetRowHeight()
- {
- VARIANT result;
- InvokeHelper(0x110, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetRowHeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x110, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::GetRows()
- {
- LPDISPATCH result;
- InvokeHelper(0x102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Run(const VARIANT& Arg1, const VARIANT& Arg2, const VARIANT& Arg3, const VARIANT& Arg4, const VARIANT& Arg5, const VARIANT& Arg6, const VARIANT& Arg7, const VARIANT& Arg8, const VARIANT& Arg9, const VARIANT& Arg10,
- const VARIANT& Arg11, const VARIANT& Arg12, const VARIANT& Arg13, const VARIANT& Arg14, const VARIANT& Arg15, const VARIANT& Arg16, const VARIANT& Arg17, const VARIANT& Arg18, const VARIANT& Arg19, const VARIANT& Arg20,
- const VARIANT& Arg21, const VARIANT& Arg22, const VARIANT& Arg23, const VARIANT& Arg24, const VARIANT& Arg25, const VARIANT& Arg26, const VARIANT& Arg27, const VARIANT& Arg28, const VARIANT& Arg29, const VARIANT& Arg30)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x103, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Arg1, &Arg2, &Arg3, &Arg4, &Arg5, &Arg6, &Arg7, &Arg8, &Arg9, &Arg10, &Arg11, &Arg12, &Arg13, &Arg14, &Arg15, &Arg16, &Arg17, &Arg18, &Arg19, &Arg20, &Arg21, &Arg22, &Arg23, &Arg24, &Arg25, &Arg26, &Arg27, &Arg28, &Arg29, &Arg30);
- return result;
- }
- VARIANT Range::Select()
- {
- VARIANT result;
- InvokeHelper(0xeb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Show()
- {
- VARIANT result;
- InvokeHelper(0x1f0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ShowDependents(const VARIANT& Remove)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x36d, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Remove);
- return result;
- }
- VARIANT Range::GetShowDetail()
- {
- VARIANT result;
- InvokeHelper(0x249, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetShowDetail(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x249, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::ShowErrors()
- {
- VARIANT result;
- InvokeHelper(0x36e, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ShowPrecedents(const VARIANT& Remove)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x36f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Remove);
- return result;
- }
- VARIANT Range::GetShrinkToFit()
- {
- VARIANT result;
- InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetShrinkToFit(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xd1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::Sort(const VARIANT& Key1, long Order1, const VARIANT& Key2, const VARIANT& Type, long Order2, const VARIANT& Key3, long Order3, long Header, const VARIANT& OrderCustom, const VARIANT& MatchCase, long Orientation, long SortMethod)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_I4;
- InvokeHelper(0x370, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Key1, Order1, &Key2, &Type, Order2, &Key3, Order3, Header, &OrderCustom, &MatchCase, Orientation, SortMethod);
- return result;
- }
- VARIANT Range::SortSpecial(long SortMethod, const VARIANT& Key1, long Order1, const VARIANT& Type, const VARIANT& Key2, long Order2, const VARIANT& Key3, long Order3, long Header, const VARIANT& OrderCustom, const VARIANT& MatchCase,
- long Orientation)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4;
- InvokeHelper(0x371, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- SortMethod, &Key1, Order1, &Type, &Key2, Order2, &Key3, Order3, Header, &OrderCustom, &MatchCase, Orientation);
- return result;
- }
- LPDISPATCH Range::GetSoundNote()
- {
- LPDISPATCH result;
- InvokeHelper(0x394, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::SpecialCells(long Type, const VARIANT& Value)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT;
- InvokeHelper(0x19a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Type, &Value);
- return result;
- }
- VARIANT Range::GetStyle()
- {
- VARIANT result;
- InvokeHelper(0x104, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::SubscribeTo(LPCTSTR Edition, long Format)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x1e1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Edition, Format);
- return result;
- }
- VARIANT Range::Subtotal(long GroupBy, long Function, const VARIANT& TotalList, const VARIANT& Replace, const VARIANT& PageBreaks, long SummaryBelowData)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4;
- InvokeHelper(0x372, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- GroupBy, Function, &TotalList, &Replace, &PageBreaks, SummaryBelowData);
- return result;
- }
- VARIANT Range::GetSummary()
- {
- VARIANT result;
- InvokeHelper(0x111, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Table(const VARIANT& RowInput, const VARIANT& ColumnInput)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1f1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &RowInput, &ColumnInput);
- return result;
- }
- VARIANT Range::GetText()
- {
- VARIANT result;
- InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::TextToColumns(const VARIANT& Destination, long DataType, long TextQualifier, const VARIANT& ConsecutiveDelimiter, const VARIANT& Tab, const VARIANT& Semicolon, const VARIANT& Comma, const VARIANT& Space, const VARIANT& Other,
- const VARIANT& OtherChar, const VARIANT& FieldInfo, const VARIANT& DecimalSeparator, const VARIANT& ThousandsSeparator)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x410, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Destination, DataType, TextQualifier, &ConsecutiveDelimiter, &Tab, &Semicolon, &Comma, &Space, &Other, &OtherChar, &FieldInfo, &DecimalSeparator, &ThousandsSeparator);
- return result;
- }
- VARIANT Range::GetTop()
- {
- VARIANT result;
- InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Ungroup()
- {
- VARIANT result;
- InvokeHelper(0xf4, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetUseStandardHeight()
- {
- VARIANT result;
- InvokeHelper(0x112, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetUseStandardHeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetUseStandardWidth()
- {
- VARIANT result;
- InvokeHelper(0x113, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetUseStandardWidth(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x113, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::GetValidation()
- {
- LPDISPATCH result;
- InvokeHelper(0x56b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetValue()
- {
- VARIANT result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetValue(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetValue2()
- {
- VARIANT result;
- InvokeHelper(0x56c, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetValue2(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x56c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetVerticalAlignment()
- {
- VARIANT result;
- InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetVerticalAlignment(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x89, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetWidth()
- {
- VARIANT result;
- InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetWorksheet()
- {
- LPDISPATCH result;
- InvokeHelper(0x15c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetWrapText()
- {
- VARIANT result;
- InvokeHelper(0x114, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetWrapText(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::AddComment(const VARIANT& Text)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x56d, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Text);
- return result;
- }
- LPDISPATCH Range::GetComment()
- {
- LPDISPATCH result;
- InvokeHelper(0x38e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Range::ClearComments()
- {
- InvokeHelper(0x56e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH Range::GetPhonetic()
- {
- LPDISPATCH result;
- InvokeHelper(0x56f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetFormatConditions()
- {
- LPDISPATCH result;
- InvokeHelper(0x570, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Range::GetReadingOrder()
- {
- long result;
- InvokeHelper(0x3cf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Range::SetReadingOrder(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3cf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH Range::GetHyperlinks()
- {
- LPDISPATCH result;
- InvokeHelper(0x571, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPhonetics()
- {
- LPDISPATCH result;
- InvokeHelper(0x713, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Range::SetPhonetic()
- {
- InvokeHelper(0x714, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- CString Range::GetId()
- {
- CString result;
- InvokeHelper(0x715, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void Range::SetId(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x715, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- VARIANT Range::PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate, const VARIANT& PrToFileName)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ec, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Borders properties
- /////////////////////////////////////////////////////////////////////////////
- // Borders operations
- LPDISPATCH Borders::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Borders::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Borders::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Borders::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Borders::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- long Borders::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Borders::GetItem(long Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- Index);
- return result;
- }
- VARIANT Borders::GetLineStyle()
- {
- VARIANT result;
- InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetLineStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPUNKNOWN Borders::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- VARIANT Borders::GetValue()
- {
- VARIANT result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetValue(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Borders::GetWeight()
- {
- VARIANT result;
- InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetWeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Borders::Get_Default(long Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- Index);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Worksheets properties
- /////////////////////////////////////////////////////////////////////////////
- // Worksheets operations
- LPDISPATCH Worksheets::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Worksheets::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Worksheets::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Worksheets::Add(const VARIANT& Before, const VARIANT& After, const VARIANT& Count, const VARIANT& Type)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xb5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Before, &After, &Count, &Type);
- return result;
- }
- void Worksheets::Copy(const VARIANT& Before, const VARIANT& After)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x227, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Before, &After);
- }
- long Worksheets::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Worksheets::Delete()
- {
- InvokeHelper(0x75, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Worksheets::FillAcrossSheets(LPDISPATCH Range, long Type)
- {
- static BYTE parms[] =
- VTS_DISPATCH VTS_I4;
- InvokeHelper(0x1d5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Range, Type);
- }
- LPDISPATCH Worksheets::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- void Worksheets::Move(const VARIANT& Before, const VARIANT& After)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x27d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Before, &After);
- }
- LPUNKNOWN Worksheets::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- void Worksheets::PrintPreview(const VARIANT& EnableChanges)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x119, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &EnableChanges);
- }
- void Worksheets::Select(const VARIANT& Replace)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xeb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Replace);
- }
- LPDISPATCH Worksheets::GetHPageBreaks()
- {
- LPDISPATCH result;
- InvokeHelper(0x58a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Worksheets::GetVPageBreaks()
- {
- LPDISPATCH result;
- InvokeHelper(0x58b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Worksheets::GetVisible()
- {
- VARIANT result;
- InvokeHelper(0x22e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Worksheets::SetVisible(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x22e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Worksheets::Get_Default(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- void Worksheets::PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate, const VARIANT& PrToFileName)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ec, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
- }
- /////////////////////////////////////////////////////////////////////////////
- // Interior properties
- /////////////////////////////////////////////////////////////////////////////
- // Interior operations
- LPDISPATCH Interior::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Interior::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Interior::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Interior::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetInvertIfNegative()
- {
- VARIANT result;
- InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetInvertIfNegative(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x84, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetPattern()
- {
- VARIANT result;
- InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetPattern(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetPatternColor()
- {
- VARIANT result;
- InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetPatternColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetPatternColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetPatternColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x62, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- /////////////////////////////////////////////////////////////////////////////
- // Border properties
- /////////////////////////////////////////////////////////////////////////////
- // Border operations
- LPDISPATCH Border::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Border::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Border::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Border::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Border::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Border::GetLineStyle()
- {
- VARIANT result;
- InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetLineStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Border::GetWeight()
- {
- VARIANT result;
- InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetWeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
|