Module cFlex2Crystalcraxddrt.pkg

     1//*************************************************************************
     2//*                                                                       *
     3//*  Confidential Trade Secret.                                           *
     4//*  Copyright (c) 2011-2012 Mertech Data Systems Inc, Miami Florida      *
     5//*  All rights reserved.                                                 *
     6//*  DataFlex is a registered trademark of Data Access Corporation.       *
     7//*                                                                       *
     8//*************************************************************************
     9Use cCrystalcraxddrt.pkg
    10Use File_dlg.pkg
    11Use Prnt_dlg.pkg
    12Use Flex2CrystalDevMsg.dg
    13
    14Define OLEF2CPaperSource for Integer
    15   Define OLEF2CPaperSource_Upper for 1
    16   Define OLEF2CPaperSource_Lower for 2
    17   Define OLEF2CPaperSource_Middle for 3
    18   Define OLEF2CPaperSource_Manual for 4
    19   Define OLEF2CPaperSource_Envelope for 5
    20   Define OLEF2CPaperSource_EnvManual for 6
    21   Define OLEF2CPaperSource_Auto for 7
    22   Define OLEF2CPaperSource_Tractor for 8
    23   Define OLEF2CPaperSource_SmallFmt for 9
    24   Define OLEF2CPaperSource_LargeFmt for 10
    25   Define OLEF2CPaperSource_LargeCapacity for 11
    26   Define OLEF2CPaperSource_Cassette for 14
    27   Define OLEF2CPaperSource_FormSource for 15
    28   
    29
    30Define OLEF2CPaperSize for Integer
    31    Define OLEF2CPaperSize_DefaultPaperSize for 0
    32    Define OLEF2CPaperSize_PaperLetter for 1
    33    Define OLEF2CPaperSize_PaperLetterSmall for 2
    34    Define OLEF2CPaperSize_PaperTabloid for 3
    35    Define OLEF2CPaperSize_PaperLedger for 4
    36    Define OLEF2CPaperSize_PaperLegal for 5
    37    Define OLEF2CPaperSize_PaperStatement for 6
    38    Define OLEF2CPaperSize_PaperExecutive for 7
    39    Define OLEF2CPaperSize_PaperA3 for 8
    40    Define OLEF2CPaperSize_PaperA4 for 9
    41    Define OLEF2CPaperSize_PaperA4Small for 10
    42    Define OLEF2CPaperSize_PaperA5 for 11
    43    Define OLEF2CPaperSize_PaperB4 for 12
    44    Define OLEF2CPaperSize_PaperB5 for 13
    45    Define OLEF2CPaperSize_PaperFolio for 14
    46    Define OLEF2CPaperSize_PaperQuarto for 15
    47    Define OLEF2CPaperSize_Paper10x14 for 16
    48    Define OLEF2CPaperSize_Paper11x17 for 17
    49    Define OLEF2CPaperSize_PaperNote for 18
    50    Define OLEF2CPaperSize_PaperEnvelope9 for 19
    51    Define OLEF2CPaperSize_PaperEnvelope10 for 20
    52    Define OLEF2CPaperSize_PaperEnvelope11 for 21
    53    Define OLEF2CPaperSize_PaperEnvelope12 for 22
    54    Define OLEF2CPaperSize_PaperEnvelope14 for 23
    55    Define OLEF2CPaperSize_PaperCsheet for 24
    56    Define OLEF2CPaperSize_PaperDsheet for 25
    57    Define OLEF2CPaperSize_PaperEsheet for 26
    58    Define OLEF2CPaperSize_PaperEnvelopeDL for 27
    59    Define OLEF2CPaperSize_PaperEnvelopeC5 for 28
    60    Define OLEF2CPaperSize_PaperEnvelopeC3 for 29
    61    Define OLEF2CPaperSize_PaperEnvelopeC4 for 30
    62    Define OLEF2CPaperSize_PaperEnvelopeC6 for 31
    63    Define OLEF2CPaperSize_PaperEnvelopeC65 for 32
    64    Define OLEF2CPaperSize_PaperEnvelopeB4 for 33
    65    Define OLEF2CPaperSize_PaperEnvelopeB5 for 34
    66    Define OLEF2CPaperSize_PaperEnvelopeB6 for 35
    67    Define OLEF2CPaperSize_PaperEnvelopeItaly for 36
    68    Define OLEF2CPaperSize_PaperEnvelopeMonarch for 37
    69    Define OLEF2CPaperSize_PaperEnvelopePersonal for 38
    70    Define OLEF2CPaperSize_PaperFanfoldUS for 39
    71    Define OLEF2CPaperSize_PaperFanfoldStdGerman for 40
    72    Define OLEF2CPaperSize_PaperFanfoldLegalGerman for 41
    73
    74
    75
    76Define OLEF2CCrParameterDefaultValueDisplayTypeEnum for Integer
    77    Define OLEF2CCrParameterDefaultValueDisplayTypeEnum_crParameterDefaultValueDisplayTypeDescriptionOnly for 0
    78    Define OLEF2CCrParameterDefaultValueDisplayTypeEnum_crParameterDefaultValueDisplayTypeDescriptionAndValue for 1
    79
    80Define OLEF2CCrParameterSortMethodEnum for Integer
    81    Define OLEF2CCrParameterSortMethodEnum_crParameterSortMethodBasedOnValue for 0
    82    Define OLEF2CCrParameterSortMethodEnum_crParameterSortMethodBasedOnDescription for 1
    83
    84Define OLEF2CDISPID_ISCRCustomFunctionControllerEventsEnum for Integer
    85    Define OLEF2CDISPID_ISCRCustomFunctionControllerEventsEnum_DISPID_ISCRCustomFunctionControllerEvents_OnChanged for 1
    86    Define OLEF2CDISPID_ISCRCustomFunctionControllerEventsEnum_DISPID_ISCRCustomFunctionControllerEvents_OnChanging for 2
    87
    88Define OLEF2CReportEngineType for Integer
    89    Define OLEF2CReportEngineType_ReportEngineTypeJRC for 0
    90    Define OLEF2CReportEngineType_ReportEngineTypeCRPE for 1
    91
    92Define OLEF2CDocumentViewType for Integer
    93    Define OLEF2CDocumentViewType_WebLayout for 0
    94    Define OLEF2CDocumentViewType_PrintLayout for 1
    95
    96Define OLEF2CEventLogLevel for Integer
    97    Define OLEF2CEventLogLevel_NoLogging for 0
    98    Define OLEF2CEventLogLevel_LogEngineErrors for 1
    99    Define OLEF2CEventLogLevel_LogCRPEAPIErrors for 2
   100
   101Define OLEF2CExchangeDestinationType for Integer
   102    Define OLEF2CExchangeDestinationType_ExchangePostDocMessage for 1011
   103
   104Define OLEF2CServerMessageKind for Integer
   105    Define OLEF2CServerMessageKind_ErrorMessage for 1
   106    Define OLEF2CServerMessageKind_PageNumberMessage for 2
   107    Define OLEF2CServerMessageKind_GroupPathMessage for 3
   108    Define OLEF2CServerMessageKind_BoolSearchMessage for 4
   109    Define OLEF2CServerMessageKind_LogonInfoRecordMessage for 5
   110    Define OLEF2CServerMessageKind_PromptInfoRecordMessage for 6
   111    Define OLEF2CServerMessageKind_ServerVersionRecordMessage for 7
   112
   113Define OLEF2CMinuteFormat for Integer
   114    Define OLEF2CMinuteFormat_NumericMinute for 0
   115    Define OLEF2CMinuteFormat_NumericMinuteNoLeadingZero for 1
   116    Define OLEF2CMinuteFormat_NoMinute for 2
   117
   118Define OLEF2CCeLocale for Integer
   119    Define OLEF2CCeLocale_ceLocaleNeutral for 0
   120    Define OLEF2CCeLocale_ceLocaleNorwegian for 20
   121    Define OLEF2CCeLocale_ceLocaleSwedish for 29
   122    Define OLEF2CCeLocale_ceLocaleMalay for 62
   123    Define OLEF2CCeLocale_ceLocaleUserDefault for 1024
   124    Define OLEF2CCeLocale_ceLocaleArabicSaudiArabia for 1025
   125    Define OLEF2CCeLocale_ceLocaleBulgarian for 1026
   126    Define OLEF2CCeLocale_ceLocaleCatalan for 1027
   127    Define OLEF2CCeLocale_ceLocaleChineseTaiwanRegion for 1028
   128    Define OLEF2CCeLocale_ceLocaleCzech for 1029
   129    Define OLEF2CCeLocale_ceLocaleDanish for 1030
   130    Define OLEF2CCeLocale_ceLocaleGerman for 1031
   131    Define OLEF2CCeLocale_ceLocaleGreek for 1032
   132    Define OLEF2CCeLocale_ceLocaleEnglish for 1033
   133    Define OLEF2CCeLocale_ceLocaleEnglishUS for 1033
   134    Define OLEF2CCeLocale_ceLocaleSpanish for 1034
   135    Define OLEF2CCeLocale_ceLocaleFinnish for 1035
   136    Define OLEF2CCeLocale_ceLocaleFrench for 1036
   137    Define OLEF2CCeLocale_ceLocaleHebrew for 1037
   138    Define OLEF2CCeLocale_ceLocaleHungarian for 1038
   139    Define OLEF2CCeLocale_ceLocaleIcelandic for 1039
   140    Define OLEF2CCeLocale_ceLocaleItalian for 1040
   141    Define OLEF2CCeLocale_ceLocaleJapanese for 1041
   142    Define OLEF2CCeLocale_ceLocaleKorean for 1042
   143    Define OLEF2CCeLocale_ceLocaleDutchNetherlands for 1043
   144    Define OLEF2CCeLocale_ceLocaleNorwegianBokmal for 1044
   145    Define OLEF2CCeLocale_ceLocalePolish for 1045
   146    Define OLEF2CCeLocale_ceLocalePortugueseBrazilian for 1046
   147    Define OLEF2CCeLocale_ceLocaleRomanian for 1048
   148    Define OLEF2CCeLocale_ceLocaleRussian for 1049
   149    Define OLEF2CCeLocale_ceLocaleCroatian for 1050
   150    Define OLEF2CCeLocale_ceLocaleSlovak for 1051
   151    Define OLEF2CCeLocale_ceLocaleAlbanian for 1052
   152    Define OLEF2CCeLocale_ceLocaleSwedishSweden for 1053
   153    Define OLEF2CCeLocale_ceLocaleThai for 1054
   154    Define OLEF2CCeLocale_ceLocaleTurkish for 1055
   155    Define OLEF2CCeLocale_ceLocaleIndonesian for 1057
   156    Define OLEF2CCeLocale_ceLocaleUkrainian for 1058
   157    Define OLEF2CCeLocale_ceLocaleBelarusian for 1059
   158    Define OLEF2CCeLocale_ceLocaleSlovenian for 1060
   159    Define OLEF2CCeLocale_ceLocaleEstonian for 1061
   160    Define OLEF2CCeLocale_ceLocaleLatvian for 1062
   161    Define OLEF2CCeLocale_ceLocaleLithuanian for 1063
   162    Define OLEF2CCeLocale_ceLocalePersian for 1065
   163    Define OLEF2CCeLocale_ceLocaleVietnamese for 1066
   164    Define OLEF2CCeLocale_ceLocaleArmenian for 1067
   165    Define OLEF2CCeLocale_ceLocaleAzerbaijani for 1068
   166    Define OLEF2CCeLocale_ceLocaleBasque for 1069
   167    Define OLEF2CCeLocale_ceLocaleMacedonian for 1071
   168    Define OLEF2CCeLocale_ceLocaleTswana for 1074
   169    Define OLEF2CCeLocale_ceLocaleXhosa for 1076
   170    Define OLEF2CCeLocale_ceLocaleZulu for 1077
   171    Define OLEF2CCeLocale_ceLocaleAfrikaans for 1078
   172    Define OLEF2CCeLocale_ceLocaleGeorgian for 1079
   173    Define OLEF2CCeLocale_ceLocaleFaroese for 1080
   174    Define OLEF2CCeLocale_ceLocaleHindi for 1081
   175    Define OLEF2CCeLocale_ceLocaleMaltese for 1082
   176    Define OLEF2CCeLocale_ceLocaleSami for 1083
   177    Define OLEF2CCeLocale_ceLocaleMalayMalaysia for 1086
   178    Define OLEF2CCeLocale_ceLocaleKazakh for 1087
   179    Define OLEF2CCeLocale_ceLocaleSwahili for 1089
   180    Define OLEF2CCeLocale_ceLocaleUzbek for 1091
   181    Define OLEF2CCeLocale_ceLocaleBengali for 1093
   182    Define OLEF2CCeLocale_ceLocalePunjabi for 1094
   183    Define OLEF2CCeLocale_ceLocaleGujarati for 1095
   184    Define OLEF2CCeLocale_ceLocaleTamil for 1097
   185    Define OLEF2CCeLocale_ceLocaleTelugu for 1098
   186    Define OLEF2CCeLocale_ceLocaleKannada for 1099
   187    Define OLEF2CCeLocale_ceLocaleMalayalam for 1100
   188    Define OLEF2CCeLocale_ceLocaleMarathi for 1102
   189    Define OLEF2CCeLocale_ceLocaleMongolian for 1104
   190    Define OLEF2CCeLocale_ceLocaleWelsh for 1106
   191    Define OLEF2CCeLocale_ceLocaleGallegan for 1110
   192    Define OLEF2CCeLocale_ceLocaleKonkani for 1111
   193    Define OLEF2CCeLocale_ceLocaleSyriac for 1114
   194    Define OLEF2CCeLocale_ceLocaleSystemDefault for 2048
   195    Define OLEF2CCeLocale_ceLocaleArabicIraq for 2049
   196    Define OLEF2CCeLocale_ceLocaleChinesePRChina for 2052
   197    Define OLEF2CCeLocale_ceLocaleGermanSwitzerland for 2055
   198    Define OLEF2CCeLocale_ceLocaleEnglishUK for 2057
   199    Define OLEF2CCeLocale_ceLocaleSpanishMexico for 2058
   200    Define OLEF2CCeLocale_ceLocaleFrenchBelgium for 2060
   201    Define OLEF2CCeLocale_ceLocaleItalianSwitzerland for 2064
   202    Define OLEF2CCeLocale_ceLocaleDutchBelgium for 2067
   203    Define OLEF2CCeLocale_ceLocaleNorwegianNynorsk for 2068
   204    Define OLEF2CCeLocale_ceLocalePortuguese for 2070
   205    Define OLEF2CCeLocale_ceLocaleRussianMoldova for 2073
   206    Define OLEF2CCeLocale_ceLocaleSerbian for 2074
   207    Define OLEF2CCeLocale_ceLocaleSwedishFinland for 2077
   208    Define OLEF2CCeLocale_ceLocaleMalayBrunei for 2110
   209    Define OLEF2CCeLocale_ceLocaleArabicEgypt for 3073
   210    Define OLEF2CCeLocale_ceLocaleChineseHongKong for 3076
   211    Define OLEF2CCeLocale_ceLocaleGermanAustria for 3079
   212    Define OLEF2CCeLocale_ceLocaleEnglishAustralia for 3081
   213    Define OLEF2CCeLocale_ceLocaleSpanishModern for 3082
   214    Define OLEF2CCeLocale_ceLocaleFrenchCanada for 3084
   215    Define OLEF2CCeLocale_ceLocaleArabicLibya for 4097
   216    Define OLEF2CCeLocale_ceLocaleChineseSingapore for 4100
   217    Define OLEF2CCeLocale_ceLocaleGermanLuxembourg for 4103
   218    Define OLEF2CCeLocale_ceLocaleEnglishCanada for 4105
   219    Define OLEF2CCeLocale_ceLocaleSpanishGuatemala for 4106
   220    Define OLEF2CCeLocale_ceLocaleFrenchSwitzerland for 4108
   221    Define OLEF2CCeLocale_ceLocaleArabicAlgeria for 5121
   222    Define OLEF2CCeLocale_ceLocaleChineseMacao for 5124
   223    Define OLEF2CCeLocale_ceLocaleGermanLiechtenstein for 5127
   224    Define OLEF2CCeLocale_ceLocaleEnglishNewZealand for 5129
   225    Define OLEF2CCeLocale_ceLocaleSpanishCostaRica for 5130
   226    Define OLEF2CCeLocale_ceLocaleFrenchLuxembourg for 5132
   227    Define OLEF2CCeLocale_ceLocaleBosnian for 5146
   228    Define OLEF2CCeLocale_ceLocaleArabicMorocco for 6145
   229    Define OLEF2CCeLocale_ceLocaleEnglishIreland for 6153
   230    Define OLEF2CCeLocale_ceLocaleSpanishPanama for 6154
   231    Define OLEF2CCeLocale_ceLocaleFrenchMonaco for 6156
   232    Define OLEF2CCeLocale_ceLocaleSerbianBosnia for 6170
   233    Define OLEF2CCeLocale_ceLocaleArabicTunisia for 7169
   234    Define OLEF2CCeLocale_ceLocaleEnglishSouthAfrica for 7177
   235    Define OLEF2CCeLocale_ceLocaleSpanishDominicanRepublic for 7178
   236    Define OLEF2CCeLocale_ceLocaleArabicOman for 8193
   237    Define OLEF2CCeLocale_ceLocaleEnglishJamaica for 8201
   238    Define OLEF2CCeLocale_ceLocaleSpanishVenezuela for 8202
   239    Define OLEF2CCeLocale_ceLocaleArabicYemen for 9217
   240    Define OLEF2CCeLocale_ceLocaleEnglishCaribbean for 9225
   241    Define OLEF2CCeLocale_ceLocaleSpanishColombia for 9226
   242    Define OLEF2CCeLocale_ceLocaleArabicSyria for 10241
   243    Define OLEF2CCeLocale_ceLocaleEnglishBelize for 10249
   244    Define OLEF2CCeLocale_ceLocaleSpanishPeru for 10250
   245    Define OLEF2CCeLocale_ceLocaleArabicJordan for 11265
   246    Define OLEF2CCeLocale_ceLocaleEnglishTrinidad for 11273
   247    Define OLEF2CCeLocale_ceLocaleSpanishArgentina for 11274
   248    Define OLEF2CCeLocale_ceLocaleArabicLebanon for 12289
   249    Define OLEF2CCeLocale_ceLocaleEnglishZimbabwe for 12297
   250    Define OLEF2CCeLocale_ceLocaleSpanishEcuador for 12298
   251    Define OLEF2CCeLocale_ceLocaleArabicKuwait for 13313
   252    Define OLEF2CCeLocale_ceLocaleEnglishPhilippines for 13321
   253    Define OLEF2CCeLocale_ceLocaleSpanishChile for 13322
   254    Define OLEF2CCeLocale_ceLocaleArabicUAE for 14337
   255    Define OLEF2CCeLocale_ceLocaleSpanishUruguay for 14346
   256    Define OLEF2CCeLocale_ceLocaleArabicBahrain for 15361
   257    Define OLEF2CCeLocale_ceLocaleSpanishParaguay for 15370
   258    Define OLEF2CCeLocale_ceLocaleArabicQatar for 16385
   259    Define OLEF2CCeLocale_ceLocaleSpanishBolivia for 16394
   260    Define OLEF2CCeLocale_ceLocaleSpanishElSalvador for 17418
   261    Define OLEF2CCeLocale_ceLocaleSpanishHonduras for 18442
   262    Define OLEF2CCeLocale_ceLocaleSpanishNicaragua for 19466
   263    Define OLEF2CCeLocale_ceLocaleSpanishPuertoRico for 20490
   264
   265Define OLEF2CCdProcessingStateEnum for Integer
   266    Define OLEF2CCdProcessingStateEnum_cdProcessingStateFree for 0
   267    Define OLEF2CCdProcessingStateEnum_cdProcessingStateBusy for 1
   268    Define OLEF2CCdProcessingStateEnum_cdProcessingStateBackgroundProcessing for 2
   269
   270Define OLEF2CMissingMappingAction for Integer
   271    Define OLEF2CMissingMappingAction_Passthrough for 1
   272    Define OLEF2CMissingMappingAction_Ignore for 2
   273    Define OLEF2CMissingMappingAction_Error for 3
   274
   275Define OLEF2CMissingSchemaAction for Integer
   276    Define OLEF2CMissingSchemaAction_Add for 1
   277    Define OLEF2CMissingSchemaAction_Ignore for 2
   278    Define OLEF2CMissingSchemaAction_Error for 3
   279    Define OLEF2CMissingSchemaAction_AddWithKey for 4
   280
   281Define OLEF2CMappingType for Integer
   282    Define OLEF2CMappingType_Element for 1
   283    Define OLEF2CMappingType_Attribute for 2
   284    Define OLEF2CMappingType_SimpleContent for 3
   285    Define OLEF2CMappingType_Hidden for 4
   286
   287Define OLEF2CDataSetDateTime for Integer
   288    Define OLEF2CDataSetDateTime_Local for 1
   289    Define OLEF2CDataSetDateTime_Unspecified for 2
   290    Define OLEF2CDataSetDateTime_UnspecifiedLocal for 3
   291    Define OLEF2CDataSetDateTime_Utc for 4
   292
   293Define OLEF2CCrFormulaSyntaxEnum for Integer
   294    Define OLEF2CCrFormulaSyntaxEnum_crFormulaSyntaxCrystal for 1
   295    Define OLEF2CCrFormulaSyntaxEnum_crFormulaSyntaxBasic for 2
   296    Define OLEF2CCrFormulaSyntaxEnum_crFormulaSyntaxSQL for -1
   297
   298Define OLEF2CCrDirectoryItemTypeEnum for Integer
   299    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeUnknown for 0
   300    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeServer for 1
   301    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeFolder for 2
   302    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeReport for 4
   303    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeConnection for 8
   304    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeService for 16
   305    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeAllFolders for 19
   306    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeCube for 32
   307    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeCubeView for 64
   308    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeCubeDef for 128
   309    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeReadOnlyReport for 256
   310    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeNewConnection for 32768
   311    Define OLEF2CCrDirectoryItemTypeEnum_crDirectoryItemTypeAll for 2147483647
   312
   313Define OLEF2CCrFieldKindEnum for Integer
   314    Define OLEF2CCrFieldKindEnum_crFieldKindUnknownField for 0
   315    Define OLEF2CCrFieldKindEnum_crFieldKindDBField for 1
   316    Define OLEF2CCrFieldKindEnum_crFieldKindFormulaField for 2
   317    Define OLEF2CCrFieldKindEnum_crFieldKindParameterField for 3
   318    Define OLEF2CCrFieldKindEnum_crFieldKindSpecialField for 4
   319    Define OLEF2CCrFieldKindEnum_crFieldKindSummaryField for 5
   320    Define OLEF2CCrFieldKindEnum_crFieldKindGroupNameField for 6
   321    Define OLEF2CCrFieldKindEnum_crFieldKindRunningTotalField for 7
   322
   323Define OLEF2CCrSummaryOperationEnum for Integer
   324    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationSum for 0
   325    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationAverage for 1
   326    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationVariance for 2
   327    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationStandardDeviation for 3
   328    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationMaximum for 4
   329    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationMinimum for 5
   330    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationCount for 6
   331    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationPopVariance for 7
   332    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationPopStandardDeviation for 8
   333    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationDistinctCount for 9
   334    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationCorrelation for 10
   335    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationCovariance for 11
   336    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationWeightedAvg for 12
   337    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationMedian for 13
   338    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationPercentile for 14
   339    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationNthLargest for 15
   340    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationNthSmallest for 16
   341    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationMode for 17
   342    Define OLEF2CCrSummaryOperationEnum_crSummaryOperationNthMostFrequent for 18
   343
   344Define OLEF2CCrFieldValueTypeEnum for Integer
   345    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt8sField for 0
   346    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt8uField for 1
   347    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt16sField for 2
   348    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt16uField for 3
   349    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt32sField for 4
   350    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt32uField for 5
   351    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeNumberField for 6
   352    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeCurrencyField for 7
   353    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeBooleanField for 8
   354    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeDateField for 9
   355    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeTimeField for 10
   356    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeStringField for 11
   357    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeTransientMemoField for 12
   358    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypePersistentMemoField for 13
   359    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeBlobField for 14
   360    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeDateTimeField for 15
   361    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeDecimalField for 16
   362    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt64sField for 17
   363    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInt64uField for 18
   364    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeBitmapField for 20
   365    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeIconField for 21
   366    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypePictureField for 22
   367    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeOleField for 23
   368    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeChartField for 24
   369    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeSameAsInputField for 25
   370    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypePointerField for 100
   371    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeInterfacePointerField for 101
   372    Define OLEF2CCrFieldValueTypeEnum_crFieldValueTypeUnknownField for 255
   373
   374Define OLEF2CCrSpecialFieldTypeEnum for Integer
   375    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeRecordKey for 0
   376    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeRecordGroupPath for 1
   377    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypePrintDate for 2
   378    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypePrintTime for 3
   379    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeModificationDate for 4
   380    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeModificationTime for 5
   381    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeDataDate for 6
   382    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeDataTime for 7
   383    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeRecordNumber for 8
   384    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypePageNumber for 9
   385    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeGroupNumber for 10
   386    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeTotalPageCount for 11
   387    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeReportTitle for 12
   388    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeReportComments for 13
   389    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeRecordSelection for 14
   390    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeGroupSelection for 15
   391    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeFileName for 16
   392    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeFileAuthor for 17
   393    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeFileCreationDate for 18
   394    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypePageNOfM for 19
   395    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeReportPath for 20
   396    Define OLEF2CCrSpecialFieldTypeEnum_crSpecialFieldTypeRecordGroupNamePath for 21
   397
   398Define OLEF2CReportObjectInstanceKind for Integer
   399    Define OLEF2CReportObjectInstanceKind_FieldObjectInstance for 1
   400    Define OLEF2CReportObjectInstanceKind_FieldInstanceInGridObject for 2
   401    Define OLEF2CReportObjectInstanceKind_NumericFieldObjectInstance for 3
   402    Define OLEF2CReportObjectInstanceKind_NumericFieldInstanceInGridObject for 4
   403    Define OLEF2CReportObjectInstanceKind_TextObjectInstance for 5
   404    Define OLEF2CReportObjectInstanceKind_TextInstanceInGridObject for 6
   405    Define OLEF2CReportObjectInstanceKind_TextFieldObjectInstance for 7
   406    Define OLEF2CReportObjectInstanceKind_TextFieldInstanceInGridObject for 8
   407    Define OLEF2CReportObjectInstanceKind_SubreportObjectInstance for 9
   408    Define OLEF2CReportObjectInstanceKind_OleObjectInstance for 10
   409    Define OLEF2CReportObjectInstanceKind_ChartObjectInstance for 11
   410    Define OLEF2CReportObjectInstanceKind_BlobFieldObjectInstance for 12
   411    Define OLEF2CReportObjectInstanceKind_MapObjectInstance for 13
   412    Define OLEF2CReportObjectInstanceKind_PlaceHolderObjectInstance for 14
   413    Define OLEF2CReportObjectInstanceKind_GridObjectInstance for 15
   414    Define OLEF2CReportObjectInstanceKind_OlapGridObjectInstance for 16
   415    Define OLEF2CReportObjectInstanceKind_OlapGridSectionHeadInstance for 17
   416    Define OLEF2CReportObjectInstanceKind_FlashObjectInstance for 18
   417
   418Define OLEF2CAreaSectionKind for Integer
   419    Define OLEF2CAreaSectionKind_Invalid for 0
   420    Define OLEF2CAreaSectionKind_ReportHeader for 1
   421    Define OLEF2CAreaSectionKind_PageHeader for 2
   422    Define OLEF2CAreaSectionKind_GroupHeader for 3
   423    Define OLEF2CAreaSectionKind_Detail for 4
   424    Define OLEF2CAreaSectionKind_GroupFooter for 5
   425    Define OLEF2CAreaSectionKind_PageFooter for 7
   426    Define OLEF2CAreaSectionKind_ReportFooter for 8
   427    Define OLEF2CAreaSectionKind_WholeReport for 255
   428
   429Define OLEF2CInteractiveSortStatus for Integer
   430    Define OLEF2CInteractiveSortStatus_NoSort for 0
   431    Define OLEF2CInteractiveSortStatus_Ascending for 1
   432    Define OLEF2CInteractiveSortStatus_Descending for 2
   433    Define OLEF2CInteractiveSortStatus_Inactive for 3
   434
   435Define OLEF2CParameterValueKind for Integer
   436    Define OLEF2CParameterValueKind_NumberParameter for 0
   437    Define OLEF2CParameterValueKind_CurrencyParameter for 1
   438    Define OLEF2CParameterValueKind_BooleanParameter for 2
   439    Define OLEF2CParameterValueKind_DateParameter for 3
   440    Define OLEF2CParameterValueKind_StringParameter for 4
   441    Define OLEF2CParameterValueKind_DateTimeParameter for 5
   442    Define OLEF2CParameterValueKind_TimeParameter for 6
   443
   444Define OLEF2CDiscreteOrRangeKind for Integer
   445    Define OLEF2CDiscreteOrRangeKind_DiscreteValue for 0
   446    Define OLEF2CDiscreteOrRangeKind_RangeValue for 1
   447    Define OLEF2CDiscreteOrRangeKind_DiscreteAndRangeValue for 2
   448
   449Define OLEF2CReportObjectKind for Integer
   450    Define OLEF2CReportObjectKind_FieldObject for 1
   451    Define OLEF2CReportObjectKind_TextObject for 2
   452    Define OLEF2CReportObjectKind_LineObject for 3
   453    Define OLEF2CReportObjectKind_BoxObject for 4
   454    Define OLEF2CReportObjectKind_SubreportObject for 5
   455    Define OLEF2CReportObjectKind_PictureObject for 6
   456    Define OLEF2CReportObjectKind_ChartObject for 7
   457    Define OLEF2CReportObjectKind_CrossTabObject for 8
   458    Define OLEF2CReportObjectKind_BlobFieldObject for 9
   459    Define OLEF2CReportObjectKind_MapObject for 10
   460    Define OLEF2CReportObjectKind_OlapGridObject for 11
   461    Define OLEF2CReportObjectKind_FieldHeadingObject for 12
   462    Define OLEF2CReportObjectKind_FlashObject for 13
   463
   464Define OLEF2CDayFormat for Integer
   465    Define OLEF2CDayFormat_NumericDay for 0
   466    Define OLEF2CDayFormat_LeadingZeroNumericDay for 1
   467    Define OLEF2CDayFormat_NoDay for 2
   468
   469Define OLEF2CMonthFormat for Integer
   470    Define OLEF2CMonthFormat_NumericMonth for 0
   471    Define OLEF2CMonthFormat_LeadingZeroNumericMonth for 1
   472    Define OLEF2CMonthFormat_ShortMonth for 2
   473    Define OLEF2CMonthFormat_LongMonth for 3
   474    Define OLEF2CMonthFormat_NoMonth for 4
   475
   476Define OLEF2CYearFormat for Integer
   477    Define OLEF2CYearFormat_ShortYear for 0
   478    Define OLEF2CYearFormat_LongYear for 1
   479    Define OLEF2CYearFormat_NoYear for 2
   480
   481Define OLEF2CEngineExceptionErrorID for Integer
   482    Define OLEF2CEngineExceptionErrorID_LoadingReportFailed for 4096
   483    Define OLEF2CEngineExceptionErrorID_SavingReportFailed for 4097
   484    Define OLEF2CEngineExceptionErrorID_ReportClosed for 4098
   485    Define OLEF2CEngineExceptionErrorID_OutOfLicense for 4352
   486    Define OLEF2CEngineExceptionErrorID_InvalidKeyCode for 4353
   487    Define OLEF2CEngineExceptionErrorID_PageFormattingFailed for 4608
   488    Define OLEF2CEngineExceptionErrorID_PrintingFailed for 4864
   489    Define OLEF2CEngineExceptionErrorID_ExportingFailed for 5120
   490    Define OLEF2CEngineExceptionErrorID_ExportDestinationFailed for 5121
   491    Define OLEF2CEngineExceptionErrorID_ExportFormatFailed for 5122
   492    Define OLEF2CEngineExceptionErrorID_InvalidArgument for 5376
   493    Define OLEF2CEngineExceptionErrorID_IndexOutOfBound for 5377
   494    Define OLEF2CEngineExceptionErrorID_InvalidPrintOptions for 5378
   495    Define OLEF2CEngineExceptionErrorID_InvalidExportOptions for 5379
   496    Define OLEF2CEngineExceptionErrorID_InvalidParameterField for 5632
   497    Define OLEF2CEngineExceptionErrorID_InvalidParameterValue for 5633
   498    Define OLEF2CEngineExceptionErrorID_MissingParameterFieldCurrentValue for 5634
   499    Define OLEF2CEngineExceptionErrorID_DataSourceError for 5888
   500    Define OLEF2CEngineExceptionErrorID_TableNotFound for 5889
   501    Define OLEF2CEngineExceptionErrorID_LogOnFailed for 6144
   502    Define OLEF2CEngineExceptionErrorID_OpenSubreportFailed for 6400
   503    Define OLEF2CEngineExceptionErrorID_InvalidFormula for 6656
   504    Define OLEF2CEngineExceptionErrorID_NoReportPartsError for 6912
   505    Define OLEF2CEngineExceptionErrorID_InvalidGroup for 7424
   506    Define OLEF2CEngineExceptionErrorID_InternalError for 65280
   507
   508Define OLEF2CXmlPersistOptionEnum for Integer
   509    Define OLEF2CXmlPersistOptionEnum_XmlPersistOption_Default for 0
   510    Define OLEF2CXmlPersistOptionEnum_XmlPersistOption_NullValue for 1
   511    Define OLEF2CXmlPersistOptionEnum_XmlPersistOption_ContentID for 2
   512    Define OLEF2CXmlPersistOptionEnum_XmlPersistOption_DefaultVersion for 4
   513
   514Define OLEF2CDISPID_ISCDClientDocumentEventsEnum for Integer
   515    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsOnClosing for 1
   516    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsOnClosed for 2
   517    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsOnSaving for 3
   518    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsOnSaved for 4
   519    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsPreClosing for 5
   520    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsPreSaving for 6
   521    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsOnPropertyChanging for 8
   522    Define OLEF2CDISPID_ISCDClientDocumentEventsEnum_DISPID__ISCDClientDocumentEventsOnPropertyChanged for 9
   523
   524Define OLEF2CCdReportClientDocumentOpenOptionsEnum for Integer
   525    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdOpenReportRetrieveNoReportDefinition for 65536
   526    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdOpenReportRetrieveMinimumReportDocument for 131072
   527    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdOpenReportNotRetrieveReportDocumentContents for 262144
   528    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdReportClientDocumentOpenAsReadOnly for 524288
   529    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdReportClientDocumentRetrievePictureImage for 1048576
   530    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdReportClientDocumentRefreshRepositoryObjects for 4194304
   531    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdReportClientDocumentRetrieveTableJoins for 8388608
   532    Define OLEF2CCdReportClientDocumentOpenOptionsEnum_cdReportClientDocumentNotReplaceDatasource for 33554432
   533
   534Define OLEF2CCdClientDocErrorCodeEnum for Integer
   535    Define OLEF2CCdClientDocErrorCodeEnum_cdErrNotSupported for -2147467231
   536    Define OLEF2CCdClientDocErrorCodeEnum_cdErrFileExists for -2147215359
   537    Define OLEF2CCdClientDocErrorCodeEnum_cdErrInvalidFilePath for -2147215358
   538    Define OLEF2CCdClientDocErrorCodeEnum_cdErrInternal for -2147215357
   539    Define OLEF2CCdClientDocErrorCodeEnum_cdErrFileNotOpened for -2147215356
   540    Define OLEF2CCdClientDocErrorCodeEnum_cdErrFileAlreadyOpen for -2147215355
   541    Define OLEF2CCdClientDocErrorCodeEnum_cdErrLicenseLimitExceeded for -2147215354
   542    Define OLEF2CCdClientDocErrorCodeEnum_cdErrBuildCube for -2147215353
   543    Define OLEF2CCdClientDocErrorCodeEnum_cdErrSessionInitialized for -2147215352
   544    Define OLEF2CCdClientDocErrorCodeEnum_cdErrSessionNotInitialized for -2147215351
   545    Define OLEF2CCdClientDocErrorCodeEnum_cdErrChangeIdentity for -2147215350
   546    Define OLEF2CCdClientDocErrorCodeEnum_cdErrDocNotReady for -2147215349
   547    Define OLEF2CCdClientDocErrorCodeEnum_cdErrDocAlreadyOpened for -2147215348
   548    Define OLEF2CCdClientDocErrorCodeEnum_cdErrDocNotCreated for -2147215347
   549    Define OLEF2CCdClientDocErrorCodeEnum_cdErrChangeServer for -2147215346
   550    Define OLEF2CCdClientDocErrorCodeEnum_cdErrDocIsReadOnly for -2147215345
   551    Define OLEF2CCdClientDocErrorCodeEnum_cdErrInvalidExportOptions for -2147215344
   552    Define OLEF2CCdClientDocErrorCodeEnum_cdErrUnsupportedOperation for -2147215343
   553    Define OLEF2CCdClientDocErrorCodeEnum_cdErrRptrDisabled for -2147215342
   554
   555Define OLEF2CDataRowAction for Integer
   556    Define OLEF2CDataRowAction_Nothing for 0
   557    Define OLEF2CDataRowAction_Delete for 1
   558    Define OLEF2CDataRowAction_Change for 2
   559    Define OLEF2CDataRowAction_Rollback for 4
   560    Define OLEF2CDataRowAction_Commit for 8
   561    Define OLEF2CDataRowAction_Add for 16
   562    Define OLEF2CDataRowAction_ChangeOriginal for 32
   563    Define OLEF2CDataRowAction_ChangeCurrentAndOriginal for 64
   564
   565Define OLEF2CCrFormulaNullTreatmentEnum for Integer
   566    Define OLEF2CCrFormulaNullTreatmentEnum_crTreatNullAsException for 0
   567    Define OLEF2CCrFormulaNullTreatmentEnum_crTreatNullAsDefaultValue for 1
   568
   569Define OLEF2CCrDatabaseTypeEnum for Integer
   570    Define OLEF2CCrDatabaseTypeEnum_crDatabaseType_Unknown for 0
   571    Define OLEF2CCrDatabaseTypeEnum_crDatabaseType_ConnInfo for 1
   572    Define OLEF2CCrDatabaseTypeEnum_crDatabaseType_Table for 2
   573    Define OLEF2CCrDatabaseTypeEnum_crDatabaseType_TableLink for 3
   574    Define OLEF2CCrDatabaseTypeEnum_crDatabaseType_Field for 4
   575    Define OLEF2CCrDatabaseTypeEnum_crDatabaseType_ConnectionParameters for 5
   576
   577Define OLEF2CParameterFieldUsage for Integer
   578    Define OLEF2CParameterFieldUsage_CurrentValuesProvidedByServer for 0
   579    Define OLEF2CParameterFieldUsage_InUse for 1
   580    Define OLEF2CParameterFieldUsage_NotInUse for 2
   581    Define OLEF2CParameterFieldUsage_Unknown for 3
   582
   583Define OLEF2CSectionOptionsProperty for Integer
   584    Define OLEF2CSectionOptionsProperty_Visible for 1
   585    Define OLEF2CSectionOptionsProperty_IsUnderlaySection for 2
   586    Define OLEF2CSectionOptionsProperty_BackColor for 3
   587    Define OLEF2CSectionOptionsProperty_StyleSheet for 4
   588
   589Define OLEF2CObjectFormatProperty for Integer
   590    Define OLEF2CObjectFormatProperty_Visible for 1
   591    Define OLEF2CObjectFormatProperty_SplitAdornment for 2
   592    Define OLEF2CObjectFormatProperty_CanGrow for 3
   593    Define OLEF2CObjectFormatProperty_HorizontalAlignment for 4
   594    Define OLEF2CObjectFormatProperty_Rotation for 5
   595    Define OLEF2CObjectFormatProperty_StyleSheet for 6
   596
   597Define OLEF2CPlaceHolderType for Integer
   598    Define OLEF2CPlaceHolderType_DelayTotalPageCountCalc for 1
   599    Define OLEF2CPlaceHolderType_AllowPlaceHolders for 2
   600
   601Define OLEF2CPrinterDuplex for Integer
   602    Define OLEF2CPrinterDuplex_Default for 0
   603    Define OLEF2CPrinterDuplex_Simplex for 1
   604    Define OLEF2CPrinterDuplex_Vertical for 2
   605    Define OLEF2CPrinterDuplex_Horizontal for 3
   606
   607Define OLEF2CLinkJoinType for Integer
   608    Define OLEF2CLinkJoinType_Equal for 4
   609    Define OLEF2CLinkJoinType_LeftOuter for 5
   610    Define OLEF2CLinkJoinType_RightOuter for 6
   611    Define OLEF2CLinkJoinType_GreaterThan for 8
   612    Define OLEF2CLinkJoinType_LessThan for 9
   613    Define OLEF2CLinkJoinType_GreaterOrEqual for 10
   614    Define OLEF2CLinkJoinType_LessOrEqual for 11
   615    Define OLEF2CLinkJoinType_NotEqual for 12
   616
   617Define OLEF2CSecondFormat for Integer
   618    Define OLEF2CSecondFormat_NumericSecond for 0
   619    Define OLEF2CSecondFormat_NumericSecondNoLeadingZero for 1
   620    Define OLEF2CSecondFormat_NumericNoSecond for 2
   621
   622Define OLEF2CPrinterUnit for Integer
   623    Define OLEF2CPrinterUnit_Display for 0
   624    Define OLEF2CPrinterUnit_ThousandthsOfAnInch for 1
   625    Define OLEF2CPrinterUnit_HundredthsOfAMillimeter for 2
   626    Define OLEF2CPrinterUnit_TenthsOfAMillimeter for 3
   627
   628Define OLEF2CCrFieldDisplayNameTypeEnum for Integer
   629    Define OLEF2CCrFieldDisplayNameTypeEnum_crFieldDisplayNameName for 0
   630    Define OLEF2CCrFieldDisplayNameTypeEnum_crFieldDisplayNameShort for 1
   631    Define OLEF2CCrFieldDisplayNameTypeEnum_crFieldDisplayNameLong for 2
   632    Define OLEF2CCrFieldDisplayNameTypeEnum_crFieldDisplayNameDescription for 3
   633    Define OLEF2CCrFieldDisplayNameTypeEnum_crFieldDisplayNameFormula for 4
   634    Define OLEF2CCrFieldDisplayNameTypeEnum_crFieldDisplayNameHeadingText for 5
   635
   636Define OLEF2CCrRunningTotalConditionEnum for Integer
   637    Define OLEF2CCrRunningTotalConditionEnum_crRunningTotalConditionNoCondition for 0
   638    Define OLEF2CCrRunningTotalConditionEnum_crRunningTotalConditionOnChangeOfField for 1
   639    Define OLEF2CCrRunningTotalConditionEnum_crRunningTotalConditionOnChangeOfGroup for 2
   640    Define OLEF2CCrRunningTotalConditionEnum_crRunningTotalConditionOnFormula for 3
   641
   642Define OLEF2CCrUnspecifiedValuesTypeEnum for Integer
   643    Define OLEF2CCrUnspecifiedValuesTypeEnum_crUnspecifiedValuesTypeMergeValues for 0
   644    Define OLEF2CCrUnspecifiedValuesTypeEnum_crUnspecifiedValuesTypeDiscardValues for 1
   645    Define OLEF2CCrUnspecifiedValuesTypeEnum_crUnspecifiedValuesTypeSeparateValues for 2
   646
   647Define OLEF2CCrFieldLinkOperatorEnum for Integer
   648    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorAndLink for 1
   649    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorOrLink for 2
   650    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorEqualLink for 4
   651    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorNotEqualLink for 8
   652    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorLessThanLink for 16
   653    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorLessThanOrEqualLink for 32
   654    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorGreaterThanLink for 64
   655    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorGreaterThanOrEqualLink for 128
   656    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorPlusLink for 256
   657    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorMinusLink for 512
   658    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorMultiplyLink for 1024
   659    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorDivideLink for 2048
   660    Define OLEF2CCrFieldLinkOperatorEnum_crFieldLinkOperatorUnknownLink for 4096
   661
   662Define OLEF2CCrTableJoinTypeEnum for Integer
   663    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeEqualJoin for 0
   664    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeLeftOuterJoin for 1
   665    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeRightOuterJoin for 2
   666    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeOuterJoin for 3
   667    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeGreaterThanJoin for 4
   668    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeLessThanJoin for 5
   669    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeGreaterOrEqualJoin for 6
   670    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeLessOrEqualJoin for 7
   671    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeNotEqualJoin for 8
   672    Define OLEF2CCrTableJoinTypeEnum_crTableJoinTypeAdvance for 9
   673
   674Define OLEF2CCrTopNConditionFormulaTypeEnum for Integer
   675    Define OLEF2CCrTopNConditionFormulaTypeEnum_crTopNCount for 0
   676
   677// Specifies paper size.
   678Define OLECrPaperSizeEnum for Integer
   679    // Default
   680    Define OLEcrPaperSizeDefault for 0
   681    // PaperLetter
   682    Define OLEcrPaperSizePaperLetter for 1
   683    // PaperLetterSmall
   684    Define OLEcrPaperSizePaperLetterSmall for 2
   685    // PaperTabloid
   686    Define OLEcrPaperSizePaperTabloid for 3
   687    // PaperLedger
   688    Define OLEcrPaperSizePaperLedger for 4
   689    // PaperLegal
   690    Define OLEcrPaperSizePaperLegal for 5
   691    // PaperStatement
   692    Define OLEcrPaperSizePaperStatement for 6
   693    // PaperExecutive
   694    Define OLEcrPaperSizePaperExecutive for 7
   695    // PaperA3
   696    Define OLEcrPaperSizePaperA3 for 8
   697    // PaperA4
   698    Define OLEcrPaperSizePaperA4 for 9
   699    // PaperA4Small
   700    Define OLEcrPaperSizePaperA4Small for 10
   701    // PaperA5
   702    Define OLEcrPaperSizePaperA5 for 11
   703    // PaperB4
   704    Define OLEcrPaperSizePaperB4 for 12
   705    // PaperB5
   706    Define OLEcrPaperSizePaperB5 for 13
   707    // PaperFolio
   708    Define OLEcrPaperSizePaperFolio for 14
   709    // PaperQuarto
   710    Define OLEcrPaperSizePaperQuarto for 15
   711    // Paper10x14
   712    Define OLEcrPaperSizePaper10x14 for 16
   713    // Paper11x17
   714    Define OLEcrPaperSizePaper11x17 for 17
   715    // PaperNote
   716    Define OLEcrPaperSizePaperNote for 18
   717    // PaperEnvelope9
   718    Define OLEcrPaperSizePaperEnvelope9 for 19
   719    // PaperEnvelope10
   720    Define OLEcrPaperSizePaperEnvelope10 for 20
   721    // PaperEnvelope11
   722    Define OLEcrPaperSizePaperEnvelope11 for 21
   723    // PaperEnvelope12
   724    Define OLEcrPaperSizePaperEnvelope12 for 22
   725    // PaperEnvelope14
   726    Define OLEcrPaperSizePaperEnvelope14 for 23
   727    // PaperCsheet 
   728    Define OLEcrPaperSizePaperCsheet for 24
   729    // PaperDsheet 
   730    Define OLEcrPaperSizePaperDsheet for 25
   731    // PaperEsheet 
   732    Define OLEcrPaperSizePaperEsheet for 26
   733    // PaperEnvelopeDL
   734    Define OLEcrPaperSizePaperEnvelopeDL for 27
   735    // PaperEnvelopeC5
   736    Define OLEcrPaperSizePaperEnvelopeC5 for 28
   737    // PaperEnvelopeC3
   738    Define OLEcrPaperSizePaperEnvelopeC3 for 29
   739    // PaperEnvelopeC4
   740    Define OLEcrPaperSizePaperEnvelopeC4 for 30
   741    // PaperEnvelopeC6
   742    Define OLEcrPaperSizePaperEnvelopeC6 for 31
   743    // PaperEnvelopeC65
   744    Define OLEcrPaperSizePaperEnvelopeC65 for 32
   745    // PaperEnvelopeB4
   746    Define OLEcrPaperSizePaperEnvelopeB4 for 33
   747    // PaperEnvelopeB5
   748    Define OLEcrPaperSizePaperEnvelopeB5 for 34
   749    // PaperEnvelopeB6
   750    Define OLEcrPaperSizePaperEnvelopeB6 for 35
   751    // PaperEnvelopeItaly
   752    Define OLEcrPaperSizePaperEnvelopeItaly for 36
   753    // PaperEnvelopeMonarch
   754    Define OLEcrPaperSizePaperEnvelopeMonarch for 37
   755    // PaperEnvelopePersonal
   756    Define OLEcrPaperSizePaperEnvelopePersonal for 38
   757    // PaperFanfoldUS
   758    Define OLEcrPaperSizePaperFanfoldUS for 39
   759    // PaperFanfoldStdGerman
   760    Define OLEcrPaperSizePaperFanfoldStdGerman for 40
   761    // PaperFanfoldLegalGerman
   762    Define OLEcrPaperSizePaperFanfoldLegalGerman for 41
   763    // User
   764    Define OLEcrPaperSizeUser for 256
   765
   766// Specifies paper source.
   767Define OLECrPaperSourceEnum for Integer
   768    // Upper
   769    Define OLEcrPaperSourceUpper for 1
   770    // Lower
   771    Define OLEcrPaperSourceLower for 2
   772    // Middle
   773    Define OLEcrPaperSourceMiddle for 3
   774    // Manual
   775    Define OLEcrPaperSourceManual for 4
   776    // Envelope
   777    Define OLEcrPaperSourceEnvelope for 5
   778    // EnvManual
   779    Define OLEcrPaperSourceEnvManual for 6
   780    // Auto
   781    Define OLEcrPaperSourceAuto for 7
   782    // Tractor
   783    Define OLEcrPaperSourceTractor for 8
   784    // SmallFmt
   785    Define OLEcrPaperSourceSmallFmt for 9
   786    // LargeFmt
   787    Define OLEcrPaperSourceLargeFmt for 10
   788    // Capacity
   789    Define OLEcrPaperSourceLargeCapacity for 11
   790    // Cassette
   791    Define OLEcrPaperSourceCassette for 14
   792    // FormSource
   793    Define OLEcrPaperSourceFormSource for 15
   794
   795// Specifies printer duplex.
   796Define OLECrPrinterDuplexEnum for Integer
   797    // Default
   798    Define OLEcrPrinterDuplexDefault for 0
   799    // Simplex
   800    Define OLEcrPrinterDuplexSimplex for 1
   801    // Vertical
   802    Define OLEcrPrinterDuplexVertical for 2
   803    // Horizontal
   804    Define OLEcrPrinterDuplexHorizontal for 3
   805
   806// enum CrReportEngineType.
   807Define OLECrReportEngineType for Integer
   808    // Java Report Engine
   809    Define OLEcrReportEngineTypeJRC for 0
   810    // C++ Report Engine
   811    Define OLEcrReportEngineTypeCRPE for 1
   812
   813Define OLEF2CImageFormat for Integer
   814    Define OLEF2CImageFormat_DIBImage for 1
   815    Define OLEF2CImageFormat_JPEGImage for 2
   816    Define OLEF2CImageFormat_EmfImage for 3
   817    Define OLEF2CImageFormat_SWFImage for 4
   818    Define OLEF2CImageFormat_PNGImage for 5
   819
   820Define OLEF2CSortDirection for Integer
   821    Define OLEF2CSortDirection_DescendingOrder for 0
   822    Define OLEF2CSortDirection_AscendingOrder for 1
   823    Define OLEF2CSortDirection_TopNOrder for 4
   824    Define OLEF2CSortDirection_BottomNOrder for 5
   825
   826Define OLEF2CRangeBoundType for Integer
   827    Define OLEF2CRangeBoundType_NoBound for 0
   828    Define OLEF2CRangeBoundType_BoundExclusive for 1
   829    Define OLEF2CRangeBoundType_BoundInclusive for 2
   830
   831Define OLEF2CExportPageAreaKind for Integer
   832    Define OLEF2CExportPageAreaKind_None for 0
   833    Define OLEF2CExportPageAreaKind_OncePerReport for 1
   834    Define OLEF2CExportPageAreaKind_OnEachPage for 2
   835
   836Define OLEF2CDefaultValueDisplayType for Integer
   837    Define OLEF2CDefaultValueDisplayType_Description for 0
   838    Define OLEF2CDefaultValueDisplayType_DescriptionAndValue for 1
   839
   840Define OLEF2CDefaultValueSortMethod for Integer
   841    Define OLEF2CDefaultValueSortMethod_BasedOnValue for 0
   842    Define OLEF2CDefaultValueSortMethod_BasedOnDescription for 1
   843
   844Define OLEF2CDefaultValueSortOrder for Integer
   845    Define OLEF2CDefaultValueSortOrder_NoSort for 0
   846    Define OLEF2CDefaultValueSortOrder_AlphabeticalAscending for 1
   847    Define OLEF2CDefaultValueSortOrder_AlphabeticalDescending for 2
   848    Define OLEF2CDefaultValueSortOrder_NumericAscending for 3
   849    Define OLEF2CDefaultValueSortOrder_NumericDescending for 4
   850    Define OLEF2CDefaultValueSortOrder_DateTimeAscending for 5
   851    Define OLEF2CDefaultValueSortOrder_DateTimeDescending for 6
   852
   853Define OLEF2CParameterFieldUsage2 for Integer
   854    Define OLEF2CParameterFieldUsage2_Unknown for 0
   855    Define OLEF2CParameterFieldUsage2_InUse for 1
   856    Define OLEF2CParameterFieldUsage2_NotInUse for 2
   857    Define OLEF2CParameterFieldUsage2_CurrentValuesProvidedByServer for 4
   858    Define OLEF2CParameterFieldUsage2_ShowOnPanel for 8
   859    Define OLEF2CParameterFieldUsage2_EditableOnPanel for 16
   860    Define OLEF2CParameterFieldUsage2_DataFetching for 32
   861    Define OLEF2CParameterFieldUsage2_IsLinked for 64
   862
   863Define OLEF2CParameterType for Integer
   864    Define OLEF2CParameterType_ReportParameter for 0
   865    Define OLEF2CParameterType_StoreProcedureParameter for 1
   866    Define OLEF2CParameterType_QueryParameter for 2
   867    Define OLEF2CParameterType_ConnectionParameter for 3
   868    Define OLEF2CParameterType_MetaDataParameter for 4
   869
   870Define OLEF2CEnumEnterpriseObjectType for Integer
   871    Define OLEF2CEnumEnterpriseObjectType_INVALID for 0
   872    Define OLEF2CEnumEnterpriseObjectType_FOLDER for 1
   873    Define OLEF2CEnumEnterpriseObjectType_REPORT for 2
   874    Define OLEF2CEnumEnterpriseObjectType_UNKNOWN_CONTAINER for 2147483646
   875    Define OLEF2CEnumEnterpriseObjectType_UNKNOWN for 2147483647
   876
   877Define OLEF2CPaperSourceKind for Integer
   878    Define OLEF2CPaperSourceKind_Upper for 1
   879    Define OLEF2CPaperSourceKind_Lower for 2
   880    Define OLEF2CPaperSourceKind_Middle for 3
   881    Define OLEF2CPaperSourceKind_Manual for 4
   882    Define OLEF2CPaperSourceKind_Envelope for 5
   883    Define OLEF2CPaperSourceKind_ManualFeed for 6
   884    Define OLEF2CPaperSourceKind_AutomaticFeed for 7
   885    Define OLEF2CPaperSourceKind_TractorFeed for 8
   886    Define OLEF2CPaperSourceKind_SmallFormat for 9
   887    Define OLEF2CPaperSourceKind_LargeFormat for 10
   888    Define OLEF2CPaperSourceKind_LargeCapacity for 11
   889    Define OLEF2CPaperSourceKind_Cassette for 14
   890    Define OLEF2CPaperSourceKind_FormSource for 15
   891    Define OLEF2CPaperSourceKind_Custom for 257
   892
   893Define OLEF2CFieldKind for Integer
   894    Define OLEF2CFieldKind_DatabaseField for 1
   895    Define OLEF2CFieldKind_FormulaField for 2
   896    Define OLEF2CFieldKind_SummaryField for 3
   897    Define OLEF2CFieldKind_SpecialVarField for 4
   898    Define OLEF2CFieldKind_GroupNameField for 5
   899    Define OLEF2CFieldKind_ParameterField for 6
   900    Define OLEF2CFieldKind_RunningTotalField for 7
   901    Define OLEF2CFieldKind_SQLExpressionField for 8
   902
   903Define OLEF2CFieldValueType for Integer
   904    Define OLEF2CFieldValueType_Int8sField for 0
   905    Define OLEF2CFieldValueType_Int8uField for 1
   906    Define OLEF2CFieldValueType_Int16sField for 2
   907    Define OLEF2CFieldValueType_Int16uField for 3
   908    Define OLEF2CFieldValueType_Int32sField for 4
   909    Define OLEF2CFieldValueType_Int32uField for 5
   910    Define OLEF2CFieldValueType_NumberField for 6
   911    Define OLEF2CFieldValueType_CurrencyField for 7
   912    Define OLEF2CFieldValueType_BooleanField for 8
   913    Define OLEF2CFieldValueType_DateField for 9
   914    Define OLEF2CFieldValueType_TimeField for 10
   915    Define OLEF2CFieldValueType_StringField for 11
   916    Define OLEF2CFieldValueType_TransientMemoField for 12
   917    Define OLEF2CFieldValueType_PersistentMemoField for 13
   918    Define OLEF2CFieldValueType_BlobField for 14
   919    Define OLEF2CFieldValueType_DateTimeField for 15
   920    Define OLEF2CFieldValueType_BitmapField for 20
   921    Define OLEF2CFieldValueType_IconField for 21
   922    Define OLEF2CFieldValueType_PictureField for 22
   923    Define OLEF2CFieldValueType_OleField for 23
   924    Define OLEF2CFieldValueType_ChartField for 24
   925    Define OLEF2CFieldValueType_SameAsInputField for 250
   926    Define OLEF2CFieldValueType_UnknownField for 255
   927
   928Define OLEF2CUpdateStatus for Integer
   929    Define OLEF2CUpdateStatus_Continue for 0
   930    Define OLEF2CUpdateStatus_ErrorsOccurred for 1
   931    Define OLEF2CUpdateStatus_SkipCurrentRow for 2
   932    Define OLEF2CUpdateStatus_SkipAllRemainingRows for 3
   933
   934Define OLEF2CSqlDbType for Integer
   935    Define OLEF2CSqlDbType_BigInt for 0
   936    Define OLEF2CSqlDbType_Binary for 1
   937    Define OLEF2CSqlDbType_Bit for 2
   938    Define OLEF2CSqlDbType_Char for 3
   939    Define OLEF2CSqlDbType_DateTime for 4
   940    Define OLEF2CSqlDbType_Decimal for 5
   941    Define OLEF2CSqlDbType_Float for 6
   942    Define OLEF2CSqlDbType_Image for 7
   943    Define OLEF2CSqlDbType_Int for 8
   944    Define OLEF2CSqlDbType_Money for 9
   945    Define OLEF2CSqlDbType_NChar for 10
   946    Define OLEF2CSqlDbType_NText for 11
   947    Define OLEF2CSqlDbType_NVarChar for 12
   948    Define OLEF2CSqlDbType_Real for 13
   949    Define OLEF2CSqlDbType_UniqueIdentifier for 14
   950    Define OLEF2CSqlDbType_SmallDateTime for 15
   951    Define OLEF2CSqlDbType_SmallInt for 16
   952    Define OLEF2CSqlDbType_SmallMoney for 17
   953    Define OLEF2CSqlDbType_Text for 18
   954    Define OLEF2CSqlDbType_Timestamp for 19
   955    Define OLEF2CSqlDbType_TinyInt for 20
   956    Define OLEF2CSqlDbType_VarBinary for 21
   957    Define OLEF2CSqlDbType_VarChar for 22
   958    Define OLEF2CSqlDbType_Variant for 23
   959    Define OLEF2CSqlDbType_Xml for 25
   960    Define OLEF2CSqlDbType_Udt for 29
   961    Define OLEF2CSqlDbType_Structured for 30
   962    Define OLEF2CSqlDbType_Date for 31
   963    Define OLEF2CSqlDbType_Time for 32
   964    Define OLEF2CSqlDbType_DateTime2 for 33
   965    Define OLEF2CSqlDbType_DateTimeOffset for 34
   966
   967Define OLEF2CSerializationFormat for Integer
   968    Define OLEF2CSerializationFormat_Xml for 0
   969    Define OLEF2CSerializationFormat_Binary for 1
   970
   971Define OLEF2CCrBrowseValuesChangedEnum for Integer
   972    Define OLEF2CCrBrowseValuesChangedEnum_crBrowseValues_BrowseSize for 0
   973    Define OLEF2CCrBrowseValuesChangedEnum_crBrowseValues_Table for 1
   974    Define OLEF2CCrBrowseValuesChangedEnum_crBrowseValues_Fields for 2
   975
   976Define OLEF2CDISPID_ISCRConnectionDirManagerEventsEnum for Integer
   977    Define OLEF2CDISPID_ISCRConnectionDirManagerEventsEnum_DISPID_OnDirectoryStructureChanged for 1
   978    Define OLEF2CDISPID_ISCRConnectionDirManagerEventsEnum_DISPID_OnDirectoryItemStructureChanged for 2
   979    Define OLEF2CDISPID_ISCRConnectionDirManagerEventsEnum_DISPID_OnConnectionDirectoryFetched for 3
   980    Define OLEF2CDISPID_ISCRConnectionDirManagerEventsEnum_DISPID_OnDirectoryItemChildrenFetched for 4
   981    Define OLEF2CDISPID_ISCRConnectionDirManagerEventsEnum_DISPID_OnTableFieldsFetched for 5
   982    Define OLEF2CDISPID_ISCRConnectionDirManagerEventsEnum_DISPID_OnTablesFetched for 6
   983
   984Define OLEF2CCaReportDefTypeEnum for Integer
   985    Define OLEF2CCaReportDefTypeEnum_caReportDefType_Unknown for 0
   986    Define OLEF2CCaReportDefTypeEnum_caReportDefType_ReportObject for 1
   987    Define OLEF2CCaReportDefTypeEnum_caReportDefType_ReportSection for 2
   988    Define OLEF2CCaReportDefTypeEnum_caReportDefType_ReportAreas for 3
   989    Define OLEF2CCaReportDefTypeEnum_caReportDefType_ReportStyle for 4
   990
   991Define OLEF2CStyleKind for Integer
   992    Define OLEF2CStyleKind_FontColor for 1
   993    Define OLEF2CStyleKind_Adornment for 2
   994
   995Define OLEF2CHtmlOutputSchema for Integer
   996    Define OLEF2CHtmlOutputSchema_Html32 for 1
   997    Define OLEF2CHtmlOutputSchema_Html40 for 2
   998    Define OLEF2CHtmlOutputSchema_Chtml for 3
   999    Define OLEF2CHtmlOutputSchema_Wml for 4
  1000    Define OLEF2CHtmlOutputSchema_Xhtml for 5
  1001
  1002Define OLEF2CConnectionInfoType for Integer
  1003    Define OLEF2CConnectionInfoType_Unknown for 0
  1004    Define OLEF2CConnectionInfoType_SQL for 1
  1005    Define OLEF2CConnectionInfoType_Query for 2
  1006    Define OLEF2CConnectionInfoType_MetaData for 3
  1007    Define OLEF2CConnectionInfoType_DBFile for 4
  1008    Define OLEF2CConnectionInfoType_CRQE for 5
  1009    Define OLEF2CConnectionInfoType_OLAP for 6
  1010
  1011Define OLEF2CAdornmentProperty for Integer
  1012    Define OLEF2CAdornmentProperty_LeftEdgeStyle for 1
  1013    Define OLEF2CAdornmentProperty_RightEdgeStyle for 2
  1014    Define OLEF2CAdornmentProperty_TopEdgeStyle for 3
  1015    Define OLEF2CAdornmentProperty_BottomEdgeStyle for 4
  1016    Define OLEF2CAdornmentProperty_TightHorizontal for 5
  1017    Define OLEF2CAdornmentProperty_TightVertical for 6
  1018    Define OLEF2CAdornmentProperty_DropShadow for 7
  1019    Define OLEF2CAdornmentProperty_ForeColor for 8
  1020    Define OLEF2CAdornmentProperty_BackColor for 9
  1021    Define OLEF2CAdornmentProperty_LineWidth for 10
  1022    Define OLEF2CAdornmentProperty_FillStyle for 11
  1023
  1024Define OLEF2CFillStyle for Integer
  1025    Define OLEF2CFillStyle_NullFill for 0
  1026    Define OLEF2CFillStyle_SolidFill for 1
  1027    Define OLEF2CFillStyle_HorizontalFill for 2
  1028    Define OLEF2CFillStyle_VerticalFill for 3
  1029    Define OLEF2CFillStyle_CrossFill for 4
  1030    Define OLEF2CFillStyle_BDiagonalFill for 5
  1031    Define OLEF2CFillStyle_FDiagonalFill for 6
  1032    Define OLEF2CFillStyle_DiagCrossFill for 7
  1033    Define OLEF2CFillStyle_PatternFill for 8
  1034    Define OLEF2CFillStyle_FirstInvalidFillStyle for 9
  1035
  1036Define OLEF2CSpecialVarType for Integer
  1037    Define OLEF2CSpecialVarType_PrintDate for 0
  1038    Define OLEF2CSpecialVarType_PrintTime for 1
  1039    Define OLEF2CSpecialVarType_ModificationDate for 2
  1040    Define OLEF2CSpecialVarType_ModificationTime for 3
  1041    Define OLEF2CSpecialVarType_DataDate for 4
  1042    Define OLEF2CSpecialVarType_DataTime for 5
  1043    Define OLEF2CSpecialVarType_RecordNumber for 6
  1044    Define OLEF2CSpecialVarType_PageNumber for 7
  1045    Define OLEF2CSpecialVarType_GroupNumber for 8
  1046    Define OLEF2CSpecialVarType_TotalPageCount for 9
  1047    Define OLEF2CSpecialVarType_ReportTitle for 10
  1048    Define OLEF2CSpecialVarType_ReportComments for 11
  1049    Define OLEF2CSpecialVarType_RecordSelection for 12
  1050    Define OLEF2CSpecialVarType_GroupSelection for 13
  1051    Define OLEF2CSpecialVarType_Filename for 14
  1052    Define OLEF2CSpecialVarType_FileAuthor for 15
  1053    Define OLEF2CSpecialVarType_FileCreationDate for 16
  1054    Define OLEF2CSpecialVarType_PageNofM for 17
  1055
  1056Define OLEF2CSortFieldType for Integer
  1057    Define OLEF2CSortFieldType_GroupSortField for 0
  1058    Define OLEF2CSortFieldType_RecordSortField for 1
  1059
  1060Define OLECrCubeBuilderTypeEnum for Integer
  1061
  1062Define OLEF2CCrRangeValueBoundTypeEnum for Integer
  1063    Define OLEF2CCrRangeValueBoundTypeEnum_crRangeValueBoundTypeNoBound for 0
  1064    Define OLEF2CCrRangeValueBoundTypeEnum_crRangeValueBoundTypeExclusive for 1
  1065    Define OLEF2CCrRangeValueBoundTypeEnum_crRangeValueBoundTypeInclusive for 2
  1066
  1067// Specifies the style that will be applied to the report.
  1068Define OLECrReportStyleEnum for Integer
  1069    Define OLEcrReportStyleMask for 255
  1070    // No report style is applied. The data is listed in plain columns with a header for each.
  1071    Define OLEcrReportStyleNone for 255
  1072    // Standard.
  1073    Define OLEcrReportStyleStandard for 0
  1074    // LeadingBreak.
  1075    Define OLEcrReportStyleLeadingBreak for 1
  1076    // TrailingBreak.
  1077    Define OLEcrReportStyleTrailingBreak for 2
  1078    // Table.
  1079    Define OLEcrReportStyleTable for 3
  1080    // DropTable.
  1081    Define OLEcrReportStyleDropTable for 4
  1082    // ExecutiveLeadingBreak.
  1083    Define OLEcrReportStyleExecutiveLeadingBreak for 5
  1084    // ExecutiveTrailingBreak.
  1085    Define OLEcrReportStyleExecutiveTrailingBreak for 6
  1086    // Shade.
  1087    Define OLEcrReportStyleShade for 7
  1088    // RedBlueBorder.
  1089    Define OLEcrReportStyleRedBlueBorder for 8
  1090    // MaroonTealBox.
  1091    Define OLEcrReportStyleMaroonTealBox for 9
  1092    // May be combined with any value from 0 to 9 to format the report with a chart.
  1093    Define OLEcrReportStyleWithChart for 256
  1094
  1095Define OLEF2CCrFetchingStatusEnum for Integer
  1096    Define OLEF2CCrFetchingStatusEnum_crFetchingStatusPending for 0
  1097    Define OLEF2CCrFetchingStatusEnum_crFetchingStatusStarted for 1
  1098    Define OLEF2CCrFetchingStatusEnum_crFetchingStatusProcessing for 2
  1099    Define OLEF2CCrFetchingStatusEnum_crFetchingStatusCancelled for 3
  1100    Define OLEF2CCrFetchingStatusEnum_crFetchingStatusCompleted for 4
  1101
  1102Define OLEDialogResult for Integer
  1103    Define OLEDialogResult_Abort for 3
  1104    Define OLEDialogResult_Cancel for 2
  1105    Define OLEDialogResult_Ignore for 5
  1106    Define OLEDialogResult_No for 7
  1107    Define OLEDialogResult_None for 0
  1108    Define OLEDialogResult_OK for 1
  1109    Define OLEDialogResult_Retry for 4
  1110    Define OLEDialogResult_Yes for 6
  1111
  1112Define OLEBorderStyle for Integer
  1113    Define OLEBorderStyle_Fixed3D for 2
  1114    Define OLEBorderStyle_FixedSingle for 1
  1115    Define OLEBorderStyle_None for 0
  1116
  1117Define OLEImeMode for Integer
  1118    Define OLEImeMode_Alpha for 8
  1119    Define OLEImeMode_AlphaFull for 7
  1120    Define OLEImeMode_Close for 11
  1121    Define OLEImeMode_Disable for 3
  1122    Define OLEImeMode_Hangul for 10
  1123    Define OLEImeMode_HangulFull for 9
  1124    Define OLEImeMode_Hiragana for 4
  1125    Define OLEImeMode_Inherit for -1
  1126    Define OLEImeMode_Katakana for 5
  1127    Define OLEImeMode_KatakanaHalf for 6
  1128    Define OLEImeMode_NoControl for 0
  1129    Define OLEImeMode_Off for 2
  1130    Define OLEImeMode_On for 1
  1131    Define OLEImeMode_OnHalf for 12
  1132
  1133Define OLEKeys for Integer
  1134    Define OLEKeys_A for 65
  1135    Define OLEKeys_Add for 107
  1136    Define OLEKeys_Alt for 262144
  1137    Define OLEKeys_Apps for 93
  1138    Define OLEKeys_Attn for 246
  1139    Define OLEKeys_B for 66
  1140    Define OLEKeys_Back for 8
  1141    Define OLEKeys_BrowserBack for 166
  1142    Define OLEKeys_BrowserFavorites for 171
  1143    Define OLEKeys_BrowserForward for 167
  1144    Define OLEKeys_BrowserHome for 172
  1145    Define OLEKeys_BrowserRefresh for 168
  1146    Define OLEKeys_BrowserSearch for 170
  1147    Define OLEKeys_BrowserStop for 169
  1148    Define OLEKeys_C for 67
  1149    Define OLEKeys_Cancel for 3
  1150    Define OLEKeys_Capital for 20
  1151    Define OLEKeys_CapsLock for 20
  1152    Define OLEKeys_Clear for 12
  1153    Define OLEKeys_Control for 131072
  1154    Define OLEKeys_ControlKey for 17
  1155    Define OLEKeys_Crsel for 247
  1156    Define OLEKeys_D for 68
  1157    Define OLEKeys_D0 for 48
  1158    Define OLEKeys_D1 for 49
  1159    Define OLEKeys_D2 for 50
  1160    Define OLEKeys_D3 for 51
  1161    Define OLEKeys_D4 for 52
  1162    Define OLEKeys_D5 for 53
  1163    Define OLEKeys_D6 for 54
  1164    Define OLEKeys_D7 for 55
  1165    Define OLEKeys_D8 for 56
  1166    Define OLEKeys_D9 for 57
  1167    Define OLEKeys_Decimal for 110
  1168    Define OLEKeys_Delete for 46
  1169    Define OLEKeys_Divide for 111
  1170    Define OLEKeys_Down for 40
  1171    Define OLEKeys_E for 69
  1172    Define OLEKeys_End for 35
  1173    Define OLEKeys_Enter for 13
  1174    Define OLEKeys_EraseEof for 249
  1175    Define OLEKeys_Escape for 27
  1176    Define OLEKeys_Execute for 43
  1177    Define OLEKeys_Exsel for 248
  1178    Define OLEKeys_F for 70
  1179    Define OLEKeys_F1 for 112
  1180    Define OLEKeys_F10 for 121
  1181    Define OLEKeys_F11 for 122
  1182    Define OLEKeys_F12 for 123
  1183    Define OLEKeys_F13 for 124
  1184    Define OLEKeys_F14 for 125
  1185    Define OLEKeys_F15 for 126
  1186    Define OLEKeys_F16 for 127
  1187    Define OLEKeys_F17 for 128
  1188    Define OLEKeys_F18 for 129
  1189    Define OLEKeys_F19 for 130
  1190    Define OLEKeys_F2 for 113
  1191    Define OLEKeys_F20 for 131
  1192    Define OLEKeys_F21 for 132
  1193    Define OLEKeys_F22 for 133
  1194    Define OLEKeys_F23 for 134
  1195    Define OLEKeys_F24 for 135
  1196    Define OLEKeys_F3 for 114
  1197    Define OLEKeys_F4 for 115
  1198    Define OLEKeys_F5 for 116
  1199    Define OLEKeys_F6 for 117
  1200    Define OLEKeys_F7 for 118
  1201    Define OLEKeys_F8 for 119
  1202    Define OLEKeys_F9 for 120
  1203    Define OLEKeys_FinalMode for 24
  1204    Define OLEKeys_G for 71
  1205    Define OLEKeys_H for 72
  1206    Define OLEKeys_HanguelMode for 21
  1207    Define OLEKeys_HangulMode for 21
  1208    Define OLEKeys_HanjaMode for 25
  1209    Define OLEKeys_Help for 47
  1210    Define OLEKeys_Home for 36
  1211    Define OLEKeys_I for 73
  1212    Define OLEKeys_IMEAccept for 30
  1213    Define OLEKeys_IMEAceept for 30
  1214    Define OLEKeys_IMEConvert for 28
  1215    Define OLEKeys_IMEModeChange for 31
  1216    Define OLEKeys_IMENonconvert for 29
  1217    Define OLEKeys_Insert for 45
  1218    Define OLEKeys_J for 74
  1219    Define OLEKeys_JunjaMode for 23
  1220    Define OLEKeys_K for 75
  1221    Define OLEKeys_KanaMode for 21
  1222    Define OLEKeys_KanjiMode for 25
  1223    Define OLEKeys_KeyCode for 65535
  1224    Define OLEKeys_L for 76
  1225    Define OLEKeys_LButton for 1
  1226    Define OLEKeys_LControlKey for 162
  1227    Define OLEKeys_LMenu for 164
  1228    Define OLEKeys_LShiftKey for 160
  1229    Define OLEKeys_LWin for 91
  1230    Define OLEKeys_LaunchApplication1 for 182
  1231    Define OLEKeys_LaunchApplication2 for 183
  1232    Define OLEKeys_LaunchMail for 180
  1233    Define OLEKeys_Left for 37
  1234    Define OLEKeys_LineFeed for 10
  1235    Define OLEKeys_M for 77
  1236    Define OLEKeys_MButton for 4
  1237    Define OLEKeys_MediaNextTrack for 176
  1238    Define OLEKeys_MediaPlayPause for 179
  1239    Define OLEKeys_MediaPreviousTrack for 177
  1240    Define OLEKeys_MediaStop for 178
  1241    Define OLEKeys_Menu for 18
  1242    Define OLEKeys_Modifiers for -65536
  1243    Define OLEKeys_Multiply for 106
  1244    Define OLEKeys_N for 78
  1245    Define OLEKeys_Next for 34
  1246    Define OLEKeys_NoName for 252
  1247    Define OLEKeys_None for 0
  1248    Define OLEKeys_NumLock for 144
  1249    Define OLEKeys_NumPad0 for 96
  1250    Define OLEKeys_NumPad1 for 97
  1251    Define OLEKeys_NumPad2 for 98
  1252    Define OLEKeys_NumPad3 for 99
  1253    Define OLEKeys_NumPad4 for 100
  1254    Define OLEKeys_NumPad5 for 101
  1255    Define OLEKeys_NumPad6 for 102
  1256    Define OLEKeys_NumPad7 for 103
  1257    Define OLEKeys_NumPad8 for 104
  1258    Define OLEKeys_NumPad9 for 105
  1259    Define OLEKeys_O for 79
  1260    Define OLEKeys_Oem1 for 186
  1261    Define OLEKeys_Oem102 for 226
  1262    Define OLEKeys_Oem2 for 191
  1263    Define OLEKeys_Oem3 for 192
  1264    Define OLEKeys_Oem4 for 219
  1265    Define OLEKeys_Oem5 for 220
  1266    Define OLEKeys_Oem6 for 221
  1267    Define OLEKeys_Oem7 for 222
  1268    Define OLEKeys_Oem8 for 223
  1269    Define OLEKeys_OemBackslash for 226
  1270    Define OLEKeys_OemClear for 254
  1271    Define OLEKeys_OemCloseBrackets for 221
  1272    Define OLEKeys_OemMinus for 189
  1273    Define OLEKeys_OemOpenBrackets for 219
  1274    Define OLEKeys_OemPeriod for 190
  1275    Define OLEKeys_OemPipe for 220
  1276    Define OLEKeys_OemQuestion for 191
  1277    Define OLEKeys_OemQuotes for 222
  1278    Define OLEKeys_OemSemicolon for 186
  1279    Define OLEKeys_Oemcomma for 188
  1280    Define OLEKeys_Oemplus for 187
  1281    Define OLEKeys_Oemtilde for 192
  1282    Define OLEKeys_P for 80
  1283    Define OLEKeys_Pa1 for 253
  1284    Define OLEKeys_Packet for 231
  1285    Define OLEKeys_PageDown for 34
  1286    Define OLEKeys_PageUp for 33
  1287    Define OLEKeys_Pause for 19
  1288    Define OLEKeys_Play for 250
  1289    Define OLEKeys_Print for 42
  1290    Define OLEKeys_PrintScreen for 44
  1291    Define OLEKeys_Prior for 33
  1292    Define OLEKeys_ProcessKey for 229
  1293    Define OLEKeys_Q for 81
  1294    Define OLEKeys_R for 82
  1295    Define OLEKeys_RButton for 2
  1296    Define OLEKeys_RControlKey for 163
  1297    Define OLEKeys_RMenu for 165
  1298    Define OLEKeys_RShiftKey for 161
  1299    Define OLEKeys_RWin for 92
  1300    Define OLEKeys_Return for 13
  1301    Define OLEKeys_Right for 39
  1302    Define OLEKeys_S for 83
  1303    Define OLEKeys_Scroll for 145
  1304    Define OLEKeys_Select for 41
  1305    Define OLEKeys_SelectMedia for 181
  1306    Define OLEKeys_Separator for 108
  1307    Define OLEKeys_Shift for 65536
  1308    Define OLEKeys_ShiftKey for 16
  1309    Define OLEKeys_Sleep for 95
  1310    Define OLEKeys_Snapshot for 44
  1311    Define OLEKeys_Space for 32
  1312    Define OLEKeys_Subtract for 109
  1313    Define OLEKeys_T for 84
  1314    Define OLEKeys_Tab for 9
  1315    Define OLEKeys_U for 85
  1316    Define OLEKeys_Up for 38
  1317    Define OLEKeys_V for 86
  1318    Define OLEKeys_VolumeDown for 174
  1319    Define OLEKeys_VolumeMute for 173
  1320    Define OLEKeys_VolumeUp for 175
  1321    Define OLEKeys_W for 87
  1322    Define OLEKeys_X for 88
  1323    Define OLEKeys_XButton1 for 5
  1324    Define OLEKeys_XButton2 for 6
  1325    Define OLEKeys_Y for 89
  1326    Define OLEKeys_Z for 90
  1327    Define OLEKeys_Zoom for 251
  1328
  1329Define OLEMouseButtons for Integer
  1330    Define OLEMouseButtons_Left for 1048576
  1331    Define OLEMouseButtons_Middle for 4194304
  1332    Define OLEMouseButtons_None for 0
  1333    Define OLEMouseButtons_Right for 2097152
  1334    Define OLEMouseButtons_XButton1 for 8388608
  1335    Define OLEMouseButtons_XButton2 for 16777216
  1336
  1337Define OLEDragAction for Integer
  1338    Define OLEDragAction_Cancel for 2
  1339    Define OLEDragAction_Continue for 0
  1340    Define OLEDragAction_Drop for 1
  1341
  1342Define OLEF2CStatementType for Integer
  1343    Define OLEF2CStatementType_Select for 0
  1344    Define OLEF2CStatementType_Insert for 1
  1345    Define OLEF2CStatementType_Update for 2
  1346    Define OLEF2CStatementType_Delete for 3
  1347    Define OLEF2CStatementType_Batch for 4
  1348
  1349Define OLEF2CParameterDirection for Integer
  1350    Define OLEF2CParameterDirection_Input for 1
  1351    Define OLEF2CParameterDirection_Output for 2
  1352    Define OLEF2CParameterDirection_InputOutput for 3
  1353    Define OLEF2CParameterDirection_ReturnValue for 6
  1354
  1355Define OLEF2CCrControllersErrorCodeEnum for Integer
  1356    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidTableAlias for -2147213311
  1357    Define OLEF2CCrControllersErrorCodeEnum_crErrFieldNotFound for -2147213310
  1358    Define OLEF2CCrControllersErrorCodeEnum_crErrSortNotFound for -2147213309
  1359    Define OLEF2CCrControllersErrorCodeEnum_crErrGroupNotFound for -2147213308
  1360    Define OLEF2CCrControllersErrorCodeEnum_crErrFieldAlreadyExists for -2147213307
  1361    Define OLEF2CCrControllersErrorCodeEnum_crErrGroupAlreadyExists for -2147213306
  1362    Define OLEF2CCrControllersErrorCodeEnum_crErrSortAlreadyExists for -2147213305
  1363    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidSummaryField for -2147213304
  1364    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidParameterField for -2147213303
  1365    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidFormulaField for -2147213302
  1366    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidGroup for -2147213301
  1367    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidSort for -2147213300
  1368    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidFilterItem for -2147213299
  1369    Define OLEF2CCrControllersErrorCodeEnum_crErrConnectionDirectoryNotFetched for -2147213298
  1370    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidReportObjectName for -2147213297
  1371    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidReportSectionName for -2147213296
  1372    Define OLEF2CCrControllersErrorCodeEnum_crErrRowsetNotFetched for -2147213295
  1373    Define OLEF2CCrControllersErrorCodeEnum_crErrTotallerNotFetched for -2147213294
  1374    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidTableLink for -2147213293
  1375    Define OLEF2CCrControllersErrorCodeEnum_crErrTableLinkNotFound for -2147213292
  1376    Define OLEF2CCrControllersErrorCodeEnum_crErrTableAliasAlreadyExists for -2147213291
  1377    Define OLEF2CCrControllersErrorCodeEnum_crErrTableNotFound for -2147213290
  1378    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidFieldHeading for -2147213289
  1379    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidTable for -2147213288
  1380    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidChartObject for -2147213287
  1381    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidReportAreaName for -2147213286
  1382    Define OLEF2CCrControllersErrorCodeEnum_crErrReportObjectNotFound for -2147213285
  1383    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidReportObject for -2147213284
  1384    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidFieldObject for -2147213283
  1385    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidTextObject for -2147213282
  1386    Define OLEF2CCrControllersErrorCodeEnum_crErrObjectAlreadyExists for -2147213281
  1387    Define OLEF2CCrControllersErrorCodeEnum_crErrAreaNotFound for -2147213280
  1388    Define OLEF2CCrControllersErrorCodeEnum_crErrSectionNotFound for -2147213279
  1389    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidSection for -2147213278
  1390    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidArea for -2147213277
  1391    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidCustomFunction for -2147213276
  1392    Define OLEF2CCrControllersErrorCodeEnum_crErrSubreportNotFound for -2147213275
  1393    Define OLEF2CCrControllersErrorCodeEnum_crErrConnectionDirManagerInvalidState for -2147213274
  1394    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidBookmarkObjectName for -2147213273
  1395    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidDataSource for -2147213272
  1396    Define OLEF2CCrControllersErrorCodeEnum_crErrReportSourceNotReady for -2147213271
  1397    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidPageRange for -2147213264
  1398    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidPrintPaperSize for -2147213263
  1399    Define OLEF2CCrControllersErrorCodeEnum_crErrInvalidCrossTabObject for -2147213262
  1400
  1401Define OLEF2CSearchDirection for Integer
  1402    Define OLEF2CSearchDirection_Forward for 0
  1403    Define OLEF2CSearchDirection_Backward for 1
  1404
  1405Define OLEF2CExportFormatType for Integer
  1406    Define OLEF2CExportFormatType_NoFormat for 0
  1407    Define OLEF2CExportFormatType_CrystalReport for 1
  1408    Define OLEF2CExportFormatType_RichText for 2
  1409    Define OLEF2CExportFormatType_WordForWindows for 3
  1410    Define OLEF2CExportFormatType_Excel for 4
  1411    Define OLEF2CExportFormatType_PortableDocFormat for 5
  1412    Define OLEF2CExportFormatType_HTML32 for 6
  1413    Define OLEF2CExportFormatType_HTML40 for 7
  1414    Define OLEF2CExportFormatType_ExcelRecord for 8
  1415    Define OLEF2CExportFormatType_Text for 9
  1416    Define OLEF2CExportFormatType_CharacterSeparatedValues for 10
  1417    Define OLEF2CExportFormatType_TabSeperatedText for 11
  1418    Define OLEF2CExportFormatType_EditableRTF for 12
  1419    Define OLEF2CExportFormatType_Xml for 13
  1420    Define OLEF2CExportFormatType_RPTR for 14
  1421    Define OLEF2CExportFormatType_ExcelWorkbook for 15
  1422
  1423Define OLEF2CParagraphElementKind for Integer
  1424    Define OLEF2CParagraphElementKind_TextElement for 1
  1425    Define OLEF2CParagraphElementKind_TabElement for 2
  1426
  1427Define OLEF2CRunningTotalCondition for Integer
  1428    Define OLEF2CRunningTotalCondition_NoCondition for 0
  1429    Define OLEF2CRunningTotalCondition_OnChangeOfField for 1
  1430    Define OLEF2CRunningTotalCondition_OnChangeOfGroup for 2
  1431    Define OLEF2CRunningTotalCondition_OnFormula for 3
  1432
  1433Define OLEF2CAlignment for Integer
  1434    Define OLEF2CAlignment_DefaultAlign for 0
  1435    Define OLEF2CAlignment_LeftAlign for 1
  1436    Define OLEF2CAlignment_HorizontalCenterAlign for 2
  1437    Define OLEF2CAlignment_RightAlign for 3
  1438    Define OLEF2CAlignment_Justified for 4
  1439    Define OLEF2CAlignment_Decimal for 5
  1440
  1441Define OLEF2CReportFileFormat for Integer
  1442    Define OLEF2CReportFileFormat_VSNetFileFormat for 4096
  1443
  1444Define OLEF2CPrintingPermissionLevel for Integer
  1445    Define OLEF2CPrintingPermissionLevel_NoPrinting for 0
  1446    Define OLEF2CPrintingPermissionLevel_SafePrinting for 1
  1447    Define OLEF2CPrintingPermissionLevel_DefaultPrinting for 2
  1448    Define OLEF2CPrintingPermissionLevel_AllPrinting for 3
  1449
  1450Define OLEF2CCrSortDirectionEnum for Integer
  1451    Define OLEF2CCrSortDirectionEnum_crSortDirectionAscendingOrder for 0
  1452    Define OLEF2CCrSortDirectionEnum_crSortDirectionDescendingOrder for 1
  1453    Define OLEF2CCrSortDirectionEnum_crSortDirectionNoSortOrder for 2
  1454    Define OLEF2CCrSortDirectionEnum_crSortDirectionTopNOrder for 4
  1455    Define OLEF2CCrSortDirectionEnum_crSortDirectionBottomNOrder for 5
  1456    Define OLEF2CCrSortDirectionEnum_crSortDirectionTopNPercentage for 6
  1457    Define OLEF2CCrSortDirectionEnum_crSortDirectionBottomNPercentage for 7
  1458
  1459Define OLEF2CCrTableJoinEnforcedEnum for Integer
  1460    Define OLEF2CCrTableJoinEnforcedEnum_crTableJoinEnforcedNotEnforced for 1
  1461    Define OLEF2CCrTableJoinEnforcedEnum_crTableJoinEnforcedFrom for 2
  1462    Define OLEF2CCrTableJoinEnforcedEnum_crTableJoinEnforcedTo for 4
  1463    Define OLEF2CCrTableJoinEnforcedEnum_crTableJoinEnforcedBoth for 8
  1464
  1465Define OLEF2CCrTableJoinOperatorEnum for Integer
  1466    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorUnknownJoin for 0
  1467    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorInnerJoin for 1
  1468    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorLeftOuterJoin for 2
  1469    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorRightOuterJoin for 4
  1470    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorFullOuterJoin for 8
  1471    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorUnionJoin for 16
  1472    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorCrossJoin for 32
  1473    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorParallelJoin for 64
  1474    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorSeriesJoin for 128
  1475    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorProductJoin for 256
  1476    Define OLEF2CCrTableJoinOperatorEnum_crTableJoinOperatorTableRelationJoin for 512
  1477
  1478Define OLEF2CCrParameterSortOrderEnum for Integer
  1479    Define OLEF2CCrParameterSortOrderEnum_crParameterSortOrderNoSort for 0
  1480    Define OLEF2CCrParameterSortOrderEnum_crParameterSortOrderAlphabeticalAscending for 1
  1481    Define OLEF2CCrParameterSortOrderEnum_crParameterSortOrderAlphabeticalDescending for 2
  1482    Define OLEF2CCrParameterSortOrderEnum_crParameterSortOrderNumericalAscending for 3
  1483    Define OLEF2CCrParameterSortOrderEnum_crParameterSortOrderNumericalDescending for 4
  1484    Define OLEF2CCrParameterSortOrderEnum_crParameterSortOrderDateTimeAscending for 5
  1485    Define OLEF2CCrParameterSortOrderEnum_crParameterSortOrderDateTimeDescending for 6
  1486
  1487Define OLEF2CCrParameterFieldTypeEnum for Integer
  1488    Define OLEF2CCrParameterFieldTypeEnum_crParameterFieldTypeReportParameter for 0
  1489    Define OLEF2CCrParameterFieldTypeEnum_crParameterFieldTypeStoredProcedureParameter for 1
  1490    Define OLEF2CCrParameterFieldTypeEnum_crParameterFieldTypeQueryParameter for 2
  1491    Define OLEF2CCrParameterFieldTypeEnum_crParameterFieldTypeConnectionParameter for 3
  1492    Define OLEF2CCrParameterFieldTypeEnum_crParameterFieldTypeMetaDataParameter for 4
  1493
  1494Define OLEF2CCrParameterValueRangeKindEnum for Integer
  1495    Define OLEF2CCrParameterValueRangeKindEnum_crParameterValueRangeKindRange for 0
  1496    Define OLEF2CCrParameterValueRangeKindEnum_crParameterValueRangeKindDiscrete for 1
  1497    Define OLEF2CCrParameterValueRangeKindEnum_crParameterValueRangeKindDiscreteAndRange for 2
  1498
  1499Define OLEF2CCrConnectionInfoKindEnum for Integer
  1500    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindUnknown for 0
  1501    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindSQL for 1
  1502    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindQuery for 2
  1503    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindMetaData for 3
  1504    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindDBFile for 4
  1505    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindCRQE for 5
  1506    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindOLAP for 6
  1507    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindUniverse for 7
  1508    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindDSL for 8
  1509    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindBICS for 9
  1510    Define OLEF2CCrConnectionInfoKindEnum_crConnectionInfoKindPQuery for 10
  1511
  1512Define OLEF2CButtonType for Integer
  1513    Define OLEF2CButtonType_Button for 0
  1514    Define OLEF2CButtonType_LinkButton for 1
  1515    Define OLEF2CButtonType_ImageButton for 2
  1516    Define OLEF2CButtonType_CustomImageButton for 3
  1517
  1518Define OLEF2CPaperOrientation for Integer
  1519    Define OLEF2CPaperOrientation_DefaultPaperOrientation for 0
  1520    Define OLEF2CPaperOrientation_Portrait for 1
  1521    Define OLEF2CPaperOrientation_Landscape for 2
  1522
  1523Define OLEF2CPaperSize for Integer
  1524    Define OLEF2CPaperSize_DefaultPaperSize for 0
  1525    Define OLEF2CPaperSize_PaperLetter for 1
  1526    Define OLEF2CPaperSize_PaperLetterSmall for 2
  1527    Define OLEF2CPaperSize_PaperTabloid for 3
  1528    Define OLEF2CPaperSize_PaperLedger for 4
  1529    Define OLEF2CPaperSize_PaperLegal for 5
  1530    Define OLEF2CPaperSize_PaperStatement for 6
  1531    Define OLEF2CPaperSize_PaperExecutive for 7
  1532    Define OLEF2CPaperSize_PaperA3 for 8
  1533    Define OLEF2CPaperSize_PaperA4 for 9
  1534    Define OLEF2CPaperSize_PaperA4Small for 10
  1535    Define OLEF2CPaperSize_PaperA5 for 11
  1536    Define OLEF2CPaperSize_PaperB4 for 12
  1537    Define OLEF2CPaperSize_PaperB5 for 13
  1538    Define OLEF2CPaperSize_PaperFolio for 14
  1539    Define OLEF2CPaperSize_PaperQuarto for 15
  1540    Define OLEF2CPaperSize_Paper10x14 for 16
  1541    Define OLEF2CPaperSize_Paper11x17 for 17
  1542    Define OLEF2CPaperSize_PaperNote for 18
  1543    Define OLEF2CPaperSize_PaperEnvelope9 for 19
  1544    Define OLEF2CPaperSize_PaperEnvelope10 for 20
  1545    Define OLEF2CPaperSize_PaperEnvelope11 for 21
  1546    Define OLEF2CPaperSize_PaperEnvelope12 for 22
  1547    Define OLEF2CPaperSize_PaperEnvelope14 for 23
  1548    Define OLEF2CPaperSize_PaperCsheet for 24
  1549    Define OLEF2CPaperSize_PaperDsheet for 25
  1550    Define OLEF2CPaperSize_PaperEsheet for 26
  1551    Define OLEF2CPaperSize_PaperEnvelopeDL for 27
  1552    Define OLEF2CPaperSize_PaperEnvelopeC5 for 28
  1553    Define OLEF2CPaperSize_PaperEnvelopeC3 for 29
  1554    Define OLEF2CPaperSize_PaperEnvelopeC4 for 30
  1555    Define OLEF2CPaperSize_PaperEnvelopeC6 for 31
  1556    Define OLEF2CPaperSize_PaperEnvelopeC65 for 32
  1557    Define OLEF2CPaperSize_PaperEnvelopeB4 for 33
  1558    Define OLEF2CPaperSize_PaperEnvelopeB5 for 34
  1559    Define OLEF2CPaperSize_PaperEnvelopeB6 for 35
  1560    Define OLEF2CPaperSize_PaperEnvelopeItaly for 36
  1561    Define OLEF2CPaperSize_PaperEnvelopeMonarch for 37
  1562    Define OLEF2CPaperSize_PaperEnvelopePersonal for 38
  1563    Define OLEF2CPaperSize_PaperFanfoldUS for 39
  1564    Define OLEF2CPaperSize_PaperFanfoldStdGerman for 40
  1565    Define OLEF2CPaperSize_PaperFanfoldLegalGerman for 41
  1566
  1567Define OLEF2CPrintAction for Integer
  1568    Define OLEF2CPrintAction_PrintToFile for 0
  1569    Define OLEF2CPrintAction_PrintToPreview for 1
  1570    Define OLEF2CPrintAction_PrintToPrinter for 2
  1571
  1572Define OLEF2CSelectionMode for Integer
  1573    Define OLEF2CSelectionMode_MultiExtended for 0
  1574    Define OLEF2CSelectionMode_MultiSimple for 1
  1575    Define OLEF2CSelectionMode_None for 2
  1576    Define OLEF2CSelectionMode_One for 3
  1577
  1578Define OLEF2CToolPanelViewType for Integer
  1579    Define OLEF2CToolPanelViewType_None for 0
  1580    Define OLEF2CToolPanelViewType_GroupTree for 1
  1581    Define OLEF2CToolPanelViewType_ParameterPanel for 2
  1582
  1583Define OLEF2CSummaryOperation for Integer
  1584    Define OLEF2CSummaryOperation_Sum for 0
  1585    Define OLEF2CSummaryOperation_Average for 1
  1586    Define OLEF2CSummaryOperation_SampleVariance for 2
  1587    Define OLEF2CSummaryOperation_SampleStandardDeviation for 3
  1588    Define OLEF2CSummaryOperation_Maximum for 4
  1589    Define OLEF2CSummaryOperation_Minimum for 5
  1590    Define OLEF2CSummaryOperation_Count for 6
  1591    Define OLEF2CSummaryOperation_PopVariance for 7
  1592    Define OLEF2CSummaryOperation_PopStandardDeviation for 8
  1593    Define OLEF2CSummaryOperation_DistinctCount for 9
  1594    Define OLEF2CSummaryOperation_Correlation for 10
  1595    Define OLEF2CSummaryOperation_Covariance for 11
  1596    Define OLEF2CSummaryOperation_WeightedAvg for 12
  1597    Define OLEF2CSummaryOperation_Median for 13
  1598    Define OLEF2CSummaryOperation_Percentile for 14
  1599    Define OLEF2CSummaryOperation_NthLargest for 15
  1600    Define OLEF2CSummaryOperation_NthSmallest for 16
  1601    Define OLEF2CSummaryOperation_Mode for 17
  1602    Define OLEF2CSummaryOperation_NthMostFrequent for 18
  1603
  1604Define OLEF2COpenReportMethod for Integer
  1605    Define OLEF2COpenReportMethod_OpenReportByDefault for 0
  1606    Define OLEF2COpenReportMethod_OpenReportByTempCopy for 1
  1607
  1608Define OLEF2CObjectScope for Integer
  1609    Define OLEF2CObjectScope_AllSections for 0
  1610    Define OLEF2CObjectScope_ReportHeaderSections for 1
  1611    Define OLEF2CObjectScope_PageHeaderSections for 2
  1612    Define OLEF2CObjectScope_GroupHeaderSections for 3
  1613    Define OLEF2CObjectScope_DetailSections for 4
  1614    Define OLEF2CObjectScope_GroupFooterSections for 5
  1615    Define OLEF2CObjectScope_PageFooterSections for 7
  1616    Define OLEF2CObjectScope_ReportFooterSections for 8
  1617    Define OLEF2CObjectScope_AllSummaryObjects for 10
  1618    Define OLEF2CObjectScope_AllReportObjects for 20
  1619    Define OLEF2CObjectScope_AllReportObjectsInReportHeaderSections for 21
  1620    Define OLEF2CObjectScope_AllReportObjectsInPageHeaderSections for 22
  1621    Define OLEF2CObjectScope_AllReportObjectsInGroupHeaderSections for 23
  1622    Define OLEF2CObjectScope_AllReportObjectsInDetailSections for 24
  1623    Define OLEF2CObjectScope_AllReportObjectsInGroupFooterSections for 25
  1624    Define OLEF2CObjectScope_AllReportObjectsInPageFooterSections for 27
  1625    Define OLEF2CObjectScope_AllReportObjectsInReportFooterSections for 28
  1626
  1627Define OLEF2CLineStyle for Integer
  1628    Define OLEF2CLineStyle_NoLine for 0
  1629    Define OLEF2CLineStyle_SingleLine for 1
  1630    Define OLEF2CLineStyle_DoubleLine for 2
  1631    Define OLEF2CLineStyle_DashLine for 3
  1632    Define OLEF2CLineStyle_DotLine for 4
  1633    Define OLEF2CLineStyle_FirstInvalidLineStyle for 5
  1634    Define OLEF2CLineStyle_BlankLine for 6
  1635
  1636Define OLEDsColumnType for Integer
  1637    Define OLEDsColumnType_String for 0
  1638    Define OLEDsColumnType_Integer for 1
  1639    Define OLEDsColumnType_Boolean for 2
  1640    Define OLEDsColumnType_DateTime for 3
  1641    Define OLEDsColumnType_Decimal for 4
  1642    Define OLEDsColumnType_Double for 5
  1643    Define OLEDsColumnType_Float for 6
  1644    Define OLEDsColumnType_Char for 7
  1645    Define OLEDsColumnType_Byte for 8
  1646    Define OLEDsColumnType_SByte for 9
  1647    Define OLEDsColumnType_Short for 10
  1648    Define OLEDsColumnType_UShort for 11
  1649    Define OLEDsColumnType_UInteger for 12
  1650    Define OLEDsColumnType_Long for 13
  1651    Define OLEDsColumnType_ULong for 14
  1652
  1653Define OLEF2CCdReportClientDocumentSaveAsOptionsEnum for Integer
  1654    Define OLEF2CCdReportClientDocumentSaveAsOptionsEnum_cdReportClientDocumentSaveAsOverwriteExisting for 1
  1655    Define OLEF2CCdReportClientDocumentSaveAsOptionsEnum_cdReportClientDocumentSaveAsCrystalReports7 for 65536
  1656
  1657Define OLEF2CXmlWriteMode for Integer
  1658    Define OLEF2CXmlWriteMode_WriteSchema for 0
  1659    Define OLEF2CXmlWriteMode_IgnoreSchema for 1
  1660    Define OLEF2CXmlWriteMode_DiffGram for 2
  1661
  1662Define OLEF2CXmlReadMode for Integer
  1663    Define OLEF2CXmlReadMode_Auto for 0
  1664    Define OLEF2CXmlReadMode_ReadSchema for 1
  1665    Define OLEF2CXmlReadMode_IgnoreSchema for 2
  1666    Define OLEF2CXmlReadMode_InferSchema for 3
  1667    Define OLEF2CXmlReadMode_DiffGram for 4
  1668    Define OLEF2CXmlReadMode_Fragment for 5
  1669    Define OLEF2CXmlReadMode_InferTypedSchema for 6
  1670
  1671Define OLEF2CDISPID_ISCRPrintOutputControllerEventsEnum for Integer
  1672    Define OLEF2CDISPID_ISCRPrintOutputControllerEventsEnum_DISPID_ISCRPrintOutputControllerEvents_OnChanged for 1
  1673    Define OLEF2CDISPID_ISCRPrintOutputControllerEventsEnum_DISPID_ISCRPrintOutputControllerEvents_OnChanging for 2
  1674
  1675Define OLEF2CSCRJobStatus for Integer
  1676    Define OLEF2CSCRJobStatus_SCR_JS_JOBNOTSTARTED for 1
  1677    Define OLEF2CSCRJobStatus_SCR_JS_JOBINPROGRESS for 2
  1678    Define OLEF2CSCRJobStatus_SCR_JS_JOBCOMPLETED for 3
  1679    Define OLEF2CSCRJobStatus_SCR_JS_JOBFAILED for 4
  1680    Define OLEF2CSCRJobStatus_SCR_JS_JOBCANCELLED for 5
  1681    Define OLEF2CSCRJobStatus_SCR_JS_JOBHALTED for 6
  1682    Define OLEF2CSCRJobStatus_SCR_JS_JOBNA for -1
  1683
  1684Define OLEF2CChartDataType for Integer
  1685    Define OLEF2CChartDataType_GroupChart for 0
  1686    Define OLEF2CChartDataType_DetailChart for 1
  1687    Define OLEF2CChartDataType_CrossTabChart for 2
  1688    Define OLEF2CChartDataType_OlapChart for 3
  1689
  1690Define OLEF2CHourFormat for Integer
  1691    Define OLEF2CHourFormat_NumericHour for 0
  1692    Define OLEF2CHourFormat_NumericHourNoLeadingZero for 1
  1693    Define OLEF2CHourFormat_NoHour for 2
  1694
  1695Define OLEDesignerSerializationVisibility for Integer
  1696    Define OLEDesignerSerializationVisibility_Content for 2
  1697    Define OLEDesignerSerializationVisibility_Hidden for 0
  1698    Define OLEDesignerSerializationVisibility_Visible for 1
  1699
  1700Define OLEF2CCrCursorTypeEnum for Integer
  1701    Define OLEF2CCrCursorTypeEnum_crCursorTypeReadOnly for 0
  1702    Define OLEF2CCrCursorTypeEnum_crCursorTypeReadAndWrite for 1
  1703
  1704// CrReportExportFormatEnum
  1705Define OLECrReportExportFormatEnum for Integer
  1706    Define OLEcrReportExportFormatCrystalReports for 0
  1707    Define OLEcrReportExportFormatMSWord for 1
  1708    Define OLEcrReportExportFormatMSExcel for 2
  1709    Define OLEcrReportExportFormatRTF for 3
  1710    Define OLEcrReportExportFormatHTML for 4
  1711    Define OLEcrReportExportFormatPDF for 5
  1712    Define OLEcrReportExportFormatRecordToMSExcel for 6
  1713    Define OLEcrReportExportFormatText for 7
  1714    Define OLEcrReportExportFormatCharacterSeparatedValues for 8
  1715    Define OLEcrReportExportFormatTabSeparatedText for 9
  1716    Define OLEcrReportExportFormatEditableRTF for 10
  1717    Define OLEcrReportExportFormatXML for 11
  1718    Define OLEcrReportExportFormatReportDef for 12
  1719    Define OLEcrReportExportFormatPaginatedTxt for 13
  1720    Define OLEcrReportExportFormatPaginatedTtx for 14
  1721    Define OLEcrReportExportFormatMHTML for 15
  1722    Define OLEcrReportExportFormatXLSX for 16
  1723    Define OLEcrReportExportFormatRPTR for 17
  1724
  1725// Specifies paper orientation.
  1726Define OLECrPaperOrientationEnum for Integer
  1727    // Default
  1728    Define OLEcrPaperOrientationDefault for 0
  1729    // Portrait
  1730    Define OLEcrPaperOrientationPortrait for 1
  1731    // Landscape
  1732    Define OLEcrPaperOrientationLandscape for 2
  1733
  1734Define OLEF2CCrDateConditionEnum for Integer
  1735    Define OLEF2CCrDateConditionEnum_crDateConditionDaily for 0
  1736    Define OLEF2CCrDateConditionEnum_crDateConditionWeekly for 1
  1737    Define OLEF2CCrDateConditionEnum_crDateConditionBiweekly for 2
  1738    Define OLEF2CCrDateConditionEnum_crDateConditionSemimonthly for 3
  1739    Define OLEF2CCrDateConditionEnum_crDateConditionMonthly for 4
  1740    Define OLEF2CCrDateConditionEnum_crDateConditionQuarterly for 5
  1741    Define OLEF2CCrDateConditionEnum_crDateConditionSemiannually for 6
  1742    Define OLEF2CCrDateConditionEnum_crDateConditionAnnually for 7
  1743    Define OLEF2CCrDateConditionEnum_crDateConditionSecond for 8
  1744    Define OLEF2CCrDateConditionEnum_crDateConditionMinute for 9
  1745    Define OLEF2CCrDateConditionEnum_crDateConditionHour for 10
  1746    Define OLEF2CCrDateConditionEnum_crDateConditionAmPm for 11
  1747
  1748Define OLEF2CCsvExportMode for Integer
  1749    Define OLEF2CCsvExportMode_Standard for 0
  1750    Define OLEF2CCsvExportMode_Legacy for -1
  1751
  1752Define OLEF2CCsvExportSectionsOption for Integer
  1753    Define OLEF2CCsvExportSectionsOption_Export for 0
  1754    Define OLEF2CCsvExportSectionsOption_ExportIsolated for 1
  1755    Define OLEF2CCsvExportSectionsOption_DoNotExport for 2
  1756
  1757Define OLEF2CCurrencySymbolFormat for Integer
  1758    Define OLEF2CCurrencySymbolFormat_NoSymbol for 0
  1759    Define OLEF2CCurrencySymbolFormat_FixedSymbol for 1
  1760    Define OLEF2CCurrencySymbolFormat_FloatingSymbol for 2
  1761
  1762Define OLEF2CNegativeFormat for Integer
  1763    Define OLEF2CNegativeFormat_NotNegative for 0
  1764    Define OLEF2CNegativeFormat_LeadingMinus for 1
  1765    Define OLEF2CNegativeFormat_TrailingMinus for 2
  1766    Define OLEF2CNegativeFormat_Bracketed for 3
  1767
  1768Define OLEF2CRoundingFormat for Integer
  1769    Define OLEF2CRoundingFormat_RoundToTenBillionth for 1
  1770    Define OLEF2CRoundingFormat_RoundToBillionth for 2
  1771    Define OLEF2CRoundingFormat_RoundToHundredMillionth for 3
  1772    Define OLEF2CRoundingFormat_RoundToTenMillionth for 4
  1773    Define OLEF2CRoundingFormat_RoundToMillionth for 5
  1774    Define OLEF2CRoundingFormat_RoundToHundredThousandth for 6
  1775    Define OLEF2CRoundingFormat_RoundToTenThousandth for 7
  1776    Define OLEF2CRoundingFormat_RoundToThousandth for 8
  1777    Define OLEF2CRoundingFormat_RoundToHundredth for 9
  1778    Define OLEF2CRoundingFormat_RoundToTenth for 10
  1779    Define OLEF2CRoundingFormat_RoundToUnit for 11
  1780    Define OLEF2CRoundingFormat_RoundToTen for 12
  1781    Define OLEF2CRoundingFormat_RoundToHundred for 13
  1782    Define OLEF2CRoundingFormat_RoundToThousand for 14
  1783    Define OLEF2CRoundingFormat_RoundToTenThousand for 15
  1784    Define OLEF2CRoundingFormat_RoundToHundredThousand for 16
  1785    Define OLEF2CRoundingFormat_RoundToMillion for 17
  1786
  1787Define OLEF2CIsolationLevel for Integer
  1788    Define OLEF2CIsolationLevel_Chaos for 16
  1789    Define OLEF2CIsolationLevel_ReadUncommitted for 256
  1790    Define OLEF2CIsolationLevel_ReadCommitted for 4096
  1791    Define OLEF2CIsolationLevel_RepeatableRead for 65536
  1792    Define OLEF2CIsolationLevel_Serializable for 1048576
  1793    Define OLEF2CIsolationLevel_Snapshot for 16777216
  1794    Define OLEF2CIsolationLevel_Unspecified for -1
  1795
  1796Define OLEF2CDataRowVersion for Integer
  1797    Define OLEF2CDataRowVersion_Original for 256
  1798    Define OLEF2CDataRowVersion_Current for 512
  1799    Define OLEF2CDataRowVersion_Proposed for 1024
  1800    Define OLEF2CDataRowVersion_Default for 1536
  1801
  1802Define OLEF2CLineSpacingType for Integer
  1803    Define OLEF2CLineSpacingType_MultipleSpacing for 0
  1804    Define OLEF2CLineSpacingType_ExactSpacing for 1
  1805
  1806Define OLEF2CAdornmentDrawingType for Integer
  1807    Define OLEF2CAdornmentDrawingType_DrawingObject for 0
  1808    Define OLEF2CAdornmentDrawingType_DrawingBox for 1
  1809    Define OLEF2CAdornmentDrawingType_DrawingLine for 2
  1810
  1811Define OLEF2CValueOptions for Integer
  1812    Define OLEF2CValueOptions_IncludeFieldValues for 1
  1813    Define OLEF2CValueOptions_IncludeHiddenFields for 2
  1814    Define OLEF2CValueOptions_AllowComplexFieldFormatting for 4
  1815
  1816Define OLEF2CDuplex for Integer
  1817    Define OLEF2CDuplex_Simplex for 1
  1818    Define OLEF2CDuplex_Vertical for 2
  1819    Define OLEF2CDuplex_Horizontal for 3
  1820    Define OLEF2CDuplex_Default for -1
  1821
  1822Define OLEF2CAcceptRejectRule for Integer
  1823    Define OLEF2CAcceptRejectRule_None for 0
  1824    Define OLEF2CAcceptRejectRule_Cascade for 1
  1825
  1826Define OLEF2CRule for Integer
  1827    Define OLEF2CRule_None for 0
  1828    Define OLEF2CRule_Cascade for 1
  1829    Define OLEF2CRule_SetNull for 2
  1830    Define OLEF2CRule_SetDefault for 3
  1831
  1832Define OLEF2CCrBooleanConditionEnum for Integer
  1833    Define OLEF2CCrBooleanConditionEnum_crBooleanConditionToYes for 1
  1834    Define OLEF2CCrBooleanConditionEnum_crBooleanConditionToNo for 2
  1835    Define OLEF2CCrBooleanConditionEnum_crBooleanConditionEveryYes for 3
  1836    Define OLEF2CCrBooleanConditionEnum_crBooleanConditionEveryNo for 4
  1837    Define OLEF2CCrBooleanConditionEnum_crBooleanConditionNextIsYes for 5
  1838    Define OLEF2CCrBooleanConditionEnum_crBooleanConditionNextIsNo for 6
  1839
  1840Define OLEF2CCrGroupOptionsConditionFormulaTypeEnum for Integer
  1841    Define OLEF2CCrGroupOptionsConditionFormulaTypeEnum_crSortDirection for 0
  1842    Define OLEF2CCrGroupOptionsConditionFormulaTypeEnum_crGroupName for 1
  1843
  1844Define OLEF2CCdClientDocumentSaveAsOptionsEnum for Integer
  1845    Define OLEF2CCdClientDocumentSaveAsOptionsEnum_cdClientDocumentSaveAsOverwriteExisting for 1
  1846    Define OLEF2CCdClientDocumentSaveAsOptionsEnum_cdClientDocumentSaveAsLastOptions for 65535
  1847
  1848Define OLEF2CPropertyAttributes for Integer
  1849    Define OLEF2CPropertyAttributes_NotSupported for 0
  1850    Define OLEF2CPropertyAttributes_Required for 1
  1851    Define OLEF2CPropertyAttributes_Optional for 2
  1852    Define OLEF2CPropertyAttributes_Read for 512
  1853    Define OLEF2CPropertyAttributes_Write for 1024
  1854
  1855Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum for Integer
  1856    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnChanged for 1
  1857    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnAdded for 2
  1858    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnRemoved for 3
  1859    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnChanging for 5
  1860    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnAdding for 6
  1861    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnRemoving for 7
  1862    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnBeginTransaction for 9
  1863    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnEndTransaction for 10
  1864    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnAliasChanged for 11
  1865    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnDataSourceChanging for 12
  1866    Define OLEF2CDISPID__ISCRDatabaseControllerEventsEnum_DISPID__ISCRDatabaseControllerEventsOnDataSourceChanged for 13
  1867
  1868Define OLEF2CCdErrorReportReturnEnum for Integer
  1869    Define OLEF2CCdErrorReportReturnEnum_cdErrorReportReturnNull for 0
  1870    Define OLEF2CCdErrorReportReturnEnum_cdErrorReportReturnOK for 1
  1871    Define OLEF2CCdErrorReportReturnEnum_cdErrorReportReturnCancel for 2
  1872    Define OLEF2CCdErrorReportReturnEnum_cdErrorReportReturnYes for 6
  1873    Define OLEF2CCdErrorReportReturnEnum_cdErrorReportReturnNo for 7
  1874
  1875Define OLEF2CDbType for Integer
  1876    Define OLEF2CDbType_AnsiString for 0
  1877    Define OLEF2CDbType_Binary for 1
  1878    Define OLEF2CDbType_Byte for 2
  1879    Define OLEF2CDbType_Boolean for 3
  1880    Define OLEF2CDbType_Currency for 4
  1881    Define OLEF2CDbType_Date for 5
  1882    Define OLEF2CDbType_DateTime for 6
  1883    Define OLEF2CDbType_Decimal for 7
  1884    Define OLEF2CDbType_Double for 8
  1885    Define OLEF2CDbType_Guid for 9
  1886    Define OLEF2CDbType_Int16 for 10
  1887    Define OLEF2CDbType_Int32 for 11
  1888    Define OLEF2CDbType_Int64 for 12
  1889    Define OLEF2CDbType_Object for 13
  1890    Define OLEF2CDbType_SByte for 14
  1891    Define OLEF2CDbType_Single for 15
  1892    Define OLEF2CDbType_String for 16
  1893    Define OLEF2CDbType_Time for 17
  1894    Define OLEF2CDbType_UInt16 for 18
  1895    Define OLEF2CDbType_UInt32 for 19
  1896    Define OLEF2CDbType_UInt64 for 20
  1897    Define OLEF2CDbType_VarNumeric for 21
  1898    Define OLEF2CDbType_AnsiStringFixedLength for 22
  1899    Define OLEF2CDbType_StringFixedLength for 23
  1900    Define OLEF2CDbType_Xml for 25
  1901    Define OLEF2CDbType_DateTime2 for 26
  1902    Define OLEF2CDbType_DateTimeOffset for 27
  1903
  1904Define OLEF2CCrSelectionOperationEnum for Integer
  1905    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationAnyValue for 0
  1906    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationEqual for 1
  1907    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotEqual for 2
  1908    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationLessThan for 3
  1909    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationGreaterThan for 4
  1910    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotGreaterThan for 5
  1911    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotLessThan for 6
  1912    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationInRange for 7
  1913    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotInRange for 8
  1914    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationOneOf for 9
  1915    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotOneOf for 10
  1916    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationOneOfNRanges for 11
  1917    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotOneOfNRanges for 12
  1918    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationInPeriod for 13
  1919    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotInPeriod for 14
  1920    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationIsTrue for 15
  1921    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationIsFalse for 16
  1922    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationLike for 17
  1923    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotLike for 18
  1924    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationLikeOneOf for 19
  1925    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotLikeOneOf for 20
  1926    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationStartWith for 21
  1927    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotStartWith for 22
  1928    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationStartWithOneOf for 23
  1929    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationNotStartWithOneOf for 24
  1930    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationFormula for 25
  1931    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationIsNull for 26
  1932    Define OLEF2CCrSelectionOperationEnum_crSelectionOperationIsNotNull for 27
  1933
  1934Define OLEF2CSCREventSeverity for Integer
  1935    Define OLEF2CSCREventSeverity_SCR_ES_ERROR for 1
  1936    Define OLEF2CSCREventSeverity_SCR_ES_WARNING for 2
  1937    Define OLEF2CSCREventSeverity_SCR_ES_INFORMATION for 4
  1938
  1939Define OLEF2CExportDestinationType for Integer
  1940    Define OLEF2CExportDestinationType_NoDestination for 0
  1941    Define OLEF2CExportDestinationType_DiskFile for 1
  1942    Define OLEF2CExportDestinationType_MicrosoftMail for 2
  1943    Define OLEF2CExportDestinationType_ExchangeFolder for 3
  1944
  1945Define OLEF2CBooleanOutputType for Integer
  1946    Define OLEF2CBooleanOutputType_TrueOrFalse for 0
  1947    Define OLEF2CBooleanOutputType_TOrF for 1
  1948    Define OLEF2CBooleanOutputType_YesOrNo for 2
  1949    Define OLEF2CBooleanOutputType_YOrN for 3
  1950    Define OLEF2CBooleanOutputType_OneOrZero for 4
  1951
  1952Define OLEF2CSchemaType for Integer
  1953    Define OLEF2CSchemaType_Source for 1
  1954    Define OLEF2CSchemaType_Mapped for 2
  1955
  1956Define OLEF2CCrRowsetChangedEnum for Integer
  1957    Define OLEF2CCrRowsetChangedEnum_crRowset_TotalRecordNumber for 1
  1958    Define OLEF2CCrRowsetChangedEnum_crRowset_TotalRecordKnown for 2
  1959    Define OLEF2CCrRowsetChangedEnum_crRowset_MetaData for 4
  1960    Define OLEF2CCrRowsetChangedEnum_crRowset_NewRowset for 65535
  1961
  1962Define OLEF2CTimeBase for Integer
  1963    Define OLEF2CTimeBase_On12Hour for 0
  1964    Define OLEF2CTimeBase_On24Hour for 1
  1965
  1966Define OLEF2CFieldDefinitionType for Integer
  1967    Define OLEF2CFieldDefinitionType_UnknownFieldDefType for 0
  1968    Define OLEF2CFieldDefinitionType_DatabaseField for 1
  1969    Define OLEF2CFieldDefinitionType_OlapDimensionField for 2
  1970    Define OLEF2CFieldDefinitionType_OlapDataField for 3
  1971    Define OLEF2CFieldDefinitionType_OlapCrossTabField for 4
  1972    Define OLEF2CFieldDefinitionType_FormulaField for 5
  1973    Define OLEF2CFieldDefinitionType_SummaryField for 6
  1974    Define OLEF2CFieldDefinitionType_SpecialVarField for 7
  1975    Define OLEF2CFieldDefinitionType_GroupNameField for 8
  1976    Define OLEF2CFieldDefinitionType_PromptingVarField for 9
  1977
  1978Define OLEF2CEnumServerFileType for Integer
  1979    Define OLEF2CEnumServerFileType_INVALID for 0
  1980    Define OLEF2CEnumServerFileType_FOLDER for 1
  1981    Define OLEF2CEnumServerFileType_REPORT for 2
  1982
  1983Define OLEF2CCommandType for Integer
  1984    Define OLEF2CCommandType_Text for 1
  1985    Define OLEF2CCommandType_StoredProcedure for 4
  1986    Define OLEF2CCommandType_TableDirect for 512
  1987
  1988Define OLEF2CCrSQLFunctionOptionsEnum for Integer
  1989    Define OLEF2CCrSQLFunctionOptionsEnum_crSQLFunctionOptionsEmptyBracket for 1
  1990
  1991Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum for Integer
  1992    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_UndoManager for 16
  1993    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_Name for 19
  1994    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_DataDefController for 20
  1995    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_DatabaseController for 21
  1996    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_RowsetController for 22
  1997    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_ReportDefController for 23
  1998    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_SearchController for 24
  1999    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_PrintOutputController for 25
  2000    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_Document for 26
  2001    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_ReportOptions for 27
  2002    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_ModifyReportOptions for 28
  2003    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_SubreportLinks for 29
  2004    Define OLEF2CDISPID_ISCRSubreportClientDocumentEnum_DISPID_SubreportClientDocument_EnableOnDemand for 30
  2005
  2006Define OLEF2CCrSearchResultChangedEnum for Integer
  2007    Define OLEF2CCrSearchResultChangedEnum_crSearchResult_MoreResult for 0
  2008
  2009Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum for Integer
  2010    Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum_DISPID_OnRowsetChanged for 1
  2011    Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum_DISPID_OnRowsetBatchChanged for 2
  2012    Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum_DISPID_OnTotallerChanged for 3
  2013    Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum_DISPID_OnCacheStatusChanged for 4
  2014    Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum_DISPID_OnBrowseValuesChanged for 5
  2015    Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum_DISPID_OnSearchResultChanged for 6
  2016    Define OLEF2CDISPID_ISCRRowsetControllerEventsEnum_DISPID_OnCacheStatusChanging for 10
  2017
  2018Define OLEF2CCrReportAreaPropertyEnum for Integer
  2019    Define OLEF2CCrReportAreaPropertyEnum_crReportAreaPropertyName for 0
  2020    Define OLEF2CCrReportAreaPropertyEnum_crReportAreaPropertyFormat for 1
  2021
  2022Define OLEF2CAMPMFormat for Integer
  2023    Define OLEF2CAMPMFormat_AMPMBefore for 0
  2024    Define OLEF2CAMPMFormat_AMPMAfter for 1
  2025
  2026Define OLEF2CSchemaSerializationMode for Integer
  2027    Define OLEF2CSchemaSerializationMode_IncludeSchema for 1
  2028    Define OLEF2CSchemaSerializationMode_ExcludeSchema for 2
  2029
  2030Define OLEF2CDataRowState for Integer
  2031    Define OLEF2CDataRowState_Detached for 1
  2032    Define OLEF2CDataRowState_Unchanged for 2
  2033    Define OLEF2CDataRowState_Added for 4
  2034    Define OLEF2CDataRowState_Deleted for 8
  2035    Define OLEF2CDataRowState_Modified for 16
  2036
  2037Define OLESecurityAction for Integer
  2038    Define OLESecurityAction_Demand for 2
  2039    Define OLESecurityAction_Assert for 3
  2040    Define OLESecurityAction_Deny for 4
  2041    Define OLESecurityAction_PermitOnly for 5
  2042    Define OLESecurityAction_LinkDemand for 6
  2043    Define OLESecurityAction_InheritanceDemand for 7
  2044    Define OLESecurityAction_RequestMinimum for 8
  2045    Define OLESecurityAction_RequestOptional for 9
  2046    Define OLESecurityAction_RequestRefuse for 10
  2047
  2048Define OLEF2CPrinterResolutionKind for Integer
  2049    Define OLEF2CPrinterResolutionKind_Custom for 0
  2050    Define OLEF2CPrinterResolutionKind_High for -4
  2051    Define OLEF2CPrinterResolutionKind_Medium for -3
  2052    Define OLEF2CPrinterResolutionKind_Low for -2
  2053    Define OLEF2CPrinterResolutionKind_Draft for -1
  2054
  2055Define OLEF2CCrDataDefFilterTypeEnum for Integer
  2056    Define OLEF2CCrDataDefFilterTypeEnum_crDataDefFilterTypeGroup for 0
  2057    Define OLEF2CCrDataDefFilterTypeEnum_crDataDefFilterTypeRecord for 1
  2058    Define OLEF2CCrDataDefFilterTypeEnum_crDataDefFilterTypeViewTime for 2
  2059    Define OLEF2CCrDataDefFilterTypeEnum_crDataDefFilterTypeSavedData for 3
  2060
  2061Define OLEF2CCrFetchFieldsOptionsEnum for Integer
  2062    Define OLEF2CCrFetchFieldsOptionsEnum_crFetchFieldsOptionsResultField for 1
  2063    Define OLEF2CCrFetchFieldsOptionsEnum_crFetchFieldsOptionsFormulaField for 2
  2064    Define OLEF2CCrFetchFieldsOptionsEnum_crFetchFieldsOptionsGroupConditionField for 4
  2065
  2066Define OLEF2CObjectType for Integer
  2067    Define OLEF2CObjectType_UnknownFieldDefType for 0
  2068    Define OLEF2CObjectType_DatabaseField for 1
  2069    Define OLEF2CObjectType_OlapDimensionField for 2
  2070    Define OLEF2CObjectType_OlapDataField for 3
  2071    Define OLEF2CObjectType_OlapCrossTabField for 4
  2072    Define OLEF2CObjectType_FormulaField for 5
  2073    Define OLEF2CObjectType_SummaryField for 6
  2074    Define OLEF2CObjectType_SpecialVarField for 7
  2075    Define OLEF2CObjectType_GroupNameField for 8
  2076    Define OLEF2CObjectType_PromptingVarField for 9
  2077    Define OLEF2CObjectType_Text for 100
  2078    Define OLEF2CObjectType_OleObject for 101
  2079    Define OLEF2CObjectType_Subreport for 102
  2080    Define OLEF2CObjectType_Bitmap for 103
  2081    Define OLEF2CObjectType_Blob for 104
  2082    Define OLEF2CObjectType_GroupChart for 107
  2083    Define OLEF2CObjectType_CrosstabChart for 108
  2084    Define OLEF2CObjectType_DetailChart for 109
  2085    Define OLEF2CObjectType_CrossTab for 110
  2086    Define OLEF2CObjectType_Graphic for 111
  2087    Define OLEF2CObjectType_OnDemandSubreport for 112
  2088    Define OLEF2CObjectType_OlapChart for 113
  2089    Define OLEF2CObjectType_GroupMap for 114
  2090    Define OLEF2CObjectType_CrosstabMap for 115
  2091    Define OLEF2CObjectType_DetailMap for 116
  2092    Define OLEF2CObjectType_OlapMap for 117
  2093    Define OLEF2CObjectType_GroupHeaderSection for 200
  2094    Define OLEF2CObjectType_GroupFooterSection for 201
  2095    Define OLEF2CObjectType_DetailSection for 202
  2096    Define OLEF2CObjectType_ReportHeaderSection for 203
  2097    Define OLEF2CObjectType_ReportFooterSection for 204
  2098    Define OLEF2CObjectType_PageHeaderSection for 205
  2099    Define OLEF2CObjectType_PageFooterSection for 206
  2100    Define OLEF2CObjectType_Page for 1000
  2101    Define OLEF2CObjectType_Invalid for -1
  2102
  2103Define OLEF2CDISPID_ISCDReportClientDocumentEnum for Integer
  2104    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ErrorReporter for 15
  2105    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_UndoManager for 16
  2106    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_HasUI for 18
  2107    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_DocumentWindow for 19
  2108    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_Undo for 21
  2109    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_Redo for 22
  2110    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_DataDefController for 101
  2111    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_DatabaseController for 102
  2112    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RowsetController for 103
  2113    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_CubeDefController for 104
  2114    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReportDefController for 105
  2115    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_BuildCube for 110
  2116    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_VerifyDatabase for 112
  2117    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_SummaryInfo for 113
  2118    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_CubeBuilderType for 115
  2119    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReportOptions for 116
  2120    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_Database for 117
  2121    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_DataDefinition for 118
  2122    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReportDefinition for 119
  2123    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_GetFormulaFunctionCatalog for 120
  2124    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_GetSQLFunctionCatalog for 121
  2125    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReportSource for 122
  2126    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReportDocument for 123
  2127    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_MajorVersion for 124
  2128    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_MinorVersion for 125
  2129    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_PlayBackRequests for 126
  2130    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RecordingOutputFile for 128
  2131    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_CancelProcessing for 130
  2132    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_FlushRequests for 131
  2133    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReportAppServer for 132
  2134    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_SubreportController for 133
  2135    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_SearchController for 134
  2136    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_CustomFunctionController for 135
  2137    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RefreshReportDocument for 136
  2138    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_PrintOutputController for 137
  2139    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RepositoryLogonInfo for 138
  2140    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ModifySummaryInfo for 139
  2141    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ModifyReportOptions for 140
  2142    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_PrintOptions for 143
  2143    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_QuerySubreportNames for 144
  2144    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_Subreport for 145
  2145    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_AutoClose for 146
  2146    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_SavedExportOptions for 147
  2147    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_GetAvailableExportFormats for 148
  2148    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReportRequestStatus for 149
  2149    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_EnableEvent for 150
  2150    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_ReadRecords for 151
  2151    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_AddFormatSectionEventCallBack for 152
  2152    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RemoveFormatSectionEventCallBack for 153
  2153    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_AddFieldMappingEventCallBack for 154
  2154    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RemoveFieldMappingEventCallBack for 155
  2155    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_AddBeforeFormatPageEventCallBack for 156
  2156    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RemoveBeforeFormatPageEventCallBack for 157
  2157    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_AddAfterFormatPageEventCallBack for 158
  2158    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RemoveAfterFormatPageEventCallBack for 159
  2159    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_AddFormatPageNoDataEventCallBack for 160
  2160    Define OLEF2CDISPID_ISCDReportClientDocumentEnum_DISPID_RemoveFormatPageNoDataEventCallBack for 161
  2161
  2162Define OLEF2CCrDBOptionsEnum for Integer
  2163    Define OLEF2CCrDBOptionsEnum_crDBOptionUseDefault for 0
  2164    Define OLEF2CCrDBOptionsEnum_crDBOptionDoNotVerifyDB for 1
  2165    Define OLEF2CCrDBOptionsEnum_crDBOptionMapFieldByRowsetPosition for 2
  2166    Define OLEF2CCrDBOptionsEnum_crDBOptionIgnoreCurrentTableQualifiers for 4
  2167
  2168Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum for Integer
  2169    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnChanged for 1
  2170    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnAdded for 2
  2171    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnRemoved for 3
  2172    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnMoved for 4
  2173    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnChanging for 5
  2174    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnAdding for 6
  2175    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnRemoving for 7
  2176    Define OLEF2CDISPID_ISCRCubeDefControllerEventsEnum_DISPID_ISCRCubeDefControllerEvents_OnMoving for 8
  2177
  2178Define OLEF2CCrDataDefTypeEnum for Integer
  2179    Define OLEF2CCrDataDefTypeEnum_crDataDefType_Unknown for 0
  2180    Define OLEF2CCrDataDefTypeEnum_crDataDefType_ResultField for 1
  2181    Define OLEF2CCrDataDefTypeEnum_crDataDefType_Group for 2
  2182    Define OLEF2CCrDataDefTypeEnum_crDataDefType_Sort for 3
  2183    Define OLEF2CCrDataDefTypeEnum_crDataDefType_Filter for 4
  2184    Define OLEF2CCrDataDefTypeEnum_crDataDefType_GroupFilter for 5
  2185    Define OLEF2CCrDataDefTypeEnum_crDataDefType_ParameterField for 6
  2186    Define OLEF2CCrDataDefTypeEnum_crDataDefType_FormulaField for 7
  2187    Define OLEF2CCrDataDefTypeEnum_crDataDefType_ParameterFieldCurrentValues for 8
  2188    Define OLEF2CCrDataDefTypeEnum_crDataDefType_GroupConditionField for 9
  2189
  2190Define OLEF2CCrRowsetRefreshOptionsEnum for Integer
  2191    Define OLEF2CCrRowsetRefreshOptionsEnum_crRowsetRefreshClearParameterCurrentValues for 1
  2192
  2193Define OLEF2CImageConversionKind for Integer
  2194    Define OLEF2CImageConversionKind_ImageConversionKindRetain for 0
  2195    Define OLEF2CImageConversionKind_ImageConversionKindPNG for 1
  2196    Define OLEF2CImageConversionKind_ImageConversionKindJPEG for 2
  2197
  2198Define OLEF2CConnectionState for Integer
  2199    Define OLEF2CConnectionState_Closed for 0
  2200    Define OLEF2CConnectionState_Open for 1
  2201    Define OLEF2CConnectionState_Connecting for 2
  2202    Define OLEF2CConnectionState_Executing for 4
  2203    Define OLEF2CConnectionState_Fetching for 8
  2204    Define OLEF2CConnectionState_Broken for 16
  2205
  2206Define OLEF2CCrCubeDefTypeEnum for Integer
  2207    Define OLEF2CCrCubeDefTypeEnum_crCubeDefType_Unknown for 0
  2208    Define OLEF2CCrCubeDefTypeEnum_crCubeDefType_Measure for 1
  2209    Define OLEF2CCrCubeDefTypeEnum_crCubeDefType_Dimension for 2
  2210    Define OLEF2CCrCubeDefTypeEnum_crCubeDefType_HierarchyLevel for 3
  2211
  2212Define OLEF2CFontColorProperty for Integer
  2213    Define OLEF2CFontColorProperty_Color for 1
  2214    Define OLEF2CFontColorProperty_Font for 2
  2215
  2216Define OLEF2CCdErrorReportModeEnum for Integer
  2217    Define OLEF2CCdErrorReportModeEnum_cdErrorReportModeWithUI for 1
  2218    Define OLEF2CCdErrorReportModeEnum_cdErrorReportModeNTEventLog for 2
  2219    Define OLEF2CCdErrorReportModeEnum_cdErrorReportModeLogFile for 4
  2220
  2221Define OLEF2CConflictOption for Integer
  2222    Define OLEF2CConflictOption_CompareAllSearchableValues for 1
  2223    Define OLEF2CConflictOption_CompareRowVersion for 2
  2224    Define OLEF2CConflictOption_OverwriteChanges for 3
  2225
  2226Define OLEF2CCrTotallerChangedEnum for Integer
  2227    Define OLEF2CCrTotallerChangedEnum_crTotaller_DisplayName for 1
  2228    Define OLEF2CCrTotallerChangedEnum_crTotaller_NodeDetails for 2
  2229    Define OLEF2CCrTotallerChangedEnum_crTotaller_NodeChildren for 4
  2230
  2231Define OLEF2CDISPID_ISCRReportDefControllerEventsEnum for Integer
  2232    Define OLEF2CDISPID_ISCRReportDefControllerEventsEnum_DISPID_ISCRReportDefControllerEvents_OnChanged for 1
  2233    Define OLEF2CDISPID_ISCRReportDefControllerEventsEnum_DISPID_ISCRReportDefControllerEvents_OnAdded for 2
  2234    Define OLEF2CDISPID_ISCRReportDefControllerEventsEnum_DISPID_ISCRReportDefControllerEvents_OnRemoved for 3
  2235    Define OLEF2CDISPID_ISCRReportDefControllerEventsEnum_DISPID_ISCRReportDefControllerEvents_OnObjectBoundChanged for 4
  2236
  2237Define OLEF2CSCREventLogDestination for Integer
  2238    Define OLEF2CSCREventLogDestination_SCR_ELD_NONE for 0
  2239    Define OLEF2CSCREventLogDestination_SCR_ELD_EVENTLOG for 1
  2240    Define OLEF2CSCREventLogDestination_SCR_ELD_FILE for 2
  2241    Define OLEF2CSCREventLogDestination_SCR_ELD_REMOTE for 4
  2242    Define OLEF2CSCREventLogDestination_SCR_ELD_EXCEPT for 8
  2243    Define OLEF2CSCREventLogDestination_SCR_ELD_UI for 16
  2244
  2245Define OLEF2CPrintRange for Integer
  2246    Define OLEF2CPrintRange_AllPages for 0
  2247    Define OLEF2CPrintRange_Selection for 1
  2248    Define OLEF2CPrintRange_SomePages for 2
  2249    Define OLEF2CPrintRange_CurrentPage for 4194304
  2250
  2251Define OLEF2CDataViewRowState for Integer
  2252    Define OLEF2CDataViewRowState_None for 0
  2253    Define OLEF2CDataViewRowState_Unchanged for 2
  2254    Define OLEF2CDataViewRowState_Added for 4
  2255    Define OLEF2CDataViewRowState_Deleted for 8
  2256    Define OLEF2CDataViewRowState_ModifiedCurrent for 16
  2257    Define OLEF2CDataViewRowState_CurrentRows for 22
  2258    Define OLEF2CDataViewRowState_ModifiedOriginal for 32
  2259    Define OLEF2CDataViewRowState_OriginalRows for 42
  2260
  2261Define OLEF2CCrCacheStatusChangedEnum for Integer
  2262    Define OLEF2CCrCacheStatusChangedEnum_crCacheStatus_RowsetDirty for 1
  2263    Define OLEF2CCrCacheStatusChangedEnum_crCacheStatus_TotallerDirty for 2
  2264    Define OLEF2CCrCacheStatusChangedEnum_crCacheStatus_ClientSideClear for 3
  2265    Define OLEF2CCrCacheStatusChangedEnum_crCacheStatus_ServerSideClear for 4
  2266
  2267Define OLEF2CCrRowsetBatchChangedEnum for Integer
  2268    Define OLEF2CCrRowsetBatchChangedEnum_crRowsetBatch_MoreBatch for 0
  2269
  2270Define OLEF2CSCRSepStyle for Integer
  2271    Define OLEF2CSCRSepStyle_SCR_SS_CSV for 0
  2272    Define OLEF2CSCRSepStyle_SCR_SS_TABSEP for 1
  2273
  2274Define OLEHorizontalAlignment for Integer
  2275    Define OLEHorizontalAlignment_Center for 2
  2276    Define OLEHorizontalAlignment_Left for 0
  2277    Define OLEHorizontalAlignment_Right for 1
  2278
  2279Define OLEF2CKeyRestrictionBehavior for Integer
  2280    Define OLEF2CKeyRestrictionBehavior_AllowOnly for 0
  2281    Define OLEF2CKeyRestrictionBehavior_PreventUsage for 1
  2282
  2283Define OLEF2CCommandBehavior for Integer
  2284    Define OLEF2CCommandBehavior_Default for 0
  2285    Define OLEF2CCommandBehavior_SingleResult for 1
  2286    Define OLEF2CCommandBehavior_SchemaOnly for 2
  2287    Define OLEF2CCommandBehavior_KeyInfo for 4
  2288    Define OLEF2CCommandBehavior_SingleRow for 8
  2289    Define OLEF2CCommandBehavior_SequentialAccess for 16
  2290    Define OLEF2CCommandBehavior_CloseConnection for 32
  2291
  2292Define OLEF2CViewerExportFormats for Integer
  2293    Define OLEF2CViewerExportFormats_NoFormat for 0
  2294    Define OLEF2CViewerExportFormats_PdfFormat for 1
  2295    Define OLEF2CViewerExportFormats_ExcelFormat for 2
  2296    Define OLEF2CViewerExportFormats_WordFormat for 4
  2297    Define OLEF2CViewerExportFormats_RtfFormat for 8
  2298    Define OLEF2CViewerExportFormats_RptFormat for 16
  2299    Define OLEF2CViewerExportFormats_ExcelRecordFormat for 32
  2300    Define OLEF2CViewerExportFormats_EditableRtfFormat for 64
  2301    Define OLEF2CViewerExportFormats_XmlFormat for 128
  2302    Define OLEF2CViewerExportFormats_RptrFormat for 256
  2303    Define OLEF2CViewerExportFormats_XLSXFormat for 512
  2304    Define OLEF2CViewerExportFormats_CsvFormat for 1024
  2305    Define OLEF2CViewerExportFormats_AllFormats for 268435455
  2306
  2307Define OLEF2CCrystalDecisions_Shared_PaperSource for Integer
  2308    Define OLEF2CCrystalDecisions_Shared_PaperSource_Upper for 1
  2309    Define OLEF2CCrystalDecisions_Shared_PaperSource_Lower for 2
  2310    Define OLEF2CCrystalDecisions_Shared_PaperSource_Middle for 3
  2311    Define OLEF2CCrystalDecisions_Shared_PaperSource_Manual for 4
  2312    Define OLEF2CCrystalDecisions_Shared_PaperSource_Envelope for 5
  2313    Define OLEF2CCrystalDecisions_Shared_PaperSource_EnvManual for 6
  2314    Define OLEF2CCrystalDecisions_Shared_PaperSource_Auto for 7
  2315    Define OLEF2CCrystalDecisions_Shared_PaperSource_Tractor for 8
  2316    Define OLEF2CCrystalDecisions_Shared_PaperSource_SmallFmt for 9
  2317    Define OLEF2CCrystalDecisions_Shared_PaperSource_LargeFmt for 10
  2318    Define OLEF2CCrystalDecisions_Shared_PaperSource_LargeCapacity for 11
  2319    Define OLEF2CCrystalDecisions_Shared_PaperSource_Cassette for 14
  2320    Define OLEF2CCrystalDecisions_Shared_PaperSource_FormSource for 15
  2321
  2322Define OLEF2CDateTimeCondition for Integer
  2323    Define OLEF2CDateTimeCondition_Daily for 0
  2324    Define OLEF2CDateTimeCondition_Weekly for 1
  2325    Define OLEF2CDateTimeCondition_Biweekly for 2
  2326    Define OLEF2CDateTimeCondition_Semimonthly for 3
  2327    Define OLEF2CDateTimeCondition_Monthly for 4
  2328    Define OLEF2CDateTimeCondition_Quarterly for 5
  2329    Define OLEF2CDateTimeCondition_SemiAnnually for 6
  2330    Define OLEF2CDateTimeCondition_Annually for 7
  2331    Define OLEF2CDateTimeCondition_BySecond for 8
  2332    Define OLEF2CDateTimeCondition_ByMinute for 9
  2333    Define OLEF2CDateTimeCondition_ByHour for 10
  2334    Define OLEF2CDateTimeCondition_ByAMPM for 11
  2335
  2336Define OLEF2CUpdateRowSource for Integer
  2337    Define OLEF2CUpdateRowSource_None for 0
  2338    Define OLEF2CUpdateRowSource_OutputParameters for 1
  2339    Define OLEF2CUpdateRowSource_FirstReturnedRecord for 2
  2340    Define OLEF2CUpdateRowSource_Both for 3
  2341
  2342Define OLEF2CLoadOption for Integer
  2343    Define OLEF2CLoadOption_OverwriteChanges for 1
  2344    Define OLEF2CLoadOption_PreserveChanges for 2
  2345    Define OLEF2CLoadOption_Upsert for 3
  2346
  2347Define OLEF2CDISPID_ISCRReportDefController2EventsEnum for Integer
  2348    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnChanged for 1
  2349    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnAdded for 2
  2350    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnRemoved for 3
  2351    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnChanging for 4
  2352    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnAdding for 5
  2353    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnRemoving for 6
  2354    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnBeginTransaction for 7
  2355    Define OLEF2CDISPID_ISCRReportDefController2EventsEnum_DISPID_ISCRReportDefController2Events_OnEndTransaction for 8
  2356
  2357Define OLEF2CCrReportDefTypeEnum for Integer
  2358    Define OLEF2CCrReportDefTypeEnum_crReportDefType_Unknown for 0
  2359    Define OLEF2CCrReportDefTypeEnum_crReportDefType_Definition for 1
  2360    Define OLEF2CCrReportDefTypeEnum_crReportDefType_AreaPair for 2
  2361    Define OLEF2CCrReportDefTypeEnum_crReportDefType_Area for 3
  2362    Define OLEF2CCrReportDefTypeEnum_crReportDefType_Section for 4
  2363    Define OLEF2CCrReportDefTypeEnum_crReportDefType_ReportObject for 5
  2364
  2365Define OLEF2CCrReportSectionPropertyEnum for Integer
  2366    Define OLEF2CCrReportSectionPropertyEnum_crReportSectionPropertyName for 0
  2367    Define OLEF2CCrReportSectionPropertyEnum_crReportSectionPropertyFormat for 1
  2368    Define OLEF2CCrReportSectionPropertyEnum_crReportSectionPropertyHeight for 2
  2369
  2370Define OLEF2CPaperKind for Integer
  2371    Define OLEF2CPaperKind_Custom for 0
  2372    Define OLEF2CPaperKind_Letter for 1
  2373    Define OLEF2CPaperKind_LetterSmall for 2
  2374    Define OLEF2CPaperKind_Tabloid for 3
  2375    Define OLEF2CPaperKind_Ledger for 4
  2376    Define OLEF2CPaperKind_Legal for 5
  2377    Define OLEF2CPaperKind_Statement for 6
  2378    Define OLEF2CPaperKind_Executive for 7
  2379    Define OLEF2CPaperKind_A3 for 8
  2380    Define OLEF2CPaperKind_A4 for 9
  2381    Define OLEF2CPaperKind_A4Small for 10
  2382    Define OLEF2CPaperKind_A5 for 11
  2383    Define OLEF2CPaperKind_B4 for 12
  2384    Define OLEF2CPaperKind_B5 for 13
  2385    Define OLEF2CPaperKind_Folio for 14
  2386    Define OLEF2CPaperKind_Quarto for 15
  2387    Define OLEF2CPaperKind_Standard10x14 for 16
  2388    Define OLEF2CPaperKind_Standard11x17 for 17
  2389    Define OLEF2CPaperKind_Note for 18
  2390    Define OLEF2CPaperKind_Number9Envelope for 19
  2391    Define OLEF2CPaperKind_Number10Envelope for 20
  2392    Define OLEF2CPaperKind_Number11Envelope for 21
  2393    Define OLEF2CPaperKind_Number12Envelope for 22
  2394    Define OLEF2CPaperKind_Number14Envelope for 23
  2395    Define OLEF2CPaperKind_CSheet for 24
  2396    Define OLEF2CPaperKind_DSheet for 25
  2397    Define OLEF2CPaperKind_ESheet for 26
  2398    Define OLEF2CPaperKind_DLEnvelope for 27
  2399    Define OLEF2CPaperKind_C5Envelope for 28
  2400    Define OLEF2CPaperKind_C3Envelope for 29
  2401    Define OLEF2CPaperKind_C4Envelope for 30
  2402    Define OLEF2CPaperKind_C6Envelope for 31
  2403    Define OLEF2CPaperKind_C65Envelope for 32
  2404    Define OLEF2CPaperKind_B4Envelope for 33
  2405    Define OLEF2CPaperKind_B5Envelope for 34
  2406    Define OLEF2CPaperKind_B6Envelope for 35
  2407    Define OLEF2CPaperKind_ItalyEnvelope for 36
  2408    Define OLEF2CPaperKind_MonarchEnvelope for 37
  2409    Define OLEF2CPaperKind_PersonalEnvelope for 38
  2410    Define OLEF2CPaperKind_USStandardFanfold for 39
  2411    Define OLEF2CPaperKind_GermanStandardFanfold for 40
  2412    Define OLEF2CPaperKind_GermanLegalFanfold for 41
  2413    Define OLEF2CPaperKind_IsoB4 for 42
  2414    Define OLEF2CPaperKind_JapanesePostcard for 43
  2415    Define OLEF2CPaperKind_Standard9x11 for 44
  2416    Define OLEF2CPaperKind_Standard10x11 for 45
  2417    Define OLEF2CPaperKind_Standard15x11 for 46
  2418    Define OLEF2CPaperKind_InviteEnvelope for 47
  2419    Define OLEF2CPaperKind_LetterExtra for 50
  2420    Define OLEF2CPaperKind_LegalExtra for 51
  2421    Define OLEF2CPaperKind_TabloidExtra for 52
  2422    Define OLEF2CPaperKind_A4Extra for 53
  2423    Define OLEF2CPaperKind_LetterTransverse for 54
  2424    Define OLEF2CPaperKind_A4Transverse for 55
  2425    Define OLEF2CPaperKind_LetterExtraTransverse for 56
  2426    Define OLEF2CPaperKind_APlus for 57
  2427    Define OLEF2CPaperKind_BPlus for 58
  2428    Define OLEF2CPaperKind_LetterPlus for 59
  2429    Define OLEF2CPaperKind_A4Plus for 60
  2430    Define OLEF2CPaperKind_A5Transverse for 61
  2431    Define OLEF2CPaperKind_B5Transverse for 62
  2432    Define OLEF2CPaperKind_A3Extra for 63
  2433    Define OLEF2CPaperKind_A5Extra for 64
  2434    Define OLEF2CPaperKind_B5Extra for 65
  2435    Define OLEF2CPaperKind_A2 for 66
  2436    Define OLEF2CPaperKind_A3Transverse for 67
  2437    Define OLEF2CPaperKind_A3ExtraTransverse for 68
  2438    Define OLEF2CPaperKind_JapaneseDoublePostcard for 69
  2439    Define OLEF2CPaperKind_A6 for 70
  2440    Define OLEF2CPaperKind_JapaneseEnvelopeKakuNumber2 for 71
  2441    Define OLEF2CPaperKind_JapaneseEnvelopeKakuNumber3 for 72
  2442    Define OLEF2CPaperKind_JapaneseEnvelopeChouNumber3 for 73
  2443    Define OLEF2CPaperKind_JapaneseEnvelopeChouNumber4 for 74
  2444    Define OLEF2CPaperKind_LetterRotated for 75
  2445    Define OLEF2CPaperKind_A3Rotated for 76
  2446    Define OLEF2CPaperKind_A4Rotated for 77
  2447    Define OLEF2CPaperKind_A5Rotated for 78
  2448    Define OLEF2CPaperKind_B4JisRotated for 79
  2449    Define OLEF2CPaperKind_B5JisRotated for 80
  2450    Define OLEF2CPaperKind_JapanesePostcardRotated for 81
  2451    Define OLEF2CPaperKind_JapaneseDoublePostcardRotated for 82
  2452    Define OLEF2CPaperKind_A6Rotated for 83
  2453    Define OLEF2CPaperKind_JapaneseEnvelopeKakuNumber2Rotated for 84
  2454    Define OLEF2CPaperKind_JapaneseEnvelopeKakuNumber3Rotated for 85
  2455    Define OLEF2CPaperKind_JapaneseEnvelopeChouNumber3Rotated for 86
  2456    Define OLEF2CPaperKind_JapaneseEnvelopeChouNumber4Rotated for 87
  2457    Define OLEF2CPaperKind_B6Jis for 88
  2458    Define OLEF2CPaperKind_B6JisRotated for 89
  2459    Define OLEF2CPaperKind_Standard12x11 for 90
  2460    Define OLEF2CPaperKind_JapaneseEnvelopeYouNumber4 for 91
  2461    Define OLEF2CPaperKind_JapaneseEnvelopeYouNumber4Rotated for 92
  2462    Define OLEF2CPaperKind_Prc16K for 93
  2463    Define OLEF2CPaperKind_Prc32K for 94
  2464    Define OLEF2CPaperKind_Prc32KBig for 95
  2465    Define OLEF2CPaperKind_PrcEnvelopeNumber1 for 96
  2466    Define OLEF2CPaperKind_PrcEnvelopeNumber2 for 97
  2467    Define OLEF2CPaperKind_PrcEnvelopeNumber3 for 98
  2468    Define OLEF2CPaperKind_PrcEnvelopeNumber4 for 99
  2469    Define OLEF2CPaperKind_PrcEnvelopeNumber5 for 100
  2470    Define OLEF2CPaperKind_PrcEnvelopeNumber6 for 101
  2471    Define OLEF2CPaperKind_PrcEnvelopeNumber7 for 102
  2472    Define OLEF2CPaperKind_PrcEnvelopeNumber8 for 103
  2473    Define OLEF2CPaperKind_PrcEnvelopeNumber9 for 104
  2474    Define OLEF2CPaperKind_PrcEnvelopeNumber10 for 105
  2475    Define OLEF2CPaperKind_Prc16KRotated for 106
  2476    Define OLEF2CPaperKind_Prc32KRotated for 107
  2477    Define OLEF2CPaperKind_Prc32KBigRotated for 108
  2478    Define OLEF2CPaperKind_PrcEnvelopeNumber1Rotated for 109
  2479    Define OLEF2CPaperKind_PrcEnvelopeNumber2Rotated for 110
  2480    Define OLEF2CPaperKind_PrcEnvelopeNumber3Rotated for 111
  2481    Define OLEF2CPaperKind_PrcEnvelopeNumber4Rotated for 112
  2482    Define OLEF2CPaperKind_PrcEnvelopeNumber5Rotated for 113
  2483    Define OLEF2CPaperKind_PrcEnvelopeNumber6Rotated for 114
  2484    Define OLEF2CPaperKind_PrcEnvelopeNumber7Rotated for 115
  2485    Define OLEF2CPaperKind_PrcEnvelopeNumber8Rotated for 116
  2486    Define OLEF2CPaperKind_PrcEnvelopeNumber9Rotated for 117
  2487    Define OLEF2CPaperKind_PrcEnvelopeNumber10Rotated for 118
  2488
  2489Define OLEF2CCdReportEngineEventEnum for Integer
  2490    Define OLEF2CCdReportEngineEventEnum_cdReportEngineMappingFieldEvent for 23
  2491    Define OLEF2CCdReportEngineEventEnum_cdReportEngineFormatSectionEvent for 29
  2492    Define OLEF2CCdReportEngineEventEnum_cdReportEngineBeforeFormatPageEvent for 30
  2493    Define OLEF2CCdReportEngineEventEnum_cdReportEngineAfterFormatPageEvent for 31
  2494    Define OLEF2CCdReportEngineEventEnum_cdReportEngineFormatPageEvent for 32
  2495
  2496Define OLEF2CCdErrorReportOptionsEnum for Integer
  2497    Define OLEF2CCdErrorReportOptionsEnum_cdErrorReportError for 1
  2498    Define OLEF2CCdErrorReportOptionsEnum_cdErrorReportWarning for 2
  2499    Define OLEF2CCdErrorReportOptionsEnum_cdErrorReportMessage for 4
  2500    Define OLEF2CCdErrorReportOptionsEnum_cdErrorReportOK for 8
  2501    Define OLEF2CCdErrorReportOptionsEnum_cdErrorReportCancel for 16
  2502    Define OLEF2CCdErrorReportOptionsEnum_cdErrorReportYes for 32
  2503    Define OLEF2CCdErrorReportOptionsEnum_cdErrorReportNo for 64
  2504
  2505Define OLEF2CCrUserRightEnum for Integer
  2506    Define OLEF2CCrUserRightEnum_crUserRightModifyReportEnabled for 1
  2507    Define OLEF2CCrUserRightEnum_crUserRightCreateReportEnabled for 2
  2508    Define OLEF2CCrUserRightEnum_crUserRightViewReportEnabled for 4
  2509    Define OLEF2CCrUserRightEnum_crUserRightHaveRCAPILicense for 8
  2510    Define OLEF2CCrUserRightEnum_crUserRightExportReportEnabled for 16
  2511    Define OLEF2CCrUserRightEnum_crUserRightRefreshReportEnabled for 32
  2512    Define OLEF2CCrUserRightEnum_crUserRightDownloadRptEnabled for 64
  2513    Define OLEF2CCrUserRightEnum_crUserRightHaveAllRights for -1
  2514
  2515Define OLEF2CCrFormulaFieldOptionsEnum for Integer
  2516    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsHasSideEffects for 1
  2517    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependsOnRecurringField for 2
  2518    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependsOnSummaryField for 4
  2519    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependsOnRunningTotalField for 8
  2520    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependsOnPrintOrderField for 16
  2521    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependentOnDateTime for 32
  2522    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependentOnStringComparison for 64
  2523    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependentOnDefaultAttribute for 128
  2524    Define OLEF2CCrFormulaFieldOptionsEnum_crFormulaFieldOptionsDependentOnCurrentFieldValue for 256
  2525
  2526Define OLEF2CDISPID_ISCDCubeViewClientDocumentEnum for Integer
  2527    Define OLEF2CDISPID_ISCDCubeViewClientDocumentEnum_DISPID_CubeURI for 101
  2528    Define OLEF2CDISPID_ISCDCubeViewClientDocumentEnum_DISPID_CubeViewDocument for 102
  2529    Define OLEF2CDISPID_ISCDCubeViewClientDocumentEnum_DISPID_ImportWDF for 103
  2530
  2531Define OLEF2CDISPID_ISCDClientDocumentEnum for Integer
  2532    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_UID for 1
  2533    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_DisplayName for 2
  2534    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_Path for 3
  2535    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_New for 9
  2536    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_Open for 10
  2537    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_Close for 11
  2538    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_Save for 12
  2539    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_SaveAs for 13
  2540    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_IsModified for 14
  2541    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_ReportAppSession for 17
  2542    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_ProcessingState for 23
  2543    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_IsReadOnly for 26
  2544    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_LocaleID for 27
  2545    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_EnterpriseSession for 28
  2546    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_IsOpen for 29
  2547    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_ProductLocaleID for 30
  2548    Define OLEF2CDISPID_ISCDClientDocumentEnum_DISPID_PreferredViewingLocaleID for 31
  2549
  2550Define OLEF2CCrParameterFieldUsageEnum for Integer
  2551    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageUnknown for 0
  2552    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageInUse for 1
  2553    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageNotInUse for 2
  2554    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageCurrentValuesProvidedByServer for 4
  2555    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageShownOnPanel for 8
  2556    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageEditableOnPanel for 16
  2557    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageDataFetching for 32
  2558    Define OLEF2CCrParameterFieldUsageEnum_crParameterFieldUsageIsLinked for 64
  2559
  2560Define OLEF2CCrTotallerNodeOptionsEnum for Integer
  2561    Define OLEF2CCrTotallerNodeOptionsEnum_crTotallerNodeOptionsIsLeafNode for 1
  2562
  2563Define OLEF2CCrDocumentOptionsEnum for Integer
  2564    Define OLEF2CCrDocumentOptionsEnum_crDocumentOptionsReadOnly for 1
  2565    Define OLEF2CCrDocumentOptionsEnum_crDocumentOptionsHasSubreport for 2
  2566    Define OLEF2CCrDocumentOptionsEnum_crDocumentOptionsIncludeBinaryData for 4
  2567    Define OLEF2CCrDocumentOptionsEnum_crDocumentOptionsHasRowRestriction for 8
  2568    Define OLEF2CCrDocumentOptionsEnum_crDocumentOptionsHasColumnRestriction for 16
  2569    Define OLEF2CCrDocumentOptionsEnum_crDocumentOptionsHasDataConnectionRestriction for 32
  2570    Define OLEF2CCrDocumentOptionsEnum_crDocumentOptionsHasUserSpecificData for 64
  2571
  2572Define OLEF2CCrGetPromptParameterFieldsOptionsEnum for Integer
  2573    Define OLEF2CCrGetPromptParameterFieldsOptionsEnum_crGetPromptParameterFieldsAll for 0
  2574    Define OLEF2CCrGetPromptParameterFieldsOptionsEnum_crGetPromptParameterFieldsAllWithNoCurrentValues for 1
  2575    Define OLEF2CCrGetPromptParameterFieldsOptionsEnum_crGetPromptParameterFieldsInUse for 2
  2576    Define OLEF2CCrGetPromptParameterFieldsOptionsEnum_crGetPromptParameterFieldsInUseWithNoCurrentValues for 3
  2577
  2578Define OLEF2CCrErrorCodeEnum for Integer
  2579    Define OLEF2CCrErrorCodeEnum_crErrSucceeded for 0
  2580    Define OLEF2CCrErrorCodeEnum_crErrWarning for 266241
  2581    Define OLEF2CCrErrorCodeEnum_crErrLinkingWarning for 266242
  2582    Define OLEF2CCrErrorCodeEnum_crErrOlderVersion for 266245
  2583    Define OLEF2CCrErrorCodeEnum_crErrNewerVersion for 266246
  2584    Define OLEF2CCrErrorCodeEnum_crErrFailed for -2147467259
  2585    Define OLEF2CCrErrorCodeEnum_crErrNotSupported for -2147467231
  2586    Define OLEF2CCrErrorCodeEnum_crErrInvalidIndex for -2147352565
  2587    Define OLEF2CCrErrorCodeEnum_crErrServerUnavailable for -2147217407
  2588    Define OLEF2CCrErrorCodeEnum_crErrCancelled for -2147217406
  2589    Define OLEF2CCrErrorCodeEnum_crErrNullResultInfo for -2147217405
  2590    Define OLEF2CCrErrorCodeEnum_crErrServerOutOfMemory for -2147217404
  2591    Define OLEF2CCrErrorCodeEnum_crErrServerConfigError for -2147217403
  2592    Define OLEF2CCrErrorCodeEnum_crErrDirectoryItemLogonFailed for -2147217402
  2593    Define OLEF2CCrErrorCodeEnum_crErrAgentTimeout for -2147217401
  2594    Define OLEF2CCrErrorCodeEnum_crErrVersionTooNew for -2147217400
  2595    Define OLEF2CCrErrorCodeEnum_crErrVersionTooOld for -2147217399
  2596    Define OLEF2CCrErrorCodeEnum_crErrInvalidChartType for -2147217398
  2597    Define OLEF2CCrErrorCodeEnum_crErrEnterpriseLogonFailed for -2147217397
  2598    Define OLEF2CCrErrorCodeEnum_crErrServerProgrammingError for -2147217395
  2599    Define OLEF2CCrErrorCodeEnum_crErrMissingParameterValueError for -2147217394
  2600    Define OLEF2CCrErrorCodeEnum_crErrDBLogonFailed for -2147217393
  2601    Define OLEF2CCrErrorCodeEnum_crErrFileExists for -2147217392
  2602    Define OLEF2CCrErrorCodeEnum_crErrDirectoryItemUnknownLogonFailed for -2147217391
  2603    Define OLEF2CCrErrorCodeEnum_crErrServerNotFound for -2147217390
  2604    Define OLEF2CCrErrorCodeEnum_crErrChannelNotReady for -2147217389
  2605    Define OLEF2CCrErrorCodeEnum_crErrInternal for -2147217388
  2606    Define OLEF2CCrErrorCodeEnum_crErrConnectServer for -2147217387
  2607    Define OLEF2CCrErrorCodeEnum_crErrExceedAgentLimit for -2147217386
  2608    Define OLEF2CCrErrorCodeEnum_crErrRequestTimeout for -2147217385
  2609    Define OLEF2CCrErrorCodeEnum_crErrExceedLicenceLimit for -2147217384
  2610    Define OLEF2CCrErrorCodeEnum_crErrFormulaParseError for -2147217383
  2611    Define OLEF2CCrErrorCodeEnum_crErrInvalidParameterValue for -2147217382
  2612    Define OLEF2CCrErrorCodeEnum_crErrSSOContextExpired for -2147217381
  2613    Define OLEF2CCrErrorCodeEnum_crErrReportClosed for -2147217380
  2614
  2615Define OLEF2CReportPartBookmarkType for Integer
  2616    Define OLEF2CReportPartBookmarkType_Bookmark for 0
  2617    Define OLEF2CReportPartBookmarkType_Drilldown for 1
  2618
  2619Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum for Integer
  2620    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnChanged for 1
  2621    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnAdded for 2
  2622    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnRemoved for 3
  2623    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnMoved for 4
  2624    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnChanging for 5
  2625    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnAdding for 6
  2626    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnRemoving for 7
  2627    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnMoving for 8
  2628    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnBeginTransaction for 9
  2629    Define OLEF2CDISPID_ISCRDataDefControllerEventsEnum_DISPID_ISCRDataDefControllerEvents_OnEndTransaction for 10
  2630
  2631Define OLEPlatformID for Integer
  2632    Define OLEPlatformID_Win32S for 0
  2633    Define OLEPlatformID_Win32Windows for 1
  2634    Define OLEPlatformID_Win32NT for 2
  2635    Define OLEPlatformID_WinCE for 3
  2636    Define OLEPlatformID_Unix for 4
  2637    Define OLEPlatformID_Xbox for 5
  2638    Define OLEPlatformID_MacOSX for 6
  2639
  2640
  2641Register_Function ComDefaultXmlExportSelection Returns Integer
  2642Register_Function pbForceCompatible Returns Boolean
  2643Register_Function psLastItem Returns String
  2644Register_Function ComHasCurrentValue Returns Boolean
  2645Register_Function ComExportDestinationType Returns OLEF2CExportDestinationType
  2646Register_Function DataDefinitionObject Returns Handle
  2647Register_Function ComPromptText Returns String
  2648Register_Function ComEnableAllowEditingDefaultValue Returns Boolean
  2649Register_Function ComEnableAllowMultipleValue Returns Boolean
  2650Register_Function ReportClientDocumentObject Returns Handle
  2651Register_Function ComIsSubreport Returns Boolean
  2652
  2653// This must be included after the defines since it uses them.
  2654Use cFlex2CrystalActiveXReportViewer.pkg
  2655Use cFlex2CrystalRAS.pkg
  2656
  2657//*********************************************************************************
  2658// MDAC Classes
  2659//*********************************************************************************
  2660
  2661Class cComIF2COleDbDataAdapter is a Mixin
  2662
  2663    
  2664    Function ComAcceptChangesDuringFill Returns Boolean
  2665        Handle hDispatchDriver
  2666        Boolean retVal
  2667        Get phDispatchDriver to hDispatchDriver
  2668        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
  2669        Function_Return retVal
  2670    End_Function
  2671
  2672    
  2673    Procedure Set ComAcceptChangesDuringFill Boolean value
  2674        Handle hDispatchDriver
  2675        Get phDispatchDriver to hDispatchDriver
  2676        Send PrepareParams to hDispatchDriver 1
  2677        Set ComProperty of hDispatchDriver 1 OLE_VT_BOOL to value
  2678    End_Procedure
  2679
  2680    
  2681    Function ComAcceptChangesDuringUpdate Returns Boolean
  2682        Handle hDispatchDriver
  2683        Boolean retVal
  2684        Get phDispatchDriver to hDispatchDriver
  2685        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
  2686        Function_Return retVal
  2687    End_Function
  2688
  2689    
  2690    Procedure Set ComAcceptChangesDuringUpdate Boolean value
  2691        Handle hDispatchDriver
  2692        Get phDispatchDriver to hDispatchDriver
  2693        Send PrepareParams to hDispatchDriver 1
  2694        Set ComProperty of hDispatchDriver 2 OLE_VT_BOOL to value
  2695    End_Procedure
  2696
  2697    
  2698    Function ComContinueUpdateOnError Returns Boolean
  2699        Handle hDispatchDriver
  2700        Boolean retVal
  2701        Get phDispatchDriver to hDispatchDriver
  2702        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  2703        Function_Return retVal
  2704    End_Function
  2705
  2706    
  2707    Procedure Set ComContinueUpdateOnError Boolean value
  2708        Handle hDispatchDriver
  2709        Get phDispatchDriver to hDispatchDriver
  2710        Send PrepareParams to hDispatchDriver 1
  2711        Set ComProperty of hDispatchDriver 4 OLE_VT_BOOL to value
  2712    End_Procedure
  2713
  2714    
  2715    Function ComFillLoadOption Returns OLEF2CLoadOption
  2716        Handle hDispatchDriver
  2717        OLEF2CLoadOption retVal
  2718        Get phDispatchDriver to hDispatchDriver
  2719        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
  2720        Function_Return retVal
  2721    End_Function
  2722
  2723    
  2724    Procedure Set ComFillLoadOption OLEF2CLoadOption value
  2725        Handle hDispatchDriver
  2726        Get phDispatchDriver to hDispatchDriver
  2727        Send PrepareParams to hDispatchDriver 1
  2728        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
  2729    End_Procedure
  2730
  2731    
  2732    Function ComMissingMappingAction Returns OLEF2CMissingMappingAction
  2733        Handle hDispatchDriver
  2734        OLEF2CMissingMappingAction retVal
  2735        Get phDispatchDriver to hDispatchDriver
  2736        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
  2737        Function_Return retVal
  2738    End_Function
  2739
  2740    
  2741    Procedure Set ComMissingMappingAction OLEF2CMissingMappingAction value
  2742        Handle hDispatchDriver
  2743        Get phDispatchDriver to hDispatchDriver
  2744        Send PrepareParams to hDispatchDriver 1
  2745        Set ComProperty of hDispatchDriver 10 OLE_VT_I4 to value
  2746    End_Procedure
  2747
  2748    
  2749    Function ComMissingSchemaAction Returns OLEF2CMissingSchemaAction
  2750        Handle hDispatchDriver
  2751        OLEF2CMissingSchemaAction retVal
  2752        Get phDispatchDriver to hDispatchDriver
  2753        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  2754        Function_Return retVal
  2755    End_Function
  2756
  2757    
  2758    Procedure Set ComMissingSchemaAction OLEF2CMissingSchemaAction value
  2759        Handle hDispatchDriver
  2760        Get phDispatchDriver to hDispatchDriver
  2761        Send PrepareParams to hDispatchDriver 1
  2762        Set ComProperty of hDispatchDriver 11 OLE_VT_I4 to value
  2763    End_Procedure
  2764
  2765    
  2766    Function ComReturnProviderSpecificTypes Returns Boolean
  2767        Handle hDispatchDriver
  2768        Boolean retVal
  2769        Get phDispatchDriver to hDispatchDriver
  2770        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
  2771        Function_Return retVal
  2772    End_Function
  2773
  2774    
  2775    Procedure Set ComReturnProviderSpecificTypes Boolean value
  2776        Handle hDispatchDriver
  2777        Get phDispatchDriver to hDispatchDriver
  2778        Send PrepareParams to hDispatchDriver 1
  2779        Set ComProperty of hDispatchDriver 12 OLE_VT_BOOL to value
  2780    End_Procedure
  2781
  2782    
  2783    Function ComUpdateBatchSize Returns Integer
  2784        Handle hDispatchDriver
  2785        Integer retVal
  2786        Get phDispatchDriver to hDispatchDriver
  2787        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_I4 to retVal
  2788        Function_Return retVal
  2789    End_Function
  2790
  2791    
  2792    Procedure Set ComUpdateBatchSize Integer value
  2793        Handle hDispatchDriver
  2794        Get phDispatchDriver to hDispatchDriver
  2795        Send PrepareParams to hDispatchDriver 1
  2796        Set ComProperty of hDispatchDriver 17 OLE_VT_I4 to value
  2797    End_Procedure
  2798
  2799    Procedure ComDispose
  2800        Handle hDispatchDriver
  2801        Get phDispatchDriver to hDispatchDriver
  2802        Send InvokeComMethod to hDispatchDriver 21 OLE_VT_VOID
  2803    End_Procedure
  2804
  2805    Function ComEquals Variant llobj Returns Boolean
  2806        Handle hDispatchDriver
  2807        Boolean retVal
  2808        Get phDispatchDriver to hDispatchDriver
  2809        Send PrepareParams to hDispatchDriver 1
  2810        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  2811        Get InvokeComMethod of hDispatchDriver 22 OLE_VT_BOOL to retVal
  2812        Function_Return retVal
  2813    End_Function
  2814
  2815    Function ComFill Variant lldataSet Returns Integer
  2816        Handle hDispatchDriver
  2817        Integer retVal
  2818        Get phDispatchDriver to hDispatchDriver
  2819        Send PrepareParams to hDispatchDriver 1
  2820        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataSet
  2821        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_I4 to retVal
  2822        Function_Return retVal
  2823    End_Function
  2824
  2825    Function ComFill_2 Variant lldataSet Integer llStartRecord Integer llmaxRecords String llsrcTable Returns Integer
  2826        Handle hDispatchDriver
  2827        Integer retVal
  2828        Get phDispatchDriver to hDispatchDriver
  2829        Send PrepareParams to hDispatchDriver 4
  2830        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataSet
  2831        Send DefineParam to hDispatchDriver OLE_VT_I4 llStartRecord
  2832        Send DefineParam to hDispatchDriver OLE_VT_I4 llmaxRecords
  2833        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsrcTable
  2834        Get InvokeComMethod of hDispatchDriver 24 OLE_VT_I4 to retVal
  2835        Function_Return retVal
  2836    End_Function
  2837
  2838    Function ComFill_3 Variant lldataSet Variant llADODBRecordSet String llsrcTable Returns Integer
  2839        Handle hDispatchDriver
  2840        Integer retVal
  2841        Get phDispatchDriver to hDispatchDriver
  2842        Send PrepareParams to hDispatchDriver 3
  2843        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataSet
  2844        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llADODBRecordSet
  2845        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsrcTable
  2846        Get InvokeComMethod of hDispatchDriver 25 OLE_VT_I4 to retVal
  2847        Function_Return retVal
  2848    End_Function
  2849
  2850    Function ComFill_4 Variant lldataSet String llsrcTable Returns Integer
  2851        Handle hDispatchDriver
  2852        Integer retVal
  2853        Get phDispatchDriver to hDispatchDriver
  2854        Send PrepareParams to hDispatchDriver 2
  2855        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataSet
  2856        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsrcTable
  2857        Get InvokeComMethod of hDispatchDriver 26 OLE_VT_I4 to retVal
  2858        Function_Return retVal
  2859    End_Function
  2860
  2861    Function ComFill_5 Variant lldataTable Returns Integer
  2862        Handle hDispatchDriver
  2863        Integer retVal
  2864        Get phDispatchDriver to hDispatchDriver
  2865        Send PrepareParams to hDispatchDriver 1
  2866        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataTable
  2867        Get InvokeComMethod of hDispatchDriver 27 OLE_VT_I4 to retVal
  2868        Function_Return retVal
  2869    End_Function
  2870
  2871    Function ComFill_6 Variant lldataTable Variant llADODBRecordSet Returns Integer
  2872        Handle hDispatchDriver
  2873        Integer retVal
  2874        Get phDispatchDriver to hDispatchDriver
  2875        Send PrepareParams to hDispatchDriver 2
  2876        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataTable
  2877        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llADODBRecordSet
  2878        Get InvokeComMethod of hDispatchDriver 28 OLE_VT_I4 to retVal
  2879        Function_Return retVal
  2880    End_Function
  2881
  2882    Function ComFillSchema_3 Variant lldataTable OLEF2CSchemaType llschemaType Returns Variant
  2883        Handle hDispatchDriver
  2884        Variant retVal
  2885        Get phDispatchDriver to hDispatchDriver
  2886        Send PrepareParams to hDispatchDriver 2
  2887        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataTable
  2888        Send DefineParam to hDispatchDriver OLE_VT_I4 llschemaType
  2889        Get InvokeComMethod of hDispatchDriver 32 OLE_VT_DISPATCH to retVal
  2890        Function_Return retVal
  2891    End_Function
  2892
  2893    Function ComGetHashCode Returns Integer
  2894        Handle hDispatchDriver
  2895        Integer retVal
  2896        Get phDispatchDriver to hDispatchDriver
  2897        Get InvokeComMethod of hDispatchDriver 34 OLE_VT_I4 to retVal
  2898        Function_Return retVal
  2899    End_Function
  2900
  2901    Procedure ComResetFillLoadOption
  2902        Handle hDispatchDriver
  2903        Get phDispatchDriver to hDispatchDriver
  2904        Send InvokeComMethod to hDispatchDriver 36 OLE_VT_VOID
  2905    End_Procedure
  2906
  2907    Function ComShouldSerializeAcceptChangesDuringFill Returns Boolean
  2908        Handle hDispatchDriver
  2909        Boolean retVal
  2910        Get phDispatchDriver to hDispatchDriver
  2911        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_BOOL to retVal
  2912        Function_Return retVal
  2913    End_Function
  2914
  2915    Function ComShouldSerializeFillLoadOption Returns Boolean
  2916        Handle hDispatchDriver
  2917        Boolean retVal
  2918        Get phDispatchDriver to hDispatchDriver
  2919        Get InvokeComMethod of hDispatchDriver 38 OLE_VT_BOOL to retVal
  2920        Function_Return retVal
  2921    End_Function
  2922
  2923    
  2924    Function ComToString Returns String
  2925        Handle hDispatchDriver
  2926        String retVal
  2927        Get phDispatchDriver to hDispatchDriver
  2928        Get InvokeComMethod of hDispatchDriver 39 OLE_VT_BSTR to retVal
  2929        Function_Return retVal
  2930    End_Function
  2931
  2932    Function ComUpdate_2 Variant lldataSet Returns Integer
  2933        Handle hDispatchDriver
  2934        Integer retVal
  2935        Get phDispatchDriver to hDispatchDriver
  2936        Send PrepareParams to hDispatchDriver 1
  2937        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataSet
  2938        Get InvokeComMethod of hDispatchDriver 41 OLE_VT_I4 to retVal
  2939        Function_Return retVal
  2940    End_Function
  2941
  2942    Function ComUpdate_3 Variant lldataSet String llsrcTable Returns Integer
  2943        Handle hDispatchDriver
  2944        Integer retVal
  2945        Get phDispatchDriver to hDispatchDriver
  2946        Send PrepareParams to hDispatchDriver 2
  2947        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataSet
  2948        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsrcTable
  2949        Get InvokeComMethod of hDispatchDriver 42 OLE_VT_I4 to retVal
  2950        Function_Return retVal
  2951    End_Function
  2952
  2953    Function ComUpdate_4 Variant lldataTable Returns Integer
  2954        Handle hDispatchDriver
  2955        Integer retVal
  2956        Get phDispatchDriver to hDispatchDriver
  2957        Send PrepareParams to hDispatchDriver 1
  2958        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataTable
  2959        Get InvokeComMethod of hDispatchDriver 43 OLE_VT_I4 to retVal
  2960        Function_Return retVal
  2961    End_Function
  2962End_Class
  2963
  2964// CLSID: {E6C45A68-27BA-48AF-852C-8641B52DE705}
  2965Class cComIF2COleDbDataAdapterEvents is a Mixin
  2966
  2967    
  2968    Procedure OnComDisposed
  2969    End_Procedure
  2970
  2971    
  2972    Procedure OnComFillError Boolean llContinue Variant lldataTable
  2973    End_Procedure
  2974
  2975    
  2976    Procedure OnComRowUpdated Variant llCommand Integer llRecordsAffected Variant llRow Integer llRowCount OLEF2CStatementType llStatementType OLEF2CUpdateStatus llStatus
  2977    End_Procedure
  2978
  2979    
  2980    Procedure OnComRowUpdating Variant llCommand Variant llRow OLEF2CStatementType llStatementType OLEF2CUpdateStatus llStatus
  2981    End_Procedure
  2982
  2983    
  2984    Procedure RegisterComEvents
  2985        Send RegisterComEvent 1 msg_OnComDisposed
  2986        Send RegisterComEvent 2 msg_OnComFillError
  2987        Send RegisterComEvent 3 msg_OnComRowUpdated
  2988        Send RegisterComEvent 4 msg_OnComRowUpdating
  2989    End_Procedure
  2990End_Class
  2991
  2992Class cComF2COleDbDataAdapter is a cComAutomationObject
  2993    Import_Class_Protocol cComIF2COleDbDataAdapter
  2994    Import_Class_Protocol cComIF2COleDbDataAdapterEvents
  2995
  2996    Procedure Construct_Object
  2997        Forward Send Construct_Object
  2998        Set psProgID to "{6F5713A6-5271-4927-9546-6C11B780C776}"
  2999        Set psEventId to "{E6C45A68-27BA-48AF-852C-8641B52DE705}"
  3000        Set peAutoCreate to acNoAutoCreate
  3001    End_Procedure
  3002End_Class
  3003
  3004Class cComIF2CSystem_Data_DataSet is a Mixin
  3005
  3006    
  3007    Function ComCaseSensitive Returns Boolean
  3008        Handle hDispatchDriver
  3009        Boolean retVal
  3010        Get phDispatchDriver to hDispatchDriver
  3011        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
  3012        Function_Return retVal
  3013    End_Function
  3014
  3015    
  3016    Procedure Set ComCaseSensitive Boolean value
  3017        Handle hDispatchDriver
  3018        Get phDispatchDriver to hDispatchDriver
  3019        Send PrepareParams to hDispatchDriver 1
  3020        Set ComProperty of hDispatchDriver 1 OLE_VT_BOOL to value
  3021    End_Procedure
  3022
  3023    
  3024    Function ComDataSetName Returns String
  3025        Handle hDispatchDriver
  3026        String retVal
  3027        Get phDispatchDriver to hDispatchDriver
  3028        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  3029        Function_Return retVal
  3030    End_Function
  3031
  3032    
  3033    Procedure Set ComDataSetName String value
  3034        Handle hDispatchDriver
  3035        Get phDispatchDriver to hDispatchDriver
  3036        Send PrepareParams to hDispatchDriver 1
  3037        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
  3038    End_Procedure
  3039
  3040    
  3041    Function ComDefaultViewManager Returns Variant
  3042        Handle hDispatchDriver
  3043        Variant retVal
  3044        Get phDispatchDriver to hDispatchDriver
  3045        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
  3046        Function_Return retVal
  3047    End_Function
  3048
  3049    
  3050    Function ComDesignMode Returns Boolean
  3051        Handle hDispatchDriver
  3052        Boolean retVal
  3053        Get phDispatchDriver to hDispatchDriver
  3054        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
  3055        Function_Return retVal
  3056    End_Function
  3057
  3058    
  3059    Function ComEnforceConstraints Returns Boolean
  3060        Handle hDispatchDriver
  3061        Boolean retVal
  3062        Get phDispatchDriver to hDispatchDriver
  3063        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
  3064        Function_Return retVal
  3065    End_Function
  3066
  3067    
  3068    Procedure Set ComEnforceConstraints Boolean value
  3069        Handle hDispatchDriver
  3070        Get phDispatchDriver to hDispatchDriver
  3071        Send PrepareParams to hDispatchDriver 1
  3072        Set ComProperty of hDispatchDriver 6 OLE_VT_BOOL to value
  3073    End_Procedure
  3074
  3075    
  3076    Function ComExtendedProperties Returns Variant
  3077        Handle hDispatchDriver
  3078        Variant retVal
  3079        Get phDispatchDriver to hDispatchDriver
  3080        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
  3081        Function_Return retVal
  3082    End_Function
  3083
  3084    
  3085    Function ComHasErrors Returns Boolean
  3086        Handle hDispatchDriver
  3087        Boolean retVal
  3088        Get phDispatchDriver to hDispatchDriver
  3089        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
  3090        Function_Return retVal
  3091    End_Function
  3092
  3093    
  3094    Function ComIsInitialized Returns Boolean
  3095        Handle hDispatchDriver
  3096        Boolean retVal
  3097        Get phDispatchDriver to hDispatchDriver
  3098        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  3099        Function_Return retVal
  3100    End_Function
  3101
  3102    
  3103    Function ComNamespace Returns String
  3104        Handle hDispatchDriver
  3105        String retVal
  3106        Get phDispatchDriver to hDispatchDriver
  3107        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BSTR to retVal
  3108        Function_Return retVal
  3109    End_Function
  3110
  3111    
  3112    Procedure Set ComNamespace String value
  3113        Handle hDispatchDriver
  3114        Get phDispatchDriver to hDispatchDriver
  3115        Send PrepareParams to hDispatchDriver 1
  3116        Set ComProperty of hDispatchDriver 11 OLE_VT_BSTR to value
  3117    End_Procedure
  3118
  3119    
  3120    Function ComPrefix Returns String
  3121        Handle hDispatchDriver
  3122        String retVal
  3123        Get phDispatchDriver to hDispatchDriver
  3124        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
  3125        Function_Return retVal
  3126    End_Function
  3127
  3128    
  3129    Procedure Set ComPrefix String value
  3130        Handle hDispatchDriver
  3131        Get phDispatchDriver to hDispatchDriver
  3132        Send PrepareParams to hDispatchDriver 1
  3133        Set ComProperty of hDispatchDriver 12 OLE_VT_BSTR to value
  3134    End_Procedure
  3135
  3136    
  3137    Function ComRelations Returns Variant
  3138        Handle hDispatchDriver
  3139        Variant retVal
  3140        Get phDispatchDriver to hDispatchDriver
  3141        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_DISPATCH to retVal
  3142        Function_Return retVal
  3143    End_Function
  3144
  3145    
  3146    Function ComRemotingFormat Returns OLEF2CSerializationFormat
  3147        Handle hDispatchDriver
  3148        OLEF2CSerializationFormat retVal
  3149        Get phDispatchDriver to hDispatchDriver
  3150        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_I4 to retVal
  3151        Function_Return retVal
  3152    End_Function
  3153
  3154    
  3155    Procedure Set ComRemotingFormat OLEF2CSerializationFormat value
  3156        Handle hDispatchDriver
  3157        Get phDispatchDriver to hDispatchDriver
  3158        Send PrepareParams to hDispatchDriver 1
  3159        Set ComProperty of hDispatchDriver 14 OLE_VT_I4 to value
  3160    End_Procedure
  3161
  3162    
  3163    Function ComSchemaSerializationMode Returns OLEF2CSchemaSerializationMode
  3164        Handle hDispatchDriver
  3165        OLEF2CSchemaSerializationMode retVal
  3166        Get phDispatchDriver to hDispatchDriver
  3167        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
  3168        Function_Return retVal
  3169    End_Function
  3170
  3171    
  3172    Procedure Set ComSchemaSerializationMode OLEF2CSchemaSerializationMode value
  3173        Handle hDispatchDriver
  3174        Get phDispatchDriver to hDispatchDriver
  3175        Send PrepareParams to hDispatchDriver 1
  3176        Set ComProperty of hDispatchDriver 15 OLE_VT_I4 to value
  3177    End_Procedure
  3178
  3179    
  3180    Function ComTables Returns Variant
  3181        Handle hDispatchDriver
  3182        Variant retVal
  3183        Get phDispatchDriver to hDispatchDriver
  3184        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_DISPATCH to retVal
  3185        Function_Return retVal
  3186    End_Function
  3187
  3188    Procedure ComAcceptChanges
  3189        Handle hDispatchDriver
  3190        Get phDispatchDriver to hDispatchDriver
  3191        Send InvokeComMethod to hDispatchDriver 18 OLE_VT_VOID
  3192    End_Procedure
  3193
  3194    Procedure ComBeginInit
  3195        Handle hDispatchDriver
  3196        Get phDispatchDriver to hDispatchDriver
  3197        Send InvokeComMethod to hDispatchDriver 19 OLE_VT_VOID
  3198    End_Procedure
  3199
  3200    Procedure ComClear
  3201        Handle hDispatchDriver
  3202        Get phDispatchDriver to hDispatchDriver
  3203        Send InvokeComMethod to hDispatchDriver 20 OLE_VT_VOID
  3204    End_Procedure
  3205
  3206    Function ComClone Returns Variant
  3207        Handle hDispatchDriver
  3208        Variant retVal
  3209        Get phDispatchDriver to hDispatchDriver
  3210        Get InvokeComMethod of hDispatchDriver 21 OLE_VT_DISPATCH to retVal
  3211        Function_Return retVal
  3212    End_Function
  3213
  3214    Function ComCopy Returns Variant
  3215        Handle hDispatchDriver
  3216        Variant retVal
  3217        Get phDispatchDriver to hDispatchDriver
  3218        Get InvokeComMethod of hDispatchDriver 22 OLE_VT_DISPATCH to retVal
  3219        Function_Return retVal
  3220    End_Function
  3221
  3222    Function ComCreateDataReader Returns Variant
  3223        Handle hDispatchDriver
  3224        Variant retVal
  3225        Get phDispatchDriver to hDispatchDriver
  3226        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_DISPATCH to retVal
  3227        Function_Return retVal
  3228    End_Function
  3229
  3230    Procedure ComDispose
  3231        Handle hDispatchDriver
  3232        Get phDispatchDriver to hDispatchDriver
  3233        Send InvokeComMethod to hDispatchDriver 25 OLE_VT_VOID
  3234    End_Procedure
  3235
  3236    Procedure ComEndInit
  3237        Handle hDispatchDriver
  3238        Get phDispatchDriver to hDispatchDriver
  3239        Send InvokeComMethod to hDispatchDriver 26 OLE_VT_VOID
  3240    End_Procedure
  3241
  3242    Function ComEquals Variant llobj Returns Boolean
  3243        Handle hDispatchDriver
  3244        Boolean retVal
  3245        Get phDispatchDriver to hDispatchDriver
  3246        Send PrepareParams to hDispatchDriver 1
  3247        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  3248        Get InvokeComMethod of hDispatchDriver 27 OLE_VT_BOOL to retVal
  3249        Function_Return retVal
  3250    End_Function
  3251
  3252    Function ComGetChanges Returns Variant
  3253        Handle hDispatchDriver
  3254        Variant retVal
  3255        Get phDispatchDriver to hDispatchDriver
  3256        Get InvokeComMethod of hDispatchDriver 28 OLE_VT_DISPATCH to retVal
  3257        Function_Return retVal
  3258    End_Function
  3259
  3260    Function ComGetChanges_2 OLEF2CDataRowState llrowStates Returns Variant
  3261        Handle hDispatchDriver
  3262        Variant retVal
  3263        Get phDispatchDriver to hDispatchDriver
  3264        Send PrepareParams to hDispatchDriver 1
  3265        Send DefineParam to hDispatchDriver OLE_VT_I4 llrowStates
  3266        Get InvokeComMethod of hDispatchDriver 29 OLE_VT_DISPATCH to retVal
  3267        Function_Return retVal
  3268    End_Function
  3269
  3270    Function ComGetHashCode Returns Integer
  3271        Handle hDispatchDriver
  3272        Integer retVal
  3273        Get phDispatchDriver to hDispatchDriver
  3274        Get InvokeComMethod of hDispatchDriver 30 OLE_VT_I4 to retVal
  3275        Function_Return retVal
  3276    End_Function
  3277
  3278    Function ComGetXml Returns String
  3279        Handle hDispatchDriver
  3280        String retVal
  3281        Get phDispatchDriver to hDispatchDriver
  3282        Get InvokeComMethod of hDispatchDriver 34 OLE_VT_BSTR to retVal
  3283        Function_Return retVal
  3284    End_Function
  3285
  3286    Function ComGetXmlSchema Returns String
  3287        Handle hDispatchDriver
  3288        String retVal
  3289        Get phDispatchDriver to hDispatchDriver
  3290        Get InvokeComMethod of hDispatchDriver 35 OLE_VT_BSTR to retVal
  3291        Function_Return retVal
  3292    End_Function
  3293
  3294    Function ComHasChanges Returns Boolean
  3295        Handle hDispatchDriver
  3296        Boolean retVal
  3297        Get phDispatchDriver to hDispatchDriver
  3298        Get InvokeComMethod of hDispatchDriver 36 OLE_VT_BOOL to retVal
  3299        Function_Return retVal
  3300    End_Function
  3301
  3302    Function ComHasChanges_2 OLEF2CDataRowState llrowStates Returns Boolean
  3303        Handle hDispatchDriver
  3304        Boolean retVal
  3305        Get phDispatchDriver to hDispatchDriver
  3306        Send PrepareParams to hDispatchDriver 1
  3307        Send DefineParam to hDispatchDriver OLE_VT_I4 llrowStates
  3308        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_BOOL to retVal
  3309        Function_Return retVal
  3310    End_Function
  3311
  3312    Procedure ComMerge_3 Variant llDataSet
  3313        Handle hDispatchDriver
  3314        Get phDispatchDriver to hDispatchDriver
  3315        Send PrepareParams to hDispatchDriver 1
  3316        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llDataSet
  3317        Send InvokeComMethod to hDispatchDriver 47 OLE_VT_VOID
  3318    End_Procedure
  3319
  3320    Procedure ComMerge_4 Variant llDataSet Boolean llpreserveChanges
  3321        Handle hDispatchDriver
  3322        Get phDispatchDriver to hDispatchDriver
  3323        Send PrepareParams to hDispatchDriver 2
  3324        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llDataSet
  3325        Send DefineParam to hDispatchDriver OLE_VT_BOOL llpreserveChanges
  3326        Send InvokeComMethod to hDispatchDriver 48 OLE_VT_VOID
  3327    End_Procedure
  3328
  3329    Procedure ComMerge_5 Variant llDataSet Boolean llpreserveChanges OLEF2CMissingSchemaAction llmissingSchemaAction
  3330        Handle hDispatchDriver
  3331        Get phDispatchDriver to hDispatchDriver
  3332        Send PrepareParams to hDispatchDriver 3
  3333        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llDataSet
  3334        Send DefineParam to hDispatchDriver OLE_VT_BOOL llpreserveChanges
  3335        Send DefineParam to hDispatchDriver OLE_VT_I4 llmissingSchemaAction
  3336        Send InvokeComMethod to hDispatchDriver 49 OLE_VT_VOID
  3337    End_Procedure
  3338
  3339    Procedure ComMerge_6 Variant llTable
  3340        Handle hDispatchDriver
  3341        Get phDispatchDriver to hDispatchDriver
  3342        Send PrepareParams to hDispatchDriver 1
  3343        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  3344        Send InvokeComMethod to hDispatchDriver 50 OLE_VT_VOID
  3345    End_Procedure
  3346
  3347    Procedure ComMerge_7 Variant llTable Boolean llpreserveChanges OLEF2CMissingSchemaAction llmissingSchemaAction
  3348        Handle hDispatchDriver
  3349        Get phDispatchDriver to hDispatchDriver
  3350        Send PrepareParams to hDispatchDriver 3
  3351        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  3352        Send DefineParam to hDispatchDriver OLE_VT_BOOL llpreserveChanges
  3353        Send DefineParam to hDispatchDriver OLE_VT_I4 llmissingSchemaAction
  3354        Send InvokeComMethod to hDispatchDriver 51 OLE_VT_VOID
  3355    End_Procedure
  3356
  3357    Function ComReadXml_3 String llFileName Returns OLEF2CXmlReadMode
  3358        Handle hDispatchDriver
  3359        OLEF2CXmlReadMode retVal
  3360        Get phDispatchDriver to hDispatchDriver
  3361        Send PrepareParams to hDispatchDriver 1
  3362        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  3363        Get InvokeComMethod of hDispatchDriver 54 OLE_VT_I4 to retVal
  3364        Function_Return retVal
  3365    End_Function
  3366
  3367    Function ComReadXml_4 String llFileName OLEF2CXmlReadMode llmode Returns OLEF2CXmlReadMode
  3368        Handle hDispatchDriver
  3369        OLEF2CXmlReadMode retVal
  3370        Get phDispatchDriver to hDispatchDriver
  3371        Send PrepareParams to hDispatchDriver 2
  3372        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  3373        Send DefineParam to hDispatchDriver OLE_VT_I4 llmode
  3374        Get InvokeComMethod of hDispatchDriver 55 OLE_VT_I4 to retVal
  3375        Function_Return retVal
  3376    End_Function
  3377
  3378    Procedure ComReadXmlSchema_2 String llFileName
  3379        Handle hDispatchDriver
  3380        Get phDispatchDriver to hDispatchDriver
  3381        Send PrepareParams to hDispatchDriver 1
  3382        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  3383        Send InvokeComMethod to hDispatchDriver 61 OLE_VT_VOID
  3384    End_Procedure
  3385
  3386    Procedure ComRejectChanges
  3387        Handle hDispatchDriver
  3388        Get phDispatchDriver to hDispatchDriver
  3389        Send InvokeComMethod to hDispatchDriver 64 OLE_VT_VOID
  3390    End_Procedure
  3391
  3392    Procedure ComReset
  3393        Handle hDispatchDriver
  3394        Get phDispatchDriver to hDispatchDriver
  3395        Send InvokeComMethod to hDispatchDriver 65 OLE_VT_VOID
  3396    End_Procedure
  3397
  3398    
  3399    Function ComToString Returns String
  3400        Handle hDispatchDriver
  3401        String retVal
  3402        Get phDispatchDriver to hDispatchDriver
  3403        Get InvokeComMethod of hDispatchDriver 66 OLE_VT_BSTR to retVal
  3404        Function_Return retVal
  3405    End_Function
  3406
  3407    Procedure ComWriteXml_3 String llFileName
  3408        Handle hDispatchDriver
  3409        Get phDispatchDriver to hDispatchDriver
  3410        Send PrepareParams to hDispatchDriver 1
  3411        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  3412        Send InvokeComMethod to hDispatchDriver 69 OLE_VT_VOID
  3413    End_Procedure
  3414
  3415    Procedure ComWriteXml_4 String llFileName OLEF2CXmlWriteMode llmode
  3416        Handle hDispatchDriver
  3417        Get phDispatchDriver to hDispatchDriver
  3418        Send PrepareParams to hDispatchDriver 2
  3419        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  3420        Send DefineParam to hDispatchDriver OLE_VT_I4 llmode
  3421        Send InvokeComMethod to hDispatchDriver 70 OLE_VT_VOID
  3422    End_Procedure
  3423
  3424    Procedure ComWriteXmlSchema_3 String llFileName
  3425        Handle hDispatchDriver
  3426        Get phDispatchDriver to hDispatchDriver
  3427        Send PrepareParams to hDispatchDriver 1
  3428        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  3429        Send InvokeComMethod to hDispatchDriver 77 OLE_VT_VOID
  3430    End_Procedure
  3431End_Class
  3432
  3433Class cComIF2CSystem_Data_DataSetEvents is a Mixin
  3434
  3435    
  3436    Procedure OnComDisposed
  3437    End_Procedure
  3438
  3439    
  3440    Procedure OnComInitialized
  3441    End_Procedure
  3442
  3443    
  3444    Procedure OnComMergeFailed String llConflict Variant llTable
  3445    End_Procedure
  3446
  3447    
  3448    Procedure RegisterComEvents
  3449        Send RegisterComEvent 1 msg_OnComDisposed
  3450        Send RegisterComEvent 2 msg_OnComInitialized
  3451        Send RegisterComEvent 3 msg_OnComMergeFailed
  3452    End_Procedure
  3453End_Class
  3454
  3455Class cComF2CSystem_Data_DataSet is a cComAutomationObject
  3456    Import_Class_Protocol cComIF2CSystem_Data_DataSet
  3457    Import_Class_Protocol cComIF2CSystem_Data_DataSetEvents
  3458
  3459    Procedure Construct_Object
  3460        Forward Send Construct_Object
  3461        Set psProgID to "{FFFF0DFB-0CB8-4AFD-9663-CD8B4BAC6E17}"
  3462        Set psEventId to "{63131572-FAE5-4C4F-A167-86E9DB4D8317}"
  3463        Set peAutoCreate to acNoAutoCreate
  3464    End_Procedure
  3465End_Class
  3466
  3467Class cComIF2CDataTableCollection is a Mixin
  3468
  3469    
  3470    Function ComCount Returns Integer
  3471        Handle hDispatchDriver
  3472        Integer retVal
  3473        Get phDispatchDriver to hDispatchDriver
  3474        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  3475        Function_Return retVal
  3476    End_Function
  3477
  3478    
  3479    Function ComIsReadOnly Returns Boolean
  3480        Handle hDispatchDriver
  3481        Boolean retVal
  3482        Get phDispatchDriver to hDispatchDriver
  3483        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
  3484        Function_Return retVal
  3485    End_Function
  3486
  3487    
  3488    Function ComIsSynchronized Returns Boolean
  3489        Handle hDispatchDriver
  3490        Boolean retVal
  3491        Get phDispatchDriver to hDispatchDriver
  3492        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  3493        Function_Return retVal
  3494    End_Function
  3495
  3496    
  3497    Function ComSyncRoot Returns Variant
  3498        Handle hDispatchDriver
  3499        Variant retVal
  3500        Get phDispatchDriver to hDispatchDriver
  3501        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_VARIANT to retVal
  3502        Function_Return retVal
  3503    End_Function
  3504
  3505    Function ComItem Variant llIndex Variant llIndex2 Returns Variant
  3506        Handle hDispatchDriver
  3507        Variant retVal
  3508        Get phDispatchDriver to hDispatchDriver
  3509        Send PrepareParams to hDispatchDriver 2
  3510        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  3511        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex2
  3512        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  3513        Function_Return retVal
  3514    End_Function
  3515
  3516    Function ComItem_2 Variant llIndex Returns Variant
  3517        Handle hDispatchDriver
  3518        Variant retVal
  3519        Get phDispatchDriver to hDispatchDriver
  3520        Send PrepareParams to hDispatchDriver 1
  3521        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  3522        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  3523        Function_Return retVal
  3524    End_Function
  3525
  3526    Function ComAdd Returns Variant
  3527        Handle hDispatchDriver
  3528        Variant retVal
  3529        Get phDispatchDriver to hDispatchDriver
  3530        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
  3531        Function_Return retVal
  3532    End_Function
  3533
  3534    Procedure ComAdd_2 Variant llTable
  3535        Handle hDispatchDriver
  3536        Get phDispatchDriver to hDispatchDriver
  3537        Send PrepareParams to hDispatchDriver 1
  3538        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  3539        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  3540    End_Procedure
  3541
  3542    Function ComAdd_3 String llName Returns Variant
  3543        Handle hDispatchDriver
  3544        Variant retVal
  3545        Get phDispatchDriver to hDispatchDriver
  3546        Send PrepareParams to hDispatchDriver 1
  3547        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  3548        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_DISPATCH to retVal
  3549        Function_Return retVal
  3550    End_Function
  3551
  3552    Function ComAdd_4 String llName String llTableNamespace Returns Variant
  3553        Handle hDispatchDriver
  3554        Variant retVal
  3555        Get phDispatchDriver to hDispatchDriver
  3556        Send PrepareParams to hDispatchDriver 2
  3557        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  3558        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableNamespace
  3559        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_DISPATCH to retVal
  3560        Function_Return retVal
  3561    End_Function
  3562
  3563    Function ComCanRemove Variant llTable Returns Boolean
  3564        Handle hDispatchDriver
  3565        Boolean retVal
  3566        Get phDispatchDriver to hDispatchDriver
  3567        Send PrepareParams to hDispatchDriver 1
  3568        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  3569        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
  3570        Function_Return retVal
  3571    End_Function
  3572
  3573    Procedure ComClear
  3574        Handle hDispatchDriver
  3575        Get phDispatchDriver to hDispatchDriver
  3576        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  3577    End_Procedure
  3578
  3579    Function ComContains String llName Returns Boolean
  3580        Handle hDispatchDriver
  3581        Boolean retVal
  3582        Get phDispatchDriver to hDispatchDriver
  3583        Send PrepareParams to hDispatchDriver 1
  3584        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  3585        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
  3586        Function_Return retVal
  3587    End_Function
  3588
  3589    Function ComContains_2 String llName String llTableNamespace Returns Boolean
  3590        Handle hDispatchDriver
  3591        Boolean retVal
  3592        Get phDispatchDriver to hDispatchDriver
  3593        Send PrepareParams to hDispatchDriver 2
  3594        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  3595        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableNamespace
  3596        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BOOL to retVal
  3597        Function_Return retVal
  3598    End_Function
  3599
  3600    Function ComEquals Variant llobj Returns Boolean
  3601        Handle hDispatchDriver
  3602        Boolean retVal
  3603        Get phDispatchDriver to hDispatchDriver
  3604        Send PrepareParams to hDispatchDriver 1
  3605        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  3606        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BOOL to retVal
  3607        Function_Return retVal
  3608    End_Function
  3609
  3610    Function ComGetHashCode Returns Integer
  3611        Handle hDispatchDriver
  3612        Integer retVal
  3613        Get phDispatchDriver to hDispatchDriver
  3614        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_I4 to retVal
  3615        Function_Return retVal
  3616    End_Function
  3617
  3618    Function ComIndexOf Variant llTable Returns Integer
  3619        Handle hDispatchDriver
  3620        Integer retVal
  3621        Get phDispatchDriver to hDispatchDriver
  3622        Send PrepareParams to hDispatchDriver 1
  3623        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  3624        Get InvokeComMethod of hDispatchDriver 22 OLE_VT_I4 to retVal
  3625        Function_Return retVal
  3626    End_Function
  3627
  3628    Function ComIndexOf_2 String llTableName Returns Integer
  3629        Handle hDispatchDriver
  3630        Integer retVal
  3631        Get phDispatchDriver to hDispatchDriver
  3632        Send PrepareParams to hDispatchDriver 1
  3633        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableName
  3634        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_I4 to retVal
  3635        Function_Return retVal
  3636    End_Function
  3637
  3638    Function ComIndexOf_3 String llTableName String llTableNamespace Returns Integer
  3639        Handle hDispatchDriver
  3640        Integer retVal
  3641        Get phDispatchDriver to hDispatchDriver
  3642        Send PrepareParams to hDispatchDriver 2
  3643        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableName
  3644        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableNamespace
  3645        Get InvokeComMethod of hDispatchDriver 24 OLE_VT_I4 to retVal
  3646        Function_Return retVal
  3647    End_Function
  3648
  3649    Procedure ComRemove Variant llTable
  3650        Handle hDispatchDriver
  3651        Get phDispatchDriver to hDispatchDriver
  3652        Send PrepareParams to hDispatchDriver 1
  3653        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  3654        Send InvokeComMethod to hDispatchDriver 25 OLE_VT_VOID
  3655    End_Procedure
  3656
  3657    Procedure ComRemove_2 String llName
  3658        Handle hDispatchDriver
  3659        Get phDispatchDriver to hDispatchDriver
  3660        Send PrepareParams to hDispatchDriver 1
  3661        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  3662        Send InvokeComMethod to hDispatchDriver 26 OLE_VT_VOID
  3663    End_Procedure
  3664
  3665    Procedure ComRemove_3 String llName String llTableNamespace
  3666        Handle hDispatchDriver
  3667        Get phDispatchDriver to hDispatchDriver
  3668        Send PrepareParams to hDispatchDriver 2
  3669        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  3670        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableNamespace
  3671        Send InvokeComMethod to hDispatchDriver 27 OLE_VT_VOID
  3672    End_Procedure
  3673
  3674    Procedure ComRemoveAt Integer llIndex
  3675        Handle hDispatchDriver
  3676        Get phDispatchDriver to hDispatchDriver
  3677        Send PrepareParams to hDispatchDriver 1
  3678        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  3679        Send InvokeComMethod to hDispatchDriver 28 OLE_VT_VOID
  3680    End_Procedure
  3681
  3682    
  3683    Function ComToString Returns String
  3684        Handle hDispatchDriver
  3685        String retVal
  3686        Get phDispatchDriver to hDispatchDriver
  3687        Get InvokeComMethod of hDispatchDriver 29 OLE_VT_BSTR to retVal
  3688        Function_Return retVal
  3689    End_Function
  3690End_Class
  3691
  3692Class cComIF2CDataTableCollectionEvents is a Mixin
  3693
  3694    
  3695    Procedure RegisterComEvents
  3696    End_Procedure
  3697End_Class
  3698
  3699Class cComF2CDataTableCollection is a cComAutomationObject
  3700    Import_Class_Protocol cComIF2CDataTableCollection
  3701    Import_Class_Protocol cComIF2CDataTableCollectionEvents
  3702
  3703    Procedure Construct_Object
  3704        Forward Send Construct_Object
  3705        Set psEventId to "{238BDE43-AA68-4255-A6D5-AE5CA46B48B9}"
  3706        Set peAutoCreate to acNoAutoCreate
  3707    End_Procedure
  3708End_Class
  3709
  3710Class cComIF2CDataTable is a Mixin
  3711
  3712    
  3713    Function ComCaseSensitive Returns Boolean
  3714        Handle hDispatchDriver
  3715        Boolean retVal
  3716        Get phDispatchDriver to hDispatchDriver
  3717        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
  3718        Function_Return retVal
  3719    End_Function
  3720
  3721    
  3722    Procedure Set ComCaseSensitive Boolean value
  3723        Handle hDispatchDriver
  3724        Get phDispatchDriver to hDispatchDriver
  3725        Send PrepareParams to hDispatchDriver 1
  3726        Set ComProperty of hDispatchDriver 1 OLE_VT_BOOL to value
  3727    End_Procedure
  3728
  3729    
  3730    Function ComChildRelations Returns Variant
  3731        Handle hDispatchDriver
  3732        Variant retVal
  3733        Get phDispatchDriver to hDispatchDriver
  3734        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
  3735        Function_Return retVal
  3736    End_Function
  3737
  3738    
  3739    Function ComColumns Returns Variant
  3740        Handle hDispatchDriver
  3741        Variant retVal
  3742        Get phDispatchDriver to hDispatchDriver
  3743        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  3744        Function_Return retVal
  3745    End_Function
  3746
  3747    
  3748    Function ComConstraints Returns Variant
  3749        Handle hDispatchDriver
  3750        Variant retVal
  3751        Get phDispatchDriver to hDispatchDriver
  3752        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
  3753        Function_Return retVal
  3754    End_Function
  3755
  3756    
  3757    Function ComDataSet Returns Variant
  3758        Handle hDispatchDriver
  3759        Variant retVal
  3760        Get phDispatchDriver to hDispatchDriver
  3761        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  3762        Function_Return retVal
  3763    End_Function
  3764
  3765    
  3766    Function ComDefaultView Returns Variant
  3767        Handle hDispatchDriver
  3768        Variant retVal
  3769        Get phDispatchDriver to hDispatchDriver
  3770        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
  3771        Function_Return retVal
  3772    End_Function
  3773
  3774    
  3775    Function ComDesignMode Returns Boolean
  3776        Handle hDispatchDriver
  3777        Boolean retVal
  3778        Get phDispatchDriver to hDispatchDriver
  3779        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
  3780        Function_Return retVal
  3781    End_Function
  3782
  3783    
  3784    Function ComDisplayExpression Returns String
  3785        Handle hDispatchDriver
  3786        String retVal
  3787        Get phDispatchDriver to hDispatchDriver
  3788        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
  3789        Function_Return retVal
  3790    End_Function
  3791
  3792    
  3793    Procedure Set ComDisplayExpression String value
  3794        Handle hDispatchDriver
  3795        Get phDispatchDriver to hDispatchDriver
  3796        Send PrepareParams to hDispatchDriver 1
  3797        Set ComProperty of hDispatchDriver 9 OLE_VT_BSTR to value
  3798    End_Procedure
  3799
  3800    
  3801    Function ComExtendedProperties Returns Variant
  3802        Handle hDispatchDriver
  3803        Variant retVal
  3804        Get phDispatchDriver to hDispatchDriver
  3805        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_DISPATCH to retVal
  3806        Function_Return retVal
  3807    End_Function
  3808
  3809    
  3810    Function ComHasErrors Returns Boolean
  3811        Handle hDispatchDriver
  3812        Boolean retVal
  3813        Get phDispatchDriver to hDispatchDriver
  3814        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
  3815        Function_Return retVal
  3816    End_Function
  3817
  3818    
  3819    Function ComIsInitialized Returns Boolean
  3820        Handle hDispatchDriver
  3821        Boolean retVal
  3822        Get phDispatchDriver to hDispatchDriver
  3823        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
  3824        Function_Return retVal
  3825    End_Function
  3826
  3827    
  3828    Function ComMinimumCapacity Returns Integer
  3829        Handle hDispatchDriver
  3830        Integer retVal
  3831        Get phDispatchDriver to hDispatchDriver
  3832        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_I4 to retVal
  3833        Function_Return retVal
  3834    End_Function
  3835
  3836    
  3837    Procedure Set ComMinimumCapacity Integer value
  3838        Handle hDispatchDriver
  3839        Get phDispatchDriver to hDispatchDriver
  3840        Send PrepareParams to hDispatchDriver 1
  3841        Set ComProperty of hDispatchDriver 14 OLE_VT_I4 to value
  3842    End_Procedure
  3843
  3844    
  3845    Function ComNamespace Returns String
  3846        Handle hDispatchDriver
  3847        String retVal
  3848        Get phDispatchDriver to hDispatchDriver
  3849        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
  3850        Function_Return retVal
  3851    End_Function
  3852
  3853    
  3854    Procedure Set ComNamespace String value
  3855        Handle hDispatchDriver
  3856        Get phDispatchDriver to hDispatchDriver
  3857        Send PrepareParams to hDispatchDriver 1
  3858        Set ComProperty of hDispatchDriver 15 OLE_VT_BSTR to value
  3859    End_Procedure
  3860
  3861    
  3862    Function ComParentRelations Returns Variant
  3863        Handle hDispatchDriver
  3864        Variant retVal
  3865        Get phDispatchDriver to hDispatchDriver
  3866        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_DISPATCH to retVal
  3867        Function_Return retVal
  3868    End_Function
  3869
  3870    
  3871    Function ComPrefix Returns String
  3872        Handle hDispatchDriver
  3873        String retVal
  3874        Get phDispatchDriver to hDispatchDriver
  3875        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_BSTR to retVal
  3876        Function_Return retVal
  3877    End_Function
  3878
  3879    
  3880    Procedure Set ComPrefix String value
  3881        Handle hDispatchDriver
  3882        Get phDispatchDriver to hDispatchDriver
  3883        Send PrepareParams to hDispatchDriver 1
  3884        Set ComProperty of hDispatchDriver 17 OLE_VT_BSTR to value
  3885    End_Procedure
  3886
  3887    
  3888    Function ComRemotingFormat Returns OLEF2CSerializationFormat
  3889        Handle hDispatchDriver
  3890        OLEF2CSerializationFormat retVal
  3891        Get phDispatchDriver to hDispatchDriver
  3892        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_I4 to retVal
  3893        Function_Return retVal
  3894    End_Function
  3895
  3896    
  3897    Procedure Set ComRemotingFormat OLEF2CSerializationFormat value
  3898        Handle hDispatchDriver
  3899        Get phDispatchDriver to hDispatchDriver
  3900        Send PrepareParams to hDispatchDriver 1
  3901        Set ComProperty of hDispatchDriver 19 OLE_VT_I4 to value
  3902    End_Procedure
  3903
  3904    
  3905    Function ComRows Returns Variant
  3906        Handle hDispatchDriver
  3907        Variant retVal
  3908        Get phDispatchDriver to hDispatchDriver
  3909        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_DISPATCH to retVal
  3910        Function_Return retVal
  3911    End_Function
  3912
  3913    
  3914    Function ComTableName Returns String
  3915        Handle hDispatchDriver
  3916        String retVal
  3917        Get phDispatchDriver to hDispatchDriver
  3918        Get InvokeComMethod of hDispatchDriver 22 OLE_VT_BSTR to retVal
  3919        Function_Return retVal
  3920    End_Function
  3921
  3922    
  3923    Procedure Set ComTableName String value
  3924        Handle hDispatchDriver
  3925        Get phDispatchDriver to hDispatchDriver
  3926        Send PrepareParams to hDispatchDriver 1
  3927        Set ComProperty of hDispatchDriver 22 OLE_VT_BSTR to value
  3928    End_Procedure
  3929
  3930    Procedure ComAcceptChanges
  3931        Handle hDispatchDriver
  3932        Get phDispatchDriver to hDispatchDriver
  3933        Send InvokeComMethod to hDispatchDriver 23 OLE_VT_VOID
  3934    End_Procedure
  3935
  3936    Procedure ComBeginInit
  3937        Handle hDispatchDriver
  3938        Get phDispatchDriver to hDispatchDriver
  3939        Send InvokeComMethod to hDispatchDriver 24 OLE_VT_VOID
  3940    End_Procedure
  3941
  3942    Procedure ComBeginLoadData
  3943        Handle hDispatchDriver
  3944        Get phDispatchDriver to hDispatchDriver
  3945        Send InvokeComMethod to hDispatchDriver 25 OLE_VT_VOID
  3946    End_Procedure
  3947
  3948    Procedure ComClear
  3949        Handle hDispatchDriver
  3950        Get phDispatchDriver to hDispatchDriver
  3951        Send InvokeComMethod to hDispatchDriver 26 OLE_VT_VOID
  3952    End_Procedure
  3953
  3954    Function ComClone Returns Variant
  3955        Handle hDispatchDriver
  3956        Variant retVal
  3957        Get phDispatchDriver to hDispatchDriver
  3958        Get InvokeComMethod of hDispatchDriver 27 OLE_VT_DISPATCH to retVal
  3959        Function_Return retVal
  3960    End_Function
  3961
  3962    Function ComCompute String llExpression String llFilter Returns Variant
  3963        Handle hDispatchDriver
  3964        Variant retVal
  3965        Get phDispatchDriver to hDispatchDriver
  3966        Send PrepareParams to hDispatchDriver 2
  3967        Send DefineParam to hDispatchDriver OLE_VT_BSTR llExpression
  3968        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFilter
  3969        Get InvokeComMethod of hDispatchDriver 28 OLE_VT_VARIANT to retVal
  3970        Function_Return retVal
  3971    End_Function
  3972
  3973    Function ComCopy Returns Variant
  3974        Handle hDispatchDriver
  3975        Variant retVal
  3976        Get phDispatchDriver to hDispatchDriver
  3977        Get InvokeComMethod of hDispatchDriver 29 OLE_VT_DISPATCH to retVal
  3978        Function_Return retVal
  3979    End_Function
  3980
  3981    Function ComCreateDataReader Returns Variant
  3982        Handle hDispatchDriver
  3983        Variant retVal
  3984        Get phDispatchDriver to hDispatchDriver
  3985        Get InvokeComMethod of hDispatchDriver 30 OLE_VT_DISPATCH to retVal
  3986        Function_Return retVal
  3987    End_Function
  3988
  3989    Procedure ComDispose
  3990        Handle hDispatchDriver
  3991        Get phDispatchDriver to hDispatchDriver
  3992        Send InvokeComMethod to hDispatchDriver 31 OLE_VT_VOID
  3993    End_Procedure
  3994
  3995    Procedure ComEndInit
  3996        Handle hDispatchDriver
  3997        Get phDispatchDriver to hDispatchDriver
  3998        Send InvokeComMethod to hDispatchDriver 32 OLE_VT_VOID
  3999    End_Procedure
  4000
  4001    Procedure ComEndLoadData
  4002        Handle hDispatchDriver
  4003        Get phDispatchDriver to hDispatchDriver
  4004        Send InvokeComMethod to hDispatchDriver 33 OLE_VT_VOID
  4005    End_Procedure
  4006
  4007    Function ComEquals Variant llobj Returns Boolean
  4008        Handle hDispatchDriver
  4009        Boolean retVal
  4010        Get phDispatchDriver to hDispatchDriver
  4011        Send PrepareParams to hDispatchDriver 1
  4012        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  4013        Get InvokeComMethod of hDispatchDriver 34 OLE_VT_BOOL to retVal
  4014        Function_Return retVal
  4015    End_Function
  4016
  4017    Function ComGetChanges Returns Variant
  4018        Handle hDispatchDriver
  4019        Variant retVal
  4020        Get phDispatchDriver to hDispatchDriver
  4021        Get InvokeComMethod of hDispatchDriver 35 OLE_VT_DISPATCH to retVal
  4022        Function_Return retVal
  4023    End_Function
  4024
  4025    Function ComGetChanges_2 OLEF2CDataRowState llrowStates Returns Variant
  4026        Handle hDispatchDriver
  4027        Variant retVal
  4028        Get phDispatchDriver to hDispatchDriver
  4029        Send PrepareParams to hDispatchDriver 1
  4030        Send DefineParam to hDispatchDriver OLE_VT_I4 llrowStates
  4031        Get InvokeComMethod of hDispatchDriver 36 OLE_VT_DISPATCH to retVal
  4032        Function_Return retVal
  4033    End_Function
  4034
  4035    Function ComGetHashCode Returns Integer
  4036        Handle hDispatchDriver
  4037        Integer retVal
  4038        Get phDispatchDriver to hDispatchDriver
  4039        Get InvokeComMethod of hDispatchDriver 38 OLE_VT_I4 to retVal
  4040        Function_Return retVal
  4041    End_Function
  4042
  4043    Procedure ComImportRow Variant llRow
  4044        Handle hDispatchDriver
  4045        Get phDispatchDriver to hDispatchDriver
  4046        Send PrepareParams to hDispatchDriver 1
  4047        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llRow
  4048        Send InvokeComMethod to hDispatchDriver 42 OLE_VT_VOID
  4049    End_Procedure
  4050
  4051    Procedure ComLoad Variant llreader
  4052        Handle hDispatchDriver
  4053        Get phDispatchDriver to hDispatchDriver
  4054        Send PrepareParams to hDispatchDriver 1
  4055        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llreader
  4056        Send InvokeComMethod to hDispatchDriver 43 OLE_VT_VOID
  4057    End_Procedure
  4058
  4059    Procedure ComLoad_2 Variant llreader OLEF2CLoadOption llloadOption
  4060        Handle hDispatchDriver
  4061        Get phDispatchDriver to hDispatchDriver
  4062        Send PrepareParams to hDispatchDriver 2
  4063        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llreader
  4064        Send DefineParam to hDispatchDriver OLE_VT_I4 llloadOption
  4065        Send InvokeComMethod to hDispatchDriver 44 OLE_VT_VOID
  4066    End_Procedure
  4067
  4068    Procedure ComMerge Variant llTable
  4069        Handle hDispatchDriver
  4070        Get phDispatchDriver to hDispatchDriver
  4071        Send PrepareParams to hDispatchDriver 1
  4072        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  4073        Send InvokeComMethod to hDispatchDriver 48 OLE_VT_VOID
  4074    End_Procedure
  4075
  4076    Procedure ComMerge_2 Variant llTable Boolean llpreserveChanges
  4077        Handle hDispatchDriver
  4078        Get phDispatchDriver to hDispatchDriver
  4079        Send PrepareParams to hDispatchDriver 2
  4080        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  4081        Send DefineParam to hDispatchDriver OLE_VT_BOOL llpreserveChanges
  4082        Send InvokeComMethod to hDispatchDriver 49 OLE_VT_VOID
  4083    End_Procedure
  4084
  4085    Procedure ComMerge_3 Variant llTable Boolean llpreserveChanges OLEF2CMissingSchemaAction llMissingSchemaAction
  4086        Handle hDispatchDriver
  4087        Get phDispatchDriver to hDispatchDriver
  4088        Send PrepareParams to hDispatchDriver 3
  4089        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llTable
  4090        Send DefineParam to hDispatchDriver OLE_VT_BOOL llpreserveChanges
  4091        Send DefineParam to hDispatchDriver OLE_VT_I4 llMissingSchemaAction
  4092        Send InvokeComMethod to hDispatchDriver 50 OLE_VT_VOID
  4093    End_Procedure
  4094
  4095    Function ComNewRow Returns Variant
  4096        Handle hDispatchDriver
  4097        Variant retVal
  4098        Get phDispatchDriver to hDispatchDriver
  4099        Get InvokeComMethod of hDispatchDriver 51 OLE_VT_DISPATCH to retVal
  4100        Function_Return retVal
  4101    End_Function
  4102
  4103    Function ComReadXml_2 String llFileName Returns OLEF2CXmlReadMode
  4104        Handle hDispatchDriver
  4105        OLEF2CXmlReadMode retVal
  4106        Get phDispatchDriver to hDispatchDriver
  4107        Send PrepareParams to hDispatchDriver 1
  4108        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4109        Get InvokeComMethod of hDispatchDriver 53 OLE_VT_I4 to retVal
  4110        Function_Return retVal
  4111    End_Function
  4112
  4113    Procedure ComReadXmlSchema_2 String llFileName
  4114        Handle hDispatchDriver
  4115        Get phDispatchDriver to hDispatchDriver
  4116        Send PrepareParams to hDispatchDriver 1
  4117        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4118        Send InvokeComMethod to hDispatchDriver 57 OLE_VT_VOID
  4119    End_Procedure
  4120
  4121    Procedure ComRejectChanges
  4122        Handle hDispatchDriver
  4123        Get phDispatchDriver to hDispatchDriver
  4124        Send InvokeComMethod to hDispatchDriver 60 OLE_VT_VOID
  4125    End_Procedure
  4126
  4127    Procedure ComReset
  4128        Handle hDispatchDriver
  4129        Get phDispatchDriver to hDispatchDriver
  4130        Send InvokeComMethod to hDispatchDriver 61 OLE_VT_VOID
  4131    End_Procedure
  4132
  4133    
  4134    Function ComToString Returns String
  4135        Handle hDispatchDriver
  4136        String retVal
  4137        Get phDispatchDriver to hDispatchDriver
  4138        Get InvokeComMethod of hDispatchDriver 66 OLE_VT_BSTR to retVal
  4139        Function_Return retVal
  4140    End_Function
  4141
  4142    Procedure ComWriteXml_5 String llFileName
  4143        Handle hDispatchDriver
  4144        Get phDispatchDriver to hDispatchDriver
  4145        Send PrepareParams to hDispatchDriver 1
  4146        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4147        Send InvokeComMethod to hDispatchDriver 71 OLE_VT_VOID
  4148    End_Procedure
  4149
  4150    Procedure ComWriteXml_6 String llFileName Boolean llwriteHierarchy
  4151        Handle hDispatchDriver
  4152        Get phDispatchDriver to hDispatchDriver
  4153        Send PrepareParams to hDispatchDriver 2
  4154        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4155        Send DefineParam to hDispatchDriver OLE_VT_BOOL llwriteHierarchy
  4156        Send InvokeComMethod to hDispatchDriver 72 OLE_VT_VOID
  4157    End_Procedure
  4158
  4159    Procedure ComWriteXml_7 String llFileName OLEF2CXmlWriteMode llmode
  4160        Handle hDispatchDriver
  4161        Get phDispatchDriver to hDispatchDriver
  4162        Send PrepareParams to hDispatchDriver 2
  4163        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4164        Send DefineParam to hDispatchDriver OLE_VT_I4 llmode
  4165        Send InvokeComMethod to hDispatchDriver 73 OLE_VT_VOID
  4166    End_Procedure
  4167
  4168    Procedure ComWriteXml_8 String llFileName OLEF2CXmlWriteMode llmode Boolean llwriteHierarchy
  4169        Handle hDispatchDriver
  4170        Get phDispatchDriver to hDispatchDriver
  4171        Send PrepareParams to hDispatchDriver 3
  4172        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4173        Send DefineParam to hDispatchDriver OLE_VT_I4 llmode
  4174        Send DefineParam to hDispatchDriver OLE_VT_BOOL llwriteHierarchy
  4175        Send InvokeComMethod to hDispatchDriver 74 OLE_VT_VOID
  4176    End_Procedure
  4177
  4178    Procedure ComWriteXmlSchema_3 String llFileName
  4179        Handle hDispatchDriver
  4180        Get phDispatchDriver to hDispatchDriver
  4181        Send PrepareParams to hDispatchDriver 1
  4182        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4183        Send InvokeComMethod to hDispatchDriver 85 OLE_VT_VOID
  4184    End_Procedure
  4185
  4186    Procedure ComWriteXmlSchema_4 String llFileName Boolean llwriteHierarchy
  4187        Handle hDispatchDriver
  4188        Get phDispatchDriver to hDispatchDriver
  4189        Send PrepareParams to hDispatchDriver 2
  4190        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
  4191        Send DefineParam to hDispatchDriver OLE_VT_BOOL llwriteHierarchy
  4192        Send InvokeComMethod to hDispatchDriver 86 OLE_VT_VOID
  4193    End_Procedure
  4194End_Class
  4195
  4196// CLSID: {31B58B45-BE3B-4094-8FF2-9DF127DC7128}
  4197Class cComIF2CDataTableEvents is a Mixin
  4198
  4199    
  4200    Procedure OnComColumnChanged Variant llcolumn Variant llProposedValue Variant llRow
  4201    End_Procedure
  4202
  4203    
  4204    Procedure OnComColumnChanging Variant llcolumn Variant llProposedValue Variant llRow
  4205    End_Procedure
  4206
  4207    
  4208    Procedure OnComDisposed
  4209    End_Procedure
  4210
  4211    
  4212    Procedure OnComInitialized
  4213    End_Procedure
  4214
  4215    
  4216    Procedure OnComRowChanged OLEF2CDataRowAction llAction Variant llRow
  4217    End_Procedure
  4218
  4219    
  4220    Procedure OnComRowChanging OLEF2CDataRowAction llAction Variant llRow
  4221    End_Procedure
  4222
  4223    
  4224    Procedure OnComRowDeleted OLEF2CDataRowAction llAction Variant llRow
  4225    End_Procedure
  4226
  4227    
  4228    Procedure OnComRowDeleting OLEF2CDataRowAction llAction Variant llRow
  4229    End_Procedure
  4230
  4231    
  4232    Procedure OnComTableCleared Variant llTable String lltableName String lltableNamespace
  4233    End_Procedure
  4234
  4235    
  4236    Procedure OnComTableClearing Variant llTable String lltableName String lltableNamespace
  4237    End_Procedure
  4238
  4239    
  4240    Procedure OnComTableNewRow Variant llRow
  4241    End_Procedure
  4242
  4243    
  4244    Procedure RegisterComEvents
  4245        Send RegisterComEvent 1 msg_OnComColumnChanged
  4246        Send RegisterComEvent 2 msg_OnComColumnChanging
  4247        Send RegisterComEvent 3 msg_OnComDisposed
  4248        Send RegisterComEvent 4 msg_OnComInitialized
  4249        Send RegisterComEvent 5 msg_OnComRowChanged
  4250        Send RegisterComEvent 6 msg_OnComRowChanging
  4251        Send RegisterComEvent 7 msg_OnComRowDeleted
  4252        Send RegisterComEvent 8 msg_OnComRowDeleting
  4253        Send RegisterComEvent 9 msg_OnComTableCleared
  4254        Send RegisterComEvent 10 msg_OnComTableClearing
  4255        Send RegisterComEvent 11 msg_OnComTableNewRow
  4256    End_Procedure
  4257End_Class
  4258
  4259Class cComF2CDataTable is a cComAutomationObject
  4260    Import_Class_Protocol cComIF2CDataTable
  4261    Import_Class_Protocol cComIF2CDataTableEvents
  4262
  4263    Procedure Construct_Object
  4264        Forward Send Construct_Object
  4265        Set psProgID to "{AF58B44E-F727-4110-9BD9-0D28E198E7DD}"
  4266        Set psEventId to "{31B58B45-BE3B-4094-8FF2-9DF127DC7128}"
  4267        Set peAutoCreate to acNoAutoCreate
  4268    End_Procedure
  4269End_Class
  4270
  4271Class cComIF2CDataRowCollection is a Mixin
  4272
  4273    
  4274    Function ComCount Returns Integer
  4275        Handle hDispatchDriver
  4276        Integer retVal
  4277        Get phDispatchDriver to hDispatchDriver
  4278        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  4279        Function_Return retVal
  4280    End_Function
  4281
  4282    
  4283    Function ComIsReadOnly Returns Boolean
  4284        Handle hDispatchDriver
  4285        Boolean retVal
  4286        Get phDispatchDriver to hDispatchDriver
  4287        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
  4288        Function_Return retVal
  4289    End_Function
  4290
  4291    
  4292    Function ComIsSynchronized Returns Boolean
  4293        Handle hDispatchDriver
  4294        Boolean retVal
  4295        Get phDispatchDriver to hDispatchDriver
  4296        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  4297        Function_Return retVal
  4298    End_Function
  4299
  4300    
  4301    Function ComSyncRoot Returns Variant
  4302        Handle hDispatchDriver
  4303        Variant retVal
  4304        Get phDispatchDriver to hDispatchDriver
  4305        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_VARIANT to retVal
  4306        Function_Return retVal
  4307    End_Function
  4308
  4309    Function ComItem Variant llIndex Returns Variant
  4310        Handle hDispatchDriver
  4311        Variant retVal
  4312        Get phDispatchDriver to hDispatchDriver
  4313        Send PrepareParams to hDispatchDriver 1
  4314        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  4315        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  4316        Function_Return retVal
  4317    End_Function
  4318
  4319    Procedure ComAdd Variant llRow
  4320        Handle hDispatchDriver
  4321        Get phDispatchDriver to hDispatchDriver
  4322        Send PrepareParams to hDispatchDriver 1
  4323        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llRow
  4324        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  4325    End_Procedure
  4326
  4327    Procedure ComClear
  4328        Handle hDispatchDriver
  4329        Get phDispatchDriver to hDispatchDriver
  4330        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  4331    End_Procedure
  4332
  4333    Function ComContains Variant llkey Returns Boolean
  4334        Handle hDispatchDriver
  4335        Boolean retVal
  4336        Get phDispatchDriver to hDispatchDriver
  4337        Send PrepareParams to hDispatchDriver 1
  4338        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llkey
  4339        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  4340        Function_Return retVal
  4341    End_Function
  4342
  4343    Function ComEquals Variant llobj Returns Boolean
  4344        Handle hDispatchDriver
  4345        Boolean retVal
  4346        Get phDispatchDriver to hDispatchDriver
  4347        Send PrepareParams to hDispatchDriver 1
  4348        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  4349        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
  4350        Function_Return retVal
  4351    End_Function
  4352
  4353    Function ComFind Variant llkey Returns Variant
  4354        Handle hDispatchDriver
  4355        Variant retVal
  4356        Get phDispatchDriver to hDispatchDriver
  4357        Send PrepareParams to hDispatchDriver 1
  4358        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llkey
  4359        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_DISPATCH to retVal
  4360        Function_Return retVal
  4361    End_Function
  4362
  4363    Function ComGetHashCode Returns Integer
  4364        Handle hDispatchDriver
  4365        Integer retVal
  4366        Get phDispatchDriver to hDispatchDriver
  4367        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_I4 to retVal
  4368        Function_Return retVal
  4369    End_Function
  4370
  4371    Function ComIndexOf Variant llRow Returns Integer
  4372        Handle hDispatchDriver
  4373        Integer retVal
  4374        Get phDispatchDriver to hDispatchDriver
  4375        Send PrepareParams to hDispatchDriver 1
  4376        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llRow
  4377        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_I4 to retVal
  4378        Function_Return retVal
  4379    End_Function
  4380
  4381    Procedure ComInsertAt Variant llRow Integer llpos
  4382        Handle hDispatchDriver
  4383        Get phDispatchDriver to hDispatchDriver
  4384        Send PrepareParams to hDispatchDriver 2
  4385        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llRow
  4386        Send DefineParam to hDispatchDriver OLE_VT_I4 llpos
  4387        Send InvokeComMethod to hDispatchDriver 20 OLE_VT_VOID
  4388    End_Procedure
  4389
  4390    Procedure ComRemove Variant llRow
  4391        Handle hDispatchDriver
  4392        Get phDispatchDriver to hDispatchDriver
  4393        Send PrepareParams to hDispatchDriver 1
  4394        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llRow
  4395        Send InvokeComMethod to hDispatchDriver 21 OLE_VT_VOID
  4396    End_Procedure
  4397
  4398    Procedure ComRemoveAt Integer llIndex
  4399        Handle hDispatchDriver
  4400        Get phDispatchDriver to hDispatchDriver
  4401        Send PrepareParams to hDispatchDriver 1
  4402        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  4403        Send InvokeComMethod to hDispatchDriver 22 OLE_VT_VOID
  4404    End_Procedure
  4405
  4406    
  4407    Function ComToString Returns String
  4408        Handle hDispatchDriver
  4409        String retVal
  4410        Get phDispatchDriver to hDispatchDriver
  4411        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_BSTR to retVal
  4412        Function_Return retVal
  4413    End_Function
  4414End_Class
  4415
  4416Class cComF2CDataRowCollection is a cComAutomationObject
  4417    Import_Class_Protocol cComIF2CDataRowCollection
  4418
  4419    Procedure Construct_Object
  4420        Forward Send Construct_Object
  4421        Set peAutoCreate to acNoAutoCreate
  4422    End_Procedure
  4423End_Class
  4424
  4425Class cComIF2CDataRow is a Mixin
  4426
  4427    
  4428    Function ComHasErrors Returns Boolean
  4429        Handle hDispatchDriver
  4430        Boolean retVal
  4431        Get phDispatchDriver to hDispatchDriver
  4432        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
  4433        Function_Return retVal
  4434    End_Function
  4435
  4436    
  4437    Function ComItemArray Returns Variant[]
  4438        Handle hDispatchDriver
  4439        Variant[] retVal
  4440        Get phDispatchDriver to hDispatchDriver
  4441        Get InvokeComMethod of hDispatchDriver 2 (OLE_VT_ARRAY ior OLE_VT_VARIANT) to retVal
  4442        Function_Return retVal
  4443    End_Function
  4444
  4445    
  4446    Procedure Set ComItemArray Variant[] value
  4447        Handle hDispatchDriver
  4448        Get phDispatchDriver to hDispatchDriver
  4449        Send PrepareParams to hDispatchDriver 1
  4450        Set ComProperty of hDispatchDriver 2 (OLE_VT_ARRAY ior OLE_VT_VARIANT) to value
  4451    End_Procedure
  4452
  4453    
  4454    Function ComRowError Returns String
  4455        Handle hDispatchDriver
  4456        String retVal
  4457        Get phDispatchDriver to hDispatchDriver
  4458        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  4459        Function_Return retVal
  4460    End_Function
  4461
  4462    
  4463    Procedure Set ComRowError String value
  4464        Handle hDispatchDriver
  4465        Get phDispatchDriver to hDispatchDriver
  4466        Send PrepareParams to hDispatchDriver 1
  4467        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
  4468    End_Procedure
  4469
  4470    
  4471    Function ComRowState Returns OLEF2CDataRowState
  4472        Handle hDispatchDriver
  4473        OLEF2CDataRowState retVal
  4474        Get phDispatchDriver to hDispatchDriver
  4475        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
  4476        Function_Return retVal
  4477    End_Function
  4478
  4479    
  4480    Function ComTable Returns Variant
  4481        Handle hDispatchDriver
  4482        Variant retVal
  4483        Get phDispatchDriver to hDispatchDriver
  4484        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  4485        Function_Return retVal
  4486    End_Function
  4487
  4488    Function ComItem Variant llIndex Variant llIndex2 Returns Variant
  4489        Handle hDispatchDriver
  4490        Variant retVal
  4491        Get phDispatchDriver to hDispatchDriver
  4492        Send PrepareParams to hDispatchDriver 2
  4493        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  4494        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex2
  4495        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_VARIANT to retVal
  4496        Function_Return retVal
  4497    End_Function
  4498
  4499    Function ComItem_2 Variant llIndex Returns Variant
  4500        Handle hDispatchDriver
  4501        Variant retVal
  4502        Get phDispatchDriver to hDispatchDriver
  4503        Send PrepareParams to hDispatchDriver 1
  4504        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  4505        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_VARIANT to retVal
  4506        Function_Return retVal
  4507    End_Function
  4508
  4509    Procedure ComAcceptChanges
  4510        Handle hDispatchDriver
  4511        Get phDispatchDriver to hDispatchDriver
  4512        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  4513    End_Procedure
  4514
  4515    Procedure ComBeginEdit
  4516        Handle hDispatchDriver
  4517        Get phDispatchDriver to hDispatchDriver
  4518        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
  4519    End_Procedure
  4520
  4521    Procedure ComCancelEdit
  4522        Handle hDispatchDriver
  4523        Get phDispatchDriver to hDispatchDriver
  4524        Send InvokeComMethod to hDispatchDriver 10 OLE_VT_VOID
  4525    End_Procedure
  4526
  4527    Procedure ComClearErrors
  4528        Handle hDispatchDriver
  4529        Get phDispatchDriver to hDispatchDriver
  4530        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
  4531    End_Procedure
  4532
  4533    Procedure ComDelete
  4534        Handle hDispatchDriver
  4535        Get phDispatchDriver to hDispatchDriver
  4536        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  4537    End_Procedure
  4538
  4539    Procedure ComEndEdit
  4540        Handle hDispatchDriver
  4541        Get phDispatchDriver to hDispatchDriver
  4542        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  4543    End_Procedure
  4544
  4545    Function ComEquals Variant llobj Returns Boolean
  4546        Handle hDispatchDriver
  4547        Boolean retVal
  4548        Get phDispatchDriver to hDispatchDriver
  4549        Send PrepareParams to hDispatchDriver 1
  4550        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  4551        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
  4552        Function_Return retVal
  4553    End_Function
  4554
  4555    Function ComGetColumnError Variant llcolumn Returns String
  4556        Handle hDispatchDriver
  4557        String retVal
  4558        Get phDispatchDriver to hDispatchDriver
  4559        Send PrepareParams to hDispatchDriver 1
  4560        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llcolumn
  4561        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_BSTR to retVal
  4562        Function_Return retVal
  4563    End_Function
  4564
  4565    Function ComGetColumnError_2 Integer llcolumnIndex Returns String
  4566        Handle hDispatchDriver
  4567        String retVal
  4568        Get phDispatchDriver to hDispatchDriver
  4569        Send PrepareParams to hDispatchDriver 1
  4570        Send DefineParam to hDispatchDriver OLE_VT_I4 llcolumnIndex
  4571        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_BSTR to retVal
  4572        Function_Return retVal
  4573    End_Function
  4574
  4575    Function ComGetColumnError_3 String llColumnName Returns String
  4576        Handle hDispatchDriver
  4577        String retVal
  4578        Get phDispatchDriver to hDispatchDriver
  4579        Send PrepareParams to hDispatchDriver 1
  4580        Send DefineParam to hDispatchDriver OLE_VT_BSTR llColumnName
  4581        Get InvokeComMethod of hDispatchDriver 21 OLE_VT_BSTR to retVal
  4582        Function_Return retVal
  4583    End_Function
  4584
  4585    Function ComGetHashCode Returns Integer
  4586        Handle hDispatchDriver
  4587        Integer retVal
  4588        Get phDispatchDriver to hDispatchDriver
  4589        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_I4 to retVal
  4590        Function_Return retVal
  4591    End_Function
  4592
  4593    Function ComGetParentRow Variant llrelation Returns Variant
  4594        Handle hDispatchDriver
  4595        Variant retVal
  4596        Get phDispatchDriver to hDispatchDriver
  4597        Send PrepareParams to hDispatchDriver 1
  4598        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llrelation
  4599        Get InvokeComMethod of hDispatchDriver 24 OLE_VT_DISPATCH to retVal
  4600        Function_Return retVal
  4601    End_Function
  4602
  4603    Function ComGetParentRow_2 Variant llrelation OLEF2CDataRowVersion llversion Returns Variant
  4604        Handle hDispatchDriver
  4605        Variant retVal
  4606        Get phDispatchDriver to hDispatchDriver
  4607        Send PrepareParams to hDispatchDriver 2
  4608        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llrelation
  4609        Send DefineParam to hDispatchDriver OLE_VT_I4 llversion
  4610        Get InvokeComMethod of hDispatchDriver 25 OLE_VT_DISPATCH to retVal
  4611        Function_Return retVal
  4612    End_Function
  4613
  4614    Function ComGetParentRow_3 String llRelationName Returns Variant
  4615        Handle hDispatchDriver
  4616        Variant retVal
  4617        Get phDispatchDriver to hDispatchDriver
  4618        Send PrepareParams to hDispatchDriver 1
  4619        Send DefineParam to hDispatchDriver OLE_VT_BSTR llRelationName
  4620        Get InvokeComMethod of hDispatchDriver 26 OLE_VT_DISPATCH to retVal
  4621        Function_Return retVal
  4622    End_Function
  4623
  4624    Function ComGetParentRow_4 String llRelationName OLEF2CDataRowVersion llversion Returns Variant
  4625        Handle hDispatchDriver
  4626        Variant retVal
  4627        Get phDispatchDriver to hDispatchDriver
  4628        Send PrepareParams to hDispatchDriver 2
  4629        Send DefineParam to hDispatchDriver OLE_VT_BSTR llRelationName
  4630        Send DefineParam to hDispatchDriver OLE_VT_I4 llversion
  4631        Get InvokeComMethod of hDispatchDriver 27 OLE_VT_DISPATCH to retVal
  4632        Function_Return retVal
  4633    End_Function
  4634
  4635    Function ComHasVersion OLEF2CDataRowVersion llversion Returns Boolean
  4636        Handle hDispatchDriver
  4637        Boolean retVal
  4638        Get phDispatchDriver to hDispatchDriver
  4639        Send PrepareParams to hDispatchDriver 1
  4640        Send DefineParam to hDispatchDriver OLE_VT_I4 llversion
  4641        Get InvokeComMethod of hDispatchDriver 33 OLE_VT_BOOL to retVal
  4642        Function_Return retVal
  4643    End_Function
  4644
  4645    Function ComIsNull Variant llcolumn Returns Boolean
  4646        Handle hDispatchDriver
  4647        Boolean retVal
  4648        Get phDispatchDriver to hDispatchDriver
  4649        Send PrepareParams to hDispatchDriver 1
  4650        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llcolumn
  4651        Get InvokeComMethod of hDispatchDriver 34 OLE_VT_BOOL to retVal
  4652        Function_Return retVal
  4653    End_Function
  4654
  4655    Function ComIsNull_2 Variant llcolumn OLEF2CDataRowVersion llversion Returns Boolean
  4656        Handle hDispatchDriver
  4657        Boolean retVal
  4658        Get phDispatchDriver to hDispatchDriver
  4659        Send PrepareParams to hDispatchDriver 2
  4660        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llcolumn
  4661        Send DefineParam to hDispatchDriver OLE_VT_I4 llversion
  4662        Get InvokeComMethod of hDispatchDriver 35 OLE_VT_BOOL to retVal
  4663        Function_Return retVal
  4664    End_Function
  4665
  4666    Function ComIsNull_3 Integer llcolumnIndex Returns Boolean
  4667        Handle hDispatchDriver
  4668        Boolean retVal
  4669        Get phDispatchDriver to hDispatchDriver
  4670        Send PrepareParams to hDispatchDriver 1
  4671        Send DefineParam to hDispatchDriver OLE_VT_I4 llcolumnIndex
  4672        Get InvokeComMethod of hDispatchDriver 36 OLE_VT_BOOL to retVal
  4673        Function_Return retVal
  4674    End_Function
  4675
  4676    Function ComIsNull_4 String llColumnName Returns Boolean
  4677        Handle hDispatchDriver
  4678        Boolean retVal
  4679        Get phDispatchDriver to hDispatchDriver
  4680        Send PrepareParams to hDispatchDriver 1
  4681        Send DefineParam to hDispatchDriver OLE_VT_BSTR llColumnName
  4682        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_BOOL to retVal
  4683        Function_Return retVal
  4684    End_Function
  4685
  4686    Procedure ComRejectChanges
  4687        Handle hDispatchDriver
  4688        Get phDispatchDriver to hDispatchDriver
  4689        Send InvokeComMethod to hDispatchDriver 38 OLE_VT_VOID
  4690    End_Procedure
  4691
  4692    Procedure ComSetAdded
  4693        Handle hDispatchDriver
  4694        Get phDispatchDriver to hDispatchDriver
  4695        Send InvokeComMethod to hDispatchDriver 39 OLE_VT_VOID
  4696    End_Procedure
  4697
  4698    Procedure ComSetColumnError Variant llcolumn String llError
  4699        Handle hDispatchDriver
  4700        Get phDispatchDriver to hDispatchDriver
  4701        Send PrepareParams to hDispatchDriver 2
  4702        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llcolumn
  4703        Send DefineParam to hDispatchDriver OLE_VT_BSTR llError
  4704        Send InvokeComMethod to hDispatchDriver 40 OLE_VT_VOID
  4705    End_Procedure
  4706
  4707    Procedure ComSetColumnError_2 Integer llcolumnIndex String llError
  4708        Handle hDispatchDriver
  4709        Get phDispatchDriver to hDispatchDriver
  4710        Send PrepareParams to hDispatchDriver 2
  4711        Send DefineParam to hDispatchDriver OLE_VT_I4 llcolumnIndex
  4712        Send DefineParam to hDispatchDriver OLE_VT_BSTR llError
  4713        Send InvokeComMethod to hDispatchDriver 41 OLE_VT_VOID
  4714    End_Procedure
  4715
  4716    Procedure ComSetColumnError_3 String llColumnName String llError
  4717        Handle hDispatchDriver
  4718        Get phDispatchDriver to hDispatchDriver
  4719        Send PrepareParams to hDispatchDriver 2
  4720        Send DefineParam to hDispatchDriver OLE_VT_BSTR llColumnName
  4721        Send DefineParam to hDispatchDriver OLE_VT_BSTR llError
  4722        Send InvokeComMethod to hDispatchDriver 42 OLE_VT_VOID
  4723    End_Procedure
  4724
  4725    Procedure ComSetModified
  4726        Handle hDispatchDriver
  4727        Get phDispatchDriver to hDispatchDriver
  4728        Send InvokeComMethod to hDispatchDriver 43 OLE_VT_VOID
  4729    End_Procedure
  4730
  4731    Procedure ComSetParentRow Variant llparentRow
  4732        Handle hDispatchDriver
  4733        Get phDispatchDriver to hDispatchDriver
  4734        Send PrepareParams to hDispatchDriver 1
  4735        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llparentRow
  4736        Send InvokeComMethod to hDispatchDriver 44 OLE_VT_VOID
  4737    End_Procedure
  4738
  4739    Procedure ComSetParentRow_2 Variant llparentRow Variant llrelation
  4740        Handle hDispatchDriver
  4741        Get phDispatchDriver to hDispatchDriver
  4742        Send PrepareParams to hDispatchDriver 2
  4743        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llparentRow
  4744        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llrelation
  4745        Send InvokeComMethod to hDispatchDriver 45 OLE_VT_VOID
  4746    End_Procedure
  4747
  4748    
  4749    Function ComToString Returns String
  4750        Handle hDispatchDriver
  4751        String retVal
  4752        Get phDispatchDriver to hDispatchDriver
  4753        Get InvokeComMethod of hDispatchDriver 46 OLE_VT_BSTR to retVal
  4754        Function_Return retVal
  4755    End_Function
  4756End_Class
  4757
  4758Class cComF2CDataRow is a cComAutomationObject
  4759    Import_Class_Protocol cComIF2CDataRow
  4760
  4761    Procedure Construct_Object
  4762        Forward Send Construct_Object
  4763        Set peAutoCreate to acNoAutoCreate
  4764    End_Procedure
  4765End_Class
  4766
  4767
  4768//*********************************************************************************
  4769// Crystal Classes
  4770//*********************************************************************************
  4771
  4772Class cComIF2CPropertyBags is a Mixin
  4773
  4774    
  4775    Function ComClassName Returns String
  4776        Handle hDispatchDriver
  4777        String retVal
  4778        Get phDispatchDriver to hDispatchDriver
  4779        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  4780        Function_Return retVal
  4781    End_Function
  4782
  4783    
  4784    Function ComCount Returns Integer
  4785        Handle hDispatchDriver
  4786        Integer retVal
  4787        Get phDispatchDriver to hDispatchDriver
  4788        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  4789        Function_Return retVal
  4790    End_Function
  4791
  4792    Function ComItem Variant llIndex Returns Variant
  4793        Handle hDispatchDriver
  4794        Variant retVal
  4795        Get phDispatchDriver to hDispatchDriver
  4796        Send PrepareParams to hDispatchDriver 1
  4797        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  4798        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  4799        Function_Return retVal
  4800    End_Function
  4801
  4802    Procedure ComAdd Variant llPropertyBag
  4803        Handle hDispatchDriver
  4804        Get phDispatchDriver to hDispatchDriver
  4805        Send PrepareParams to hDispatchDriver 1
  4806        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBag
  4807        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
  4808    End_Procedure
  4809
  4810    Function ComClone Boolean llDeepClone Returns Variant
  4811        Handle hDispatchDriver
  4812        Variant retVal
  4813        Get phDispatchDriver to hDispatchDriver
  4814        Send PrepareParams to hDispatchDriver 1
  4815        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  4816        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  4817        Function_Return retVal
  4818    End_Function
  4819
  4820    Procedure ComCopyTo Variant llPropertyBags Boolean llDeepCopy
  4821        Handle hDispatchDriver
  4822        Get phDispatchDriver to hDispatchDriver
  4823        Send PrepareParams to hDispatchDriver 2
  4824        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBags
  4825        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  4826        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  4827    End_Procedure
  4828
  4829    Procedure ComEnsureCapacity Integer llMaxCapacity
  4830        Handle hDispatchDriver
  4831        Get phDispatchDriver to hDispatchDriver
  4832        Send PrepareParams to hDispatchDriver 1
  4833        Send DefineParam to hDispatchDriver OLE_VT_I4 llMaxCapacity
  4834        Send InvokeComMethod to hDispatchDriver 7 OLE_VT_VOID
  4835    End_Procedure
  4836
  4837    Function ComEquals Variant llPropertyBags Returns Boolean
  4838        Handle hDispatchDriver
  4839        Boolean retVal
  4840        Get phDispatchDriver to hDispatchDriver
  4841        Send PrepareParams to hDispatchDriver 1
  4842        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBags
  4843        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
  4844        Function_Return retVal
  4845    End_Function
  4846
  4847    Function ComFindIndexOf Variant llPropertyBag Returns Integer
  4848        Handle hDispatchDriver
  4849        Integer retVal
  4850        Get phDispatchDriver to hDispatchDriver
  4851        Send PrepareParams to hDispatchDriver 1
  4852        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBag
  4853        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
  4854        Function_Return retVal
  4855    End_Function
  4856
  4857    Procedure ComInsert Integer llIndex Variant llPropertyBag
  4858        Handle hDispatchDriver
  4859        Get phDispatchDriver to hDispatchDriver
  4860        Send PrepareParams to hDispatchDriver 2
  4861        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  4862        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBag
  4863        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
  4864    End_Procedure
  4865
  4866    Procedure ComRemove Integer llIndex
  4867        Handle hDispatchDriver
  4868        Get phDispatchDriver to hDispatchDriver
  4869        Send PrepareParams to hDispatchDriver 1
  4870        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  4871        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  4872    End_Procedure
  4873
  4874    Procedure ComRemoveAll
  4875        Handle hDispatchDriver
  4876        Get phDispatchDriver to hDispatchDriver
  4877        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  4878    End_Procedure
  4879End_Class
  4880
  4881Class cComF2CPropertyBags is a cComAutomationObject
  4882    Import_Class_Protocol cComIF2CPropertyBags
  4883
  4884    Procedure Construct_Object
  4885        Forward Send Construct_Object
  4886        Set peAutoCreate to acNoAutoCreate
  4887    End_Procedure
  4888End_Class
  4889
  4890Class cComIF2CPropertyBag is a Mixin
  4891
  4892    
  4893    Function ComClassName Returns String
  4894        Handle hDispatchDriver
  4895        String retVal
  4896        Get phDispatchDriver to hDispatchDriver
  4897        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  4898        Function_Return retVal
  4899    End_Function
  4900
  4901    
  4902    Function ComCount Returns Integer
  4903        Handle hDispatchDriver
  4904        Integer retVal
  4905        Get phDispatchDriver to hDispatchDriver
  4906        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  4907        Function_Return retVal
  4908    End_Function
  4909
  4910    
  4911    Function ComPropertyIDs Returns Variant
  4912        Handle hDispatchDriver
  4913        Variant retVal
  4914        Get phDispatchDriver to hDispatchDriver
  4915        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  4916        Function_Return retVal
  4917    End_Function
  4918
  4919    Function ComItem Variant llIndex Returns Variant
  4920        Handle hDispatchDriver
  4921        Variant retVal
  4922        Get phDispatchDriver to hDispatchDriver
  4923        Send PrepareParams to hDispatchDriver 1
  4924        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  4925        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_VARIANT to retVal
  4926        Function_Return retVal
  4927    End_Function
  4928
  4929    Procedure ComAdd String llPropertyID Variant llvVal
  4930        Handle hDispatchDriver
  4931        Get phDispatchDriver to hDispatchDriver
  4932        Send PrepareParams to hDispatchDriver 2
  4933        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropertyID
  4934        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llvVal
  4935        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
  4936    End_Procedure
  4937
  4938    Function ComClone Boolean llDeepClone Returns Variant
  4939        Handle hDispatchDriver
  4940        Variant retVal
  4941        Get phDispatchDriver to hDispatchDriver
  4942        Send PrepareParams to hDispatchDriver 1
  4943        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  4944        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  4945        Function_Return retVal
  4946    End_Function
  4947
  4948    Function ComContains String llPropertyID Returns Boolean
  4949        Handle hDispatchDriver
  4950        Boolean retVal
  4951        Get phDispatchDriver to hDispatchDriver
  4952        Send PrepareParams to hDispatchDriver 1
  4953        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropertyID
  4954        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
  4955        Function_Return retVal
  4956    End_Function
  4957
  4958    Procedure ComCopyTo Variant llPropertyBag Boolean llDeepCopy
  4959        Handle hDispatchDriver
  4960        Get phDispatchDriver to hDispatchDriver
  4961        Send PrepareParams to hDispatchDriver 2
  4962        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBag
  4963        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  4964        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  4965    End_Procedure
  4966
  4967    Procedure ComEnsureCapacity Integer llMaxCapacity
  4968        Handle hDispatchDriver
  4969        Get phDispatchDriver to hDispatchDriver
  4970        Send PrepareParams to hDispatchDriver 1
  4971        Send DefineParam to hDispatchDriver OLE_VT_I4 llMaxCapacity
  4972        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
  4973    End_Procedure
  4974
  4975    Function ComEquals Variant llPropertyBag Returns Boolean
  4976        Handle hDispatchDriver
  4977        Boolean retVal
  4978        Get phDispatchDriver to hDispatchDriver
  4979        Send PrepareParams to hDispatchDriver 1
  4980        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBag
  4981        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
  4982        Function_Return retVal
  4983    End_Function
  4984
  4985    Procedure ComFromString String llStringValue
  4986        Handle hDispatchDriver
  4987        Get phDispatchDriver to hDispatchDriver
  4988        Send PrepareParams to hDispatchDriver 1
  4989        Send DefineParam to hDispatchDriver OLE_VT_BSTR llStringValue
  4990        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
  4991    End_Procedure
  4992
  4993    Procedure ComRemove String llPropertyID
  4994        Handle hDispatchDriver
  4995        Get phDispatchDriver to hDispatchDriver
  4996        Send PrepareParams to hDispatchDriver 1
  4997        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropertyID
  4998        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  4999    End_Procedure
  5000
  5001    Procedure ComRemoveAll
  5002        Handle hDispatchDriver
  5003        Get phDispatchDriver to hDispatchDriver
  5004        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  5005    End_Procedure
  5006
  5007    
  5008    Function ComToString Returns String
  5009        Handle hDispatchDriver
  5010        String retVal
  5011        Get phDispatchDriver to hDispatchDriver
  5012        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BSTR to retVal
  5013        Function_Return retVal
  5014    End_Function
  5015End_Class
  5016
  5017Class cComF2CPropertyBag is a cComAutomationObject
  5018    Import_Class_Protocol cComIF2CPropertyBag
  5019
  5020    Procedure Construct_Object
  5021        Forward Send Construct_Object
  5022        Set peAutoCreate to acNoAutoCreate
  5023    End_Procedure
  5024End_Class
  5025
  5026Class cComIF2CPropertyBagClass is a Mixin
  5027
  5028    
  5029    Function ComClassName Returns String
  5030        Handle hDispatchDriver
  5031        String retVal
  5032        Get phDispatchDriver to hDispatchDriver
  5033        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  5034        Function_Return retVal
  5035    End_Function
  5036
  5037    
  5038    Function ComCount Returns Integer
  5039        Handle hDispatchDriver
  5040        Integer retVal
  5041        Get phDispatchDriver to hDispatchDriver
  5042        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  5043        Function_Return retVal
  5044    End_Function
  5045
  5046    
  5047    Function ComPropertyIDs Returns Variant
  5048        Handle hDispatchDriver
  5049        Variant retVal
  5050        Get phDispatchDriver to hDispatchDriver
  5051        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  5052        Function_Return retVal
  5053    End_Function
  5054
  5055    Function ComItem Variant llIndex Returns Variant
  5056        Handle hDispatchDriver
  5057        Variant retVal
  5058        Get phDispatchDriver to hDispatchDriver
  5059        Send PrepareParams to hDispatchDriver 1
  5060        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  5061        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_VARIANT to retVal
  5062        Function_Return retVal
  5063    End_Function
  5064
  5065    Procedure ComAdd String llPropertyID Variant llvVal
  5066        Handle hDispatchDriver
  5067        Get phDispatchDriver to hDispatchDriver
  5068        Send PrepareParams to hDispatchDriver 2
  5069        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropertyID
  5070        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llvVal
  5071        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
  5072    End_Procedure
  5073
  5074    Function ComClone Boolean llDeepClone Returns Variant
  5075        Handle hDispatchDriver
  5076        Variant retVal
  5077        Get phDispatchDriver to hDispatchDriver
  5078        Send PrepareParams to hDispatchDriver 1
  5079        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  5080        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  5081        Function_Return retVal
  5082    End_Function
  5083
  5084    Function ComContains String llPropertyID Returns Boolean
  5085        Handle hDispatchDriver
  5086        Boolean retVal
  5087        Get phDispatchDriver to hDispatchDriver
  5088        Send PrepareParams to hDispatchDriver 1
  5089        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropertyID
  5090        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
  5091        Function_Return retVal
  5092    End_Function
  5093
  5094    Procedure ComCopyTo Variant llPropertyBag Boolean llDeepCopy
  5095        Handle hDispatchDriver
  5096        Get phDispatchDriver to hDispatchDriver
  5097        Send PrepareParams to hDispatchDriver 2
  5098        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBag
  5099        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  5100        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  5101    End_Procedure
  5102
  5103    Procedure ComEnsureCapacity Integer llMaxCapacity
  5104        Handle hDispatchDriver
  5105        Get phDispatchDriver to hDispatchDriver
  5106        Send PrepareParams to hDispatchDriver 1
  5107        Send DefineParam to hDispatchDriver OLE_VT_I4 llMaxCapacity
  5108        Send InvokeComMethod to hDispatchDriver 10 OLE_VT_VOID
  5109    End_Procedure
  5110
  5111    Function ComEquals Variant llobj Returns Boolean
  5112        Handle hDispatchDriver
  5113        Boolean retVal
  5114        Get phDispatchDriver to hDispatchDriver
  5115        Send PrepareParams to hDispatchDriver 1
  5116        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  5117        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
  5118        Function_Return retVal
  5119    End_Function
  5120
  5121    Function ComEquals_2 Variant llPropertyBag Returns Boolean
  5122        Handle hDispatchDriver
  5123        Boolean retVal
  5124        Get phDispatchDriver to hDispatchDriver
  5125        Send PrepareParams to hDispatchDriver 1
  5126        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPropertyBag
  5127        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
  5128        Function_Return retVal
  5129    End_Function
  5130
  5131    Procedure ComFromString String llStringValue
  5132        Handle hDispatchDriver
  5133        Get phDispatchDriver to hDispatchDriver
  5134        Send PrepareParams to hDispatchDriver 1
  5135        Send DefineParam to hDispatchDriver OLE_VT_BSTR llStringValue
  5136        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  5137    End_Procedure
  5138
  5139    Function ComGetHashCode Returns Integer
  5140        Handle hDispatchDriver
  5141        Integer retVal
  5142        Get phDispatchDriver to hDispatchDriver
  5143        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_I4 to retVal
  5144        Function_Return retVal
  5145    End_Function
  5146
  5147    Procedure ComRemove String llPropertyID
  5148        Handle hDispatchDriver
  5149        Get phDispatchDriver to hDispatchDriver
  5150        Send PrepareParams to hDispatchDriver 1
  5151        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropertyID
  5152        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
  5153    End_Procedure
  5154
  5155    Procedure ComRemoveAll
  5156        Handle hDispatchDriver
  5157        Get phDispatchDriver to hDispatchDriver
  5158        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
  5159    End_Procedure
  5160
  5161    
  5162    Function ComToString Returns String
  5163        Handle hDispatchDriver
  5164        String retVal
  5165        Get phDispatchDriver to hDispatchDriver
  5166        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BSTR to retVal
  5167        Function_Return retVal
  5168    End_Function
  5169
  5170    Function ComToString_2 Returns String
  5171        Handle hDispatchDriver
  5172        String retVal
  5173        Get phDispatchDriver to hDispatchDriver
  5174        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_BSTR to retVal
  5175        Function_Return retVal
  5176    End_Function
  5177End_Class
  5178
  5179// CoClass
  5180// ProgID: Flex2Crystal.F2CPropertyBagClass
  5181// CLSID: {D3F63233-15B6-40B9-A2FF-B4D66DD32641}
  5182Class cComF2CPropertyBagClass is a cComAutomationObject
  5183    Import_Class_Protocol cComIF2CPropertyBagClass
  5184
  5185    Procedure Construct_Object
  5186        Forward Send Construct_Object
  5187        Set psProgID to "{D3F63233-15B6-40B9-A2FF-B4D66DD32641}"
  5188        Set peAutoCreate to acNoAutoCreate
  5189    End_Procedure
  5190End_Class
  5191
  5192Class cComIF2CStrings is a Mixin
  5193
  5194    
  5195    Function ComClassName Returns String
  5196        Handle hDispatchDriver
  5197        String retVal
  5198        Get phDispatchDriver to hDispatchDriver
  5199        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  5200        Function_Return retVal
  5201    End_Function
  5202
  5203    
  5204    Function ComCount Returns Integer
  5205        Handle hDispatchDriver
  5206        Integer retVal
  5207        Get phDispatchDriver to hDispatchDriver
  5208        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  5209        Function_Return retVal
  5210    End_Function
  5211
  5212    Function ComItem Variant llIndex Returns String
  5213        Handle hDispatchDriver
  5214        String retVal
  5215        Get phDispatchDriver to hDispatchDriver
  5216        Send PrepareParams to hDispatchDriver 1
  5217        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  5218        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  5219        Function_Return retVal
  5220    End_Function
  5221
  5222    Procedure ComAdd String llNewString
  5223        Handle hDispatchDriver
  5224        Get phDispatchDriver to hDispatchDriver
  5225        Send PrepareParams to hDispatchDriver 1
  5226        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewString
  5227        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
  5228    End_Procedure
  5229
  5230    Function ComClone Boolean llDeepClone Returns Variant
  5231        Handle hDispatchDriver
  5232        Variant retVal
  5233        Get phDispatchDriver to hDispatchDriver
  5234        Send PrepareParams to hDispatchDriver 1
  5235        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  5236        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  5237        Function_Return retVal
  5238    End_Function
  5239
  5240    Procedure ComCopyTo Variant llStrings Boolean llDeepCopy
  5241        Handle hDispatchDriver
  5242        Get phDispatchDriver to hDispatchDriver
  5243        Send PrepareParams to hDispatchDriver 2
  5244        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llStrings
  5245        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  5246        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  5247    End_Procedure
  5248
  5249    Procedure ComEnsureCapacity Integer llMaxCapacity
  5250        Handle hDispatchDriver
  5251        Get phDispatchDriver to hDispatchDriver
  5252        Send PrepareParams to hDispatchDriver 1
  5253        Send DefineParam to hDispatchDriver OLE_VT_I4 llMaxCapacity
  5254        Send InvokeComMethod to hDispatchDriver 7 OLE_VT_VOID
  5255    End_Procedure
  5256
  5257    Function ComEquals Variant llStrings Returns Boolean
  5258        Handle hDispatchDriver
  5259        Boolean retVal
  5260        Get phDispatchDriver to hDispatchDriver
  5261        Send PrepareParams to hDispatchDriver 1
  5262        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llStrings
  5263        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
  5264        Function_Return retVal
  5265    End_Function
  5266
  5267    Function ComFindIndexOf String llString Returns Integer
  5268        Handle hDispatchDriver
  5269        Integer retVal
  5270        Get phDispatchDriver to hDispatchDriver
  5271        Send PrepareParams to hDispatchDriver 1
  5272        Send DefineParam to hDispatchDriver OLE_VT_BSTR llString
  5273        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
  5274        Function_Return retVal
  5275    End_Function
  5276
  5277    Procedure ComRemove Integer llIndex
  5278        Handle hDispatchDriver
  5279        Get phDispatchDriver to hDispatchDriver
  5280        Send PrepareParams to hDispatchDriver 1
  5281        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  5282        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
  5283    End_Procedure
  5284
  5285    Procedure ComRemoveAll
  5286        Handle hDispatchDriver
  5287        Get phDispatchDriver to hDispatchDriver
  5288        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  5289    End_Procedure
  5290End_Class
  5291
  5292Class cComF2CStrings is a cComAutomationObject
  5293    Import_Class_Protocol cComIF2CStrings
  5294
  5295    Procedure Construct_Object
  5296        Forward Send Construct_Object
  5297        Set peAutoCreate to acNoAutoCreate
  5298    End_Procedure
  5299End_Class
  5300
  5301Class cFlex2CrystalISubreportController is a Mixin
  5302
  5303    
  5304    Function ComProductLocaleID Returns OLEF2CCeLocale
  5305        Handle hDispatchDriver
  5306        OLEF2CCeLocale retVal
  5307        Get phDispatchDriver to hDispatchDriver
  5308        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  5309        Function_Return retVal
  5310    End_Function
  5311
  5312    
  5313    Procedure Set ComProductLocaleID OLEF2CCeLocale value
  5314        Handle hDispatchDriver
  5315        Get phDispatchDriver to hDispatchDriver
  5316        Send PrepareParams to hDispatchDriver 1
  5317        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
  5318    End_Procedure
  5319
  5320    
  5321    Function ComUndoManager Returns Variant
  5322        Handle hDispatchDriver
  5323        Variant retVal
  5324        Get phDispatchDriver to hDispatchDriver
  5325        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_VARIANT to retVal
  5326        Function_Return retVal
  5327    End_Function
  5328
  5329    
  5330    Procedure Set ComUndoManager Variant value
  5331        Handle hDispatchDriver
  5332        Get phDispatchDriver to hDispatchDriver
  5333        Send PrepareParams to hDispatchDriver 1
  5334        Set ComProperty of hDispatchDriver 3 OLE_VT_VARIANT to value
  5335    End_Procedure
  5336
  5337    Procedure ComAdvise Variant llpVal
  5338        Handle hDispatchDriver
  5339        Get phDispatchDriver to hDispatchDriver
  5340        Send PrepareParams to hDispatchDriver 1
  5341        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
  5342        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
  5343    End_Procedure
  5344
  5345    Function ComGetSubreport String llname Returns Variant
  5346        Handle hDispatchDriver
  5347        Variant retVal
  5348        Get phDispatchDriver to hDispatchDriver
  5349        Send PrepareParams to hDispatchDriver 1
  5350        Send DefineParam to hDispatchDriver OLE_VT_BSTR llname
  5351        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  5352        Function_Return retVal
  5353    End_Function
  5354
  5355    Function ComGetSubreportDatabase String llSubreportName Returns Variant
  5356        Handle hDispatchDriver
  5357        Variant retVal
  5358        Get phDispatchDriver to hDispatchDriver
  5359        Send PrepareParams to hDispatchDriver 1
  5360        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSubreportName
  5361        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  5362        Function_Return retVal
  5363    End_Function
  5364
  5365    Function ComGetSubreportNames Returns Variant
  5366        Handle hDispatchDriver
  5367        Variant retVal
  5368        Get phDispatchDriver to hDispatchDriver
  5369        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_DISPATCH to retVal
  5370        Function_Return retVal
  5371    End_Function
  5372
  5373    Function ComQuerySubreportNames Returns Variant
  5374        Handle hDispatchDriver
  5375        Variant retVal
  5376        Get phDispatchDriver to hDispatchDriver
  5377        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_DISPATCH to retVal
  5378        Function_Return retVal
  5379    End_Function
  5380
  5381    Procedure ComSetDataSource String llSubreportName Variant llDataSource String llOldTableAlias String llNewTableName
  5382        Handle hDispatchDriver
  5383        Get phDispatchDriver to hDispatchDriver
  5384        Send PrepareParams to hDispatchDriver 4
  5385        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSubreportName
  5386        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDataSource
  5387        Send DefineParam to hDispatchDriver OLE_VT_BSTR llOldTableAlias
  5388        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableName
  5389        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  5390    End_Procedure
  5391
  5392    Procedure ComSetTableLocation String llSubreportName Variant llCurTable Variant llNewTable
  5393        Handle hDispatchDriver
  5394        Get phDispatchDriver to hDispatchDriver
  5395        Send PrepareParams to hDispatchDriver 3
  5396        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSubreportName
  5397        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llCurTable
  5398        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewTable
  5399        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  5400    End_Procedure
  5401
  5402    Procedure ComUnadvise Variant llpVal
  5403        Handle hDispatchDriver
  5404        Get phDispatchDriver to hDispatchDriver
  5405        Send PrepareParams to hDispatchDriver 1
  5406        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
  5407        Send InvokeComMethod to hDispatchDriver 15 OLE_VT_VOID
  5408    End_Procedure
  5409
  5410    Procedure ComUpdateData String llSubreportName
  5411        Handle hDispatchDriver
  5412        Get phDispatchDriver to hDispatchDriver
  5413        Send PrepareParams to hDispatchDriver 1
  5414        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSubreportName
  5415        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
  5416    End_Procedure
  5417End_Class
  5418
  5419Class cFlex2CrystalSubreportController is a cComAutomationObject
  5420    Import_Class_Protocol cFlex2CrystalISubreportController
  5421
  5422    Procedure Construct_Object
  5423        Forward Send Construct_Object
  5424        Set peAutoCreate to acNoAutoCreate
  5425    End_Procedure
  5426End_Class
  5427
  5428Class cFlex2CrystalISubreportClientDocument is a Mixin
  5429
  5430    
  5431    Function ComDatabaseController Returns Variant
  5432        Handle hDispatchDriver
  5433        Variant retVal
  5434        Get phDispatchDriver to hDispatchDriver
  5435        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
  5436        Function_Return retVal
  5437    End_Function
  5438
  5439    
  5440    Function ComDataDefController Returns Variant
  5441        Handle hDispatchDriver
  5442        Variant retVal
  5443        Get phDispatchDriver to hDispatchDriver
  5444        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
  5445        Function_Return retVal
  5446    End_Function
  5447
  5448    
  5449    Function ComEnableOnDemand Returns Boolean
  5450        Handle hDispatchDriver
  5451        Boolean retVal
  5452        Get phDispatchDriver to hDispatchDriver
  5453        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  5454        Function_Return retVal
  5455    End_Function
  5456
  5457    
  5458    Procedure Set ComEnableOnDemand Boolean value
  5459        Handle hDispatchDriver
  5460        Get phDispatchDriver to hDispatchDriver
  5461        Send PrepareParams to hDispatchDriver 1
  5462        Set ComProperty of hDispatchDriver 4 OLE_VT_BOOL to value
  5463    End_Procedure
  5464
  5465    
  5466    Function ComName Returns String
  5467        Handle hDispatchDriver
  5468        String retVal
  5469        Get phDispatchDriver to hDispatchDriver
  5470        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
  5471        Function_Return retVal
  5472    End_Function
  5473
  5474    
  5475    Function ComReportDefController Returns Variant
  5476        Handle hDispatchDriver
  5477        Variant retVal
  5478        Get phDispatchDriver to hDispatchDriver
  5479        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  5480        Function_Return retVal
  5481    End_Function
  5482
  5483    
  5484    Function ComRowsetController Returns Variant
  5485        Handle hDispatchDriver
  5486        Variant retVal
  5487        Get phDispatchDriver to hDispatchDriver
  5488        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_DISPATCH to retVal
  5489        Function_Return retVal
  5490    End_Function
  5491
  5492    
  5493    Function ComSearchController Returns Variant
  5494        Handle hDispatchDriver
  5495        Variant retVal
  5496        Get phDispatchDriver to hDispatchDriver
  5497        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_DISPATCH to retVal
  5498        Function_Return retVal
  5499    End_Function
  5500
  5501    
  5502    Function ComUndoManager Returns Variant
  5503        Handle hDispatchDriver
  5504        Variant retVal
  5505        Get phDispatchDriver to hDispatchDriver
  5506        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_VARIANT to retVal
  5507        Function_Return retVal
  5508    End_Function
  5509
  5510    
  5511    Procedure Set ComUndoManager Variant value
  5512        Handle hDispatchDriver
  5513        Get phDispatchDriver to hDispatchDriver
  5514        Send PrepareParams to hDispatchDriver 1
  5515        Set ComProperty of hDispatchDriver 10 OLE_VT_VARIANT to value
  5516    End_Procedure
  5517
  5518    Procedure ComReserved
  5519        Handle hDispatchDriver
  5520        Get phDispatchDriver to hDispatchDriver
  5521        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  5522    End_Procedure
  5523
  5524    Procedure ComReserved1
  5525        Handle hDispatchDriver
  5526        Get phDispatchDriver to hDispatchDriver
  5527        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  5528    End_Procedure
  5529
  5530    Procedure ComReserved2
  5531        Handle hDispatchDriver
  5532        Get phDispatchDriver to hDispatchDriver
  5533        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  5534    End_Procedure
  5535
  5536    Procedure ComReserved3
  5537        Handle hDispatchDriver
  5538        Get phDispatchDriver to hDispatchDriver
  5539        Send InvokeComMethod to hDispatchDriver 15 OLE_VT_VOID
  5540    End_Procedure
  5541
  5542    Procedure ComReserved4
  5543        Handle hDispatchDriver
  5544        Get phDispatchDriver to hDispatchDriver
  5545        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
  5546    End_Procedure
  5547
  5548    Procedure ComReserved5
  5549        Handle hDispatchDriver
  5550        Get phDispatchDriver to hDispatchDriver
  5551        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
  5552    End_Procedure
  5553
  5554    Procedure ComReserved6
  5555        Handle hDispatchDriver
  5556        Get phDispatchDriver to hDispatchDriver
  5557        Send InvokeComMethod to hDispatchDriver 18 OLE_VT_VOID
  5558    End_Procedure
  5559
  5560    Procedure ComReserved7
  5561        Handle hDispatchDriver
  5562        Get phDispatchDriver to hDispatchDriver
  5563        Send InvokeComMethod to hDispatchDriver 19 OLE_VT_VOID
  5564    End_Procedure
  5565
  5566    Procedure ComReserved8
  5567        Handle hDispatchDriver
  5568        Get phDispatchDriver to hDispatchDriver
  5569        Send InvokeComMethod to hDispatchDriver 20 OLE_VT_VOID
  5570    End_Procedure
  5571
  5572    Procedure ComReserved9
  5573        Handle hDispatchDriver
  5574        Get phDispatchDriver to hDispatchDriver
  5575        Send InvokeComMethod to hDispatchDriver 21 OLE_VT_VOID
  5576    End_Procedure
  5577End_Class
  5578
  5579Class cFlex2CrystalSubreportClientDocument is a cComAutomationObject
  5580    Import_Class_Protocol cFlex2CrystalISubreportClientDocument
  5581
  5582    Procedure Construct_Object
  5583        Forward Send Construct_Object
  5584        Set peAutoCreate to acNoAutoCreate
  5585    End_Procedure
  5586End_Class
  5587
  5588// F2C Name: cComF2CConnectionInfo
  5589Class cFlex2CrystalIConnectionInfo is a Mixin
  5590
  5591    
  5592    Function ComAllowCustomConnection Returns Boolean
  5593        Handle hDispatchDriver
  5594        Boolean retVal
  5595        Get phDispatchDriver to hDispatchDriver
  5596        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
  5597        Function_Return retVal
  5598    End_Function
  5599
  5600    
  5601    Procedure Set ComAllowCustomConnection Boolean value
  5602        Handle hDispatchDriver
  5603        Get phDispatchDriver to hDispatchDriver
  5604        Send PrepareParams to hDispatchDriver 1
  5605        Set ComProperty of hDispatchDriver 1 OLE_VT_BOOL to value
  5606    End_Procedure
  5607
  5608    
  5609    Function ComAttributes Returns Variant
  5610        Handle hDispatchDriver
  5611        Variant retVal
  5612        Get phDispatchDriver to hDispatchDriver
  5613        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
  5614        Function_Return retVal
  5615    End_Function
  5616
  5617    
  5618    Procedure Set ComAttributes Variant value
  5619        Handle hDispatchDriver
  5620        Get phDispatchDriver to hDispatchDriver
  5621        Send PrepareParams to hDispatchDriver 1
  5622        Set ComProperty of hDispatchDriver 2 OLE_VT_DISPATCH to value
  5623    End_Procedure
  5624
  5625    
  5626    Function ComDatabaseName Returns String
  5627        Handle hDispatchDriver
  5628        String retVal
  5629        Get phDispatchDriver to hDispatchDriver
  5630        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  5631        Function_Return retVal
  5632    End_Function
  5633
  5634    
  5635    Procedure Set ComDatabaseName String value
  5636        Handle hDispatchDriver
  5637        Get phDispatchDriver to hDispatchDriver
  5638        Send PrepareParams to hDispatchDriver 1
  5639        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
  5640    End_Procedure
  5641
  5642    
  5643    Function ComEncodedPassword Returns Integer[]
  5644        Handle hDispatchDriver
  5645        Integer[] retVal
  5646        Get phDispatchDriver to hDispatchDriver
  5647        Get InvokeComMethod of hDispatchDriver 5 (OLE_VT_ARRAY ior OLE_VT_I4) to retVal
  5648        Function_Return retVal
  5649    End_Function
  5650
  5651    
  5652    Procedure Set ComEncodedPassword Integer[] value
  5653        Handle hDispatchDriver
  5654        Get phDispatchDriver to hDispatchDriver
  5655        Send PrepareParams to hDispatchDriver 1
  5656        Set ComProperty of hDispatchDriver 5 (OLE_VT_ARRAY ior OLE_VT_I4) to value
  5657    End_Procedure
  5658
  5659    
  5660    Function ComIntegratedSecurity Returns Boolean
  5661        Handle hDispatchDriver
  5662        Boolean retVal
  5663        Get phDispatchDriver to hDispatchDriver
  5664        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
  5665        Function_Return retVal
  5666    End_Function
  5667
  5668    
  5669    Procedure Set ComIntegratedSecurity Boolean value
  5670        Handle hDispatchDriver
  5671        Get phDispatchDriver to hDispatchDriver
  5672        Send PrepareParams to hDispatchDriver 1
  5673        Set ComProperty of hDispatchDriver 6 OLE_VT_BOOL to value
  5674    End_Procedure
  5675
  5676    
  5677    Function ComIsLogonPropertiesModified Returns Boolean
  5678        Handle hDispatchDriver
  5679        Boolean retVal
  5680        Get phDispatchDriver to hDispatchDriver
  5681        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
  5682        Function_Return retVal
  5683    End_Function
  5684
  5685    
  5686    Function ComLogonProperties Returns Variant
  5687        Handle hDispatchDriver
  5688        Variant retVal
  5689        Get phDispatchDriver to hDispatchDriver
  5690        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_DISPATCH to retVal
  5691        Function_Return retVal
  5692    End_Function
  5693
  5694    
  5695    Procedure Set ComLogonProperties Variant value
  5696        Handle hDispatchDriver
  5697        Get phDispatchDriver to hDispatchDriver
  5698        Send PrepareParams to hDispatchDriver 1
  5699        Set ComProperty of hDispatchDriver 8 OLE_VT_DISPATCH to value
  5700    End_Procedure
  5701
  5702    
  5703    Function ComPassword Returns String
  5704        Handle hDispatchDriver
  5705        String retVal
  5706        Get phDispatchDriver to hDispatchDriver
  5707        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
  5708        Function_Return retVal
  5709    End_Function
  5710
  5711    
  5712    Procedure Set ComPassword String value
  5713        Handle hDispatchDriver
  5714        Get phDispatchDriver to hDispatchDriver
  5715        Send PrepareParams to hDispatchDriver 1
  5716        Set ComProperty of hDispatchDriver 9 OLE_VT_BSTR to value
  5717    End_Procedure
  5718
  5719    
  5720    Function ComServerName Returns String
  5721        Handle hDispatchDriver
  5722        String retVal
  5723        Get phDispatchDriver to hDispatchDriver
  5724        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BSTR to retVal
  5725        Function_Return retVal
  5726    End_Function
  5727
  5728    
  5729    Procedure Set ComServerName String value
  5730        Handle hDispatchDriver
  5731        Get phDispatchDriver to hDispatchDriver
  5732        Send PrepareParams to hDispatchDriver 1
  5733        Set ComProperty of hDispatchDriver 10 OLE_VT_BSTR to value
  5734    End_Procedure
  5735
  5736    
  5737    Function ComType Returns OLEF2CConnectionInfoType
  5738        Handle hDispatchDriver
  5739        OLEF2CConnectionInfoType retVal
  5740        Get phDispatchDriver to hDispatchDriver
  5741        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  5742        Function_Return retVal
  5743    End_Function
  5744
  5745    
  5746    Procedure Set ComType OLEF2CConnectionInfoType value
  5747        Handle hDispatchDriver
  5748        Get phDispatchDriver to hDispatchDriver
  5749        Send PrepareParams to hDispatchDriver 1
  5750        Set ComProperty of hDispatchDriver 11 OLE_VT_I4 to value
  5751    End_Procedure
  5752
  5753    
  5754    Function ComUserID Returns String
  5755        Handle hDispatchDriver
  5756        String retVal
  5757        Get phDispatchDriver to hDispatchDriver
  5758        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
  5759        Function_Return retVal
  5760    End_Function
  5761
  5762    
  5763    Procedure Set ComUserID String value
  5764        Handle hDispatchDriver
  5765        Get phDispatchDriver to hDispatchDriver
  5766        Send PrepareParams to hDispatchDriver 1
  5767        Set ComProperty of hDispatchDriver 12 OLE_VT_BSTR to value
  5768    End_Procedure
  5769
  5770    
  5771    Function ComUType Returns Integer
  5772        Handle hDispatchDriver
  5773        Integer retVal
  5774        Get phDispatchDriver to hDispatchDriver
  5775        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_I4 to retVal
  5776        Function_Return retVal
  5777    End_Function
  5778
  5779    
  5780    Procedure Set ComUType Integer value
  5781        Handle hDispatchDriver
  5782        Get phDispatchDriver to hDispatchDriver
  5783        Send PrepareParams to hDispatchDriver 1
  5784        Set ComProperty of hDispatchDriver 13 OLE_VT_I4 to value
  5785    End_Procedure
  5786
  5787    Function ComClone Returns Variant
  5788        Handle hDispatchDriver
  5789        Variant retVal
  5790        Get phDispatchDriver to hDispatchDriver
  5791        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_VARIANT to retVal
  5792        Function_Return retVal
  5793    End_Function
  5794
  5795    Function ComEquals Variant llobj Returns Boolean
  5796        Handle hDispatchDriver
  5797        Boolean retVal
  5798        Get phDispatchDriver to hDispatchDriver
  5799        Send PrepareParams to hDispatchDriver 1
  5800        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  5801        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BOOL to retVal
  5802        Function_Return retVal
  5803    End_Function
  5804
  5805    Function ComGetHashCode Returns Integer
  5806        Handle hDispatchDriver
  5807        Integer retVal
  5808        Get phDispatchDriver to hDispatchDriver
  5809        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_I4 to retVal
  5810        Function_Return retVal
  5811    End_Function
  5812
  5813    
  5814    Function ComToString Returns String
  5815        Handle hDispatchDriver
  5816        String retVal
  5817        Get phDispatchDriver to hDispatchDriver
  5818        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BSTR to retVal
  5819        Function_Return retVal
  5820    End_Function
  5821End_Class
  5822
  5823Class cFlex2CrystalConnectionInfo is a cComAutomationObject
  5824    Import_Class_Protocol cFlex2CrystalIConnectionInfo
  5825
  5826    Procedure Construct_Object
  5827        Forward Send Construct_Object
  5828        Set psProgID to "{10775EA0-CF70-45AE-9044-EC11BD955205}"
  5829        Set peAutoCreate to acNoAutoCreate
  5830    End_Procedure
  5831End_Class
  5832
  5833Class cFlex2CrystalIConnectionInfoClass is a Mixin
  5834
  5835    
  5836    Function ComAttributes Returns Variant
  5837        Handle hDispatchDriver
  5838        Variant retVal
  5839        Get phDispatchDriver to hDispatchDriver
  5840        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_VARIANT to retVal
  5841        Function_Return retVal
  5842    End_Function
  5843
  5844    
  5845    Procedure Set ComAttributes Variant value
  5846        Handle hDispatchDriver
  5847        Get phDispatchDriver to hDispatchDriver
  5848        Send PrepareParams to hDispatchDriver 1
  5849        Set ComProperty of hDispatchDriver 1 OLE_VT_VARIANT to value
  5850    End_Procedure
  5851
  5852    
  5853    Function ComClassName Returns String
  5854        Handle hDispatchDriver
  5855        String retVal
  5856        Get phDispatchDriver to hDispatchDriver
  5857        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BSTR to retVal
  5858        Function_Return retVal
  5859    End_Function
  5860
  5861    
  5862    Function ComDBConnHandler Returns Integer
  5863        Handle hDispatchDriver
  5864        Integer retVal
  5865        Get phDispatchDriver to hDispatchDriver
  5866        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
  5867        Function_Return retVal
  5868    End_Function
  5869
  5870    
  5871    Procedure Set ComDBConnHandler Integer value
  5872        Handle hDispatchDriver
  5873        Get phDispatchDriver to hDispatchDriver
  5874        Send PrepareParams to hDispatchDriver 1
  5875        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
  5876    End_Procedure
  5877
  5878    
  5879    Function ComKind Returns OLEF2CCrConnectionInfoKindEnum
  5880        Handle hDispatchDriver
  5881        OLEF2CCrConnectionInfoKindEnum retVal
  5882        Get phDispatchDriver to hDispatchDriver
  5883        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
  5884        Function_Return retVal
  5885    End_Function
  5886
  5887    
  5888    Procedure Set ComKind OLEF2CCrConnectionInfoKindEnum value
  5889        Handle hDispatchDriver
  5890        Get phDispatchDriver to hDispatchDriver
  5891        Send PrepareParams to hDispatchDriver 1
  5892        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
  5893    End_Procedure
  5894
  5895    
  5896    Function ComPassword Returns String
  5897        Handle hDispatchDriver
  5898        String retVal
  5899        Get phDispatchDriver to hDispatchDriver
  5900        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
  5901        Function_Return retVal
  5902    End_Function
  5903
  5904    
  5905    Procedure Set ComPassword String value
  5906        Handle hDispatchDriver
  5907        Get phDispatchDriver to hDispatchDriver
  5908        Send PrepareParams to hDispatchDriver 1
  5909        Set ComProperty of hDispatchDriver 5 OLE_VT_BSTR to value
  5910    End_Procedure
  5911
  5912    
  5913    Function ComUserName Returns String
  5914        Handle hDispatchDriver
  5915        String retVal
  5916        Get phDispatchDriver to hDispatchDriver
  5917        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
  5918        Function_Return retVal
  5919    End_Function
  5920
  5921    
  5922    Procedure Set ComUserName String value
  5923        Handle hDispatchDriver
  5924        Get phDispatchDriver to hDispatchDriver
  5925        Send PrepareParams to hDispatchDriver 1
  5926        Set ComProperty of hDispatchDriver 6 OLE_VT_BSTR to value
  5927    End_Procedure
  5928
  5929    Function ComClone Boolean llDeepClone Returns Variant
  5930        Handle hDispatchDriver
  5931        Variant retVal
  5932        Get phDispatchDriver to hDispatchDriver
  5933        Send PrepareParams to hDispatchDriver 1
  5934        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  5935        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
  5936        Function_Return retVal
  5937    End_Function
  5938
  5939    Procedure ComCopyTo Variant llConnectionInfo Boolean llDeepCopy
  5940        Handle hDispatchDriver
  5941        Get phDispatchDriver to hDispatchDriver
  5942        Send PrepareParams to hDispatchDriver 2
  5943        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llConnectionInfo
  5944        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  5945        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  5946    End_Procedure
  5947
  5948    Function ComEquals Variant llConnectionInfo Returns Boolean
  5949        Handle hDispatchDriver
  5950        Boolean retVal
  5951        Get phDispatchDriver to hDispatchDriver
  5952        Send PrepareParams to hDispatchDriver 1
  5953        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llConnectionInfo
  5954        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
  5955        Function_Return retVal
  5956    End_Function
  5957
  5958    Function ComEquals_2 Variant llobj Returns Boolean
  5959        Handle hDispatchDriver
  5960        Boolean retVal
  5961        Get phDispatchDriver to hDispatchDriver
  5962        Send PrepareParams to hDispatchDriver 1
  5963        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  5964        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
  5965        Function_Return retVal
  5966    End_Function
  5967
  5968    Function ComGetHashCode Returns Integer
  5969        Handle hDispatchDriver
  5970        Integer retVal
  5971        Get phDispatchDriver to hDispatchDriver
  5972        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_I4 to retVal
  5973        Function_Return retVal
  5974    End_Function
  5975
  5976    Function ComIsMatch Variant llinfo Boolean llcompleteMatching Returns Boolean
  5977        Handle hDispatchDriver
  5978        Boolean retVal
  5979        Get phDispatchDriver to hDispatchDriver
  5980        Send PrepareParams to hDispatchDriver 2
  5981        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llinfo
  5982        Send DefineParam to hDispatchDriver OLE_VT_BOOL llcompleteMatching
  5983        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
  5984        Function_Return retVal
  5985    End_Function
  5986
  5987    Procedure ComReserved1
  5988        Handle hDispatchDriver
  5989        Get phDispatchDriver to hDispatchDriver
  5990        Send InvokeComMethod to hDispatchDriver 15 OLE_VT_VOID
  5991    End_Procedure
  5992
  5993    Procedure ComReserved2
  5994        Handle hDispatchDriver
  5995        Get phDispatchDriver to hDispatchDriver
  5996        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
  5997    End_Procedure
  5998
  5999    Procedure ComReserved3
  6000        Handle hDispatchDriver
  6001        Get phDispatchDriver to hDispatchDriver
  6002        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
  6003    End_Procedure
  6004
  6005    Procedure ComReserved4
  6006        Handle hDispatchDriver
  6007        Get phDispatchDriver to hDispatchDriver
  6008        Send InvokeComMethod to hDispatchDriver 18 OLE_VT_VOID
  6009    End_Procedure
  6010
  6011    Procedure ComReserved5
  6012        Handle hDispatchDriver
  6013        Get phDispatchDriver to hDispatchDriver
  6014        Send InvokeComMethod to hDispatchDriver 19 OLE_VT_VOID
  6015    End_Procedure
  6016
  6017    Procedure ComReserved6
  6018        Handle hDispatchDriver
  6019        Get phDispatchDriver to hDispatchDriver
  6020        Send InvokeComMethod to hDispatchDriver 20 OLE_VT_VOID
  6021    End_Procedure
  6022
  6023    Procedure ComReserved7
  6024        Handle hDispatchDriver
  6025        Get phDispatchDriver to hDispatchDriver
  6026        Send InvokeComMethod to hDispatchDriver 21 OLE_VT_VOID
  6027    End_Procedure
  6028
  6029    Procedure ComReserved8
  6030        Handle hDispatchDriver
  6031        Get phDispatchDriver to hDispatchDriver
  6032        Send InvokeComMethod to hDispatchDriver 22 OLE_VT_VOID
  6033    End_Procedure
  6034
  6035    
  6036    Function ComToString Returns String
  6037        Handle hDispatchDriver
  6038        String retVal
  6039        Get phDispatchDriver to hDispatchDriver
  6040        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_BSTR to retVal
  6041        Function_Return retVal
  6042    End_Function
  6043End_Class
  6044
  6045Class cFlex2CrystalConnectionInfoClass is a cComAutomationObject
  6046    Import_Class_Protocol cFlex2CrystalIConnectionInfoClass
  6047
  6048    Procedure Construct_Object
  6049        Forward Send Construct_Object
  6050        Set psProgID to "{219F76EE-088D-4457-A9B9-AD30DD879D1F}"
  6051        Set peAutoCreate to acNoAutoCreate
  6052    End_Procedure
  6053End_Class
  6054
  6055Class cFlex2CrystalITableLogOnInfo is a Mixin
  6056
  6057    
  6058    Function ComConnectionInfo Returns Variant
  6059        Handle hDispatchDriver
  6060        Variant retVal
  6061        Get phDispatchDriver to hDispatchDriver
  6062        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
  6063        Function_Return retVal
  6064    End_Function
  6065
  6066    
  6067    Procedure Set ComConnectionInfo Variant value
  6068        Handle hDispatchDriver
  6069        Get phDispatchDriver to hDispatchDriver
  6070        Send PrepareParams to hDispatchDriver 1
  6071        Set ComProperty of hDispatchDriver 1 OLE_VT_DISPATCH to value
  6072    End_Procedure
  6073
  6074    
  6075    Function ComReportName Returns String
  6076        Handle hDispatchDriver
  6077        String retVal
  6078        Get phDispatchDriver to hDispatchDriver
  6079        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BSTR to retVal
  6080        Function_Return retVal
  6081    End_Function
  6082
  6083    
  6084    Procedure Set ComReportName String value
  6085        Handle hDispatchDriver
  6086        Get phDispatchDriver to hDispatchDriver
  6087        Send PrepareParams to hDispatchDriver 1
  6088        Set ComProperty of hDispatchDriver 2 OLE_VT_BSTR to value
  6089    End_Procedure
  6090
  6091    
  6092    Function ComTableName Returns String
  6093        Handle hDispatchDriver
  6094        String retVal
  6095        Get phDispatchDriver to hDispatchDriver
  6096        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  6097        Function_Return retVal
  6098    End_Function
  6099
  6100    
  6101    Procedure Set ComTableName String value
  6102        Handle hDispatchDriver
  6103        Get phDispatchDriver to hDispatchDriver
  6104        Send PrepareParams to hDispatchDriver 1
  6105        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
  6106    End_Procedure
  6107
  6108    Function ComClone Returns Variant
  6109        Handle hDispatchDriver
  6110        Variant retVal
  6111        Get phDispatchDriver to hDispatchDriver
  6112        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_VARIANT to retVal
  6113        Function_Return retVal
  6114    End_Function
  6115
  6116    Function ComEquals Variant llobj Returns Boolean
  6117        Handle hDispatchDriver
  6118        Boolean retVal
  6119        Get phDispatchDriver to hDispatchDriver
  6120        Send PrepareParams to hDispatchDriver 1
  6121        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  6122        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
  6123        Function_Return retVal
  6124    End_Function
  6125
  6126    Function ComGetHashCode Returns Integer
  6127        Handle hDispatchDriver
  6128        Integer retVal
  6129        Get phDispatchDriver to hDispatchDriver
  6130        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
  6131        Function_Return retVal
  6132    End_Function
  6133
  6134    Function ComGetUniqueID Returns String
  6135        Handle hDispatchDriver
  6136        String retVal
  6137        Get phDispatchDriver to hDispatchDriver
  6138        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
  6139        Function_Return retVal
  6140    End_Function
  6141
  6142    
  6143    Function ComToString Returns String
  6144        Handle hDispatchDriver
  6145        String retVal
  6146        Get phDispatchDriver to hDispatchDriver
  6147        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
  6148        Function_Return retVal
  6149    End_Function
  6150End_Class
  6151
  6152Class cFlex2CrystalTableLogOnInfo is a cComAutomationObject
  6153    Import_Class_Protocol cFlex2CrystalITableLogOnInfo
  6154
  6155    Procedure Construct_Object
  6156        Forward Send Construct_Object
  6157        Set psProgID to "{AE1D7CCE-2048-4943-A9AE-0229BB78BAF9}"
  6158        Set peAutoCreate to acNoAutoCreate
  6159    End_Procedure
  6160End_Class
  6161
  6162Class cFlex2CrystalIDatabaseClass is a Mixin
  6163
  6164    
  6165    Function ComClassName Returns String
  6166        Handle hDispatchDriver
  6167        String retVal
  6168        Get phDispatchDriver to hDispatchDriver
  6169        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  6170        Function_Return retVal
  6171    End_Function
  6172
  6173    
  6174    Function ComTableJoins Returns Variant
  6175        Handle hDispatchDriver
  6176        Variant retVal
  6177        Get phDispatchDriver to hDispatchDriver
  6178        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
  6179        Function_Return retVal
  6180    End_Function
  6181
  6182    
  6183    Procedure Set ComTableJoins Variant value
  6184        Handle hDispatchDriver
  6185        Get phDispatchDriver to hDispatchDriver
  6186        Send PrepareParams to hDispatchDriver 1
  6187        Set ComProperty of hDispatchDriver 2 OLE_VT_VARIANT to value
  6188    End_Procedure
  6189
  6190    
  6191    Function ComTableLinks Returns Variant
  6192        Handle hDispatchDriver
  6193        Variant retVal
  6194        Get phDispatchDriver to hDispatchDriver
  6195        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_VARIANT to retVal
  6196        Function_Return retVal
  6197    End_Function
  6198
  6199    
  6200    Procedure Set ComTableLinks Variant value
  6201        Handle hDispatchDriver
  6202        Get phDispatchDriver to hDispatchDriver
  6203        Send PrepareParams to hDispatchDriver 1
  6204        Set ComProperty of hDispatchDriver 3 OLE_VT_VARIANT to value
  6205    End_Procedure
  6206
  6207    
  6208    Function ComTables Returns Variant
  6209        Handle hDispatchDriver
  6210        Variant retVal
  6211        Get phDispatchDriver to hDispatchDriver
  6212        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_VARIANT to retVal
  6213        Function_Return retVal
  6214    End_Function
  6215
  6216    
  6217    Procedure Set ComTables Variant value
  6218        Handle hDispatchDriver
  6219        Get phDispatchDriver to hDispatchDriver
  6220        Send PrepareParams to hDispatchDriver 1
  6221        Set ComProperty of hDispatchDriver 4 OLE_VT_VARIANT to value
  6222    End_Procedure
  6223
  6224    Function ComClone Boolean llDeepClone Returns Variant
  6225        Handle hDispatchDriver
  6226        Variant retVal
  6227        Get phDispatchDriver to hDispatchDriver
  6228        Send PrepareParams to hDispatchDriver 1
  6229        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  6230        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  6231        Function_Return retVal
  6232    End_Function
  6233
  6234    Procedure ComCopyTo Variant llDatabase Boolean llDeepCopy
  6235        Handle hDispatchDriver
  6236        Get phDispatchDriver to hDispatchDriver
  6237        Send PrepareParams to hDispatchDriver 2
  6238        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDatabase
  6239        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  6240        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  6241    End_Procedure
  6242
  6243    Function ComEquals Variant llDatabase Returns Boolean
  6244        Handle hDispatchDriver
  6245        Boolean retVal
  6246        Get phDispatchDriver to hDispatchDriver
  6247        Send PrepareParams to hDispatchDriver 1
  6248        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDatabase
  6249        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
  6250        Function_Return retVal
  6251    End_Function
  6252
  6253    Function ComEquals_2 Variant llobj Returns Boolean
  6254        Handle hDispatchDriver
  6255        Boolean retVal
  6256        Get phDispatchDriver to hDispatchDriver
  6257        Send PrepareParams to hDispatchDriver 1
  6258        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  6259        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  6260        Function_Return retVal
  6261    End_Function
  6262
  6263    Function ComGetHashCode Returns Integer
  6264        Handle hDispatchDriver
  6265        Integer retVal
  6266        Get phDispatchDriver to hDispatchDriver
  6267        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
  6268        Function_Return retVal
  6269    End_Function
  6270
  6271    
  6272    Function ComToString Returns String
  6273        Handle hDispatchDriver
  6274        String retVal
  6275        Get phDispatchDriver to hDispatchDriver
  6276        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
  6277        Function_Return retVal
  6278    End_Function
  6279End_Class
  6280
  6281Class cFlex2CrystalDatabaseClass is a cComAutomationObject
  6282    Import_Class_Protocol cFlex2CrystalIDatabaseClass
  6283
  6284    Procedure Construct_Object
  6285        Forward Send Construct_Object
  6286        Set psProgID to "{A249495B-D0F3-4F0D-8D99-47DBE70CD4AA}"
  6287        Set peAutoCreate to acNoAutoCreate
  6288    End_Procedure
  6289End_Class
  6290
  6291
  6292Class cFlex2CrystalIDatabase is a Mixin
  6293
  6294    
  6295    Function ComLinks Returns Variant
  6296        Handle hDispatchDriver
  6297        Variant retVal
  6298        Get phDispatchDriver to hDispatchDriver
  6299        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
  6300        Function_Return retVal
  6301    End_Function
  6302
  6303    
  6304    Function ComTables Returns Variant
  6305        Handle hDispatchDriver
  6306        Variant retVal
  6307        Get phDispatchDriver to hDispatchDriver
  6308        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
  6309        Function_Return retVal
  6310    End_Function
  6311
  6312    Procedure ComDispose
  6313        Handle hDispatchDriver
  6314        Get phDispatchDriver to hDispatchDriver
  6315        Send InvokeComMethod to hDispatchDriver 3 OLE_VT_VOID
  6316    End_Procedure
  6317
  6318    Function ComEquals Variant llobj Returns Boolean
  6319        Handle hDispatchDriver
  6320        Boolean retVal
  6321        Get phDispatchDriver to hDispatchDriver
  6322        Send PrepareParams to hDispatchDriver 1
  6323        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  6324        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  6325        Function_Return retVal
  6326    End_Function
  6327
  6328    Function ComGetHashCode Returns Integer
  6329        Handle hDispatchDriver
  6330        Integer retVal
  6331        Get phDispatchDriver to hDispatchDriver
  6332        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
  6333        Function_Return retVal
  6334    End_Function
  6335
  6336    
  6337    Function ComToString Returns String
  6338        Handle hDispatchDriver
  6339        String retVal
  6340        Get phDispatchDriver to hDispatchDriver
  6341        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BSTR to retVal
  6342        Function_Return retVal
  6343    End_Function
  6344End_Class
  6345
  6346Class cFlex2CrystalDatabase is a cComAutomationObject
  6347    Import_Class_Protocol cFlex2CrystalIDatabase
  6348
  6349    Procedure Construct_Object
  6350        Forward Send Construct_Object
  6351        Set psEventId to "{71808AE9-D408-4901-9159-7223B6415369}"
  6352        Set peAutoCreate to acNoAutoCreate
  6353    End_Procedure
  6354End_Class
  6355
  6356Class cFlex2CrystalIDatabaseController is a Mixin
  6357
  6358    
  6359    Function ComDatabase Returns Variant
  6360        Handle hDispatchDriver
  6361        Variant retVal
  6362        Get phDispatchDriver to hDispatchDriver
  6363        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_VARIANT to retVal
  6364        Function_Return retVal
  6365    End_Function
  6366
  6367    
  6368    Procedure Set ComDatabase Variant value
  6369        Handle hDispatchDriver
  6370        Get phDispatchDriver to hDispatchDriver
  6371        Send PrepareParams to hDispatchDriver 1
  6372        Set ComProperty of hDispatchDriver 1 OLE_VT_VARIANT to value
  6373    End_Procedure
  6374
  6375    
  6376    Function ComPreferredViewingLocaleID Returns OLEF2CCeLocale
  6377        Handle hDispatchDriver
  6378        OLEF2CCeLocale retVal
  6379        Get phDispatchDriver to hDispatchDriver
  6380        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  6381        Function_Return retVal
  6382    End_Function
  6383
  6384    
  6385    Procedure Set ComPreferredViewingLocaleID OLEF2CCeLocale value
  6386        Handle hDispatchDriver
  6387        Get phDispatchDriver to hDispatchDriver
  6388        Send PrepareParams to hDispatchDriver 1
  6389        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
  6390    End_Procedure
  6391
  6392    
  6393    Function ComProductLocaleID Returns OLEF2CCeLocale
  6394        Handle hDispatchDriver
  6395        OLEF2CCeLocale retVal
  6396        Get phDispatchDriver to hDispatchDriver
  6397        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
  6398        Function_Return retVal
  6399    End_Function
  6400
  6401    
  6402    Procedure Set ComProductLocaleID OLEF2CCeLocale value
  6403        Handle hDispatchDriver
  6404        Get phDispatchDriver to hDispatchDriver
  6405        Send PrepareParams to hDispatchDriver 1
  6406        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
  6407    End_Procedure
  6408
  6409    
  6410    Function ComUndoManager Returns Variant
  6411        Handle hDispatchDriver
  6412        Variant retVal
  6413        Get phDispatchDriver to hDispatchDriver
  6414        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  6415        Function_Return retVal
  6416    End_Function
  6417
  6418    
  6419    Procedure Set ComUndoManager Variant value
  6420        Handle hDispatchDriver
  6421        Get phDispatchDriver to hDispatchDriver
  6422        Send PrepareParams to hDispatchDriver 1
  6423        Set ComProperty of hDispatchDriver 5 OLE_VT_VARIANT to value
  6424    End_Procedure
  6425
  6426    Procedure ComAddDataSource Variant llDataSource
  6427        Handle hDispatchDriver
  6428        Get phDispatchDriver to hDispatchDriver
  6429        Send PrepareParams to hDispatchDriver 1
  6430        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDataSource
  6431        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  6432    End_Procedure
  6433
  6434    Procedure ComAddTable Variant llTable Variant llRelatedTableLinks
  6435        Handle hDispatchDriver
  6436        Get phDispatchDriver to hDispatchDriver
  6437        Send PrepareParams to hDispatchDriver 2
  6438        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  6439        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llRelatedTableLinks
  6440        Send InvokeComMethod to hDispatchDriver 7 OLE_VT_VOID
  6441    End_Procedure
  6442
  6443    Procedure ComAddTableLink Variant llTableLink
  6444        Handle hDispatchDriver
  6445        Get phDispatchDriver to hDispatchDriver
  6446        Send PrepareParams to hDispatchDriver 1
  6447        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTableLink
  6448        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  6449    End_Procedure
  6450
  6451    Procedure ComAdvise Variant llpVal
  6452        Handle hDispatchDriver
  6453        Get phDispatchDriver to hDispatchDriver
  6454        Send PrepareParams to hDispatchDriver 1
  6455        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
  6456        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
  6457    End_Procedure
  6458
  6459    Procedure ComBeginTransaction
  6460        Handle hDispatchDriver
  6461        Get phDispatchDriver to hDispatchDriver
  6462        Send InvokeComMethod to hDispatchDriver 10 OLE_VT_VOID
  6463    End_Procedure
  6464
  6465    Function ComCanExecuteSQL Returns Boolean
  6466        Handle hDispatchDriver
  6467        Boolean retVal
  6468        Get phDispatchDriver to hDispatchDriver
  6469        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
  6470        Function_Return retVal
  6471    End_Function
  6472
  6473    Procedure ComDoSmartLinking
  6474        Handle hDispatchDriver
  6475        Get phDispatchDriver to hDispatchDriver
  6476        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  6477    End_Procedure
  6478
  6479    Procedure ComEndTransaction
  6480        Handle hDispatchDriver
  6481        Get phDispatchDriver to hDispatchDriver
  6482        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  6483    End_Procedure
  6484
  6485    Function ComFindConnectionInfoByDBServerName String llServerName Returns Variant
  6486        Handle hDispatchDriver
  6487        Variant retVal
  6488        Get phDispatchDriver to hDispatchDriver
  6489        Send PrepareParams to hDispatchDriver 1
  6490        Send DefineParam to hDispatchDriver OLE_VT_BSTR llServerName
  6491        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_DISPATCH to retVal
  6492        Function_Return retVal
  6493    End_Function
  6494
  6495    Function ComFindTableLink Variant llfromTable Variant llToTable Returns Variant
  6496        Handle hDispatchDriver
  6497        Variant retVal
  6498        Get phDispatchDriver to hDispatchDriver
  6499        Send PrepareParams to hDispatchDriver 2
  6500        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llfromTable
  6501        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llToTable
  6502        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_DISPATCH to retVal
  6503        Function_Return retVal
  6504    End_Function
  6505
  6506    Function ComGetConnectionInfos Variant llPromptProperties Returns Variant
  6507        Handle hDispatchDriver
  6508        Variant retVal
  6509        Get phDispatchDriver to hDispatchDriver
  6510        Send PrepareParams to hDispatchDriver 1
  6511        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPromptProperties
  6512        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_DISPATCH to retVal
  6513        Function_Return retVal
  6514    End_Function
  6515
  6516    Function ComGetServerNames Returns Variant
  6517        Handle hDispatchDriver
  6518        Variant retVal
  6519        Get phDispatchDriver to hDispatchDriver
  6520        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_DISPATCH to retVal
  6521        Function_Return retVal
  6522    End_Function
  6523
  6524    Procedure ComLogon String llUserName String llPassword
  6525        Handle hDispatchDriver
  6526        Get phDispatchDriver to hDispatchDriver
  6527        Send PrepareParams to hDispatchDriver 2
  6528        Send DefineParam to hDispatchDriver OLE_VT_BSTR llUserName
  6529        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
  6530        Send InvokeComMethod to hDispatchDriver 18 OLE_VT_VOID
  6531    End_Procedure
  6532
  6533    Procedure ComLogonEx String llServerName String llDatabaseName String llUserName String llPassword
  6534        Handle hDispatchDriver
  6535        Get phDispatchDriver to hDispatchDriver
  6536        Send PrepareParams to hDispatchDriver 4
  6537        Send DefineParam to hDispatchDriver OLE_VT_BSTR llServerName
  6538        Send DefineParam to hDispatchDriver OLE_VT_BSTR llDatabaseName
  6539        Send DefineParam to hDispatchDriver OLE_VT_BSTR llUserName
  6540        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
  6541        Send InvokeComMethod to hDispatchDriver 19 OLE_VT_VOID
  6542    End_Procedure
  6543
  6544    Procedure ComModifyFieldHeading Variant llDBField String llNewFieldHeadingText
  6545        Handle hDispatchDriver
  6546        Get phDispatchDriver to hDispatchDriver
  6547        Send PrepareParams to hDispatchDriver 2
  6548        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDBField
  6549        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewFieldHeadingText
  6550        Send InvokeComMethod to hDispatchDriver 20 OLE_VT_VOID
  6551    End_Procedure
  6552
  6553    Procedure ComModifyTableAlias Variant llTable String llNewTableAlias
  6554        Handle hDispatchDriver
  6555        Get phDispatchDriver to hDispatchDriver
  6556        Send PrepareParams to hDispatchDriver 2
  6557        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  6558        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableAlias
  6559        Send InvokeComMethod to hDispatchDriver 21 OLE_VT_VOID
  6560    End_Procedure
  6561
  6562    Procedure ComModifyTableConnectionInfo String llTableAlias Variant llNewConnectionInfo
  6563        Handle hDispatchDriver
  6564        Get phDispatchDriver to hDispatchDriver
  6565        Send PrepareParams to hDispatchDriver 2
  6566        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  6567        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewConnectionInfo
  6568        Send InvokeComMethod to hDispatchDriver 22 OLE_VT_VOID
  6569    End_Procedure
  6570
  6571    Procedure ComModifyTableLink Variant llOldTableLink Variant llNewTableLink
  6572        Handle hDispatchDriver
  6573        Get phDispatchDriver to hDispatchDriver
  6574        Send PrepareParams to hDispatchDriver 2
  6575        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llOldTableLink
  6576        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewTableLink
  6577        Send InvokeComMethod to hDispatchDriver 23 OLE_VT_VOID
  6578    End_Procedure
  6579
  6580    Procedure ComRemoveTable String llTableAlias
  6581        Handle hDispatchDriver
  6582        Get phDispatchDriver to hDispatchDriver
  6583        Send PrepareParams to hDispatchDriver 1
  6584        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  6585        Send InvokeComMethod to hDispatchDriver 24 OLE_VT_VOID
  6586    End_Procedure
  6587
  6588    Procedure ComRemoveTableLink Variant llTableLink
  6589        Handle hDispatchDriver
  6590        Get phDispatchDriver to hDispatchDriver
  6591        Send PrepareParams to hDispatchDriver 1
  6592        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTableLink
  6593        Send InvokeComMethod to hDispatchDriver 25 OLE_VT_VOID
  6594    End_Procedure
  6595
  6596    Procedure ComReplaceConnection Variant lloldConnection Variant llnewConnection Variant llParameterFields Variant llcrDBOptionUseDefault
  6597        Handle hDispatchDriver
  6598        Get phDispatchDriver to hDispatchDriver
  6599        Send PrepareParams to hDispatchDriver 4
  6600        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lloldConnection
  6601        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llnewConnection
  6602        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llParameterFields
  6603        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llcrDBOptionUseDefault
  6604        Send InvokeComMethod to hDispatchDriver 26 OLE_VT_VOID
  6605    End_Procedure
  6606
  6607    Procedure ComResetData Boolean llbClientOnly
  6608        Handle hDispatchDriver
  6609        Get phDispatchDriver to hDispatchDriver
  6610        Send PrepareParams to hDispatchDriver 1
  6611        Send DefineParam to hDispatchDriver OLE_VT_BOOL llbClientOnly
  6612        Send InvokeComMethod to hDispatchDriver 27 OLE_VT_VOID
  6613    End_Procedure
  6614
  6615    Procedure ComSetConnectionInfos Variant llConnectionInfos
  6616        Handle hDispatchDriver
  6617        Get phDispatchDriver to hDispatchDriver
  6618        Send PrepareParams to hDispatchDriver 1
  6619        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llConnectionInfos
  6620        Send InvokeComMethod to hDispatchDriver 28 OLE_VT_VOID
  6621    End_Procedure
  6622
  6623    Procedure ComSetDataSource Variant llDataSource String llOldTableAlias String llNewTableName
  6624        Handle hDispatchDriver
  6625        Get phDispatchDriver to hDispatchDriver
  6626        Send PrepareParams to hDispatchDriver 3
  6627        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDataSource
  6628        Send DefineParam to hDispatchDriver OLE_VT_BSTR llOldTableAlias
  6629        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableName
  6630        Send InvokeComMethod to hDispatchDriver 29 OLE_VT_VOID
  6631    End_Procedure
  6632
  6633    Procedure ComSetSQLCommandTable Variant llconnInfo String llNewTableName String llsqlString
  6634        Handle hDispatchDriver
  6635        Get phDispatchDriver to hDispatchDriver
  6636        Send PrepareParams to hDispatchDriver 3
  6637        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llconnInfo
  6638        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableName
  6639        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsqlString
  6640        Send InvokeComMethod to hDispatchDriver 30 OLE_VT_VOID
  6641    End_Procedure
  6642
  6643    Procedure ComSetTableLocation Variant llCurTable Variant llNewTable
  6644        Handle hDispatchDriver
  6645        Get phDispatchDriver to hDispatchDriver
  6646        Send PrepareParams to hDispatchDriver 2
  6647        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llCurTable
  6648        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewTable
  6649        Send InvokeComMethod to hDispatchDriver 31 OLE_VT_VOID
  6650    End_Procedure
  6651
  6652    Procedure ComSetTableLocationByServerDatabaseName String llTableAlias String llServerName String llDatabaseName String llUserName String llPassword
  6653        Handle hDispatchDriver
  6654        Get phDispatchDriver to hDispatchDriver
  6655        Send PrepareParams to hDispatchDriver 5
  6656        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  6657        Send DefineParam to hDispatchDriver OLE_VT_BSTR llServerName
  6658        Send DefineParam to hDispatchDriver OLE_VT_BSTR llDatabaseName
  6659        Send DefineParam to hDispatchDriver OLE_VT_BSTR llUserName
  6660        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
  6661        Send InvokeComMethod to hDispatchDriver 32 OLE_VT_VOID
  6662    End_Procedure
  6663
  6664    Procedure ComSetTableLocationEx Variant llCurTable Variant llNewTable
  6665        Handle hDispatchDriver
  6666        Get phDispatchDriver to hDispatchDriver
  6667        Send PrepareParams to hDispatchDriver 2
  6668        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llCurTable
  6669        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewTable
  6670        Send InvokeComMethod to hDispatchDriver 33 OLE_VT_VOID
  6671    End_Procedure
  6672
  6673    Function ComToDataSet Variant lldata String llTableAlias Returns Variant
  6674        Handle hDispatchDriver
  6675        Variant retVal
  6676        Get phDispatchDriver to hDispatchDriver
  6677        Send PrepareParams to hDispatchDriver 2
  6678        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lldata
  6679        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  6680        Get InvokeComMethod of hDispatchDriver 34 OLE_VT_DISPATCH to retVal
  6681        Function_Return retVal
  6682    End_Function
  6683
  6684    Procedure ComUnadvise Variant llpVal
  6685        Handle hDispatchDriver
  6686        Get phDispatchDriver to hDispatchDriver
  6687        Send PrepareParams to hDispatchDriver 1
  6688        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
  6689        Send InvokeComMethod to hDispatchDriver 35 OLE_VT_VOID
  6690    End_Procedure
  6691
  6692    Procedure ComUpdateData Variant llpDatabase Boolean llbClientOnly
  6693        Handle hDispatchDriver
  6694        Get phDispatchDriver to hDispatchDriver
  6695        Send PrepareParams to hDispatchDriver 2
  6696        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpDatabase
  6697        Send DefineParam to hDispatchDriver OLE_VT_BOOL llbClientOnly
  6698        Send InvokeComMethod to hDispatchDriver 36 OLE_VT_VOID
  6699    End_Procedure
  6700
  6701    Function ComVerifyTableConnectivity Variant llTable Returns Boolean
  6702        Handle hDispatchDriver
  6703        Boolean retVal
  6704        Get phDispatchDriver to hDispatchDriver
  6705        Send PrepareParams to hDispatchDriver 1
  6706        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  6707        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_BOOL to retVal
  6708        Function_Return retVal
  6709    End_Function
  6710End_Class
  6711
  6712// CLSID: {235DA156-FB09-43DC-93F0-8D45247248AC}
  6713Class cFlex2CrystalIDatabaseControllerEvents is a Mixin
  6714
  6715    
  6716    Procedure OnComAdded
  6717    End_Procedure
  6718
  6719    
  6720    Procedure OnComAliasChanged
  6721    End_Procedure
  6722
  6723    
  6724    Procedure OnComBeginTransaction
  6725    End_Procedure
  6726
  6727    
  6728    Procedure OnComChanged
  6729    End_Procedure
  6730
  6731    
  6732    Procedure OnComDataSourceChanged
  6733    End_Procedure
  6734
  6735    
  6736    Procedure OnComEndTransaction
  6737    End_Procedure
  6738
  6739    
  6740    Procedure OnComRemoved
  6741    End_Procedure
  6742
  6743    
  6744    Procedure RegisterComEvents
  6745        Send RegisterComEvent 1 msg_OnComAdded
  6746        Send RegisterComEvent 2 msg_OnComAliasChanged
  6747        Send RegisterComEvent 3 msg_OnComBeginTransaction
  6748        Send RegisterComEvent 4 msg_OnComChanged
  6749        Send RegisterComEvent 5 msg_OnComDataSourceChanged
  6750        Send RegisterComEvent 6 msg_OnComEndTransaction
  6751        Send RegisterComEvent 7 msg_OnComRemoved
  6752    End_Procedure
  6753End_Class
  6754
  6755Class cFlex2CrystalDatabaseController is a cComAutomationObject
  6756    Import_Class_Protocol cFlex2CrystalIDatabaseController
  6757    Import_Class_Protocol cFlex2CrystalIDatabaseControllerEvents
  6758
  6759    Procedure Construct_Object
  6760        Forward Send Construct_Object
  6761        Set psEventId to "{235DA156-FB09-43DC-93F0-8D45247248AC}"
  6762        Set peAutoCreate to acNoAutoCreate
  6763    End_Procedure
  6764End_Class
  6765
  6766Class cFlex2CrystalIDatabaseControllerClass is a Mixin
  6767
  6768    
  6769    Function ComDatabase Returns Variant
  6770        Handle hDispatchDriver
  6771        Variant retVal
  6772        Get phDispatchDriver to hDispatchDriver
  6773        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_VARIANT to retVal
  6774        Function_Return retVal
  6775    End_Function
  6776
  6777    
  6778    Procedure Set ComDatabase Variant value
  6779        Handle hDispatchDriver
  6780        Get phDispatchDriver to hDispatchDriver
  6781        Send PrepareParams to hDispatchDriver 1
  6782        Set ComProperty of hDispatchDriver 1 OLE_VT_VARIANT to value
  6783    End_Procedure
  6784
  6785    
  6786    Function ComPreferredViewingLocaleID Returns OLEF2CCeLocale
  6787        Handle hDispatchDriver
  6788        OLEF2CCeLocale retVal
  6789        Get phDispatchDriver to hDispatchDriver
  6790        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  6791        Function_Return retVal
  6792    End_Function
  6793
  6794    
  6795    Procedure Set ComPreferredViewingLocaleID OLEF2CCeLocale value
  6796        Handle hDispatchDriver
  6797        Get phDispatchDriver to hDispatchDriver
  6798        Send PrepareParams to hDispatchDriver 1
  6799        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
  6800    End_Procedure
  6801
  6802    
  6803    Function ComProductLocaleID Returns OLEF2CCeLocale
  6804        Handle hDispatchDriver
  6805        OLEF2CCeLocale retVal
  6806        Get phDispatchDriver to hDispatchDriver
  6807        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
  6808        Function_Return retVal
  6809    End_Function
  6810
  6811    
  6812    Procedure Set ComProductLocaleID OLEF2CCeLocale value
  6813        Handle hDispatchDriver
  6814        Get phDispatchDriver to hDispatchDriver
  6815        Send PrepareParams to hDispatchDriver 1
  6816        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
  6817    End_Procedure
  6818
  6819    
  6820    Function ComUndoManager Returns Variant
  6821        Handle hDispatchDriver
  6822        Variant retVal
  6823        Get phDispatchDriver to hDispatchDriver
  6824        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  6825        Function_Return retVal
  6826    End_Function
  6827
  6828    
  6829    Procedure Set ComUndoManager Variant value
  6830        Handle hDispatchDriver
  6831        Get phDispatchDriver to hDispatchDriver
  6832        Send PrepareParams to hDispatchDriver 1
  6833        Set ComProperty of hDispatchDriver 5 OLE_VT_VARIANT to value
  6834    End_Procedure
  6835
  6836    Procedure ComAddDataSource Variant llDataSource
  6837        Handle hDispatchDriver
  6838        Get phDispatchDriver to hDispatchDriver
  6839        Send PrepareParams to hDispatchDriver 1
  6840        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDataSource
  6841        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  6842    End_Procedure
  6843
  6844    Procedure ComAddTable Variant llTable Variant llRelatedTableLinks
  6845        Handle hDispatchDriver
  6846        Get phDispatchDriver to hDispatchDriver
  6847        Send PrepareParams to hDispatchDriver 2
  6848        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  6849        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llRelatedTableLinks
  6850        Send InvokeComMethod to hDispatchDriver 7 OLE_VT_VOID
  6851    End_Procedure
  6852
  6853    Procedure ComAddTableLink Variant llTableLink
  6854        Handle hDispatchDriver
  6855        Get phDispatchDriver to hDispatchDriver
  6856        Send PrepareParams to hDispatchDriver 1
  6857        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTableLink
  6858        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  6859    End_Procedure
  6860
  6861    Procedure ComAdvise Variant llpVal
  6862        Handle hDispatchDriver
  6863        Get phDispatchDriver to hDispatchDriver
  6864        Send PrepareParams to hDispatchDriver 1
  6865        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
  6866        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
  6867    End_Procedure
  6868
  6869    Procedure ComBeginTransaction
  6870        Handle hDispatchDriver
  6871        Get phDispatchDriver to hDispatchDriver
  6872        Send InvokeComMethod to hDispatchDriver 10 OLE_VT_VOID
  6873    End_Procedure
  6874
  6875    Function ComCanExecuteSQL Returns Boolean
  6876        Handle hDispatchDriver
  6877        Boolean retVal
  6878        Get phDispatchDriver to hDispatchDriver
  6879        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
  6880        Function_Return retVal
  6881    End_Function
  6882
  6883    Procedure ComDoSmartLinking
  6884        Handle hDispatchDriver
  6885        Get phDispatchDriver to hDispatchDriver
  6886        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
  6887    End_Procedure
  6888
  6889    Procedure ComEndTransaction
  6890        Handle hDispatchDriver
  6891        Get phDispatchDriver to hDispatchDriver
  6892        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  6893    End_Procedure
  6894
  6895    Function ComEquals Variant llobj Returns Boolean
  6896        Handle hDispatchDriver
  6897        Boolean retVal
  6898        Get phDispatchDriver to hDispatchDriver
  6899        Send PrepareParams to hDispatchDriver 1
  6900        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  6901        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BOOL to retVal
  6902        Function_Return retVal
  6903    End_Function
  6904
  6905    Function ComFindConnectionInfoByDBServerName String llServerName Returns Variant
  6906        Handle hDispatchDriver
  6907        Variant retVal
  6908        Get phDispatchDriver to hDispatchDriver
  6909        Send PrepareParams to hDispatchDriver 1
  6910        Send DefineParam to hDispatchDriver OLE_VT_BSTR llServerName
  6911        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_DISPATCH to retVal
  6912        Function_Return retVal
  6913    End_Function
  6914
  6915    Function ComFindTableLink Variant llfromTable Variant llToTable Returns Variant
  6916        Handle hDispatchDriver
  6917        Variant retVal
  6918        Get phDispatchDriver to hDispatchDriver
  6919        Send PrepareParams to hDispatchDriver 2
  6920        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llfromTable
  6921        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llToTable
  6922        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_DISPATCH to retVal
  6923        Function_Return retVal
  6924    End_Function
  6925
  6926    Function ComGetConnectionInfos Variant llPromptProperties Returns Variant
  6927        Handle hDispatchDriver
  6928        Variant retVal
  6929        Get phDispatchDriver to hDispatchDriver
  6930        Send PrepareParams to hDispatchDriver 1
  6931        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llPromptProperties
  6932        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_DISPATCH to retVal
  6933        Function_Return retVal
  6934    End_Function
  6935
  6936    Function ComGetHashCode Returns Integer
  6937        Handle hDispatchDriver
  6938        Integer retVal
  6939        Get phDispatchDriver to hDispatchDriver
  6940        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_I4 to retVal
  6941        Function_Return retVal
  6942    End_Function
  6943
  6944    Function ComGetServerNames Returns Variant
  6945        Handle hDispatchDriver
  6946        Variant retVal
  6947        Get phDispatchDriver to hDispatchDriver
  6948        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_DISPATCH to retVal
  6949        Function_Return retVal
  6950    End_Function
  6951
  6952    Procedure ComLogon String llUserName String llPassword
  6953        Handle hDispatchDriver
  6954        Get phDispatchDriver to hDispatchDriver
  6955        Send PrepareParams to hDispatchDriver 2
  6956        Send DefineParam to hDispatchDriver OLE_VT_BSTR llUserName
  6957        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
  6958        Send InvokeComMethod to hDispatchDriver 22 OLE_VT_VOID
  6959    End_Procedure
  6960
  6961    Procedure ComLogonEx String llServerName String llDatabaseName String llUserName String llPassword
  6962        Handle hDispatchDriver
  6963        Get phDispatchDriver to hDispatchDriver
  6964        Send PrepareParams to hDispatchDriver 4
  6965        Send DefineParam to hDispatchDriver OLE_VT_BSTR llServerName
  6966        Send DefineParam to hDispatchDriver OLE_VT_BSTR llDatabaseName
  6967        Send DefineParam to hDispatchDriver OLE_VT_BSTR llUserName
  6968        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
  6969        Send InvokeComMethod to hDispatchDriver 23 OLE_VT_VOID
  6970    End_Procedure
  6971
  6972    Procedure ComModifyFieldHeading Variant llDBField String llNewFieldHeadingText
  6973        Handle hDispatchDriver
  6974        Get phDispatchDriver to hDispatchDriver
  6975        Send PrepareParams to hDispatchDriver 2
  6976        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDBField
  6977        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewFieldHeadingText
  6978        Send InvokeComMethod to hDispatchDriver 24 OLE_VT_VOID
  6979    End_Procedure
  6980
  6981    Procedure ComModifyTableAlias Variant llTable String llNewTableAlias
  6982        Handle hDispatchDriver
  6983        Get phDispatchDriver to hDispatchDriver
  6984        Send PrepareParams to hDispatchDriver 2
  6985        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  6986        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableAlias
  6987        Send InvokeComMethod to hDispatchDriver 25 OLE_VT_VOID
  6988    End_Procedure
  6989
  6990    Procedure ComModifyTableConnectionInfo String llTableAlias Variant llNewConnectionInfo
  6991        Handle hDispatchDriver
  6992        Get phDispatchDriver to hDispatchDriver
  6993        Send PrepareParams to hDispatchDriver 2
  6994        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  6995        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewConnectionInfo
  6996        Send InvokeComMethod to hDispatchDriver 26 OLE_VT_VOID
  6997    End_Procedure
  6998
  6999    Procedure ComModifyTableLink Variant llOldTableLink Variant llNewTableLink
  7000        Handle hDispatchDriver
  7001        Get phDispatchDriver to hDispatchDriver
  7002        Send PrepareParams to hDispatchDriver 2
  7003        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llOldTableLink
  7004        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewTableLink
  7005        Send InvokeComMethod to hDispatchDriver 27 OLE_VT_VOID
  7006    End_Procedure
  7007
  7008    Procedure ComRemoveTable String llTableAlias
  7009        Handle hDispatchDriver
  7010        Get phDispatchDriver to hDispatchDriver
  7011        Send PrepareParams to hDispatchDriver 1
  7012        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  7013        Send InvokeComMethod to hDispatchDriver 28 OLE_VT_VOID
  7014    End_Procedure
  7015
  7016    Procedure ComRemoveTableLink Variant llTableLink
  7017        Handle hDispatchDriver
  7018        Get phDispatchDriver to hDispatchDriver
  7019        Send PrepareParams to hDispatchDriver 1
  7020        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTableLink
  7021        Send InvokeComMethod to hDispatchDriver 29 OLE_VT_VOID
  7022    End_Procedure
  7023
  7024    Procedure ComReplaceConnection Variant lloldConnection Variant llnewConnection Variant llParameterFields Variant llcrDBOptionUseDefault
  7025        Handle hDispatchDriver
  7026        Get phDispatchDriver to hDispatchDriver
  7027        Send PrepareParams to hDispatchDriver 4
  7028        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lloldConnection
  7029        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llnewConnection
  7030        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llParameterFields
  7031        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llcrDBOptionUseDefault
  7032        Send InvokeComMethod to hDispatchDriver 30 OLE_VT_VOID
  7033    End_Procedure
  7034
  7035    Procedure ComResetData Boolean llbClientOnly
  7036        Handle hDispatchDriver
  7037        Get phDispatchDriver to hDispatchDriver
  7038        Send PrepareParams to hDispatchDriver 1
  7039        Send DefineParam to hDispatchDriver OLE_VT_BOOL llbClientOnly
  7040        Send InvokeComMethod to hDispatchDriver 31 OLE_VT_VOID
  7041    End_Procedure
  7042
  7043    Procedure ComSetConnectionInfos Variant llConnectionInfos
  7044        Handle hDispatchDriver
  7045        Get phDispatchDriver to hDispatchDriver
  7046        Send PrepareParams to hDispatchDriver 1
  7047        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llConnectionInfos
  7048        Send InvokeComMethod to hDispatchDriver 32 OLE_VT_VOID
  7049    End_Procedure
  7050
  7051    Procedure ComSetDataSource Variant llDataSource String llOldTableAlias String llNewTableName
  7052        Handle hDispatchDriver
  7053        Get phDispatchDriver to hDispatchDriver
  7054        Send PrepareParams to hDispatchDriver 3
  7055        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llDataSource
  7056        Send DefineParam to hDispatchDriver OLE_VT_BSTR llOldTableAlias
  7057        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableName
  7058        Send InvokeComMethod to hDispatchDriver 33 OLE_VT_VOID
  7059    End_Procedure
  7060
  7061    Procedure ComSetSQLCommandTable Variant llconnInfo String llNewTableName String llsqlString
  7062        Handle hDispatchDriver
  7063        Get phDispatchDriver to hDispatchDriver
  7064        Send PrepareParams to hDispatchDriver 3
  7065        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llconnInfo
  7066        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableName
  7067        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsqlString
  7068        Send InvokeComMethod to hDispatchDriver 34 OLE_VT_VOID
  7069    End_Procedure
  7070
  7071    Procedure ComSetTableLocation Variant llCurTable Variant llNewTable
  7072        Handle hDispatchDriver
  7073        Get phDispatchDriver to hDispatchDriver
  7074        Send PrepareParams to hDispatchDriver 2
  7075        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llCurTable
  7076        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewTable
  7077        Send InvokeComMethod to hDispatchDriver 35 OLE_VT_VOID
  7078    End_Procedure
  7079
  7080    Procedure ComSetTableLocationByServerDatabaseName String llTableAlias String llServerName String llDatabaseName String llUserName String llPassword
  7081        Handle hDispatchDriver
  7082        Get phDispatchDriver to hDispatchDriver
  7083        Send PrepareParams to hDispatchDriver 5
  7084        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  7085        Send DefineParam to hDispatchDriver OLE_VT_BSTR llServerName
  7086        Send DefineParam to hDispatchDriver OLE_VT_BSTR llDatabaseName
  7087        Send DefineParam to hDispatchDriver OLE_VT_BSTR llUserName
  7088        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
  7089        Send InvokeComMethod to hDispatchDriver 36 OLE_VT_VOID
  7090    End_Procedure
  7091
  7092    Procedure ComSetTableLocationEx Variant llCurTable Variant llNewTable
  7093        Handle hDispatchDriver
  7094        Get phDispatchDriver to hDispatchDriver
  7095        Send PrepareParams to hDispatchDriver 2
  7096        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llCurTable
  7097        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewTable
  7098        Send InvokeComMethod to hDispatchDriver 37 OLE_VT_VOID
  7099    End_Procedure
  7100
  7101    Function ComToDataSet Variant lldata String llTableAlias Returns Variant
  7102        Handle hDispatchDriver
  7103        Variant retVal
  7104        Get phDispatchDriver to hDispatchDriver
  7105        Send PrepareParams to hDispatchDriver 2
  7106        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lldata
  7107        Send DefineParam to hDispatchDriver OLE_VT_BSTR llTableAlias
  7108        Get InvokeComMethod of hDispatchDriver 38 OLE_VT_DISPATCH to retVal
  7109        Function_Return retVal
  7110    End_Function
  7111
  7112    
  7113    Function ComToString Returns String
  7114        Handle hDispatchDriver
  7115        String retVal
  7116        Get phDispatchDriver to hDispatchDriver
  7117        Get InvokeComMethod of hDispatchDriver 39 OLE_VT_BSTR to retVal
  7118        Function_Return retVal
  7119    End_Function
  7120
  7121    Procedure ComUnadvise Variant llpVal
  7122        Handle hDispatchDriver
  7123        Get phDispatchDriver to hDispatchDriver
  7124        Send PrepareParams to hDispatchDriver 1
  7125        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
  7126        Send InvokeComMethod to hDispatchDriver 40 OLE_VT_VOID
  7127    End_Procedure
  7128
  7129    Procedure ComUpdateData Variant llpDatabase Boolean llbClientOnly
  7130        Handle hDispatchDriver
  7131        Get phDispatchDriver to hDispatchDriver
  7132        Send PrepareParams to hDispatchDriver 2
  7133        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpDatabase
  7134        Send DefineParam to hDispatchDriver OLE_VT_BOOL llbClientOnly
  7135        Send InvokeComMethod to hDispatchDriver 41 OLE_VT_VOID
  7136    End_Procedure
  7137
  7138    Function ComVerifyTableConnectivity Variant llTable Returns Boolean
  7139        Handle hDispatchDriver
  7140        Boolean retVal
  7141        Get phDispatchDriver to hDispatchDriver
  7142        Send PrepareParams to hDispatchDriver 1
  7143        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  7144        Get InvokeComMethod of hDispatchDriver 42 OLE_VT_BOOL to retVal
  7145        Function_Return retVal
  7146    End_Function
  7147End_Class
  7148
  7149Class cFlex2CrystalIDatabaseControllerClassEvents is a Mixin
  7150
  7151    
  7152    Procedure OnComAdded
  7153    End_Procedure
  7154
  7155    
  7156    Procedure OnComAliasChanged
  7157    End_Procedure
  7158
  7159    
  7160    Procedure OnComBeginTransaction
  7161    End_Procedure
  7162
  7163    
  7164    Procedure OnComChanged
  7165    End_Procedure
  7166
  7167    
  7168    Procedure OnComDataSourceChanged
  7169    End_Procedure
  7170
  7171    
  7172    Procedure OnComEndTransaction
  7173    End_Procedure
  7174
  7175    
  7176    Procedure OnComRemoved
  7177    End_Procedure
  7178
  7179    
  7180    Procedure RegisterComEvents
  7181        Send RegisterComEvent 1 msg_OnComAdded
  7182        Send RegisterComEvent 2 msg_OnComAliasChanged
  7183        Send RegisterComEvent 3 msg_OnComBeginTransaction
  7184        Send RegisterComEvent 4 msg_OnComChanged
  7185        Send RegisterComEvent 5 msg_OnComDataSourceChanged
  7186        Send RegisterComEvent 6 msg_OnComEndTransaction
  7187        Send RegisterComEvent 7 msg_OnComRemoved
  7188    End_Procedure
  7189End_Class
  7190
  7191Class cFlex2CrystalDatabaseControllerClass is a cComAutomationObject
  7192    Import_Class_Protocol cFlex2CrystalIDatabaseControllerClass
  7193    Import_Class_Protocol cFlex2CrystalIDatabaseControllerClassEvents
  7194
  7195    Procedure Construct_Object
  7196        Forward Send Construct_Object
  7197        Set psProgID to "{40DF7AB8-2B9C-4338-AC72-3A5294BA17B9}"
  7198        Set psEventId to "{C54845FA-6D09-48ED-B7FE-D3E32CC9C158}"
  7199        Set peAutoCreate to acNoAutoCreate
  7200    End_Procedure
  7201End_Class
  7202
  7203Class cFlex2CrystalITablesClass is a Mixin
  7204
  7205    
  7206    Function ComClassName Returns String
  7207        Handle hDispatchDriver
  7208        String retVal
  7209        Get phDispatchDriver to hDispatchDriver
  7210        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  7211        Function_Return retVal
  7212    End_Function
  7213
  7214    
  7215    Function ComCount Returns Integer
  7216        Handle hDispatchDriver
  7217        Integer retVal
  7218        Get phDispatchDriver to hDispatchDriver
  7219        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  7220        Function_Return retVal
  7221    End_Function
  7222
  7223    Function ComItem Variant llIndex Returns Variant
  7224        Handle hDispatchDriver
  7225        Variant retVal
  7226        Get phDispatchDriver to hDispatchDriver
  7227        Send PrepareParams to hDispatchDriver 1
  7228        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  7229        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  7230        Function_Return retVal
  7231    End_Function
  7232
  7233    Procedure ComAdd Variant llTable
  7234        Handle hDispatchDriver
  7235        Get phDispatchDriver to hDispatchDriver
  7236        Send PrepareParams to hDispatchDriver 1
  7237        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  7238        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
  7239    End_Procedure
  7240
  7241    Function ComClone Boolean llDeepClone Returns Variant
  7242        Handle hDispatchDriver
  7243        Variant retVal
  7244        Get phDispatchDriver to hDispatchDriver
  7245        Send PrepareParams to hDispatchDriver 1
  7246        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  7247        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  7248        Function_Return retVal
  7249    End_Function
  7250
  7251    Procedure ComCopyTo Variant llTables Boolean llDeepCopy
  7252        Handle hDispatchDriver
  7253        Get phDispatchDriver to hDispatchDriver
  7254        Send PrepareParams to hDispatchDriver 2
  7255        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTables
  7256        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  7257        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  7258    End_Procedure
  7259
  7260    Procedure ComEnsureCapacity Integer llMaxCapacity
  7261        Handle hDispatchDriver
  7262        Get phDispatchDriver to hDispatchDriver
  7263        Send PrepareParams to hDispatchDriver 1
  7264        Send DefineParam to hDispatchDriver OLE_VT_I4 llMaxCapacity
  7265        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  7266    End_Procedure
  7267
  7268    Function ComEquals Variant llobj Returns Boolean
  7269        Handle hDispatchDriver
  7270        Boolean retVal
  7271        Get phDispatchDriver to hDispatchDriver
  7272        Send PrepareParams to hDispatchDriver 1
  7273        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  7274        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  7275        Function_Return retVal
  7276    End_Function
  7277
  7278    Function ComEquals_2 Variant llTables Returns Boolean
  7279        Handle hDispatchDriver
  7280        Boolean retVal
  7281        Get phDispatchDriver to hDispatchDriver
  7282        Send PrepareParams to hDispatchDriver 1
  7283        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTables
  7284        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
  7285        Function_Return retVal
  7286    End_Function
  7287
  7288    Function ComFindByAlias String llAliasName Returns Integer
  7289        Handle hDispatchDriver
  7290        Integer retVal
  7291        Get phDispatchDriver to hDispatchDriver
  7292        Send PrepareParams to hDispatchDriver 1
  7293        Send DefineParam to hDispatchDriver OLE_VT_BSTR llAliasName
  7294        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  7295        Function_Return retVal
  7296    End_Function
  7297
  7298    Function ComFindIndexOf Variant llTable Returns Integer
  7299        Handle hDispatchDriver
  7300        Integer retVal
  7301        Get phDispatchDriver to hDispatchDriver
  7302        Send PrepareParams to hDispatchDriver 1
  7303        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  7304        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_I4 to retVal
  7305        Function_Return retVal
  7306    End_Function
  7307
  7308    Function ComFindTableByAlias String llAliasName Returns Variant
  7309        Handle hDispatchDriver
  7310        Variant retVal
  7311        Get phDispatchDriver to hDispatchDriver
  7312        Send PrepareParams to hDispatchDriver 1
  7313        Send DefineParam to hDispatchDriver OLE_VT_BSTR llAliasName
  7314        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_DISPATCH to retVal
  7315        Function_Return retVal
  7316    End_Function
  7317
  7318    Function ComGetHashCode Returns Integer
  7319        Handle hDispatchDriver
  7320        Integer retVal
  7321        Get phDispatchDriver to hDispatchDriver
  7322        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
  7323        Function_Return retVal
  7324    End_Function
  7325
  7326    Procedure ComInsert Integer llIndex Variant llTable
  7327        Handle hDispatchDriver
  7328        Get phDispatchDriver to hDispatchDriver
  7329        Send PrepareParams to hDispatchDriver 2
  7330        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  7331        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  7332        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
  7333    End_Procedure
  7334
  7335    Procedure ComRemove Integer llIndex
  7336        Handle hDispatchDriver
  7337        Get phDispatchDriver to hDispatchDriver
  7338        Send PrepareParams to hDispatchDriver 1
  7339        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  7340        Send InvokeComMethod to hDispatchDriver 18 OLE_VT_VOID
  7341    End_Procedure
  7342
  7343    Procedure ComRemoveAll
  7344        Handle hDispatchDriver
  7345        Get phDispatchDriver to hDispatchDriver
  7346        Send InvokeComMethod to hDispatchDriver 19 OLE_VT_VOID
  7347    End_Procedure
  7348
  7349    
  7350    Function ComToString Returns String
  7351        Handle hDispatchDriver
  7352        String retVal
  7353        Get phDispatchDriver to hDispatchDriver
  7354        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_BSTR to retVal
  7355        Function_Return retVal
  7356    End_Function
  7357End_Class
  7358
  7359Class cFlex2CrystalTablesClass is a cComAutomationObject
  7360    Import_Class_Protocol cFlex2CrystalITablesClass
  7361
  7362    Procedure Construct_Object
  7363        Forward Send Construct_Object
  7364        Set psProgID to "{9228D7E4-6443-43E3-81D0-3F053A661987}"
  7365        Set peAutoCreate to acNoAutoCreate
  7366    End_Procedure
  7367End_Class
  7368
  7369Class cFlex2CrystalIDatabaseTables is a Mixin
  7370
  7371    
  7372    Function ComCount Returns Integer
  7373        Handle hDispatchDriver
  7374        Integer retVal
  7375        Get phDispatchDriver to hDispatchDriver
  7376        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  7377        Function_Return retVal
  7378    End_Function
  7379
  7380    
  7381    Function ComCurrent Returns Variant
  7382        Handle hDispatchDriver
  7383        Variant retVal
  7384        Get phDispatchDriver to hDispatchDriver
  7385        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
  7386        Function_Return retVal
  7387    End_Function
  7388
  7389    
  7390    Function ComIsReadOnly Returns Boolean
  7391        Handle hDispatchDriver
  7392        Boolean retVal
  7393        Get phDispatchDriver to hDispatchDriver
  7394        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  7395        Function_Return retVal
  7396    End_Function
  7397
  7398    
  7399    Function ComIsSynchronized Returns Boolean
  7400        Handle hDispatchDriver
  7401        Boolean retVal
  7402        Get phDispatchDriver to hDispatchDriver
  7403        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  7404        Function_Return retVal
  7405    End_Function
  7406
  7407    
  7408    Function ComSyncRoot Returns Variant
  7409        Handle hDispatchDriver
  7410        Variant retVal
  7411        Get phDispatchDriver to hDispatchDriver
  7412        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  7413        Function_Return retVal
  7414    End_Function
  7415
  7416    Function ComItem Variant llIndex Returns Variant
  7417        Handle hDispatchDriver
  7418        Variant retVal
  7419        Get phDispatchDriver to hDispatchDriver
  7420        Send PrepareParams to hDispatchDriver 1
  7421        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  7422        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  7423        Function_Return retVal
  7424    End_Function
  7425
  7426    Procedure ComDispose
  7427        Handle hDispatchDriver
  7428        Get phDispatchDriver to hDispatchDriver
  7429        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  7430    End_Procedure
  7431
  7432    Function ComEquals Variant llobj Returns Boolean
  7433        Handle hDispatchDriver
  7434        Boolean retVal
  7435        Get phDispatchDriver to hDispatchDriver
  7436        Send PrepareParams to hDispatchDriver 1
  7437        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  7438        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  7439        Function_Return retVal
  7440    End_Function
  7441
  7442    Function ComGetHashCode Returns Integer
  7443        Handle hDispatchDriver
  7444        Integer retVal
  7445        Get phDispatchDriver to hDispatchDriver
  7446        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  7447        Function_Return retVal
  7448    End_Function
  7449
  7450    Function ComMoveNext Returns Boolean
  7451        Handle hDispatchDriver
  7452        Boolean retVal
  7453        Get phDispatchDriver to hDispatchDriver
  7454        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
  7455        Function_Return retVal
  7456    End_Function
  7457
  7458    Procedure ComReset
  7459        Handle hDispatchDriver
  7460        Get phDispatchDriver to hDispatchDriver
  7461        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  7462    End_Procedure
  7463
  7464    
  7465    Function ComToString Returns String
  7466        Handle hDispatchDriver
  7467        String retVal
  7468        Get phDispatchDriver to hDispatchDriver
  7469        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
  7470        Function_Return retVal
  7471    End_Function
  7472End_Class
  7473
  7474Class cFlex2CrystalDatabaseTables is a cComAutomationObject
  7475    Import_Class_Protocol cFlex2CrystalIDatabaseTables
  7476
  7477    Procedure Construct_Object
  7478        Forward Send Construct_Object
  7479        Set peAutoCreate to acNoAutoCreate
  7480    End_Procedure
  7481End_Class
  7482
  7483Class cFlex2CrystalITableClass is a Mixin
  7484
  7485    
  7486    Function ComAlias Returns String
  7487        Handle hDispatchDriver
  7488        String retVal
  7489        Get phDispatchDriver to hDispatchDriver
  7490        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  7491        Function_Return retVal
  7492    End_Function
  7493
  7494    
  7495    Procedure Set ComAlias String value
  7496        Handle hDispatchDriver
  7497        Get phDispatchDriver to hDispatchDriver
  7498        Send PrepareParams to hDispatchDriver 1
  7499        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
  7500    End_Procedure
  7501
  7502    
  7503    Function ComAttributes Returns Variant
  7504        Handle hDispatchDriver
  7505        Variant retVal
  7506        Get phDispatchDriver to hDispatchDriver
  7507        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
  7508        Function_Return retVal
  7509    End_Function
  7510
  7511    
  7512    Procedure Set ComAttributes Variant value
  7513        Handle hDispatchDriver
  7514        Get phDispatchDriver to hDispatchDriver
  7515        Send PrepareParams to hDispatchDriver 1
  7516        Set ComProperty of hDispatchDriver 2 OLE_VT_VARIANT to value
  7517    End_Procedure
  7518
  7519    
  7520    Function ComClassName Returns String
  7521        Handle hDispatchDriver
  7522        String retVal
  7523        Get phDispatchDriver to hDispatchDriver
  7524        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  7525        Function_Return retVal
  7526    End_Function
  7527
  7528    
  7529    Function ComConnectionInfo Returns Variant
  7530        Handle hDispatchDriver
  7531        Variant retVal
  7532        Get phDispatchDriver to hDispatchDriver
  7533        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_VARIANT to retVal
  7534        Function_Return retVal
  7535    End_Function
  7536
  7537    
  7538    Procedure Set ComConnectionInfo Variant value
  7539        Handle hDispatchDriver
  7540        Get phDispatchDriver to hDispatchDriver
  7541        Send PrepareParams to hDispatchDriver 1
  7542        Set ComProperty of hDispatchDriver 4 OLE_VT_VARIANT to value
  7543    End_Procedure
  7544
  7545    
  7546    Function ComDataFields Returns Variant
  7547        Handle hDispatchDriver
  7548        Variant retVal
  7549        Get phDispatchDriver to hDispatchDriver
  7550        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  7551        Function_Return retVal
  7552    End_Function
  7553
  7554    
  7555    Procedure Set ComDataFields Variant value
  7556        Handle hDispatchDriver
  7557        Get phDispatchDriver to hDispatchDriver
  7558        Send PrepareParams to hDispatchDriver 1
  7559        Set ComProperty of hDispatchDriver 5 OLE_VT_VARIANT to value
  7560    End_Procedure
  7561
  7562    
  7563    Function ComDescription Returns String
  7564        Handle hDispatchDriver
  7565        String retVal
  7566        Get phDispatchDriver to hDispatchDriver
  7567        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
  7568        Function_Return retVal
  7569    End_Function
  7570
  7571    
  7572    Procedure Set ComDescription String value
  7573        Handle hDispatchDriver
  7574        Get phDispatchDriver to hDispatchDriver
  7575        Send PrepareParams to hDispatchDriver 1
  7576        Set ComProperty of hDispatchDriver 6 OLE_VT_BSTR to value
  7577    End_Procedure
  7578
  7579    
  7580    Function ComName Returns String
  7581        Handle hDispatchDriver
  7582        String retVal
  7583        Get phDispatchDriver to hDispatchDriver
  7584        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BSTR to retVal
  7585        Function_Return retVal
  7586    End_Function
  7587
  7588    
  7589    Procedure Set ComName String value
  7590        Handle hDispatchDriver
  7591        Get phDispatchDriver to hDispatchDriver
  7592        Send PrepareParams to hDispatchDriver 1
  7593        Set ComProperty of hDispatchDriver 7 OLE_VT_BSTR to value
  7594    End_Procedure
  7595
  7596    
  7597    Function ComQualifiedName Returns String
  7598        Handle hDispatchDriver
  7599        String retVal
  7600        Get phDispatchDriver to hDispatchDriver
  7601        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
  7602        Function_Return retVal
  7603    End_Function
  7604
  7605    
  7606    Procedure Set ComQualifiedName String value
  7607        Handle hDispatchDriver
  7608        Get phDispatchDriver to hDispatchDriver
  7609        Send PrepareParams to hDispatchDriver 1
  7610        Set ComProperty of hDispatchDriver 8 OLE_VT_BSTR to value
  7611    End_Procedure
  7612
  7613    Function ComClone Boolean llDeepClone Returns Variant
  7614        Handle hDispatchDriver
  7615        Variant retVal
  7616        Get phDispatchDriver to hDispatchDriver
  7617        Send PrepareParams to hDispatchDriver 1
  7618        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  7619        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_DISPATCH to retVal
  7620        Function_Return retVal
  7621    End_Function
  7622
  7623    Procedure ComCopyTo Variant llTable Boolean llDeepCopy
  7624        Handle hDispatchDriver
  7625        Get phDispatchDriver to hDispatchDriver
  7626        Send PrepareParams to hDispatchDriver 2
  7627        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  7628        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  7629        Send InvokeComMethod to hDispatchDriver 10 OLE_VT_VOID
  7630    End_Procedure
  7631
  7632    Function ComEquals Variant llTable Returns Boolean
  7633        Handle hDispatchDriver
  7634        Boolean retVal
  7635        Get phDispatchDriver to hDispatchDriver
  7636        Send PrepareParams to hDispatchDriver 1
  7637        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llTable
  7638        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
  7639        Function_Return retVal
  7640    End_Function
  7641
  7642    Function ComEquals_2 Variant llobj Returns Boolean
  7643        Handle hDispatchDriver
  7644        Boolean retVal
  7645        Get phDispatchDriver to hDispatchDriver
  7646        Send PrepareParams to hDispatchDriver 1
  7647        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  7648        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
  7649        Function_Return retVal
  7650    End_Function
  7651
  7652    Function ComGetHashCode Returns Integer
  7653        Handle hDispatchDriver
  7654        Integer retVal
  7655        Get phDispatchDriver to hDispatchDriver
  7656        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_I4 to retVal
  7657        Function_Return retVal
  7658    End_Function
  7659
  7660    Procedure ComReserved1
  7661        Handle hDispatchDriver
  7662        Get phDispatchDriver to hDispatchDriver
  7663        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
  7664    End_Procedure
  7665
  7666    
  7667    Function ComToString Returns String
  7668        Handle hDispatchDriver
  7669        String retVal
  7670        Get phDispatchDriver to hDispatchDriver
  7671        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_BSTR to retVal
  7672        Function_Return retVal
  7673    End_Function
  7674End_Class
  7675
  7676Class cFlex2CrystalTableClass is a cComAutomationObject
  7677    Import_Class_Protocol cFlex2CrystalITableClass
  7678
  7679    Procedure Construct_Object
  7680        Forward Send Construct_Object
  7681        Set psProgID to "{D00CC8E3-584A-4242-AE07-344753C95338}"
  7682        Set peAutoCreate to acNoAutoCreate
  7683    End_Procedure
  7684End_Class
  7685
  7686Class cFlex2CrystalIDatabaseTable is a Mixin
  7687    // Custom Properties
  7688    Function ComDllName Returns String
  7689        Handle hoTLI hoCI hoBag hoDCC hoRASDB hoRASTables hoRASTable hoSRC
  7690        Variant vCI vBag vRetval vDCC vRASDB vRASTables vRASTable vSRC
  7691        String sVal
  7692
  7693        If (not(ComIsSubreport(Self))) Begin
  7694            Get ComDatabaseController of (ReportClientDocumentObject(Self)) to vDCC
  7695            Get Create U_cFlex2CrystalDatabaseController to hoDCC
  7696            Set pvComObject of hoDCC to vDCC
  7697        
  7698            Get ComDatabase of hoDCC to vRASDB
  7699            Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Database to hoRASDB
  7700            Set pvComObject of hoRASDB to vRASDB
  7701            Send Destroy of hoDCC
  7702        End
  7703        Else Begin
  7704            Get ComSubreportController of (ReportClientDocumentObject(Self)) to vSRC
  7705            Get Create U_cFlex2CrystalSubreportController to hoSRC
  7706            Set pvComObject of hoSRC to vSRC
  7707            
  7708            Get ComGetSubreportDatabase of hoSRC (psSubReportName(Self)) to vRASDB
  7709            Send Destroy of hoSRC
  7710            If (not(IsNullComObject(vRASDB))) Begin
  7711                Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Database to hoRASDB
  7712                Set pvComObject of hoRASDB to vRASDB
  7713            End
  7714            Else Begin
  7715                Send Destroy of hoRASDB
  7716                Function_Return ""
  7717            End
  7718        End
  7719        
  7720        Get ComTables of hoRASDB to vRASTables
  7721        Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Tables to hoRASTables
  7722        Set pvComObject of hoRASTables to vRASTables
  7723        Send Destroy of hoRASDB
  7724        
  7725        Get ComFindTableByAlias of hoRASTables (ComName(Self)) to vRASTable
  7726        Send Destroy of hoRASTables
  7727        If (not(IsNullComObject(vRASTable))) Begin
  7728            Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Table to hoRASTable
  7729            Set pvComObject of hoRASTable to vRASTable
  7730            
  7731            Get ComConnectionInfo of hoRASTable to vCI
  7732            Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_ConnectionInfo to hoCI
  7733            Set pvComObject of hoCI to vCI
  7734            Send Destroy of hoRASTable
  7735            
  7736            Get ComAttributes of hoCI to vBag
  7737            Get Create U_cComF2CPropertyBag to hoBag
  7738            Set pvComObject of hoBag to vBag
  7739            Send Destroy of hoCI
  7740
  7741            Get ComItem of hoBag "Database DLL" to sVal
  7742            Send Destroy of hoBag
  7743        End
  7744
  7745        Function_Return sVal
  7746    End_Function
  7747    
  7748    Function ComConnectBufferString Returns String
  7749        Function_Return ""
  7750    End_Function
  7751    
  7752    Function ComConnectionProperties Returns Variant
  7753        Function_Return Self
  7754    End_Function
  7755
  7756    
  7757    Function ComFields Returns Variant
  7758        Handle hDispatchDriver
  7759        Variant retVal
  7760        Get phDispatchDriver to hDispatchDriver
  7761        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
  7762        Function_Return retVal
  7763    End_Function
  7764
  7765    
  7766    Function ComLocation Returns String
  7767        Handle hDispatchDriver
  7768        String retVal
  7769        Get phDispatchDriver to hDispatchDriver
  7770        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BSTR to retVal
  7771        Function_Return retVal
  7772    End_Function
  7773
  7774    
  7775    Procedure Set ComLocation String value
  7776        Handle hDispatchDriver
  7777        Get phDispatchDriver to hDispatchDriver
  7778        Send PrepareParams to hDispatchDriver 1
  7779        Set ComProperty of hDispatchDriver 2 OLE_VT_BSTR to value
  7780    End_Procedure
  7781
  7782    
  7783    Function ComLogOnInfo Returns Variant
  7784        Handle hDispatchDriver
  7785        Variant retVal
  7786        Get phDispatchDriver to hDispatchDriver
  7787        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  7788        Function_Return retVal
  7789    End_Function
  7790
  7791    
  7792    Function ComName Returns String
  7793        Handle hDispatchDriver
  7794        String retVal
  7795        Get phDispatchDriver to hDispatchDriver
  7796        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
  7797        Function_Return retVal
  7798    End_Function
  7799
  7800    Procedure ComApplyLogOnInfo Variant llLogOnInfo
  7801        Handle hDispatchDriver
  7802        Get phDispatchDriver to hDispatchDriver
  7803        Send PrepareParams to hDispatchDriver 1
  7804        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llLogOnInfo
  7805        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
  7806    End_Procedure
  7807
  7808    Procedure ComDispose
  7809        Handle hDispatchDriver
  7810        Get phDispatchDriver to hDispatchDriver
  7811        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  7812    End_Procedure
  7813
  7814    Function ComEquals Variant llobj Returns Boolean
  7815        Handle hDispatchDriver
  7816        Boolean retVal
  7817        Get phDispatchDriver to hDispatchDriver
  7818        Send PrepareParams to hDispatchDriver 1
  7819        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  7820        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
  7821        Function_Return retVal
  7822    End_Function
  7823
  7824    Function ComGetHashCode Returns Integer
  7825        Handle hDispatchDriver
  7826        Integer retVal
  7827        Get phDispatchDriver to hDispatchDriver
  7828        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
  7829        Function_Return retVal
  7830    End_Function
  7831
  7832    Procedure ComSetDataSource Variant lldataSet
  7833        Handle hDispatchDriver
  7834        Get phDispatchDriver to hDispatchDriver
  7835        Send PrepareParams to hDispatchDriver 1
  7836        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataSet
  7837        Send InvokeComMethod to hDispatchDriver 10 OLE_VT_VOID
  7838    End_Procedure
  7839
  7840    Procedure ComSetDataSource_2 Variant lldataTable
  7841        Handle hDispatchDriver
  7842        Get phDispatchDriver to hDispatchDriver
  7843        Send PrepareParams to hDispatchDriver 1
  7844        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldataTable
  7845        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
  7846    End_Procedure
  7847
  7848    Procedure ComSetDataSource_3 Variant lldataReader
  7849        Handle hDispatchDriver
  7850        Get phDispatchDriver to hDispatchDriver
  7851        Send PrepareParams to hDispatchDriver 1
  7852        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lldataReader
  7853        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  7854    End_Procedure
  7855
  7856    Procedure ComSetDataSource_5 Variant llval
  7857        Handle hDispatchDriver
  7858        Get phDispatchDriver to hDispatchDriver
  7859        Send PrepareParams to hDispatchDriver 1
  7860        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llval
  7861        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  7862    End_Procedure
  7863
  7864    Function ComTestConnectivity Returns Boolean
  7865        Handle hDispatchDriver
  7866        Boolean retVal
  7867        Get phDispatchDriver to hDispatchDriver
  7868        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BOOL to retVal
  7869        Function_Return retVal
  7870    End_Function
  7871
  7872    
  7873    Function ComToString Returns String
  7874        Handle hDispatchDriver
  7875        String retVal
  7876        Get phDispatchDriver to hDispatchDriver
  7877        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_BSTR to retVal
  7878        Function_Return retVal
  7879    End_Function
  7880End_Class
  7881
  7882Class cFlex2CrystalDatabaseTable is a cComAutomationObject
  7883    Import_Class_Protocol cFlex2CrystalIDatabaseTable
  7884
  7885    Procedure Construct_Object
  7886        Forward Send Construct_Object
  7887        Set psEventId to "{16DB1FC4-E363-46B6-A2D4-EAB0BAD34533}"
  7888        Set peAutoCreate to acNoAutoCreate
  7889    End_Procedure
  7890End_Class
  7891
  7892Class cFlex2CrystalConnectionProperty is a cObject
  7893    Procedure Construct_Object 
  7894        Property String psPropName
  7895        Property Handle phoTable
  7896        Property Handle phoLogon
  7897        Property Handle phoConnInfo
  7898        Forward Send Construct_Object
  7899    End_Procedure
  7900    
  7901    Function IsComObjectCreated Returns Boolean
  7902        Function_Return True
  7903    End_Function
  7904    
  7905    Procedure Set pvComObject Variant value  // gets passed the handle of properties object
  7906        Set psPropName to (psLastItem(value))
  7907        Set phoTable to (phoTable(value))
  7908        Set phoLogon to (phoLogon(value))
  7909        Set phoConnInfo to (phoConnInfo(value))
  7910    End_Procedure
  7911    
  7912    Procedure Set ComValue String value
  7913        String prop
  7914        
  7915        Get psPropName to prop
  7916        If (Uppercase(prop) = "DSN" or Uppercase(prop) = "DATA SOURCE") Set ComServerName of (phoConnInfo(Self)) to value
  7917        Else If (Uppercase(prop) = "DATABASE" or Uppercase(prop) = "INITIAL CATALOG") Set ComDatabaseName of (phoConnInfo(Self)) to value
  7918        Else If (Uppercase(prop) = "USER ID") Set ComUserID of (phoConnInfo(Self)) to value
  7919        Else If (Uppercase(prop) = "PASSWORD") Set ComPassword of (phoConnInfo(Self)) to value
  7920        Else If (Uppercase(prop) = "INTEGRATED SECURITY") Set ComIntegratedSecurity of (phoConnInfo(Self)) to value
  7921        Send ComApplyLogOnInfo of (phoTable(Self)) (pvComObject(phoLogon(Self)))
  7922    End_Procedure
  7923End_Class
  7924
  7925Class cFlex2CrystalConnectionProperties is a cObject
  7926    Procedure Construct_Object
  7927        Property Handle phoTable
  7928        Property Handle phoLogon
  7929        Property Handle phoConnInfo
  7930        Property Handle phoRASConnInfo
  7931        Property String psLastItem
  7932        Forward Send Construct_Object
  7933    End_Procedure
  7934
  7935    Function IsComObjectCreated Returns Boolean
  7936        Function_Return True
  7937    End_Function
  7938    
  7939    Procedure Set pvComObject Variant value
  7940        Handle hoLogon hoConnInfo
  7941        Variant vLogon vConnInfo
  7942        Handle hoTLI hoCI hoBag hoDCC hoRASDB hoRASTables hoRASTable hoSRC
  7943        Variant vCI vBag vRetval vDCC vRASDB vRASTables vRASTable vSRC
  7944        String sVal
  7945        
  7946        Set phoTable to value    
  7947
  7948        Get ComLogOnInfo of value to vLogon
  7949        Get Create U_cFlex2CrystalTableLogOnInfo to hoLogon
  7950        Set pvComObject of hoLogon to vLogon
  7951        Set phoLogon to hoLogon
  7952        
  7953        Get ComConnectionInfo of hoLogon to vConnInfo
  7954        Get Create U_cFlex2CrystalConnectionInfo to hoConnInfo
  7955        Set pvComObject of hoConnInfo to vConnInfo
  7956        Set phoConnInfo to hoConnInfo
  7957        
  7958        Set ComTableName of hoLogon to (ComName(value))
  7959        
  7960        If (not(ComIsSubreport(Self))) Begin
  7961            Get ComDatabaseController of (ReportClientDocumentObject(Self)) to vDCC
  7962            Get Create U_cFlex2CrystalDatabaseController to hoDCC
  7963            Set pvComObject of hoDCC to vDCC
  7964        
  7965            Get ComDatabase of hoDCC to vRASDB
  7966            Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Database to hoRASDB
  7967            Set pvComObject of hoRASDB to vRASDB
  7968            Send Destroy of hoDCC
  7969        End
  7970        Else Begin
  7971            Get ComSubreportController of (ReportClientDocumentObject(Self)) to vSRC
  7972            Get Create U_cFlex2CrystalSubreportController to hoSRC
  7973            Set pvComObject of hoSRC to vSRC
  7974            
  7975            Get ComGetSubreportDatabase of hoSRC (psSubReportName(Self)) to vRASDB
  7976            Send Destroy of hoSRC
  7977            If (not(IsNullComObject(vRASDB))) Begin
  7978                Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Database to hoRASDB
  7979                Set pvComObject of hoRASDB to vRASDB
  7980            End
  7981            Else Function_Return ""
  7982        End
  7983        
  7984        Get ComTables of hoRASDB to vRASTables
  7985        Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Tables to hoRASTables
  7986        Set pvComObject of hoRASTables to vRASTables
  7987        Send Destroy of hoRASDB
  7988        
  7989        Get ComFindTableByAlias of hoRASTables (ComName(value)) to vRASTable
  7990        Send Destroy of hoRASTables
  7991        If (not(IsNullComObject(vRASTable))) Begin
  7992            Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_Table to hoRASTable
  7993            Set pvComObject of hoRASTable to vRASTable
  7994            
  7995            Get ComConnectionInfo of hoRASTable to vCI
  7996            Get Create U_cComF2CCrystalDecisions_ReportAppServer_DataDefModel_ConnectionInfo to hoCI
  7997            Set pvComObject of hoCI to vCI
  7998            Set phoRASConnInfo to hoCI
  7999            Send Destroy of hoRASTable
  8000        End
  8001        
  8002    End_Procedure    
  8003    
  8004    Function ComItem String sVal Returns Variant
  8005        Set psLastItem to sVal
  8006        
  8007        Function_Return Self
  8008    End_Function
  8009    
  8010    Procedure ComDelete String prop
  8011        Variant vBag
  8012
  8013        If (Uppercase(prop) = "DSN") Set ComServerName of (phoConnInfo(Self)) to ""
  8014        Else If (Uppercase(prop) = "DATABASE") Set ComDatabaseName of (phoConnInfo(Self)) to ""
  8015        Else If (Uppercase(prop) = "USER ID") Set ComUserID of (phoConnInfo(Self)) to ""
  8016        Else If (Uppercase(prop) = "PASSWORD") Set ComPassword of (phoConnInfo(Self)) to ""
  8017
  8018        Send ComApplyLogOnInfo of (phoTable(Self)) (pvComObject(phoLogon(Self)))
  8019    End_Procedure
  8020
  8021    Procedure ComDumpSettings
  8022        Variant vBag vPropBag
  8023        Handle hoBag hoPropBag
  8024        String sVal
  8025        Variant vStrings vVal
  8026        Handle hoStrings
  8027        Integer i
  8028        
  8029        Get ComAttributes of (phoRASConnInfo(Self)) to vBag
  8030        Get Create U_cComF2CPropertyBag to hoBag
  8031        Set pvComObject of hoBag to vBag
  8032        
  8033        Get ComItem of hoBag "QE_LogonProperties" to vPropBag
  8034        Get Create U_cComF2CPropertyBag to hoPropBag
  8035        Set pvComObject of hoPropBag to vPropBag
  8036
  8037        Get Create U_cComF2CStrings to hoStrings
  8038
  8039        Get ComPropertyIDs of hoBag to vStrings
  8040        Set pvComObject of hoStrings to vStrings
  8041
  8042        For i from 1 to (ComCount(hoStrings))
  8043            Get ComItem of hoStrings i to sVal
  8044            If (sVal <> "QE_LogonProperties") Begin
  8045                Get ComItem of hoBag sVal to vVal
  8046                Showln sVal " = " vVal
  8047            End
  8048        Loop
  8049
  8050        Get ComPropertyIDs of hoPropBag to vStrings
  8051        Set pvComObject of hoStrings to vStrings
  8052        
  8053        For i from 1 to (ComCount(hoStrings))
  8054            Get ComItem of hoStrings i to sVal
  8055            Get ComItem of hoPropBag sVal to vVal
  8056            Showln "QE_LogonProperty " sVal " = " vVal
  8057        Loop
  8058
  8059        Showln " kind = " (ComKind(phoRASConnInfo(Self)))
  8060        
  8061        Send Destroy of hoBag
  8062        Send Destroy of hoPropBag
  8063        Send Destroy of hoStrings
  8064    End_Procedure
  8065    
  8066    Procedure ComAdd String prop Variant value
  8067        Variant vBag vPropBag
  8068        Handle hoBag hoPropBag
  8069        String sVal
  8070        Variant vStrings vVal
  8071        Handle hoStrings
  8072        Integer i
  8073        
  8074        If (Uppercase(prop) = "DSN" or Uppercase(prop) = "DATA SOURCE") Set ComServerName of (phoConnInfo(Self)) to value
  8075        Else If (Uppercase(prop) = "DATABASE" or Uppercase(prop) = "INITIAL CATALOG") Set ComDatabaseName of (phoConnInfo(Self)) to value
  8076        Else If (Uppercase(prop) = "USER ID") Set ComUserID of (phoConnInfo(Self)) to value
  8077        Else If (Uppercase(prop) = "PASSWORD") Set ComPassword of (phoConnInfo(Self)) to value
  8078        Else If (Uppercase(prop) = "INTEGRATED SECURITY") Set ComIntegratedSecurity of (phoConnInfo(Self)) to value
  8079    End_Procedure
  8080    
  8081End_Class
  8082
  8083
  8084Class cFlex2CrystalIDataDefinition is a Mixin
  8085
  8086    
  8087    Function ComFormulaFields Returns Variant
  8088        Handle hDispatchDriver
  8089        Variant retVal
  8090        Get phDispatchDriver to hDispatchDriver
  8091        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
  8092        Function_Return retVal
  8093    End_Function
  8094
  8095    
  8096    Function ComGroupNameFields Returns Variant
  8097        Handle hDispatchDriver
  8098        Variant retVal
  8099        Get phDispatchDriver to hDispatchDriver
  8100        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
  8101        Function_Return retVal
  8102    End_Function
  8103
  8104    
  8105    Function ComGroups Returns Variant
  8106        Handle hDispatchDriver
  8107        Variant retVal
  8108        Get phDispatchDriver to hDispatchDriver
  8109        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  8110        Function_Return retVal
  8111    End_Function
  8112
  8113    
  8114    Function ComGroupSelectionFormula Returns String
  8115        Handle hDispatchDriver
  8116        String retVal
  8117        Get phDispatchDriver to hDispatchDriver
  8118        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
  8119        Function_Return retVal
  8120    End_Function
  8121
  8122    
  8123    Procedure Set ComGroupSelectionFormula String value
  8124        Handle hDispatchDriver
  8125        Get phDispatchDriver to hDispatchDriver
  8126        Send PrepareParams to hDispatchDriver 1
  8127        Set ComProperty of hDispatchDriver 4 OLE_VT_BSTR to value
  8128    End_Procedure
  8129
  8130    
  8131    Function ComParameterFields Returns Variant
  8132        Handle hDispatchDriver
  8133        Variant retVal
  8134        Get phDispatchDriver to hDispatchDriver
  8135        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  8136        Function_Return retVal
  8137    End_Function
  8138
  8139    
  8140    Function ComRecordSelectionFormula Returns String
  8141        Handle hDispatchDriver
  8142        String retVal
  8143        Get phDispatchDriver to hDispatchDriver
  8144        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
  8145        Function_Return retVal
  8146    End_Function
  8147
  8148    
  8149    Procedure Set ComRecordSelectionFormula String value
  8150        Handle hDispatchDriver
  8151        Get phDispatchDriver to hDispatchDriver
  8152        Send PrepareParams to hDispatchDriver 1
  8153        Set ComProperty of hDispatchDriver 6 OLE_VT_BSTR to value
  8154    End_Procedure
  8155
  8156    
  8157    Function ComRunningTotalFields Returns Variant
  8158        Handle hDispatchDriver
  8159        Variant retVal
  8160        Get phDispatchDriver to hDispatchDriver
  8161        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
  8162        Function_Return retVal
  8163    End_Function
  8164
  8165    
  8166    Function ComSavedDataSelectionFormula Returns String
  8167        Handle hDispatchDriver
  8168        String retVal
  8169        Get phDispatchDriver to hDispatchDriver
  8170        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
  8171        Function_Return retVal
  8172    End_Function
  8173
  8174    
  8175    Procedure Set ComSavedDataSelectionFormula String value
  8176        Handle hDispatchDriver
  8177        Get phDispatchDriver to hDispatchDriver
  8178        Send PrepareParams to hDispatchDriver 1
  8179        Set ComProperty of hDispatchDriver 8 OLE_VT_BSTR to value
  8180    End_Procedure
  8181
  8182    
  8183    Function ComSortFields Returns Variant
  8184        Handle hDispatchDriver
  8185        Variant retVal
  8186        Get phDispatchDriver to hDispatchDriver
  8187        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_DISPATCH to retVal
  8188        Function_Return retVal
  8189    End_Function
  8190
  8191    
  8192    Function ComSQLExpressionFields Returns Variant
  8193        Handle hDispatchDriver
  8194        Variant retVal
  8195        Get phDispatchDriver to hDispatchDriver
  8196        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_DISPATCH to retVal
  8197        Function_Return retVal
  8198    End_Function
  8199
  8200    
  8201    Function ComSummaryFields Returns Variant
  8202        Handle hDispatchDriver
  8203        Variant retVal
  8204        Get phDispatchDriver to hDispatchDriver
  8205        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_DISPATCH to retVal
  8206        Function_Return retVal
  8207    End_Function
  8208
  8209    Procedure ComDispose
  8210        Handle hDispatchDriver
  8211        Get phDispatchDriver to hDispatchDriver
  8212        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
  8213    End_Procedure
  8214
  8215    Function ComEquals Variant llobj Returns Boolean
  8216        Handle hDispatchDriver
  8217        Boolean retVal
  8218        Get phDispatchDriver to hDispatchDriver
  8219        Send PrepareParams to hDispatchDriver 1
  8220        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  8221        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
  8222        Function_Return retVal
  8223    End_Function
  8224
  8225    Function ComGetHashCode Returns Integer
  8226        Handle hDispatchDriver
  8227        Integer retVal
  8228        Get phDispatchDriver to hDispatchDriver
  8229        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_I4 to retVal
  8230        Function_Return retVal
  8231    End_Function
  8232
  8233    
  8234    Function ComToString Returns String
  8235        Handle hDispatchDriver
  8236        String retVal
  8237        Get phDispatchDriver to hDispatchDriver
  8238        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_BSTR to retVal
  8239        Function_Return retVal
  8240    End_Function
  8241End_Class
  8242
  8243Class cFlex2CrystalDataDefinition is a cComAutomationObject
  8244    Import_Class_Protocol cFlex2CrystalIDataDefinition
  8245
  8246    Procedure Construct_Object
  8247        Forward Send Construct_Object
  8248        Set psEventId to "{432E0BC4-1411-4FE0-A67F-CF85C6BCA20D}"
  8249        Set peAutoCreate to acNoAutoCreate
  8250    End_Procedure
  8251End_Class
  8252
  8253// CLSID: {38373B2B-F870-483C-BD97-D8B579D88FCF}
  8254Class cFlex2CrystalIFieldsClass is a Mixin
  8255
  8256    
  8257    Function ComClassName Returns String
  8258        Handle hDispatchDriver
  8259        String retVal
  8260        Get phDispatchDriver to hDispatchDriver
  8261        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  8262        Function_Return retVal
  8263    End_Function
  8264
  8265    
  8266    Function ComCount Returns Integer
  8267        Handle hDispatchDriver
  8268        Integer retVal
  8269        Get phDispatchDriver to hDispatchDriver
  8270        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  8271        Function_Return retVal
  8272    End_Function
  8273
  8274    Function ComItem Variant llIndex Returns Variant
  8275        Handle hDispatchDriver
  8276        Variant retVal
  8277        Get phDispatchDriver to hDispatchDriver
  8278        Send PrepareParams to hDispatchDriver 1
  8279        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  8280        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
  8281        Function_Return retVal
  8282    End_Function
  8283
  8284    Procedure ComAdd Variant llField
  8285        Handle hDispatchDriver
  8286        Get phDispatchDriver to hDispatchDriver
  8287        Send PrepareParams to hDispatchDriver 1
  8288        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llField
  8289        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
  8290    End_Procedure
  8291
  8292    Function ComClone Boolean llDeepClone Returns Variant
  8293        Handle hDispatchDriver
  8294        Variant retVal
  8295        Get phDispatchDriver to hDispatchDriver
  8296        Send PrepareParams to hDispatchDriver 1
  8297        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  8298        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
  8299        Function_Return retVal
  8300    End_Function
  8301
  8302    Procedure ComCopyTo Variant llfields Boolean llDeepCopy
  8303        Handle hDispatchDriver
  8304        Get phDispatchDriver to hDispatchDriver
  8305        Send PrepareParams to hDispatchDriver 2
  8306        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llfields
  8307        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  8308        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
  8309    End_Procedure
  8310
  8311    Procedure ComEnsureCapacity Integer llMaxCapacity
  8312        Handle hDispatchDriver
  8313        Get phDispatchDriver to hDispatchDriver
  8314        Send PrepareParams to hDispatchDriver 1
  8315        Send DefineParam to hDispatchDriver OLE_VT_I4 llMaxCapacity
  8316        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  8317    End_Procedure
  8318
  8319    Function ComEquals Variant llfields Returns Boolean
  8320        Handle hDispatchDriver
  8321        Boolean retVal
  8322        Get phDispatchDriver to hDispatchDriver
  8323        Send PrepareParams to hDispatchDriver 1
  8324        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llfields
  8325        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  8326        Function_Return retVal
  8327    End_Function
  8328
  8329    Function ComEquals_2 Variant llobj Returns Boolean
  8330        Handle hDispatchDriver
  8331        Boolean retVal
  8332        Get phDispatchDriver to hDispatchDriver
  8333        Send PrepareParams to hDispatchDriver 1
  8334        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  8335        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
  8336        Function_Return retVal
  8337    End_Function
  8338
  8339    Function ComFind String llfieldName OLEF2CCrFieldDisplayNameTypeEnum llDisplayNameType OLEF2CCeLocale llLocale Returns Integer
  8340        Handle hDispatchDriver
  8341        Integer retVal
  8342        Get phDispatchDriver to hDispatchDriver
  8343        Send PrepareParams to hDispatchDriver 3
  8344        Send DefineParam to hDispatchDriver OLE_VT_BSTR llfieldName
  8345        Send DefineParam to hDispatchDriver OLE_VT_I4 llDisplayNameType
  8346        Send DefineParam to hDispatchDriver OLE_VT_I4 llLocale
  8347        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  8348        Function_Return retVal
  8349    End_Function
  8350
  8351    Function ComFindField String llfieldName OLEF2CCrFieldDisplayNameTypeEnum llDisplayNameType OLEF2CCeLocale llLocale Returns Variant
  8352        Handle hDispatchDriver
  8353        Variant retVal
  8354        Get phDispatchDriver to hDispatchDriver
  8355        Send PrepareParams to hDispatchDriver 3
  8356        Send DefineParam to hDispatchDriver OLE_VT_BSTR llfieldName
  8357        Send DefineParam to hDispatchDriver OLE_VT_I4 llDisplayNameType
  8358        Send DefineParam to hDispatchDriver OLE_VT_I4 llLocale
  8359        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_DISPATCH to retVal
  8360        Function_Return retVal
  8361    End_Function
  8362
  8363    Function ComFindIndexOf Variant llField Returns Integer
  8364        Handle hDispatchDriver
  8365        Integer retVal
  8366        Get phDispatchDriver to hDispatchDriver
  8367        Send PrepareParams to hDispatchDriver 1
  8368        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llField
  8369        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_I4 to retVal
  8370        Function_Return retVal
  8371    End_Function
  8372
  8373    Function ComGetHashCode Returns Integer
  8374        Handle hDispatchDriver
  8375        Integer retVal
  8376        Get phDispatchDriver to hDispatchDriver
  8377        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
  8378        Function_Return retVal
  8379    End_Function
  8380
  8381    Procedure ComInsert Integer llIndex Variant llField
  8382        Handle hDispatchDriver
  8383        Get phDispatchDriver to hDispatchDriver
  8384        Send PrepareParams to hDispatchDriver 2
  8385        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  8386        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llField
  8387        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
  8388    End_Procedure
  8389
  8390    Procedure ComRemove Integer llIndex
  8391        Handle hDispatchDriver
  8392        Get phDispatchDriver to hDispatchDriver
  8393        Send PrepareParams to hDispatchDriver 1
  8394        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  8395        Send InvokeComMethod to hDispatchDriver 18 OLE_VT_VOID
  8396    End_Procedure
  8397
  8398    Procedure ComRemoveAll
  8399        Handle hDispatchDriver
  8400        Get phDispatchDriver to hDispatchDriver
  8401        Send InvokeComMethod to hDispatchDriver 19 OLE_VT_VOID
  8402    End_Procedure
  8403
  8404    
  8405    Function ComToString Returns String
  8406        Handle hDispatchDriver
  8407        String retVal
  8408        Get phDispatchDriver to hDispatchDriver
  8409        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_BSTR to retVal
  8410        Function_Return retVal
  8411    End_Function
  8412End_Class
  8413
  8414Class cFlex2CrystalFieldsClass is a cComAutomationObject
  8415    Import_Class_Protocol cFlex2CrystalIFieldsClass
  8416
  8417    Procedure Construct_Object
  8418        Forward Send Construct_Object
  8419        Set psProgID to "{A13B5D26-F549-4F3E-AF50-319FD4FB1982}"
  8420        Set peAutoCreate to acNoAutoCreate
  8421    End_Procedure
  8422End_Class
  8423
  8424Class cFlex2CrystalIFieldDefinition is a Mixin
  8425
  8426    
  8427    Function ComFormulaName Returns String
  8428        Handle hDispatchDriver
  8429        String retVal
  8430        Get phDispatchDriver to hDispatchDriver
  8431        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  8432        Function_Return retVal
  8433    End_Function
  8434
  8435    
  8436    Function ComKind Returns OLEF2CFieldKind
  8437        Handle hDispatchDriver
  8438        OLEF2CFieldKind retVal
  8439        Get phDispatchDriver to hDispatchDriver
  8440        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  8441        Function_Return retVal
  8442    End_Function
  8443
  8444    
  8445    Function ComName Returns String
  8446        Handle hDispatchDriver
  8447        String retVal
  8448        Get phDispatchDriver to hDispatchDriver
  8449        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  8450        Function_Return retVal
  8451    End_Function
  8452
  8453    
  8454    Function ComNumberOfBytes Returns Integer
  8455        Handle hDispatchDriver
  8456        Integer retVal
  8457        Get phDispatchDriver to hDispatchDriver
  8458        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
  8459        Function_Return retVal
  8460    End_Function
  8461
  8462    
  8463    Function ComUseCount Returns Short
  8464        Handle hDispatchDriver
  8465        Short retVal
  8466        Get phDispatchDriver to hDispatchDriver
  8467        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I2 to retVal
  8468        Function_Return retVal
  8469    End_Function
  8470
  8471    
  8472    Function ComValueType Returns OLEF2CFieldValueType
  8473        Handle hDispatchDriver
  8474        OLEF2CFieldValueType retVal
  8475        Get phDispatchDriver to hDispatchDriver
  8476        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
  8477        Function_Return retVal
  8478    End_Function
  8479
  8480    Procedure ComDispose
  8481        Handle hDispatchDriver
  8482        Get phDispatchDriver to hDispatchDriver
  8483        Send InvokeComMethod to hDispatchDriver 7 OLE_VT_VOID
  8484    End_Procedure
  8485
  8486    Function ComEquals Variant llobj Returns Boolean
  8487        Handle hDispatchDriver
  8488        Boolean retVal
  8489        Get phDispatchDriver to hDispatchDriver
  8490        Send PrepareParams to hDispatchDriver 1
  8491        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  8492        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
  8493        Function_Return retVal
  8494    End_Function
  8495
  8496    Function ComGetHashCode Returns Integer
  8497        Handle hDispatchDriver
  8498        Integer retVal
  8499        Get phDispatchDriver to hDispatchDriver
  8500        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
  8501        Function_Return retVal
  8502    End_Function
  8503
  8504    
  8505    Function ComToString Returns String
  8506        Handle hDispatchDriver
  8507        String retVal
  8508        Get phDispatchDriver to hDispatchDriver
  8509        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BSTR to retVal
  8510        Function_Return retVal
  8511    End_Function
  8512End_Class
  8513
  8514Class cFlex2CrystalFieldDefinition is a cComAutomationObject
  8515    Import_Class_Protocol cFlex2CrystalIFieldDefinition
  8516
  8517    Procedure Construct_Object
  8518        Forward Send Construct_Object
  8519        Set peAutoCreate to acNoAutoCreate
  8520    End_Procedure
  8521End_Class
  8522
  8523Define U_cFlex2CrystalFieldObject for U_cFlex2CrystalFieldDefinition
  8524
  8525Class cFlex2CrystalIDatabaseFieldDefinitions is a Mixin
  8526
  8527    
  8528    Function ComCount Returns Integer
  8529        Handle hDispatchDriver
  8530        Integer retVal
  8531        Get phDispatchDriver to hDispatchDriver
  8532        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  8533        Function_Return retVal
  8534    End_Function
  8535
  8536    
  8537    Function ComCurrent Returns Variant
  8538        Handle hDispatchDriver
  8539        Variant retVal
  8540        Get phDispatchDriver to hDispatchDriver
  8541        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
  8542        Function_Return retVal
  8543    End_Function
  8544
  8545    
  8546    Function ComIsReadOnly Returns Boolean
  8547        Handle hDispatchDriver
  8548        Boolean retVal
  8549        Get phDispatchDriver to hDispatchDriver
  8550        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  8551        Function_Return retVal
  8552    End_Function
  8553
  8554    
  8555    Function ComIsSynchronized Returns Boolean
  8556        Handle hDispatchDriver
  8557        Boolean retVal
  8558        Get phDispatchDriver to hDispatchDriver
  8559        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  8560        Function_Return retVal
  8561    End_Function
  8562
  8563    
  8564    Function ComSyncRoot Returns Variant
  8565        Handle hDispatchDriver
  8566        Variant retVal
  8567        Get phDispatchDriver to hDispatchDriver
  8568        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  8569        Function_Return retVal
  8570    End_Function
  8571
  8572    Function ComItem Variant llIndex Returns Variant
  8573        Handle hDispatchDriver
  8574        Variant retVal
  8575        Get phDispatchDriver to hDispatchDriver
  8576        Send PrepareParams to hDispatchDriver 1
  8577        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  8578        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  8579        Function_Return retVal
  8580    End_Function
  8581
  8582    Procedure ComDispose
  8583        Handle hDispatchDriver
  8584        Get phDispatchDriver to hDispatchDriver
  8585        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  8586    End_Procedure
  8587
  8588    Function ComEquals Variant llobj Returns Boolean
  8589        Handle hDispatchDriver
  8590        Boolean retVal
  8591        Get phDispatchDriver to hDispatchDriver
  8592        Send PrepareParams to hDispatchDriver 1
  8593        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  8594        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  8595        Function_Return retVal
  8596    End_Function
  8597
  8598    Function ComGetHashCode Returns Integer
  8599        Handle hDispatchDriver
  8600        Integer retVal
  8601        Get phDispatchDriver to hDispatchDriver
  8602        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  8603        Function_Return retVal
  8604    End_Function
  8605
  8606    Function ComMoveNext Returns Boolean
  8607        Handle hDispatchDriver
  8608        Boolean retVal
  8609        Get phDispatchDriver to hDispatchDriver
  8610        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
  8611        Function_Return retVal
  8612    End_Function
  8613
  8614    Procedure ComReset
  8615        Handle hDispatchDriver
  8616        Get phDispatchDriver to hDispatchDriver
  8617        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  8618    End_Procedure
  8619
  8620    
  8621    Function ComToString Returns String
  8622        Handle hDispatchDriver
  8623        String retVal
  8624        Get phDispatchDriver to hDispatchDriver
  8625        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
  8626        Function_Return retVal
  8627    End_Function
  8628End_Class
  8629
  8630Class cFlex2CrystalDatabaseFieldDefinitions is a cComAutomationObject
  8631    Import_Class_Protocol cFlex2CrystalIDatabaseFieldDefinitions
  8632
  8633    Procedure Construct_Object
  8634        Forward Send Construct_Object
  8635        Set peAutoCreate to acNoAutoCreate
  8636    End_Procedure
  8637End_Class
  8638
  8639Class cFlex2CrystalIDBFieldClass is a Mixin
  8640
  8641    
  8642    Function ComAttributes Returns Variant
  8643        Handle hDispatchDriver
  8644        Variant retVal
  8645        Get phDispatchDriver to hDispatchDriver
  8646        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_VARIANT to retVal
  8647        Function_Return retVal
  8648    End_Function
  8649
  8650    
  8651    Procedure Set ComAttributes Variant value
  8652        Handle hDispatchDriver
  8653        Get phDispatchDriver to hDispatchDriver
  8654        Send PrepareParams to hDispatchDriver 1
  8655        Set ComProperty of hDispatchDriver 1 OLE_VT_VARIANT to value
  8656    End_Procedure
  8657
  8658    
  8659    Function ComClassName Returns String
  8660        Handle hDispatchDriver
  8661        String retVal
  8662        Get phDispatchDriver to hDispatchDriver
  8663        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BSTR to retVal
  8664        Function_Return retVal
  8665    End_Function
  8666
  8667    
  8668    Function ComDescription Returns String
  8669        Handle hDispatchDriver
  8670        String retVal
  8671        Get phDispatchDriver to hDispatchDriver
  8672        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  8673        Function_Return retVal
  8674    End_Function
  8675
  8676    
  8677    Procedure Set ComDescription String value
  8678        Handle hDispatchDriver
  8679        Get phDispatchDriver to hDispatchDriver
  8680        Send PrepareParams to hDispatchDriver 1
  8681        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
  8682    End_Procedure
  8683
  8684    
  8685    Function ComFormulaForm Returns String
  8686        Handle hDispatchDriver
  8687        String retVal
  8688        Get phDispatchDriver to hDispatchDriver
  8689        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
  8690        Function_Return retVal
  8691    End_Function
  8692
  8693    
  8694    Function ComHeadingText Returns String
  8695        Handle hDispatchDriver
  8696        String retVal
  8697        Get phDispatchDriver to hDispatchDriver
  8698        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
  8699        Function_Return retVal
  8700    End_Function
  8701
  8702    
  8703    Procedure Set ComHeadingText String value
  8704        Handle hDispatchDriver
  8705        Get phDispatchDriver to hDispatchDriver
  8706        Send PrepareParams to hDispatchDriver 1
  8707        Set ComProperty of hDispatchDriver 5 OLE_VT_BSTR to value
  8708    End_Procedure
  8709
  8710    
  8711    Function ComIsRecurring Returns Boolean
  8712        Handle hDispatchDriver
  8713        Boolean retVal
  8714        Get phDispatchDriver to hDispatchDriver
  8715        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
  8716        Function_Return retVal
  8717    End_Function
  8718
  8719    
  8720    Function ComKind Returns OLEF2CCrFieldKindEnum
  8721        Handle hDispatchDriver
  8722        OLEF2CCrFieldKindEnum retVal
  8723        Get phDispatchDriver to hDispatchDriver
  8724        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
  8725        Function_Return retVal
  8726    End_Function
  8727
  8728    
  8729    Function ComLength Returns Integer
  8730        Handle hDispatchDriver
  8731        Integer retVal
  8732        Get phDispatchDriver to hDispatchDriver
  8733        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
  8734        Function_Return retVal
  8735    End_Function
  8736
  8737    
  8738    Procedure Set ComLength Integer value
  8739        Handle hDispatchDriver
  8740        Get phDispatchDriver to hDispatchDriver
  8741        Send PrepareParams to hDispatchDriver 1
  8742        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
  8743    End_Procedure
  8744
  8745    
  8746    Function ComName Returns String
  8747        Handle hDispatchDriver
  8748        String retVal
  8749        Get phDispatchDriver to hDispatchDriver
  8750        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
  8751        Function_Return retVal
  8752    End_Function
  8753
  8754    
  8755    Procedure Set ComName String value
  8756        Handle hDispatchDriver
  8757        Get phDispatchDriver to hDispatchDriver
  8758        Send PrepareParams to hDispatchDriver 1
  8759        Set ComProperty of hDispatchDriver 9 OLE_VT_BSTR to value
  8760    End_Procedure
  8761
  8762    
  8763    Function ComTableAlias Returns String
  8764        Handle hDispatchDriver
  8765        String retVal
  8766        Get phDispatchDriver to hDispatchDriver
  8767        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BSTR to retVal
  8768        Function_Return retVal
  8769    End_Function
  8770
  8771    
  8772    Procedure Set ComTableAlias String value
  8773        Handle hDispatchDriver
  8774        Get phDispatchDriver to hDispatchDriver
  8775        Send PrepareParams to hDispatchDriver 1
  8776        Set ComProperty of hDispatchDriver 10 OLE_VT_BSTR to value
  8777    End_Procedure
  8778
  8779    
  8780    Function ComType Returns OLEF2CCrFieldValueTypeEnum
  8781        Handle hDispatchDriver
  8782        OLEF2CCrFieldValueTypeEnum retVal
  8783        Get phDispatchDriver to hDispatchDriver
  8784        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  8785        Function_Return retVal
  8786    End_Function
  8787
  8788    
  8789    Procedure Set ComType OLEF2CCrFieldValueTypeEnum value
  8790        Handle hDispatchDriver
  8791        Get phDispatchDriver to hDispatchDriver
  8792        Send PrepareParams to hDispatchDriver 1
  8793        Set ComProperty of hDispatchDriver 11 OLE_VT_I4 to value
  8794    End_Procedure
  8795
  8796    
  8797    Function ComUseCount Returns Integer
  8798        Handle hDispatchDriver
  8799        Integer retVal
  8800        Get phDispatchDriver to hDispatchDriver
  8801        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_I4 to retVal
  8802        Function_Return retVal
  8803    End_Function
  8804
  8805    
  8806    Procedure Set ComUseCount Integer value
  8807        Handle hDispatchDriver
  8808        Get phDispatchDriver to hDispatchDriver
  8809        Send PrepareParams to hDispatchDriver 1
  8810        Set ComProperty of hDispatchDriver 12 OLE_VT_I4 to value
  8811    End_Procedure
  8812
  8813    Function ComClone Boolean llDeepClone Returns Variant
  8814        Handle hDispatchDriver
  8815        Variant retVal
  8816        Get phDispatchDriver to hDispatchDriver
  8817        Send PrepareParams to hDispatchDriver 1
  8818        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
  8819        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_DISPATCH to retVal
  8820        Function_Return retVal
  8821    End_Function
  8822
  8823    Procedure ComCopyTo Variant llField Boolean llDeepCopy
  8824        Handle hDispatchDriver
  8825        Get phDispatchDriver to hDispatchDriver
  8826        Send PrepareParams to hDispatchDriver 2
  8827        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llField
  8828        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
  8829        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
  8830    End_Procedure
  8831
  8832    Function ComEquals Variant llField Returns Boolean
  8833        Handle hDispatchDriver
  8834        Boolean retVal
  8835        Get phDispatchDriver to hDispatchDriver
  8836        Send PrepareParams to hDispatchDriver 1
  8837        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llField
  8838        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BOOL to retVal
  8839        Function_Return retVal
  8840    End_Function
  8841
  8842    Function ComEquals_2 Variant llobj Returns Boolean
  8843        Handle hDispatchDriver
  8844        Boolean retVal
  8845        Get phDispatchDriver to hDispatchDriver
  8846        Send PrepareParams to hDispatchDriver 1
  8847        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  8848        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_BOOL to retVal
  8849        Function_Return retVal
  8850    End_Function
  8851
  8852    Function ComGetHashCode Returns Integer
  8853        Handle hDispatchDriver
  8854        Integer retVal
  8855        Get phDispatchDriver to hDispatchDriver
  8856        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_I4 to retVal
  8857        Function_Return retVal
  8858    End_Function
  8859
  8860    Procedure ComReserved1
  8861        Handle hDispatchDriver
  8862        Get phDispatchDriver to hDispatchDriver
  8863        Send InvokeComMethod to hDispatchDriver 22 OLE_VT_VOID
  8864    End_Procedure
  8865
  8866    Procedure ComReserved10
  8867        Handle hDispatchDriver
  8868        Get phDispatchDriver to hDispatchDriver
  8869        Send InvokeComMethod to hDispatchDriver 23 OLE_VT_VOID
  8870    End_Procedure
  8871
  8872    Procedure ComReserved11
  8873        Handle hDispatchDriver
  8874        Get phDispatchDriver to hDispatchDriver
  8875        Send InvokeComMethod to hDispatchDriver 24 OLE_VT_VOID
  8876    End_Procedure
  8877
  8878    Procedure ComReserved12
  8879        Handle hDispatchDriver
  8880        Get phDispatchDriver to hDispatchDriver
  8881        Send InvokeComMethod to hDispatchDriver 25 OLE_VT_VOID
  8882    End_Procedure
  8883
  8884    Procedure ComReserved13
  8885        Handle hDispatchDriver
  8886        Get phDispatchDriver to hDispatchDriver
  8887        Send InvokeComMethod to hDispatchDriver 26 OLE_VT_VOID
  8888    End_Procedure
  8889
  8890    Procedure ComReserved14
  8891        Handle hDispatchDriver
  8892        Get phDispatchDriver to hDispatchDriver
  8893        Send InvokeComMethod to hDispatchDriver 27 OLE_VT_VOID
  8894    End_Procedure
  8895
  8896    Procedure ComReserved15
  8897        Handle hDispatchDriver
  8898        Get phDispatchDriver to hDispatchDriver
  8899        Send InvokeComMethod to hDispatchDriver 28 OLE_VT_VOID
  8900    End_Procedure
  8901
  8902    Procedure ComReserved16
  8903        Handle hDispatchDriver
  8904        Get phDispatchDriver to hDispatchDriver
  8905        Send InvokeComMethod to hDispatchDriver 29 OLE_VT_VOID
  8906    End_Procedure
  8907
  8908    Procedure ComReserved17
  8909        Handle hDispatchDriver
  8910        Get phDispatchDriver to hDispatchDriver
  8911        Send InvokeComMethod to hDispatchDriver 30 OLE_VT_VOID
  8912    End_Procedure
  8913
  8914    Procedure ComReserved18
  8915        Handle hDispatchDriver
  8916        Get phDispatchDriver to hDispatchDriver
  8917        Send InvokeComMethod to hDispatchDriver 31 OLE_VT_VOID
  8918    End_Procedure
  8919
  8920    Procedure ComReserved19
  8921        Handle hDispatchDriver
  8922        Get phDispatchDriver to hDispatchDriver
  8923        Send InvokeComMethod to hDispatchDriver 32 OLE_VT_VOID
  8924    End_Procedure
  8925
  8926    Procedure ComReserved2
  8927        Handle hDispatchDriver
  8928        Get phDispatchDriver to hDispatchDriver
  8929        Send InvokeComMethod to hDispatchDriver 33 OLE_VT_VOID
  8930    End_Procedure
  8931
  8932    Procedure ComReserved20
  8933        Handle hDispatchDriver
  8934        Get phDispatchDriver to hDispatchDriver
  8935        Send InvokeComMethod to hDispatchDriver 34 OLE_VT_VOID
  8936    End_Procedure
  8937
  8938    Procedure ComReserved21
  8939        Handle hDispatchDriver
  8940        Get phDispatchDriver to hDispatchDriver
  8941        Send InvokeComMethod to hDispatchDriver 35 OLE_VT_VOID
  8942    End_Procedure
  8943
  8944    Procedure ComReserved22
  8945        Handle hDispatchDriver
  8946        Get phDispatchDriver to hDispatchDriver
  8947        Send InvokeComMethod to hDispatchDriver 36 OLE_VT_VOID
  8948    End_Procedure
  8949
  8950    Procedure ComReserved3
  8951        Handle hDispatchDriver
  8952        Get phDispatchDriver to hDispatchDriver
  8953        Send InvokeComMethod to hDispatchDriver 37 OLE_VT_VOID
  8954    End_Procedure
  8955
  8956    Procedure ComReserved4
  8957        Handle hDispatchDriver
  8958        Get phDispatchDriver to hDispatchDriver
  8959        Send InvokeComMethod to hDispatchDriver 38 OLE_VT_VOID
  8960    End_Procedure
  8961
  8962    Procedure ComReserved5
  8963        Handle hDispatchDriver
  8964        Get phDispatchDriver to hDispatchDriver
  8965        Send InvokeComMethod to hDispatchDriver 39 OLE_VT_VOID
  8966    End_Procedure
  8967
  8968    Procedure ComReserved6
  8969        Handle hDispatchDriver
  8970        Get phDispatchDriver to hDispatchDriver
  8971        Send InvokeComMethod to hDispatchDriver 40 OLE_VT_VOID
  8972    End_Procedure
  8973
  8974    Procedure ComReserved9
  8975        Handle hDispatchDriver
  8976        Get phDispatchDriver to hDispatchDriver
  8977        Send InvokeComMethod to hDispatchDriver 41 OLE_VT_VOID
  8978    End_Procedure
  8979
  8980    
  8981    Function ComToString Returns String
  8982        Handle hDispatchDriver
  8983        String retVal
  8984        Get phDispatchDriver to hDispatchDriver
  8985        Get InvokeComMethod of hDispatchDriver 42 OLE_VT_BSTR to retVal
  8986        Function_Return retVal
  8987    End_Function
  8988End_Class
  8989
  8990Class cFlex2CrystalDBFieldClass is a cComAutomationObject
  8991    Import_Class_Protocol cFlex2CrystalIDBFieldClass
  8992
  8993    Procedure Construct_Object
  8994        Forward Send Construct_Object
  8995        Set psProgID to "{CE966325-A214-4644-A77C-E3B03AF5EEB3}"
  8996        Set peAutoCreate to acNoAutoCreate
  8997    End_Procedure
  8998End_Class
  8999
  9000Class cFlex2CrystalIGroupNameFieldDefinitions is a Mixin
  9001
  9002    
  9003    Function ComCount Returns Integer
  9004        Handle hDispatchDriver
  9005        Integer retVal
  9006        Get phDispatchDriver to hDispatchDriver
  9007        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  9008        Function_Return retVal
  9009    End_Function
  9010
  9011    
  9012    Function ComCurrent Returns Variant
  9013        Handle hDispatchDriver
  9014        Variant retVal
  9015        Get phDispatchDriver to hDispatchDriver
  9016        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
  9017        Function_Return retVal
  9018    End_Function
  9019
  9020    
  9021    Function ComIsReadOnly Returns Boolean
  9022        Handle hDispatchDriver
  9023        Boolean retVal
  9024        Get phDispatchDriver to hDispatchDriver
  9025        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  9026        Function_Return retVal
  9027    End_Function
  9028
  9029    
  9030    Function ComIsSynchronized Returns Boolean
  9031        Handle hDispatchDriver
  9032        Boolean retVal
  9033        Get phDispatchDriver to hDispatchDriver
  9034        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  9035        Function_Return retVal
  9036    End_Function
  9037
  9038    
  9039    Function ComSyncRoot Returns Variant
  9040        Handle hDispatchDriver
  9041        Variant retVal
  9042        Get phDispatchDriver to hDispatchDriver
  9043        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  9044        Function_Return retVal
  9045    End_Function
  9046
  9047    Function ComItem Variant llIndex Returns Variant
  9048        Handle hDispatchDriver
  9049        Variant retVal
  9050        Get phDispatchDriver to hDispatchDriver
  9051        Send PrepareParams to hDispatchDriver 1
  9052        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  9053        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  9054        Function_Return retVal
  9055    End_Function
  9056
  9057    Procedure ComDispose
  9058        Handle hDispatchDriver
  9059        Get phDispatchDriver to hDispatchDriver
  9060        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  9061    End_Procedure
  9062
  9063    Function ComEquals Variant llobj Returns Boolean
  9064        Handle hDispatchDriver
  9065        Boolean retVal
  9066        Get phDispatchDriver to hDispatchDriver
  9067        Send PrepareParams to hDispatchDriver 1
  9068        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9069        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  9070        Function_Return retVal
  9071    End_Function
  9072
  9073    Function ComGetHashCode Returns Integer
  9074        Handle hDispatchDriver
  9075        Integer retVal
  9076        Get phDispatchDriver to hDispatchDriver
  9077        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  9078        Function_Return retVal
  9079    End_Function
  9080
  9081    Function ComMoveNext Returns Boolean
  9082        Handle hDispatchDriver
  9083        Boolean retVal
  9084        Get phDispatchDriver to hDispatchDriver
  9085        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
  9086        Function_Return retVal
  9087    End_Function
  9088
  9089    Procedure ComReset
  9090        Handle hDispatchDriver
  9091        Get phDispatchDriver to hDispatchDriver
  9092        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  9093    End_Procedure
  9094
  9095    
  9096    Function ComToString Returns String
  9097        Handle hDispatchDriver
  9098        String retVal
  9099        Get phDispatchDriver to hDispatchDriver
  9100        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
  9101        Function_Return retVal
  9102    End_Function
  9103End_Class
  9104
  9105Class cFlex2CrystalGroupNameFieldDefinitions is a cComAutomationObject
  9106    Import_Class_Protocol cFlex2CrystalIGroupNameFieldDefinitions
  9107
  9108    Procedure Construct_Object
  9109        Forward Send Construct_Object
  9110        Set peAutoCreate to acNoAutoCreate
  9111    End_Procedure
  9112End_Class
  9113
  9114Class cFlex2CrystalIGroupNameFieldDefinition is a Mixin
  9115
  9116    
  9117    Function ComFormulaName Returns String
  9118        Handle hDispatchDriver
  9119        String retVal
  9120        Get phDispatchDriver to hDispatchDriver
  9121        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  9122        Function_Return retVal
  9123    End_Function
  9124
  9125    
  9126    Function ComGroup Returns Variant
  9127        Handle hDispatchDriver
  9128        Variant retVal
  9129        Get phDispatchDriver to hDispatchDriver
  9130        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
  9131        Function_Return retVal
  9132    End_Function
  9133
  9134    
  9135    Function ComGroupNameFieldName Returns String
  9136        Handle hDispatchDriver
  9137        String retVal
  9138        Get phDispatchDriver to hDispatchDriver
  9139        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  9140        Function_Return retVal
  9141    End_Function
  9142
  9143    
  9144    Function ComKind Returns OLEF2CFieldKind
  9145        Handle hDispatchDriver
  9146        OLEF2CFieldKind retVal
  9147        Get phDispatchDriver to hDispatchDriver
  9148        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
  9149        Function_Return retVal
  9150    End_Function
  9151
  9152    
  9153    Function ComName Returns String
  9154        Handle hDispatchDriver
  9155        String retVal
  9156        Get phDispatchDriver to hDispatchDriver
  9157        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
  9158        Function_Return retVal
  9159    End_Function
  9160
  9161    
  9162    Function ComNumberOfBytes Returns Integer
  9163        Handle hDispatchDriver
  9164        Integer retVal
  9165        Get phDispatchDriver to hDispatchDriver
  9166        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
  9167        Function_Return retVal
  9168    End_Function
  9169
  9170    
  9171    Function ComUseCount Returns Short
  9172        Handle hDispatchDriver
  9173        Short retVal
  9174        Get phDispatchDriver to hDispatchDriver
  9175        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I2 to retVal
  9176        Function_Return retVal
  9177    End_Function
  9178
  9179    
  9180    Function ComValueType Returns OLEF2CFieldValueType
  9181        Handle hDispatchDriver
  9182        OLEF2CFieldValueType retVal
  9183        Get phDispatchDriver to hDispatchDriver
  9184        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
  9185        Function_Return retVal
  9186    End_Function
  9187
  9188    Procedure ComDispose
  9189        Handle hDispatchDriver
  9190        Get phDispatchDriver to hDispatchDriver
  9191        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
  9192    End_Procedure
  9193
  9194    Function ComEquals Variant llobj Returns Boolean
  9195        Handle hDispatchDriver
  9196        Boolean retVal
  9197        Get phDispatchDriver to hDispatchDriver
  9198        Send PrepareParams to hDispatchDriver 1
  9199        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9200        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
  9201        Function_Return retVal
  9202    End_Function
  9203
  9204    Function ComGetHashCode Returns Integer
  9205        Handle hDispatchDriver
  9206        Integer retVal
  9207        Get phDispatchDriver to hDispatchDriver
  9208        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  9209        Function_Return retVal
  9210    End_Function
  9211
  9212    
  9213    Function ComToString Returns String
  9214        Handle hDispatchDriver
  9215        String retVal
  9216        Get phDispatchDriver to hDispatchDriver
  9217        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BSTR to retVal
  9218        Function_Return retVal
  9219    End_Function
  9220End_Class
  9221
  9222Class cFlex2CrystalGroupNameFieldDefinition is a cComAutomationObject
  9223    Import_Class_Protocol cFlex2CrystalIGroupNameFieldDefinition
  9224
  9225    Procedure Construct_Object
  9226        Forward Send Construct_Object
  9227        Set peAutoCreate to acNoAutoCreate
  9228    End_Procedure
  9229End_Class
  9230
  9231Class cFlex2CrystalIDatabaseFieldDefinition is a Mixin
  9232    // Custom Properties
  9233    
  9234    Function ComDatabaseFieldName Returns String
  9235        Function_Return (ComName(Self))
  9236    End_Function
  9237    
  9238    Function ComDatabaseFieldDisplayName Returns String
  9239        Function_Return (ComName(Self))
  9240    End_Function
  9241    
  9242    Function ComTableAliasName Returns String
  9243        Function_Return (ComTableName(Self))
  9244    End_Function
  9245    
  9246    // Standard
  9247
  9248    
  9249    Function ComFormulaName Returns String
  9250        Handle hDispatchDriver
  9251        String retVal
  9252        Get phDispatchDriver to hDispatchDriver
  9253        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  9254        Function_Return retVal
  9255    End_Function
  9256
  9257    
  9258    Function ComKind Returns OLEF2CFieldKind
  9259        Handle hDispatchDriver
  9260        OLEF2CFieldKind retVal
  9261        Get phDispatchDriver to hDispatchDriver
  9262        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  9263        Function_Return retVal
  9264    End_Function
  9265
  9266    
  9267    Function ComName Returns String
  9268        Handle hDispatchDriver
  9269        String retVal
  9270        Get phDispatchDriver to hDispatchDriver
  9271        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  9272        Function_Return retVal
  9273    End_Function
  9274
  9275    
  9276    Function ComNumberOfBytes Returns Integer
  9277        Handle hDispatchDriver
  9278        Integer retVal
  9279        Get phDispatchDriver to hDispatchDriver
  9280        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
  9281        Function_Return retVal
  9282    End_Function
  9283
  9284    
  9285    Function ComTableName Returns String
  9286        Handle hDispatchDriver
  9287        String retVal
  9288        Get phDispatchDriver to hDispatchDriver
  9289        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
  9290        Function_Return retVal
  9291    End_Function
  9292
  9293    
  9294    Function ComUseCount Returns Short
  9295        Handle hDispatchDriver
  9296        Short retVal
  9297        Get phDispatchDriver to hDispatchDriver
  9298        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I2 to retVal
  9299        Function_Return retVal
  9300    End_Function
  9301
  9302    
  9303    Function ComValueType Returns OLEF2CFieldValueType
  9304        Handle hDispatchDriver
  9305        OLEF2CFieldValueType retVal
  9306        Get phDispatchDriver to hDispatchDriver
  9307        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
  9308        Function_Return retVal
  9309    End_Function
  9310
  9311    Procedure ComDispose
  9312        Handle hDispatchDriver
  9313        Get phDispatchDriver to hDispatchDriver
  9314        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  9315    End_Procedure
  9316
  9317    Function ComEquals Variant llobj Returns Boolean
  9318        Handle hDispatchDriver
  9319        Boolean retVal
  9320        Get phDispatchDriver to hDispatchDriver
  9321        Send PrepareParams to hDispatchDriver 1
  9322        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9323        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  9324        Function_Return retVal
  9325    End_Function
  9326
  9327    Function ComGetHashCode Returns Integer
  9328        Handle hDispatchDriver
  9329        Integer retVal
  9330        Get phDispatchDriver to hDispatchDriver
  9331        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
  9332        Function_Return retVal
  9333    End_Function
  9334
  9335    
  9336    Function ComToString Returns String
  9337        Handle hDispatchDriver
  9338        String retVal
  9339        Get phDispatchDriver to hDispatchDriver
  9340        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
  9341        Function_Return retVal
  9342    End_Function
  9343End_Class
  9344
  9345Class cFlex2CrystalDatabaseFieldDefinition is a cComAutomationObject
  9346    Import_Class_Protocol cFlex2CrystalIDatabaseFieldDefinition
  9347
  9348    Procedure Construct_Object
  9349        Forward Send Construct_Object
  9350        Set psEventId to "{84F68137-03A1-466F-855D-C124A7F82C03}"
  9351        Set peAutoCreate to acNoAutoCreate
  9352    End_Procedure
  9353End_Class
  9354
  9355
  9356Class cFlex2CrystalIFormulaFieldDefinitions is a Mixin
  9357
  9358    
  9359    Function ComCount Returns Integer
  9360        Handle hDispatchDriver
  9361        Integer retVal
  9362        Get phDispatchDriver to hDispatchDriver
  9363        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  9364        Function_Return retVal
  9365    End_Function
  9366
  9367    
  9368    Function ComCurrent Returns Variant
  9369        Handle hDispatchDriver
  9370        Variant retVal
  9371        Get phDispatchDriver to hDispatchDriver
  9372        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
  9373        Function_Return retVal
  9374    End_Function
  9375
  9376    
  9377    Function ComIsReadOnly Returns Boolean
  9378        Handle hDispatchDriver
  9379        Boolean retVal
  9380        Get phDispatchDriver to hDispatchDriver
  9381        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  9382        Function_Return retVal
  9383    End_Function
  9384
  9385    
  9386    Function ComIsSynchronized Returns Boolean
  9387        Handle hDispatchDriver
  9388        Boolean retVal
  9389        Get phDispatchDriver to hDispatchDriver
  9390        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  9391        Function_Return retVal
  9392    End_Function
  9393
  9394    
  9395    Function ComSyncRoot Returns Variant
  9396        Handle hDispatchDriver
  9397        Variant retVal
  9398        Get phDispatchDriver to hDispatchDriver
  9399        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  9400        Function_Return retVal
  9401    End_Function
  9402
  9403    Function ComItem Variant llIndex Returns Variant
  9404        Handle hDispatchDriver
  9405        Variant retVal
  9406        Get phDispatchDriver to hDispatchDriver
  9407        Send PrepareParams to hDispatchDriver 1
  9408        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  9409        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  9410        Function_Return retVal
  9411    End_Function
  9412
  9413    Procedure ComDispose
  9414        Handle hDispatchDriver
  9415        Get phDispatchDriver to hDispatchDriver
  9416        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
  9417    End_Procedure
  9418
  9419    Function ComEquals Variant llobj Returns Boolean
  9420        Handle hDispatchDriver
  9421        Boolean retVal
  9422        Get phDispatchDriver to hDispatchDriver
  9423        Send PrepareParams to hDispatchDriver 1
  9424        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9425        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
  9426        Function_Return retVal
  9427    End_Function
  9428
  9429    Function ComGetHashCode Returns Integer
  9430        Handle hDispatchDriver
  9431        Integer retVal
  9432        Get phDispatchDriver to hDispatchDriver
  9433        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  9434        Function_Return retVal
  9435    End_Function
  9436
  9437    Function ComMoveNext Returns Boolean
  9438        Handle hDispatchDriver
  9439        Boolean retVal
  9440        Get phDispatchDriver to hDispatchDriver
  9441        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
  9442        Function_Return retVal
  9443    End_Function
  9444
  9445    Procedure ComReset
  9446        Handle hDispatchDriver
  9447        Get phDispatchDriver to hDispatchDriver
  9448        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
  9449    End_Procedure
  9450
  9451    
  9452    Function ComToString Returns String
  9453        Handle hDispatchDriver
  9454        String retVal
  9455        Get phDispatchDriver to hDispatchDriver
  9456        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
  9457        Function_Return retVal
  9458    End_Function
  9459End_Class
  9460
  9461Class cFlex2CrystalFormulaFieldDefinitions is a cComAutomationObject
  9462    Import_Class_Protocol cFlex2CrystalIFormulaFieldDefinitions
  9463
  9464    Procedure Construct_Object
  9465        Forward Send Construct_Object
  9466        Set psEventId to "{1A657237-61A2-4648-B6E9-30B5F7795AED}"
  9467        Set peAutoCreate to acNoAutoCreate
  9468    End_Procedure
  9469End_Class
  9470
  9471Class cFlex2CrystalIFormulaFieldDefinition is a Mixin
  9472    // Custom Methods
  9473    Function ComFormulaFieldName Returns String
  9474        Function_Return (ComFormulaName(Self))
  9475    End_Function
  9476    
  9477    // Standard Methods
  9478
  9479    
  9480    Function ComFormulaName Returns String
  9481        Handle hDispatchDriver
  9482        String retVal
  9483        Get phDispatchDriver to hDispatchDriver
  9484        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
  9485        Function_Return retVal
  9486    End_Function
  9487
  9488    
  9489    Function ComKind Returns OLEF2CFieldKind
  9490        Handle hDispatchDriver
  9491        OLEF2CFieldKind retVal
  9492        Get phDispatchDriver to hDispatchDriver
  9493        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  9494        Function_Return retVal
  9495    End_Function
  9496
  9497    
  9498    Function ComName Returns String
  9499        Handle hDispatchDriver
  9500        String retVal
  9501        Get phDispatchDriver to hDispatchDriver
  9502        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
  9503        Function_Return retVal
  9504    End_Function
  9505
  9506    
  9507    Function ComNumberOfBytes Returns Integer
  9508        Handle hDispatchDriver
  9509        Integer retVal
  9510        Get phDispatchDriver to hDispatchDriver
  9511        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
  9512        Function_Return retVal
  9513    End_Function
  9514
  9515    
  9516    Function ComText Returns String
  9517        Handle hDispatchDriver
  9518        String retVal
  9519        Get phDispatchDriver to hDispatchDriver
  9520        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
  9521        Function_Return retVal
  9522    End_Function
  9523
  9524    
  9525    Procedure Set ComText String value
  9526        Handle hDispatchDriver
  9527        Get phDispatchDriver to hDispatchDriver
  9528        Send PrepareParams to hDispatchDriver 1
  9529        Set ComProperty of hDispatchDriver 5 OLE_VT_BSTR to value
  9530    End_Procedure
  9531
  9532    
  9533    Function ComUseCount Returns Short
  9534        Handle hDispatchDriver
  9535        Short retVal
  9536        Get phDispatchDriver to hDispatchDriver
  9537        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I2 to retVal
  9538        Function_Return retVal
  9539    End_Function
  9540
  9541    
  9542    Function ComValueType Returns OLEF2CFieldValueType
  9543        Handle hDispatchDriver
  9544        OLEF2CFieldValueType retVal
  9545        Get phDispatchDriver to hDispatchDriver
  9546        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
  9547        Function_Return retVal
  9548    End_Function
  9549
  9550    Procedure ComDispose
  9551        Handle hDispatchDriver
  9552        Get phDispatchDriver to hDispatchDriver
  9553        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
  9554    End_Procedure
  9555
  9556    Function ComEquals Variant llobj Returns Boolean
  9557        Handle hDispatchDriver
  9558        Boolean retVal
  9559        Get phDispatchDriver to hDispatchDriver
  9560        Send PrepareParams to hDispatchDriver 1
  9561        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9562        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
  9563        Function_Return retVal
  9564    End_Function
  9565
  9566    Function ComGetHashCode Returns Integer
  9567        Handle hDispatchDriver
  9568        Integer retVal
  9569        Get phDispatchDriver to hDispatchDriver
  9570        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
  9571        Function_Return retVal
  9572    End_Function
  9573
  9574    
  9575    Function ComToString Returns String
  9576        Handle hDispatchDriver
  9577        String retVal
  9578        Get phDispatchDriver to hDispatchDriver
  9579        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BSTR to retVal
  9580        Function_Return retVal
  9581    End_Function
  9582End_Class
  9583
  9584Class cFlex2CrystalFormulaFieldDefinition is a cComAutomationObject
  9585    Import_Class_Protocol cFlex2CrystalIFormulaFieldDefinition
  9586
  9587    Procedure Construct_Object
  9588        Forward Send Construct_Object
  9589        Set peAutoCreate to acNoAutoCreate
  9590    End_Procedure
  9591End_Class
  9592
  9593Class cFlex2CrystalIParameterFieldDefinitions is a Mixin
  9594
  9595    
  9596    Function ComCount Returns Integer
  9597        Handle hDispatchDriver
  9598        Integer retVal
  9599        Get phDispatchDriver to hDispatchDriver
  9600        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  9601        Function_Return retVal
  9602    End_Function
  9603
  9604    
  9605    Function ComCurrent Returns Variant
  9606        Handle hDispatchDriver
  9607        Variant retVal
  9608        Get phDispatchDriver to hDispatchDriver
  9609        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
  9610        Function_Return retVal
  9611    End_Function
  9612
  9613    
  9614    Function ComIsReadOnly Returns Boolean
  9615        Handle hDispatchDriver
  9616        Boolean retVal
  9617        Get phDispatchDriver to hDispatchDriver
  9618        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  9619        Function_Return retVal
  9620    End_Function
  9621
  9622    
  9623    Function ComIsSynchronized Returns Boolean
  9624        Handle hDispatchDriver
  9625        Boolean retVal
  9626        Get phDispatchDriver to hDispatchDriver
  9627        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  9628        Function_Return retVal
  9629    End_Function
  9630
  9631    
  9632    Function ComSyncRoot Returns Variant
  9633        Handle hDispatchDriver
  9634        Variant retVal
  9635        Get phDispatchDriver to hDispatchDriver
  9636        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
  9637        Function_Return retVal
  9638    End_Function
  9639
  9640    Function ComItem Variant llIndex Returns Variant
  9641        Handle hDispatchDriver
  9642        Variant retVal
  9643        Get phDispatchDriver to hDispatchDriver
  9644        Send PrepareParams to hDispatchDriver 1
  9645        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  9646        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
  9647        Function_Return retVal
  9648    End_Function
  9649
  9650    Function ComItem_2 Variant llIndex Variant llIndex2 Returns Variant
  9651        Handle hDispatchDriver
  9652        Variant retVal
  9653        Get phDispatchDriver to hDispatchDriver
  9654        Send PrepareParams to hDispatchDriver 2
  9655        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  9656        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex2
  9657        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
  9658        Function_Return retVal
  9659    End_Function
  9660
  9661    Procedure ComDispose
  9662        Handle hDispatchDriver
  9663        Get phDispatchDriver to hDispatchDriver
  9664        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
  9665    End_Procedure
  9666
  9667    Function ComEquals Variant llobj Returns Boolean
  9668        Handle hDispatchDriver
  9669        Boolean retVal
  9670        Get phDispatchDriver to hDispatchDriver
  9671        Send PrepareParams to hDispatchDriver 1
  9672        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9673        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
  9674        Function_Return retVal
  9675    End_Function
  9676
  9677    Function ComGetHashCode Returns Integer
  9678        Handle hDispatchDriver
  9679        Integer retVal
  9680        Get phDispatchDriver to hDispatchDriver
  9681        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_I4 to retVal
  9682        Function_Return retVal
  9683    End_Function
  9684
  9685    Function ComMoveNext Returns Boolean
  9686        Handle hDispatchDriver
  9687        Boolean retVal
  9688        Get phDispatchDriver to hDispatchDriver
  9689        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
  9690        Function_Return retVal
  9691    End_Function
  9692
  9693    Procedure ComReset
  9694        Handle hDispatchDriver
  9695        Get phDispatchDriver to hDispatchDriver
  9696        Send InvokeComMethod to hDispatchDriver 15 OLE_VT_VOID
  9697    End_Procedure
  9698
  9699    
  9700    Function ComToString Returns String
  9701        Handle hDispatchDriver
  9702        String retVal
  9703        Get phDispatchDriver to hDispatchDriver
  9704        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_BSTR to retVal
  9705        Function_Return retVal
  9706    End_Function
  9707End_Class
  9708
  9709Class cFlex2CrystalParameterFieldDefinitions is a cComAutomationObject
  9710    Import_Class_Protocol cFlex2CrystalIParameterFieldDefinitions
  9711
  9712    Procedure Construct_Object
  9713        Forward Send Construct_Object
  9714        Set peAutoCreate to acNoAutoCreate
  9715    End_Procedure
  9716End_Class
  9717
  9718Class cFlex2CrystalIParameterFields is a Mixin
  9719
  9720    
  9721    Function ComCapacity Returns Integer
  9722        Handle hDispatchDriver
  9723        Integer retVal
  9724        Get phDispatchDriver to hDispatchDriver
  9725        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
  9726        Function_Return retVal
  9727    End_Function
  9728
  9729    
  9730    Procedure Set ComCapacity Integer value
  9731        Handle hDispatchDriver
  9732        Get phDispatchDriver to hDispatchDriver
  9733        Send PrepareParams to hDispatchDriver 1
  9734        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
  9735    End_Procedure
  9736
  9737    
  9738    Function ComCount Returns Integer
  9739        Handle hDispatchDriver
  9740        Integer retVal
  9741        Get phDispatchDriver to hDispatchDriver
  9742        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
  9743        Function_Return retVal
  9744    End_Function
  9745
  9746    
  9747    Function ComIsFixedSize Returns Boolean
  9748        Handle hDispatchDriver
  9749        Boolean retVal
  9750        Get phDispatchDriver to hDispatchDriver
  9751        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
  9752        Function_Return retVal
  9753    End_Function
  9754
  9755    
  9756    Function ComIsReadOnly Returns Boolean
  9757        Handle hDispatchDriver
  9758        Boolean retVal
  9759        Get phDispatchDriver to hDispatchDriver
  9760        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
  9761        Function_Return retVal
  9762    End_Function
  9763
  9764    
  9765    Function ComIsSynchronized Returns Boolean
  9766        Handle hDispatchDriver
  9767        Boolean retVal
  9768        Get phDispatchDriver to hDispatchDriver
  9769        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
  9770        Function_Return retVal
  9771    End_Function
  9772
  9773    
  9774    Function ComSyncRoot Returns Variant
  9775        Handle hDispatchDriver
  9776        Variant retVal
  9777        Get phDispatchDriver to hDispatchDriver
  9778        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_VARIANT to retVal
  9779        Function_Return retVal
  9780    End_Function
  9781
  9782    Function ComItem Variant llIndex Variant llIndex2 Returns Variant
  9783        Handle hDispatchDriver
  9784        Variant retVal
  9785        Get phDispatchDriver to hDispatchDriver
  9786        Send PrepareParams to hDispatchDriver 2
  9787        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  9788        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex2
  9789        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
  9790        Function_Return retVal
  9791    End_Function
  9792
  9793    Function ComItem_2 Variant llIndex Returns Variant
  9794        Handle hDispatchDriver
  9795        Variant retVal
  9796        Get phDispatchDriver to hDispatchDriver
  9797        Send PrepareParams to hDispatchDriver 1
  9798        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
  9799        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_VARIANT to retVal
  9800        Function_Return retVal
  9801    End_Function
  9802
  9803    Function ComAdd Variant llparameterField Returns Integer
  9804        Handle hDispatchDriver
  9805        Integer retVal
  9806        Get phDispatchDriver to hDispatchDriver
  9807        Send PrepareParams to hDispatchDriver 1
  9808        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llparameterField
  9809        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
  9810        Function_Return retVal
  9811    End_Function
  9812
  9813    Function ComAdd_2 Variant llparameterField Returns Integer
  9814        Handle hDispatchDriver
  9815        Integer retVal
  9816        Get phDispatchDriver to hDispatchDriver
  9817        Send PrepareParams to hDispatchDriver 1
  9818        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llparameterField
  9819        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
  9820        Function_Return retVal
  9821    End_Function
  9822
  9823    Function ComAdd_3 String llName OLEF2CParameterValueKind llValueType OLEF2CDiscreteOrRangeKind llpromptingType Returns Variant
  9824        Handle hDispatchDriver
  9825        Variant retVal
  9826        Get phDispatchDriver to hDispatchDriver
  9827        Send PrepareParams to hDispatchDriver 3
  9828        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  9829        Send DefineParam to hDispatchDriver OLE_VT_I4 llValueType
  9830        Send DefineParam to hDispatchDriver OLE_VT_I4 llpromptingType
  9831        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_DISPATCH to retVal
  9832        Function_Return retVal
  9833    End_Function
  9834
  9835    Function ComAdd_4 String llName OLEF2CParameterValueKind llValueType OLEF2CDiscreteOrRangeKind llpromptingType String llReportName Returns Variant
  9836        Handle hDispatchDriver
  9837        Variant retVal
  9838        Get phDispatchDriver to hDispatchDriver
  9839        Send PrepareParams to hDispatchDriver 4
  9840        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  9841        Send DefineParam to hDispatchDriver OLE_VT_I4 llValueType
  9842        Send DefineParam to hDispatchDriver OLE_VT_I4 llpromptingType
  9843        Send DefineParam to hDispatchDriver OLE_VT_BSTR llReportName
  9844        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_DISPATCH to retVal
  9845        Function_Return retVal
  9846    End_Function
  9847
  9848    Function ComBinarySearch_2 Variant llValue Returns Integer
  9849        Handle hDispatchDriver
  9850        Integer retVal
  9851        Get phDispatchDriver to hDispatchDriver
  9852        Send PrepareParams to hDispatchDriver 1
  9853        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9854        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
  9855        Function_Return retVal
  9856    End_Function
  9857
  9858    Procedure ComClear
  9859        Handle hDispatchDriver
  9860        Get phDispatchDriver to hDispatchDriver
  9861        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
  9862    End_Procedure
  9863
  9864    Function ComClone Returns Variant
  9865        Handle hDispatchDriver
  9866        Variant retVal
  9867        Get phDispatchDriver to hDispatchDriver
  9868        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_VARIANT to retVal
  9869        Function_Return retVal
  9870    End_Function
  9871
  9872    Function ComContains Variant llItem Returns Boolean
  9873        Handle hDispatchDriver
  9874        Boolean retVal
  9875        Get phDispatchDriver to hDispatchDriver
  9876        Send PrepareParams to hDispatchDriver 1
  9877        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llItem
  9878        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_BOOL to retVal
  9879        Function_Return retVal
  9880    End_Function
  9881
  9882    Function ComEquals Variant llobj Returns Boolean
  9883        Handle hDispatchDriver
  9884        Boolean retVal
  9885        Get phDispatchDriver to hDispatchDriver
  9886        Send PrepareParams to hDispatchDriver 1
  9887        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9888        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_BOOL to retVal
  9889        Function_Return retVal
  9890    End_Function
  9891
  9892    Function ComFind String llName String llSubreportName Returns Variant
  9893        Handle hDispatchDriver
  9894        Variant retVal
  9895        Get phDispatchDriver to hDispatchDriver
  9896        Send PrepareParams to hDispatchDriver 2
  9897        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
  9898        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSubreportName
  9899        Get InvokeComMethod of hDispatchDriver 24 OLE_VT_DISPATCH to retVal
  9900        Function_Return retVal
  9901    End_Function
  9902
  9903    Function ComGetHashCode Returns Integer
  9904        Handle hDispatchDriver
  9905        Integer retVal
  9906        Get phDispatchDriver to hDispatchDriver
  9907        Get InvokeComMethod of hDispatchDriver 27 OLE_VT_I4 to retVal
  9908        Function_Return retVal
  9909    End_Function
  9910
  9911    Function ComIndexOf Variant llValue Returns Integer
  9912        Handle hDispatchDriver
  9913        Integer retVal
  9914        Get phDispatchDriver to hDispatchDriver
  9915        Send PrepareParams to hDispatchDriver 1
  9916        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9917        Get InvokeComMethod of hDispatchDriver 30 OLE_VT_I4 to retVal
  9918        Function_Return retVal
  9919    End_Function
  9920
  9921    Function ComIndexOf_2 Variant llValue Integer llstartIndex Returns Integer
  9922        Handle hDispatchDriver
  9923        Integer retVal
  9924        Get phDispatchDriver to hDispatchDriver
  9925        Send PrepareParams to hDispatchDriver 2
  9926        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9927        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
  9928        Get InvokeComMethod of hDispatchDriver 31 OLE_VT_I4 to retVal
  9929        Function_Return retVal
  9930    End_Function
  9931
  9932    Function ComIndexOf_3 Variant llValue Integer llstartIndex Integer llCount Returns Integer
  9933        Handle hDispatchDriver
  9934        Integer retVal
  9935        Get phDispatchDriver to hDispatchDriver
  9936        Send PrepareParams to hDispatchDriver 3
  9937        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9938        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
  9939        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
  9940        Get InvokeComMethod of hDispatchDriver 32 OLE_VT_I4 to retVal
  9941        Function_Return retVal
  9942    End_Function
  9943
  9944    Procedure ComInsert Integer llIndex Variant llValue
  9945        Handle hDispatchDriver
  9946        Get phDispatchDriver to hDispatchDriver
  9947        Send PrepareParams to hDispatchDriver 2
  9948        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
  9949        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9950        Send InvokeComMethod to hDispatchDriver 33 OLE_VT_VOID
  9951    End_Procedure
  9952
  9953    Function ComLastIndexOf Variant llValue Returns Integer
  9954        Handle hDispatchDriver
  9955        Integer retVal
  9956        Get phDispatchDriver to hDispatchDriver
  9957        Send PrepareParams to hDispatchDriver 1
  9958        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9959        Get InvokeComMethod of hDispatchDriver 35 OLE_VT_I4 to retVal
  9960        Function_Return retVal
  9961    End_Function
  9962
  9963    Function ComLastIndexOf_2 Variant llValue Integer llstartIndex Returns Integer
  9964        Handle hDispatchDriver
  9965        Integer retVal
  9966        Get phDispatchDriver to hDispatchDriver
  9967        Send PrepareParams to hDispatchDriver 2
  9968        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9969        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
  9970        Get InvokeComMethod of hDispatchDriver 36 OLE_VT_I4 to retVal
  9971        Function_Return retVal
  9972    End_Function
  9973
  9974    Function ComLastIndexOf_3 Variant llValue Integer llstartIndex Integer llCount Returns Integer
  9975        Handle hDispatchDriver
  9976        Integer retVal
  9977        Get phDispatchDriver to hDispatchDriver
  9978        Send PrepareParams to hDispatchDriver 3
  9979        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
  9980        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
  9981        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
  9982        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_I4 to retVal
  9983        Function_Return retVal
  9984    End_Function
  9985
  9986    Procedure ComMerge Variant llsourceParamFields
  9987        Handle hDispatchDriver
  9988        Get phDispatchDriver to hDispatchDriver
  9989        Send PrepareParams to hDispatchDriver 1
  9990        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llsourceParamFields
  9991        Send InvokeComMethod to hDispatchDriver 38 OLE_VT_VOID
  9992    End_Procedure
  9993
  9994    Procedure ComRemove Variant llobj
  9995        Handle hDispatchDriver
  9996        Get phDispatchDriver to hDispatchDriver
  9997        Send PrepareParams to hDispatchDriver 1
  9998        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
  9999        Send InvokeComMethod to hDispatchDriver 39 OLE_VT_VOID
 10000    End_Procedure
 10001
 10002    Procedure ComRemoveAt Integer llIndex
 10003        Handle hDispatchDriver
 10004        Get phDispatchDriver to hDispatchDriver
 10005        Send PrepareParams to hDispatchDriver 1
 10006        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10007        Send InvokeComMethod to hDispatchDriver 40 OLE_VT_VOID
 10008    End_Procedure
 10009
 10010    Procedure ComRemoveRange Integer llIndex Integer llCount
 10011        Handle hDispatchDriver
 10012        Get phDispatchDriver to hDispatchDriver
 10013        Send PrepareParams to hDispatchDriver 2
 10014        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10015        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
 10016        Send InvokeComMethod to hDispatchDriver 41 OLE_VT_VOID
 10017    End_Procedure
 10018
 10019    Procedure ComReverse
 10020        Handle hDispatchDriver
 10021        Get phDispatchDriver to hDispatchDriver
 10022        Send InvokeComMethod to hDispatchDriver 42 OLE_VT_VOID
 10023    End_Procedure
 10024
 10025    Procedure ComReverse_2 Integer llIndex Integer llCount
 10026        Handle hDispatchDriver
 10027        Get phDispatchDriver to hDispatchDriver
 10028        Send PrepareParams to hDispatchDriver 2
 10029        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10030        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
 10031        Send InvokeComMethod to hDispatchDriver 43 OLE_VT_VOID
 10032    End_Procedure
 10033
 10034    Procedure ComSort
 10035        Handle hDispatchDriver
 10036        Get phDispatchDriver to hDispatchDriver
 10037        Send InvokeComMethod to hDispatchDriver 45 OLE_VT_VOID
 10038    End_Procedure
 10039
 10040    
 10041    Function ComToString Returns String
 10042        Handle hDispatchDriver
 10043        String retVal
 10044        Get phDispatchDriver to hDispatchDriver
 10045        Get InvokeComMethod of hDispatchDriver 50 OLE_VT_BSTR to retVal
 10046        Function_Return retVal
 10047    End_Function
 10048
 10049    Procedure ComTrimToSize
 10050        Handle hDispatchDriver
 10051        Get phDispatchDriver to hDispatchDriver
 10052        Send InvokeComMethod to hDispatchDriver 51 OLE_VT_VOID
 10053    End_Procedure
 10054End_Class
 10055
 10056Class cFlex2CrystalParameterFields is a cComAutomationObject
 10057    Import_Class_Protocol cFlex2CrystalIParameterFields
 10058
 10059    Procedure Construct_Object
 10060        Forward Send Construct_Object
 10061        Set psProgID to "{19BD82D0-917B-4556-9125-EFA832BB6ED1}"
 10062        Set peAutoCreate to acNoAutoCreate
 10063    End_Procedure
 10064End_Class
 10065
 10066Class cFlex2CrystalIParameterValues is a Mixin
 10067
 10068    
 10069    Function ComCapacity Returns Integer
 10070        Handle hDispatchDriver
 10071        Integer retVal
 10072        Get phDispatchDriver to hDispatchDriver
 10073        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 10074        Function_Return retVal
 10075    End_Function
 10076
 10077    
 10078    Procedure Set ComCapacity Integer value
 10079        Handle hDispatchDriver
 10080        Get phDispatchDriver to hDispatchDriver
 10081        Send PrepareParams to hDispatchDriver 1
 10082        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
 10083    End_Procedure
 10084
 10085    
 10086    Function ComCount Returns Integer
 10087        Handle hDispatchDriver
 10088        Integer retVal
 10089        Get phDispatchDriver to hDispatchDriver
 10090        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 10091        Function_Return retVal
 10092    End_Function
 10093
 10094    
 10095    Function ComIsFixedSize Returns Boolean
 10096        Handle hDispatchDriver
 10097        Boolean retVal
 10098        Get phDispatchDriver to hDispatchDriver
 10099        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 10100        Function_Return retVal
 10101    End_Function
 10102
 10103    
 10104    Function ComIsNoValue Returns Boolean
 10105        Handle hDispatchDriver
 10106        Boolean retVal
 10107        Get phDispatchDriver to hDispatchDriver
 10108        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 10109        Function_Return retVal
 10110    End_Function
 10111
 10112    
 10113    Procedure Set ComIsNoValue Boolean value
 10114        Handle hDispatchDriver
 10115        Get phDispatchDriver to hDispatchDriver
 10116        Send PrepareParams to hDispatchDriver 1
 10117        Set ComProperty of hDispatchDriver 4 OLE_VT_BOOL to value
 10118    End_Procedure
 10119
 10120    
 10121    Function ComIsReadOnly Returns Boolean
 10122        Handle hDispatchDriver
 10123        Boolean retVal
 10124        Get phDispatchDriver to hDispatchDriver
 10125        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 10126        Function_Return retVal
 10127    End_Function
 10128
 10129    
 10130    Function ComIsSynchronized Returns Boolean
 10131        Handle hDispatchDriver
 10132        Boolean retVal
 10133        Get phDispatchDriver to hDispatchDriver
 10134        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
 10135        Function_Return retVal
 10136    End_Function
 10137
 10138    
 10139    Function ComSyncRoot Returns Variant
 10140        Handle hDispatchDriver
 10141        Variant retVal
 10142        Get phDispatchDriver to hDispatchDriver
 10143        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_VARIANT to retVal
 10144        Function_Return retVal
 10145    End_Function
 10146
 10147    Function ComItem Variant llIndex Returns Variant
 10148        Handle hDispatchDriver
 10149        Variant retVal
 10150        Get phDispatchDriver to hDispatchDriver
 10151        Send PrepareParams to hDispatchDriver 1
 10152        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
 10153        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_VARIANT to retVal
 10154        Function_Return retVal
 10155    End_Function
 10156
 10157    Function ComAdd Variant llparameterValue Returns Integer
 10158        Handle hDispatchDriver
 10159        Integer retVal
 10160        Get phDispatchDriver to hDispatchDriver
 10161        Send PrepareParams to hDispatchDriver 1
 10162        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llparameterValue
 10163        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 10164        Function_Return retVal
 10165    End_Function
 10166
 10167    Function ComAdd_2 Variant llparameterValue Returns Integer
 10168        Handle hDispatchDriver
 10169        Integer retVal
 10170        Get phDispatchDriver to hDispatchDriver
 10171        Send PrepareParams to hDispatchDriver 1
 10172        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llparameterValue
 10173        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 10174        Function_Return retVal
 10175    End_Function
 10176
 10177    Function ComAddRange_2 Variant llLowerBound Variant llUpperBound OLEF2CRangeBoundType llLowerBoundType OLEF2CRangeBoundType llUpperBoundType Returns Variant
 10178        Handle hDispatchDriver
 10179        Variant retVal
 10180        Get phDispatchDriver to hDispatchDriver
 10181        Send PrepareParams to hDispatchDriver 4
 10182        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llLowerBound
 10183        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llUpperBound
 10184        Send DefineParam to hDispatchDriver OLE_VT_I4 llLowerBoundType
 10185        Send DefineParam to hDispatchDriver OLE_VT_I4 llUpperBoundType
 10186        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_DISPATCH to retVal
 10187        Function_Return retVal
 10188    End_Function
 10189
 10190    Function ComAddValue Variant llValue Returns Variant
 10191        Handle hDispatchDriver
 10192        Variant retVal
 10193        Get phDispatchDriver to hDispatchDriver
 10194        Send PrepareParams to hDispatchDriver 1
 10195        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10196        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_DISPATCH to retVal
 10197        Function_Return retVal
 10198    End_Function
 10199
 10200    Function ComBinarySearch_2 Variant llValue Returns Integer
 10201        Handle hDispatchDriver
 10202        Integer retVal
 10203        Get phDispatchDriver to hDispatchDriver
 10204        Send PrepareParams to hDispatchDriver 1
 10205        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10206        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
 10207        Function_Return retVal
 10208    End_Function
 10209
 10210    Procedure ComClear
 10211        Handle hDispatchDriver
 10212        Get phDispatchDriver to hDispatchDriver
 10213        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
 10214    End_Procedure
 10215
 10216    Function ComClone Returns Variant
 10217        Handle hDispatchDriver
 10218        Variant retVal
 10219        Get phDispatchDriver to hDispatchDriver
 10220        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_VARIANT to retVal
 10221        Function_Return retVal
 10222    End_Function
 10223
 10224    Function ComContains Variant llItem Returns Boolean
 10225        Handle hDispatchDriver
 10226        Boolean retVal
 10227        Get phDispatchDriver to hDispatchDriver
 10228        Send PrepareParams to hDispatchDriver 1
 10229        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llItem
 10230        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_BOOL to retVal
 10231        Function_Return retVal
 10232    End_Function
 10233
 10234    Function ComEquals Variant llobj Returns Boolean
 10235        Handle hDispatchDriver
 10236        Boolean retVal
 10237        Get phDispatchDriver to hDispatchDriver
 10238        Send PrepareParams to hDispatchDriver 1
 10239        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 10240        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_BOOL to retVal
 10241        Function_Return retVal
 10242    End_Function
 10243
 10244    Function ComGetHashCode Returns Integer
 10245        Handle hDispatchDriver
 10246        Integer retVal
 10247        Get phDispatchDriver to hDispatchDriver
 10248        Get InvokeComMethod of hDispatchDriver 26 OLE_VT_I4 to retVal
 10249        Function_Return retVal
 10250    End_Function
 10251
 10252    Function ComIndexOf Variant llValue Returns Integer
 10253        Handle hDispatchDriver
 10254        Integer retVal
 10255        Get phDispatchDriver to hDispatchDriver
 10256        Send PrepareParams to hDispatchDriver 1
 10257        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10258        Get InvokeComMethod of hDispatchDriver 29 OLE_VT_I4 to retVal
 10259        Function_Return retVal
 10260    End_Function
 10261
 10262    Function ComIndexOf_2 Variant llValue Integer llstartIndex Returns Integer
 10263        Handle hDispatchDriver
 10264        Integer retVal
 10265        Get phDispatchDriver to hDispatchDriver
 10266        Send PrepareParams to hDispatchDriver 2
 10267        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10268        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
 10269        Get InvokeComMethod of hDispatchDriver 30 OLE_VT_I4 to retVal
 10270        Function_Return retVal
 10271    End_Function
 10272
 10273    Function ComIndexOf_3 Variant llValue Integer llstartIndex Integer llCount Returns Integer
 10274        Handle hDispatchDriver
 10275        Integer retVal
 10276        Get phDispatchDriver to hDispatchDriver
 10277        Send PrepareParams to hDispatchDriver 3
 10278        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10279        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
 10280        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
 10281        Get InvokeComMethod of hDispatchDriver 31 OLE_VT_I4 to retVal
 10282        Function_Return retVal
 10283    End_Function
 10284
 10285    Procedure ComInsert Integer llIndex Variant llparameterValue
 10286        Handle hDispatchDriver
 10287        Get phDispatchDriver to hDispatchDriver
 10288        Send PrepareParams to hDispatchDriver 2
 10289        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10290        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llparameterValue
 10291        Send InvokeComMethod to hDispatchDriver 32 OLE_VT_VOID
 10292    End_Procedure
 10293
 10294    Procedure ComInsert_2 Integer llIndex Variant llValue
 10295        Handle hDispatchDriver
 10296        Get phDispatchDriver to hDispatchDriver
 10297        Send PrepareParams to hDispatchDriver 2
 10298        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10299        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llValue
 10300        Send InvokeComMethod to hDispatchDriver 33 OLE_VT_VOID
 10301    End_Procedure
 10302
 10303    Function ComLastIndexOf Variant llValue Returns Integer
 10304        Handle hDispatchDriver
 10305        Integer retVal
 10306        Get phDispatchDriver to hDispatchDriver
 10307        Send PrepareParams to hDispatchDriver 1
 10308        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10309        Get InvokeComMethod of hDispatchDriver 35 OLE_VT_I4 to retVal
 10310        Function_Return retVal
 10311    End_Function
 10312
 10313    Function ComLastIndexOf_2 Variant llValue Integer llstartIndex Returns Integer
 10314        Handle hDispatchDriver
 10315        Integer retVal
 10316        Get phDispatchDriver to hDispatchDriver
 10317        Send PrepareParams to hDispatchDriver 2
 10318        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10319        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
 10320        Get InvokeComMethod of hDispatchDriver 36 OLE_VT_I4 to retVal
 10321        Function_Return retVal
 10322    End_Function
 10323
 10324    Function ComLastIndexOf_3 Variant llValue Integer llstartIndex Integer llCount Returns Integer
 10325        Handle hDispatchDriver
 10326        Integer retVal
 10327        Get phDispatchDriver to hDispatchDriver
 10328        Send PrepareParams to hDispatchDriver 3
 10329        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llValue
 10330        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartIndex
 10331        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
 10332        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_I4 to retVal
 10333        Function_Return retVal
 10334    End_Function
 10335
 10336    Procedure ComRemove Variant llobj
 10337        Handle hDispatchDriver
 10338        Get phDispatchDriver to hDispatchDriver
 10339        Send PrepareParams to hDispatchDriver 1
 10340        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 10341        Send InvokeComMethod to hDispatchDriver 38 OLE_VT_VOID
 10342    End_Procedure
 10343
 10344    Procedure ComRemoveAt Integer llIndex
 10345        Handle hDispatchDriver
 10346        Get phDispatchDriver to hDispatchDriver
 10347        Send PrepareParams to hDispatchDriver 1
 10348        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10349        Send InvokeComMethod to hDispatchDriver 39 OLE_VT_VOID
 10350    End_Procedure
 10351
 10352    Procedure ComRemoveRange Integer llIndex Integer llCount
 10353        Handle hDispatchDriver
 10354        Get phDispatchDriver to hDispatchDriver
 10355        Send PrepareParams to hDispatchDriver 2
 10356        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10357        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
 10358        Send InvokeComMethod to hDispatchDriver 40 OLE_VT_VOID
 10359    End_Procedure
 10360
 10361    Procedure ComReverse
 10362        Handle hDispatchDriver
 10363        Get phDispatchDriver to hDispatchDriver
 10364        Send InvokeComMethod to hDispatchDriver 41 OLE_VT_VOID
 10365    End_Procedure
 10366
 10367    Procedure ComReverse_2 Integer llIndex Integer llCount
 10368        Handle hDispatchDriver
 10369        Get phDispatchDriver to hDispatchDriver
 10370        Send PrepareParams to hDispatchDriver 2
 10371        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 10372        Send DefineParam to hDispatchDriver OLE_VT_I4 llCount
 10373        Send InvokeComMethod to hDispatchDriver 42 OLE_VT_VOID
 10374    End_Procedure
 10375
 10376    Procedure ComSort
 10377        Handle hDispatchDriver
 10378        Get phDispatchDriver to hDispatchDriver
 10379        Send InvokeComMethod to hDispatchDriver 44 OLE_VT_VOID
 10380    End_Procedure
 10381
 10382    
 10383    Function ComToString Returns String
 10384        Handle hDispatchDriver
 10385        String retVal
 10386        Get phDispatchDriver to hDispatchDriver
 10387        Get InvokeComMethod of hDispatchDriver 49 OLE_VT_BSTR to retVal
 10388        Function_Return retVal
 10389    End_Function
 10390
 10391    Procedure ComTrimToSize
 10392        Handle hDispatchDriver
 10393        Get phDispatchDriver to hDispatchDriver
 10394        Send InvokeComMethod to hDispatchDriver 50 OLE_VT_VOID
 10395    End_Procedure
 10396End_Class
 10397
 10398Class cFlex2CrystalParameterValues is a cComAutomationObject
 10399    Import_Class_Protocol cFlex2CrystalIParameterValues
 10400
 10401    Procedure Construct_Object
 10402        Forward Send Construct_Object
 10403        Set psProgID to "{1DE8AC8D-1616-468B-ABF0-8A50C0B0BF78}"
 10404        Set peAutoCreate to acNoAutoCreate
 10405    End_Procedure
 10406End_Class
 10407
 10408Class cFlex2CrystalIParameterValue is a Mixin
 10409
 10410    
 10411    Function ComDescription Returns String
 10412        Handle hDispatchDriver
 10413        String retVal
 10414        Get phDispatchDriver to hDispatchDriver
 10415        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 10416        Function_Return retVal
 10417    End_Function
 10418
 10419    
 10420    Procedure Set ComDescription String value
 10421        Handle hDispatchDriver
 10422        Get phDispatchDriver to hDispatchDriver
 10423        Send PrepareParams to hDispatchDriver 1
 10424        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
 10425    End_Procedure
 10426
 10427    
 10428    Function ComIsRange Returns Boolean
 10429        Handle hDispatchDriver
 10430        Boolean retVal
 10431        Get phDispatchDriver to hDispatchDriver
 10432        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
 10433        Function_Return retVal
 10434    End_Function
 10435
 10436    
 10437    Procedure Set ComIsRange Boolean value
 10438        Handle hDispatchDriver
 10439        Get phDispatchDriver to hDispatchDriver
 10440        Send PrepareParams to hDispatchDriver 1
 10441        Set ComProperty of hDispatchDriver 2 OLE_VT_BOOL to value
 10442    End_Procedure
 10443
 10444    
 10445    Function ComKind Returns OLEF2CDiscreteOrRangeKind
 10446        Handle hDispatchDriver
 10447        OLEF2CDiscreteOrRangeKind retVal
 10448        Get phDispatchDriver to hDispatchDriver
 10449        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 10450        Function_Return retVal
 10451    End_Function
 10452
 10453    
 10454    Procedure Set ComKind OLEF2CDiscreteOrRangeKind value
 10455        Handle hDispatchDriver
 10456        Get phDispatchDriver to hDispatchDriver
 10457        Send PrepareParams to hDispatchDriver 1
 10458        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 10459    End_Procedure
 10460
 10461    
 10462    Function ComUKind Returns Integer
 10463        Handle hDispatchDriver
 10464        Integer retVal
 10465        Get phDispatchDriver to hDispatchDriver
 10466        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 10467        Function_Return retVal
 10468    End_Function
 10469
 10470    
 10471    Procedure Set ComUKind Integer value
 10472        Handle hDispatchDriver
 10473        Get phDispatchDriver to hDispatchDriver
 10474        Send PrepareParams to hDispatchDriver 1
 10475        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 10476    End_Procedure
 10477
 10478    Function ComEquals Variant llobj Returns Boolean
 10479        Handle hDispatchDriver
 10480        Boolean retVal
 10481        Get phDispatchDriver to hDispatchDriver
 10482        Send PrepareParams to hDispatchDriver 1
 10483        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 10484        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 10485        Function_Return retVal
 10486    End_Function
 10487
 10488    Function ComGetHashCode Returns Integer
 10489        Handle hDispatchDriver
 10490        Integer retVal
 10491        Get phDispatchDriver to hDispatchDriver
 10492        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 10493        Function_Return retVal
 10494    End_Function
 10495
 10496    
 10497    Function ComToString Returns String
 10498        Handle hDispatchDriver
 10499        String retVal
 10500        Get phDispatchDriver to hDispatchDriver
 10501        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
 10502        Function_Return retVal
 10503    End_Function
 10504End_Class
 10505
 10506Class cFlex2CrystalParameterValue is a cComAutomationObject
 10507    Import_Class_Protocol cFlex2CrystalIParameterValue
 10508
 10509    Procedure Construct_Object
 10510        Forward Send Construct_Object
 10511        Set peAutoCreate to acNoAutoCreate
 10512    End_Procedure
 10513End_Class
 10514
 10515Class cFlex2CrystalIParameterDiscreteValue is a Mixin
 10516
 10517    
 10518    Function ComDescription Returns String
 10519        Handle hDispatchDriver
 10520        String retVal
 10521        Get phDispatchDriver to hDispatchDriver
 10522        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 10523        Function_Return retVal
 10524    End_Function
 10525
 10526    
 10527    Procedure Set ComDescription String value
 10528        Handle hDispatchDriver
 10529        Get phDispatchDriver to hDispatchDriver
 10530        Send PrepareParams to hDispatchDriver 1
 10531        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
 10532    End_Procedure
 10533
 10534    
 10535    Function ComIsRange Returns Boolean
 10536        Handle hDispatchDriver
 10537        Boolean retVal
 10538        Get phDispatchDriver to hDispatchDriver
 10539        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
 10540        Function_Return retVal
 10541    End_Function
 10542
 10543    
 10544    Procedure Set ComIsRange Boolean value
 10545        Handle hDispatchDriver
 10546        Get phDispatchDriver to hDispatchDriver
 10547        Send PrepareParams to hDispatchDriver 1
 10548        Set ComProperty of hDispatchDriver 2 OLE_VT_BOOL to value
 10549    End_Procedure
 10550
 10551    
 10552    Function ComKind Returns OLEF2CDiscreteOrRangeKind
 10553        Handle hDispatchDriver
 10554        OLEF2CDiscreteOrRangeKind retVal
 10555        Get phDispatchDriver to hDispatchDriver
 10556        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 10557        Function_Return retVal
 10558    End_Function
 10559
 10560    
 10561    Procedure Set ComKind OLEF2CDiscreteOrRangeKind value
 10562        Handle hDispatchDriver
 10563        Get phDispatchDriver to hDispatchDriver
 10564        Send PrepareParams to hDispatchDriver 1
 10565        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 10566    End_Procedure
 10567
 10568    
 10569    Function ComUKind Returns Integer
 10570        Handle hDispatchDriver
 10571        Integer retVal
 10572        Get phDispatchDriver to hDispatchDriver
 10573        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 10574        Function_Return retVal
 10575    End_Function
 10576
 10577    
 10578    Procedure Set ComUKind Integer value
 10579        Handle hDispatchDriver
 10580        Get phDispatchDriver to hDispatchDriver
 10581        Send PrepareParams to hDispatchDriver 1
 10582        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 10583    End_Procedure
 10584
 10585    
 10586    Function ComValue Returns Variant
 10587        Handle hDispatchDriver
 10588        Variant retVal
 10589        Get phDispatchDriver to hDispatchDriver
 10590        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
 10591        Function_Return retVal
 10592    End_Function
 10593
 10594    
 10595    Procedure Set ComValue Variant value
 10596        Handle hDispatchDriver
 10597        Get phDispatchDriver to hDispatchDriver
 10598        Send PrepareParams to hDispatchDriver 1
 10599        Set ComProperty of hDispatchDriver 5 OLE_VT_VARIANT to value
 10600    End_Procedure
 10601
 10602    Function ComClone Returns Variant
 10603        Handle hDispatchDriver
 10604        Variant retVal
 10605        Get phDispatchDriver to hDispatchDriver
 10606        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_VARIANT to retVal
 10607        Function_Return retVal
 10608    End_Function
 10609
 10610    Function ComEquals Variant llobj Returns Boolean
 10611        Handle hDispatchDriver
 10612        Boolean retVal
 10613        Get phDispatchDriver to hDispatchDriver
 10614        Send PrepareParams to hDispatchDriver 1
 10615        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 10616        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
 10617        Function_Return retVal
 10618    End_Function
 10619
 10620    Function ComGetHashCode Returns Integer
 10621        Handle hDispatchDriver
 10622        Integer retVal
 10623        Get phDispatchDriver to hDispatchDriver
 10624        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 10625        Function_Return retVal
 10626    End_Function
 10627
 10628    
 10629    Function ComToString Returns String
 10630        Handle hDispatchDriver
 10631        String retVal
 10632        Get phDispatchDriver to hDispatchDriver
 10633        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BSTR to retVal
 10634        Function_Return retVal
 10635    End_Function
 10636End_Class
 10637
 10638Class cFlex2CrystalParameterDiscreteValue is a cComAutomationObject
 10639    Import_Class_Protocol cFlex2CrystalIParameterDiscreteValue
 10640
 10641    Procedure Construct_Object
 10642        Forward Send Construct_Object
 10643        Set psProgID to "{886A3037-F41E-4936-9DA4-C489279C17D4}"
 10644        Set peAutoCreate to acNoAutoCreate
 10645    End_Procedure
 10646End_Class
 10647
 10648Class cFlex2CrystalIParameterRangeValue is a Mixin
 10649
 10650    
 10651    Function ComDescription Returns String
 10652        Handle hDispatchDriver
 10653        String retVal
 10654        Get phDispatchDriver to hDispatchDriver
 10655        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 10656        Function_Return retVal
 10657    End_Function
 10658
 10659    
 10660    Procedure Set ComDescription String value
 10661        Handle hDispatchDriver
 10662        Get phDispatchDriver to hDispatchDriver
 10663        Send PrepareParams to hDispatchDriver 1
 10664        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
 10665    End_Procedure
 10666
 10667    
 10668    Function ComEndValue Returns Variant
 10669        Handle hDispatchDriver
 10670        Variant retVal
 10671        Get phDispatchDriver to hDispatchDriver
 10672        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 10673        Function_Return retVal
 10674    End_Function
 10675
 10676    
 10677    Procedure Set ComEndValue Variant value
 10678        Handle hDispatchDriver
 10679        Get phDispatchDriver to hDispatchDriver
 10680        Send PrepareParams to hDispatchDriver 1
 10681        Set ComProperty of hDispatchDriver 2 OLE_VT_VARIANT to value
 10682    End_Procedure
 10683
 10684    
 10685    Function ComIsRange Returns Boolean
 10686        Handle hDispatchDriver
 10687        Boolean retVal
 10688        Get phDispatchDriver to hDispatchDriver
 10689        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 10690        Function_Return retVal
 10691    End_Function
 10692
 10693    
 10694    Procedure Set ComIsRange Boolean value
 10695        Handle hDispatchDriver
 10696        Get phDispatchDriver to hDispatchDriver
 10697        Send PrepareParams to hDispatchDriver 1
 10698        Set ComProperty of hDispatchDriver 3 OLE_VT_BOOL to value
 10699    End_Procedure
 10700
 10701    
 10702    Function ComKind Returns OLEF2CDiscreteOrRangeKind
 10703        Handle hDispatchDriver
 10704        OLEF2CDiscreteOrRangeKind retVal
 10705        Get phDispatchDriver to hDispatchDriver
 10706        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 10707        Function_Return retVal
 10708    End_Function
 10709
 10710    
 10711    Procedure Set ComKind OLEF2CDiscreteOrRangeKind value
 10712        Handle hDispatchDriver
 10713        Get phDispatchDriver to hDispatchDriver
 10714        Send PrepareParams to hDispatchDriver 1
 10715        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 10716    End_Procedure
 10717
 10718    
 10719    Function ComLowerBoundType Returns OLEF2CRangeBoundType
 10720        Handle hDispatchDriver
 10721        OLEF2CRangeBoundType retVal
 10722        Get phDispatchDriver to hDispatchDriver
 10723        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 10724        Function_Return retVal
 10725    End_Function
 10726
 10727    
 10728    Procedure Set ComLowerBoundType OLEF2CRangeBoundType value
 10729        Handle hDispatchDriver
 10730        Get phDispatchDriver to hDispatchDriver
 10731        Send PrepareParams to hDispatchDriver 1
 10732        Set ComProperty of hDispatchDriver 5 OLE_VT_I4 to value
 10733    End_Procedure
 10734
 10735    
 10736    Function ComStartValue Returns Variant
 10737        Handle hDispatchDriver
 10738        Variant retVal
 10739        Get phDispatchDriver to hDispatchDriver
 10740        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_VARIANT to retVal
 10741        Function_Return retVal
 10742    End_Function
 10743
 10744    
 10745    Procedure Set ComStartValue Variant value
 10746        Handle hDispatchDriver
 10747        Get phDispatchDriver to hDispatchDriver
 10748        Send PrepareParams to hDispatchDriver 1
 10749        Set ComProperty of hDispatchDriver 6 OLE_VT_VARIANT to value
 10750    End_Procedure
 10751
 10752    
 10753    Function ComUKind Returns Integer
 10754        Handle hDispatchDriver
 10755        Integer retVal
 10756        Get phDispatchDriver to hDispatchDriver
 10757        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 10758        Function_Return retVal
 10759    End_Function
 10760
 10761    
 10762    Procedure Set ComUKind Integer value
 10763        Handle hDispatchDriver
 10764        Get phDispatchDriver to hDispatchDriver
 10765        Send PrepareParams to hDispatchDriver 1
 10766        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 10767    End_Procedure
 10768
 10769    
 10770    Function ComULowerBoundType Returns Integer
 10771        Handle hDispatchDriver
 10772        Integer retVal
 10773        Get phDispatchDriver to hDispatchDriver
 10774        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 10775        Function_Return retVal
 10776    End_Function
 10777
 10778    
 10779    Procedure Set ComULowerBoundType Integer value
 10780        Handle hDispatchDriver
 10781        Get phDispatchDriver to hDispatchDriver
 10782        Send PrepareParams to hDispatchDriver 1
 10783        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 10784    End_Procedure
 10785
 10786    
 10787    Function ComUpperBoundType Returns OLEF2CRangeBoundType
 10788        Handle hDispatchDriver
 10789        OLEF2CRangeBoundType retVal
 10790        Get phDispatchDriver to hDispatchDriver
 10791        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 10792        Function_Return retVal
 10793    End_Function
 10794
 10795    
 10796    Procedure Set ComUpperBoundType OLEF2CRangeBoundType value
 10797        Handle hDispatchDriver
 10798        Get phDispatchDriver to hDispatchDriver
 10799        Send PrepareParams to hDispatchDriver 1
 10800        Set ComProperty of hDispatchDriver 9 OLE_VT_I4 to value
 10801    End_Procedure
 10802
 10803    
 10804    Function ComUUpperBoundType Returns Integer
 10805        Handle hDispatchDriver
 10806        Integer retVal
 10807        Get phDispatchDriver to hDispatchDriver
 10808        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 10809        Function_Return retVal
 10810    End_Function
 10811
 10812    
 10813    Procedure Set ComUUpperBoundType Integer value
 10814        Handle hDispatchDriver
 10815        Get phDispatchDriver to hDispatchDriver
 10816        Send PrepareParams to hDispatchDriver 1
 10817        Set ComProperty of hDispatchDriver 10 OLE_VT_I4 to value
 10818    End_Procedure
 10819
 10820    Function ComClone Returns Variant
 10821        Handle hDispatchDriver
 10822        Variant retVal
 10823        Get phDispatchDriver to hDispatchDriver
 10824        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_VARIANT to retVal
 10825        Function_Return retVal
 10826    End_Function
 10827
 10828    Function ComEquals Variant llobj Returns Boolean
 10829        Handle hDispatchDriver
 10830        Boolean retVal
 10831        Get phDispatchDriver to hDispatchDriver
 10832        Send PrepareParams to hDispatchDriver 1
 10833        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 10834        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
 10835        Function_Return retVal
 10836    End_Function
 10837
 10838    Function ComGetHashCode Returns Integer
 10839        Handle hDispatchDriver
 10840        Integer retVal
 10841        Get phDispatchDriver to hDispatchDriver
 10842        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_I4 to retVal
 10843        Function_Return retVal
 10844    End_Function
 10845
 10846    
 10847    Function ComToString Returns String
 10848        Handle hDispatchDriver
 10849        String retVal
 10850        Get phDispatchDriver to hDispatchDriver
 10851        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
 10852        Function_Return retVal
 10853    End_Function
 10854End_Class
 10855
 10856Class cFlex2CrystalParameterRangeValue is a cComAutomationObject
 10857    Import_Class_Protocol cFlex2CrystalIParameterRangeValue
 10858
 10859    Procedure Construct_Object
 10860        Forward Send Construct_Object
 10861        Set psProgID to "{EABA380E-7F6F-4BF3-8027-E257771CF1F9}"
 10862        Set peAutoCreate to acNoAutoCreate
 10863    End_Procedure
 10864End_Class
 10865
 10866Class cFlex2CrystalIParameterFieldDefinition is a Mixin
 10867    // Custom Methods
 10868    
 10869    Procedure ComClearCurrentValueAndRange
 10870        Variant vParamVals
 10871        Handle hoParamVals
 10872        
 10873        If (ComHasCurrentValue(Self)) Begin
 10874            Get Create U_cFlex2CrystalParameterValues to hoParamVals
 10875            Get ComCurrentValues to vParamVals
 10876            Set pvComObject of hoParamVals to vParamVals
 10877            
 10878            Send ComClear of hoParamVals
 10879        End
 10880    End_Procedure
 10881    
 10882    Procedure ComAddCurrentValue Variant llvalue
 10883        Variant vParamVals vDiscreteParam
 10884        Handle hoParamVals hoDiscreteParam
 10885        Integer iretval
 10886        
 10887        If (ComHasCurrentValue(Self)) Begin
 10888            Get Create U_cFlex2CrystalParameterValues to hoParamVals
 10889            Get ComCurrentValues to vParamVals
 10890            Set pvComObject of hoParamVals to vParamVals
 10891        End
 10892        Else Begin
 10893            Get Create U_cFlex2CrystalParameterValues to hoParamVals
 10894            Send CreateComObject of hoParamVals
 10895        End
 10896        
 10897        Get Create U_cFlex2CrystalParameterDiscreteValue to hoDiscreteParam
 10898        Send CreateComObject of hoDiscreteParam
 10899        
 10900        Set ComValue of hoDiscreteParam to llvalue
 10901        Get ComAdd of hoParamVals (pvComObject(hoDiscreteParam)) to iRetval
 10902        Send ComApplyCurrentValues_2 (pvComObject(hoParamVals))
 10903        
 10904        Send Destroy of hoDiscreteParam
 10905        Send Destroy of hoParamVals
 10906    End_Procedure
 10907    
 10908    Procedure ComAddCurrentRange Variant llstart Variant llend CRRangeInfo llrangeInfo
 10909        Variant vParamVals vRangeParam
 10910        Handle hoParamVals hoRangeParam
 10911        Integer iretval
 10912        
 10913        If (ComHasCurrentValue(Self)) Begin
 10914            Get Create U_cFlex2CrystalParameterValues to hoParamVals
 10915            Get ComCurrentValues to vParamVals
 10916            Set pvComObject of hoParamVals to vParamVals
 10917        End
 10918        Else Begin
 10919            Get Create U_cFlex2CrystalParameterValues to hoParamVals
 10920            Send CreateComObject of hoParamVals
 10921        End
 10922        
 10923        Get Create U_cFlex2CrystalParameterRangeValue to hoRangeParam
 10924        Send CreateComObject of hoRangeParam
 10925        
 10926        Set ComStartValue of hoRangeParam to llstart
 10927        Set ComEndValue of hoRangeParam to llend
 10928        If (llrangeInfo > 0) Begin
 10929            Set ComULowerBoundType of hoRangeParam to (If(llrangeInfo iand crRangeIncludeLowerBound, OLEF2CRangeBoundType_BoundInclusive, If(llrangeinfo iand crRangeNoLowerBound, OLEF2CRangeBoundType_NoBound, OLEF2CRangeBoundType_BoundExclusive)))
 10930            Set ComUUpperBoundType of hoRangeParam to (If(llrangeInfo iand crRangeIncludeUpperBound, OLEF2CRangeBoundType_BoundInclusive, If(llrangeinfo iand crRangeNoUpperBound, OLEF2CRangeBoundType_NoBound, OLEF2CRangeBoundType_BoundExclusive)))
 10931        End
 10932        Else Begin
 10933            Set ComULowerBoundType of hoRangeParam to OLEF2CRangeBoundType_BoundExclusive
 10934            Set ComUUpperBoundType of hoRangeParam to OLEF2CRangeBoundType_BoundExclusive
 10935        End
 10936        
 10937        Get ComAdd of hoParamVals (pvComObject(hoRangeParam)) to iRetval
 10938        Send ComApplyCurrentValues_2 (pvComObject(hoParamVals))
 10939        
 10940        Send Destroy of hoRangeParam
 10941        Send Destroy of hoParamVals
 10942    End_Procedure
 10943    
 10944    Function ComValueType Returns CRFieldValueType
 10945        Integer iVal
 10946        Get ComValueTypeNative to iVal
 10947        
 10948        If (iVal <=15) Function_Return (iVal+1)
 10949        Else Begin
 10950            If (iVal >= 16 and iVal <= 18) Function_Return crUnknownField
 10951            If (iVal >= 20 and iVal <= 24) Function_Return (iVal - 3)
 10952            If (iVal > 24) Function_Return crUnknownField    
 10953        End
 10954    End_Function
 10955    
 10956    
 10957    Function ComValueTypeNative Returns OLEF2CFieldValueType
 10958        Handle hDispatchDriver
 10959        OLEF2CFieldValueType retVal
 10960        Get phDispatchDriver to hDispatchDriver
 10961        Get InvokeComMethod of hDispatchDriver 28 OLE_VT_I4 to retVal
 10962        Function_Return retVal
 10963    End_Function
 10964    
 10965    Procedure Set ComPrompt String value
 10966        Set ComPromptText to value
 10967    End_Procedure
 10968    
 10969    Function ComPrompt Returns String
 10970        Function_Return (ComPromptText(Self))
 10971    End_Function
 10972    
 10973    Procedure Set ComDisallowEditing Boolean value
 10974        Set ComEnableAllowEditingDefaultValue to value
 10975    End_Procedure
 10976    
 10977    Function ComDisallowEditing Returns Boolean
 10978        Function_Return (ComEnableAllowEditingDefaultValue(Self))
 10979    End_Function
 10980    
 10981    Procedure Set ComEnableMultipleValues Boolean value
 10982        Set ComEnableAllowMultipleValue to value
 10983    End_Procedure
 10984
 10985    Function ComEnableMultipleValues Returns Boolean
 10986        Function_Return (ComEnableAllowMultipleValue(Self))
 10987    End_Function
 10988    
 10989    Procedure ComSetNthDefaultValue Integer iItem Variant value
 10990        Variant vParamVals vDiscreteParam
 10991        Handle hoParamVals hoDiscreteParam
 10992        Integer iretval
 10993        
 10994        Get Create U_cFlex2CrystalParameterValues to hoParamVals
 10995        Get ComDefaultValues to vParamVals
 10996        Set pvComObject of hoParamVals to vParamVals
 10997        
 10998        Get Create U_cFlex2CrystalParameterDiscreteValue to hoDiscreteParam
 10999        If (ComCount(hoParamVals) = 1 and iItem = 1) Begin
 11000            Send ComRemoveAt of hoParamVals 0
 11001        End
 11002        If (ComCount(hoParamVals) >= iItem) Begin
 11003            Get ComItem of hoParamVals iItem to vDiscreteParam
 11004            Set pvComObject of hoDiscreteParam to vDiscreteParam
 11005            Set ComValue of hoDiscreteParam to value
 11006        End
 11007        Else Begin
 11008            Send CreateComObject of hoDiscreteParam
 11009            Set ComValue of hoDiscreteParam to value
 11010            Send ComInsert of hoParamVals (iItem-1) (pvComObject(hoDiscreteParam))
 11011        End
 11012        Send ComApplyDefaultValues_2 (pvComObject(hoParamVals))
 11013        
 11014        Send Destroy of hoDiscreteParam
 11015        Send Destroy of hoParamVals
 11016    End_Procedure
 11017    
 11018    Procedure Set ComNthValueDescription Integer iItem String description
 11019        Variant vParamVals vDiscreteParam
 11020        Handle hoParamVals hoDiscreteParam
 11021        Integer iretval
 11022        
 11023        Get Create U_cFlex2CrystalParameterValues to hoParamVals
 11024        Get ComDefaultValues to vParamVals
 11025        Set pvComObject of hoParamVals to vParamVals
 11026        
 11027        Get Create U_cFlex2CrystalParameterDiscreteValue to hoDiscreteParam
 11028        If (ComCount(hoParamVals) >= iItem) Begin
 11029            Get ComItem of hoParamVals iItem to vDiscreteParam
 11030            Set pvComObject of hoDiscreteParam to vDiscreteParam
 11031            Set ComDescription of hoDiscreteParam to description
 11032        End
 11033        Send ComApplyDefaultValues_2 (pvComObject(hoParamVals))
 11034        
 11035        Send Destroy of hoDiscreteParam
 11036        Send Destroy of hoParamVals
 11037    End_Procedure
 11038    
 11039    // Standard Methods/Properties
 11040
 11041    
 11042    Function ComCurrentValues Returns Variant
 11043        Handle hDispatchDriver
 11044        Variant retVal
 11045        Get phDispatchDriver to hDispatchDriver
 11046        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
 11047        Function_Return retVal
 11048    End_Function
 11049
 11050    
 11051    Procedure Set ComCurrentValues Variant value
 11052        Handle hDispatchDriver
 11053        Get phDispatchDriver to hDispatchDriver
 11054        Send PrepareParams to hDispatchDriver 1
 11055        Set ComProperty of hDispatchDriver 2 OLE_VT_DISPATCH to value
 11056    End_Procedure
 11057
 11058    
 11059    Function ComDefaultValueDisplayType Returns OLEF2CDefaultValueDisplayType
 11060        Handle hDispatchDriver
 11061        OLEF2CDefaultValueDisplayType retVal
 11062        Get phDispatchDriver to hDispatchDriver
 11063        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 11064        Function_Return retVal
 11065    End_Function
 11066
 11067    
 11068    Procedure Set ComDefaultValueDisplayType OLEF2CDefaultValueDisplayType value
 11069        Handle hDispatchDriver
 11070        Get phDispatchDriver to hDispatchDriver
 11071        Send PrepareParams to hDispatchDriver 1
 11072        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 11073    End_Procedure
 11074
 11075    
 11076    Function ComDefaultValues Returns Variant
 11077        Handle hDispatchDriver
 11078        Variant retVal
 11079        Get phDispatchDriver to hDispatchDriver
 11080        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 11081        Function_Return retVal
 11082    End_Function
 11083
 11084    
 11085    Function ComDefaultValueSortMethod Returns OLEF2CDefaultValueSortMethod
 11086        Handle hDispatchDriver
 11087        OLEF2CDefaultValueSortMethod retVal
 11088        Get phDispatchDriver to hDispatchDriver
 11089        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 11090        Function_Return retVal
 11091    End_Function
 11092
 11093    
 11094    Procedure Set ComDefaultValueSortMethod OLEF2CDefaultValueSortMethod value
 11095        Handle hDispatchDriver
 11096        Get phDispatchDriver to hDispatchDriver
 11097        Send PrepareParams to hDispatchDriver 1
 11098        Set ComProperty of hDispatchDriver 5 OLE_VT_I4 to value
 11099    End_Procedure
 11100
 11101    
 11102    Function ComDefaultValueSortOrder Returns OLEF2CDefaultValueSortOrder
 11103        Handle hDispatchDriver
 11104        OLEF2CDefaultValueSortOrder retVal
 11105        Get phDispatchDriver to hDispatchDriver
 11106        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 11107        Function_Return retVal
 11108    End_Function
 11109
 11110    
 11111    Procedure Set ComDefaultValueSortOrder OLEF2CDefaultValueSortOrder value
 11112        Handle hDispatchDriver
 11113        Get phDispatchDriver to hDispatchDriver
 11114        Send PrepareParams to hDispatchDriver 1
 11115        Set ComProperty of hDispatchDriver 6 OLE_VT_I4 to value
 11116    End_Procedure
 11117
 11118    
 11119    Function ComDiscreteOrRangeKind Returns OLEF2CDiscreteOrRangeKind
 11120        Handle hDispatchDriver
 11121        OLEF2CDiscreteOrRangeKind retVal
 11122        Get phDispatchDriver to hDispatchDriver
 11123        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 11124        Function_Return retVal
 11125    End_Function
 11126
 11127    
 11128    Procedure Set ComDiscreteOrRangeKind OLEF2CDiscreteOrRangeKind value
 11129        Handle hDispatchDriver
 11130        Get phDispatchDriver to hDispatchDriver
 11131        Send PrepareParams to hDispatchDriver 1
 11132        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 11133    End_Procedure
 11134
 11135    
 11136    Function ComEditMask Returns String
 11137        Handle hDispatchDriver
 11138        String retVal
 11139        Get phDispatchDriver to hDispatchDriver
 11140        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
 11141        Function_Return retVal
 11142    End_Function
 11143
 11144    
 11145    Procedure Set ComEditMask String value
 11146        Handle hDispatchDriver
 11147        Get phDispatchDriver to hDispatchDriver
 11148        Send PrepareParams to hDispatchDriver 1
 11149        Set ComProperty of hDispatchDriver 8 OLE_VT_BSTR to value
 11150    End_Procedure
 11151
 11152    
 11153    Function ComEnableAllowEditingDefaultValue Returns Boolean
 11154        Handle hDispatchDriver
 11155        Boolean retVal
 11156        Get phDispatchDriver to hDispatchDriver
 11157        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 11158        Function_Return retVal
 11159    End_Function
 11160
 11161    
 11162    Procedure Set ComEnableAllowEditingDefaultValue Boolean value
 11163        Handle hDispatchDriver
 11164        Get phDispatchDriver to hDispatchDriver
 11165        Send PrepareParams to hDispatchDriver 1
 11166        Set ComProperty of hDispatchDriver 9 OLE_VT_BOOL to value
 11167    End_Procedure
 11168
 11169    
 11170    Function ComEnableAllowMultipleValue Returns Boolean
 11171        Handle hDispatchDriver
 11172        Boolean retVal
 11173        Get phDispatchDriver to hDispatchDriver
 11174        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
 11175        Function_Return retVal
 11176    End_Function
 11177
 11178    
 11179    Procedure Set ComEnableAllowMultipleValue Boolean value
 11180        Handle hDispatchDriver
 11181        Get phDispatchDriver to hDispatchDriver
 11182        Send PrepareParams to hDispatchDriver 1
 11183        Set ComProperty of hDispatchDriver 10 OLE_VT_BOOL to value
 11184    End_Procedure
 11185
 11186    
 11187    Function ComEnableNullValue Returns Boolean
 11188        Handle hDispatchDriver
 11189        Boolean retVal
 11190        Get phDispatchDriver to hDispatchDriver
 11191        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
 11192        Function_Return retVal
 11193    End_Function
 11194
 11195    
 11196    Procedure Set ComEnableNullValue Boolean value
 11197        Handle hDispatchDriver
 11198        Get phDispatchDriver to hDispatchDriver
 11199        Send PrepareParams to hDispatchDriver 1
 11200        Set ComProperty of hDispatchDriver 11 OLE_VT_BOOL to value
 11201    End_Procedure
 11202
 11203    
 11204    Function ComFormulaName Returns String
 11205        Handle hDispatchDriver
 11206        String retVal
 11207        Get phDispatchDriver to hDispatchDriver
 11208        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
 11209        Function_Return retVal
 11210    End_Function
 11211
 11212    
 11213    Function ComHasCurrentValue Returns Boolean
 11214        Handle hDispatchDriver
 11215        Boolean retVal
 11216        Get phDispatchDriver to hDispatchDriver
 11217        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 11218        Function_Return retVal
 11219    End_Function
 11220
 11221    
 11222    Function ComIsOptionalPrompt Returns Boolean
 11223        Handle hDispatchDriver
 11224        Boolean retVal
 11225        Get phDispatchDriver to hDispatchDriver
 11226        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
 11227        Function_Return retVal
 11228    End_Function
 11229
 11230    
 11231    Procedure Set ComIsOptionalPrompt Boolean value
 11232        Handle hDispatchDriver
 11233        Get phDispatchDriver to hDispatchDriver
 11234        Send PrepareParams to hDispatchDriver 1
 11235        Set ComProperty of hDispatchDriver 14 OLE_VT_BOOL to value
 11236    End_Procedure
 11237
 11238    
 11239    Function ComKind Returns OLEF2CFieldKind
 11240        Handle hDispatchDriver
 11241        OLEF2CFieldKind retVal
 11242        Get phDispatchDriver to hDispatchDriver
 11243        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
 11244        Function_Return retVal
 11245    End_Function
 11246
 11247    
 11248    Function ComMaximumValue Returns Variant
 11249        Handle hDispatchDriver
 11250        Variant retVal
 11251        Get phDispatchDriver to hDispatchDriver
 11252        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_VARIANT to retVal
 11253        Function_Return retVal
 11254    End_Function
 11255
 11256    
 11257    Function ComMinimumValue Returns Variant
 11258        Handle hDispatchDriver
 11259        Variant retVal
 11260        Get phDispatchDriver to hDispatchDriver
 11261        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_VARIANT to retVal
 11262        Function_Return retVal
 11263    End_Function
 11264
 11265    
 11266    Function ComName Returns String
 11267        Handle hDispatchDriver
 11268        String retVal
 11269        Get phDispatchDriver to hDispatchDriver
 11270        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BSTR to retVal
 11271        Function_Return retVal
 11272    End_Function
 11273
 11274    
 11275    Function ComNumberOfBytes Returns Integer
 11276        Handle hDispatchDriver
 11277        Integer retVal
 11278        Get phDispatchDriver to hDispatchDriver
 11279        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_I4 to retVal
 11280        Function_Return retVal
 11281    End_Function
 11282
 11283    
 11284    Function ComParameterFieldName Returns String
 11285        Handle hDispatchDriver
 11286        String retVal
 11287        Get phDispatchDriver to hDispatchDriver
 11288        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_BSTR to retVal
 11289        Function_Return retVal
 11290    End_Function
 11291
 11292    
 11293    Function ComParameterFieldUsage Returns OLEF2CParameterFieldUsage
 11294        Handle hDispatchDriver
 11295        OLEF2CParameterFieldUsage retVal
 11296        Get phDispatchDriver to hDispatchDriver
 11297        Get InvokeComMethod of hDispatchDriver 21 OLE_VT_I4 to retVal
 11298        Function_Return retVal
 11299    End_Function
 11300
 11301    
 11302    Function ComParameterFieldUsage2 Returns OLEF2CParameterFieldUsage2
 11303        Handle hDispatchDriver
 11304        OLEF2CParameterFieldUsage2 retVal
 11305        Get phDispatchDriver to hDispatchDriver
 11306        Get InvokeComMethod of hDispatchDriver 22 OLE_VT_I4 to retVal
 11307        Function_Return retVal
 11308    End_Function
 11309
 11310    
 11311    Function ComParameterType Returns OLEF2CParameterType
 11312        Handle hDispatchDriver
 11313        OLEF2CParameterType retVal
 11314        Get phDispatchDriver to hDispatchDriver
 11315        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_I4 to retVal
 11316        Function_Return retVal
 11317    End_Function
 11318
 11319    
 11320    Function ComParameterValueKind Returns OLEF2CParameterValueKind
 11321        Handle hDispatchDriver
 11322        OLEF2CParameterValueKind retVal
 11323        Get phDispatchDriver to hDispatchDriver
 11324        Get InvokeComMethod of hDispatchDriver 24 OLE_VT_I4 to retVal
 11325        Function_Return retVal
 11326    End_Function
 11327
 11328    
 11329    Function ComPromptText Returns String
 11330        Handle hDispatchDriver
 11331        String retVal
 11332        Get phDispatchDriver to hDispatchDriver
 11333        Get InvokeComMethod of hDispatchDriver 25 OLE_VT_BSTR to retVal
 11334        Function_Return retVal
 11335    End_Function
 11336
 11337    
 11338    Procedure Set ComPromptText String value
 11339        Handle hDispatchDriver
 11340        Get phDispatchDriver to hDispatchDriver
 11341        Send PrepareParams to hDispatchDriver 1
 11342        Set ComProperty of hDispatchDriver 25 OLE_VT_BSTR to value
 11343    End_Procedure
 11344
 11345    
 11346    Function ComReportName Returns String
 11347        Handle hDispatchDriver
 11348        String retVal
 11349        Get phDispatchDriver to hDispatchDriver
 11350        Get InvokeComMethod of hDispatchDriver 26 OLE_VT_BSTR to retVal
 11351        Function_Return retVal
 11352    End_Function
 11353
 11354    
 11355    Function ComUseCount Returns Short
 11356        Handle hDispatchDriver
 11357        Short retVal
 11358        Get phDispatchDriver to hDispatchDriver
 11359        Get InvokeComMethod of hDispatchDriver 27 OLE_VT_I2 to retVal
 11360        Function_Return retVal
 11361    End_Function
 11362
 11363    Procedure ComApplyCurrentValues Variant llCurrentValues
 11364        Handle hDispatchDriver
 11365        Get phDispatchDriver to hDispatchDriver
 11366        Send PrepareParams to hDispatchDriver 1
 11367        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llCurrentValues
 11368        Send InvokeComMethod to hDispatchDriver 29 OLE_VT_VOID
 11369    End_Procedure
 11370
 11371    Procedure ComApplyCurrentValues_2 Variant llCurrentValues
 11372        Handle hDispatchDriver
 11373        Get phDispatchDriver to hDispatchDriver
 11374        Send PrepareParams to hDispatchDriver 1
 11375        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llCurrentValues
 11376        Send InvokeComMethod to hDispatchDriver 30 OLE_VT_VOID
 11377    End_Procedure
 11378
 11379    Procedure ComApplyDefaultValues Variant lldefaultValue
 11380        Handle hDispatchDriver
 11381        Get phDispatchDriver to hDispatchDriver
 11382        Send PrepareParams to hDispatchDriver 1
 11383        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lldefaultValue
 11384        Send InvokeComMethod to hDispatchDriver 31 OLE_VT_VOID
 11385    End_Procedure
 11386
 11387    Procedure ComApplyDefaultValues_2 Variant lldefaultValue
 11388        Handle hDispatchDriver
 11389        Get phDispatchDriver to hDispatchDriver
 11390        Send PrepareParams to hDispatchDriver 1
 11391        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lldefaultValue
 11392        Send InvokeComMethod to hDispatchDriver 32 OLE_VT_VOID
 11393    End_Procedure
 11394
 11395    Procedure ComApplyMinMaxValues Variant llminValue Variant llmaxValue
 11396        Handle hDispatchDriver
 11397        Get phDispatchDriver to hDispatchDriver
 11398        Send PrepareParams to hDispatchDriver 2
 11399        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llminValue
 11400        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llmaxValue
 11401        Send InvokeComMethod to hDispatchDriver 33 OLE_VT_VOID
 11402    End_Procedure
 11403
 11404    Procedure ComDispose
 11405        Handle hDispatchDriver
 11406        Get phDispatchDriver to hDispatchDriver
 11407        Send InvokeComMethod to hDispatchDriver 34 OLE_VT_VOID
 11408    End_Procedure
 11409
 11410    Function ComEquals Variant llobj Returns Boolean
 11411        Handle hDispatchDriver
 11412        Boolean retVal
 11413        Get phDispatchDriver to hDispatchDriver
 11414        Send PrepareParams to hDispatchDriver 1
 11415        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 11416        Get InvokeComMethod of hDispatchDriver 35 OLE_VT_BOOL to retVal
 11417        Function_Return retVal
 11418    End_Function
 11419
 11420    Function ComGetHashCode Returns Integer
 11421        Handle hDispatchDriver
 11422        Integer retVal
 11423        Get phDispatchDriver to hDispatchDriver
 11424        Get InvokeComMethod of hDispatchDriver 36 OLE_VT_I4 to retVal
 11425        Function_Return retVal
 11426    End_Function
 11427
 11428    Function ComIsLinked Returns Boolean
 11429        Handle hDispatchDriver
 11430        Boolean retVal
 11431        Get phDispatchDriver to hDispatchDriver
 11432        Get InvokeComMethod of hDispatchDriver 38 OLE_VT_BOOL to retVal
 11433        Function_Return retVal
 11434    End_Function
 11435
 11436    
 11437    Function ComToString Returns String
 11438        Handle hDispatchDriver
 11439        String retVal
 11440        Get phDispatchDriver to hDispatchDriver
 11441        Get InvokeComMethod of hDispatchDriver 39 OLE_VT_BSTR to retVal
 11442        Function_Return retVal
 11443    End_Function
 11444End_Class
 11445
 11446Class cFlex2CrystalParameterFieldDefinition is a cComAutomationObject
 11447    Import_Class_Protocol cFlex2CrystalIParameterFieldDefinition
 11448
 11449    Procedure Construct_Object
 11450        Forward Send Construct_Object
 11451        Set psEventId to "{AF83893A-3146-4DEE-B4FB-0A8434EE6899}"
 11452        Set peAutoCreate to acNoAutoCreate
 11453    End_Procedure
 11454End_Class
 11455
 11456Class cFlex2CrystalISortFields is a Mixin
 11457
 11458    
 11459    Function ComCount Returns Integer
 11460        Handle hDispatchDriver
 11461        Integer retVal
 11462        Get phDispatchDriver to hDispatchDriver
 11463        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 11464        Function_Return retVal
 11465    End_Function
 11466
 11467    
 11468    Function ComCurrent Returns Variant
 11469        Handle hDispatchDriver
 11470        Variant retVal
 11471        Get phDispatchDriver to hDispatchDriver
 11472        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 11473        Function_Return retVal
 11474    End_Function
 11475
 11476    
 11477    Function ComIsReadOnly Returns Boolean
 11478        Handle hDispatchDriver
 11479        Boolean retVal
 11480        Get phDispatchDriver to hDispatchDriver
 11481        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 11482        Function_Return retVal
 11483    End_Function
 11484
 11485    
 11486    Function ComIsSynchronized Returns Boolean
 11487        Handle hDispatchDriver
 11488        Boolean retVal
 11489        Get phDispatchDriver to hDispatchDriver
 11490        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 11491        Function_Return retVal
 11492    End_Function
 11493
 11494    
 11495    Function ComSyncRoot Returns Variant
 11496        Handle hDispatchDriver
 11497        Variant retVal
 11498        Get phDispatchDriver to hDispatchDriver
 11499        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
 11500        Function_Return retVal
 11501    End_Function
 11502
 11503    Function ComItem Variant llIndex Returns Variant
 11504        Handle hDispatchDriver
 11505        Variant retVal
 11506        Get phDispatchDriver to hDispatchDriver
 11507        Send PrepareParams to hDispatchDriver 1
 11508        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
 11509        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 11510        Function_Return retVal
 11511    End_Function
 11512
 11513    Procedure ComDispose
 11514        Handle hDispatchDriver
 11515        Get phDispatchDriver to hDispatchDriver
 11516        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
 11517    End_Procedure
 11518
 11519    Function ComEquals Variant llobj Returns Boolean
 11520        Handle hDispatchDriver
 11521        Boolean retVal
 11522        Get phDispatchDriver to hDispatchDriver
 11523        Send PrepareParams to hDispatchDriver 1
 11524        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 11525        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 11526        Function_Return retVal
 11527    End_Function
 11528
 11529    Function ComGetHashCode Returns Integer
 11530        Handle hDispatchDriver
 11531        Integer retVal
 11532        Get phDispatchDriver to hDispatchDriver
 11533        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 11534        Function_Return retVal
 11535    End_Function
 11536
 11537    Function ComMoveNext Returns Boolean
 11538        Handle hDispatchDriver
 11539        Boolean retVal
 11540        Get phDispatchDriver to hDispatchDriver
 11541        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 11542        Function_Return retVal
 11543    End_Function
 11544
 11545    Procedure ComReset
 11546        Handle hDispatchDriver
 11547        Get phDispatchDriver to hDispatchDriver
 11548        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
 11549    End_Procedure
 11550
 11551    
 11552    Function ComToString Returns String
 11553        Handle hDispatchDriver
 11554        String retVal
 11555        Get phDispatchDriver to hDispatchDriver
 11556        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
 11557        Function_Return retVal
 11558    End_Function
 11559End_Class
 11560
 11561Class cFlex2CrystalSortFields is a cComAutomationObject
 11562    Import_Class_Protocol cFlex2CrystalISortFields
 11563
 11564    Procedure Construct_Object
 11565        Forward Send Construct_Object
 11566        Set psEventId to "{B5950AA6-F453-4EC9-868F-A0123B32CDB4}"
 11567        Set peAutoCreate to acNoAutoCreate
 11568    End_Procedure
 11569End_Class
 11570
 11571Class cFlex2CrystalISortField is a Mixin
 11572
 11573    
 11574    Function ComField Returns Variant
 11575        Handle hDispatchDriver
 11576        Variant retVal
 11577        Get phDispatchDriver to hDispatchDriver
 11578        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_VARIANT to retVal
 11579        Function_Return retVal
 11580    End_Function
 11581
 11582    
 11583    Procedure Set ComField Variant value
 11584        Handle hDispatchDriver
 11585        Get phDispatchDriver to hDispatchDriver
 11586        Send PrepareParams to hDispatchDriver 1
 11587        Set ComProperty of hDispatchDriver 1 OLE_VT_VARIANT to value
 11588    End_Procedure
 11589
 11590    
 11591    Function ComSortDirection Returns OLEF2CSortDirection
 11592        Handle hDispatchDriver
 11593        OLEF2CSortDirection retVal
 11594        Get phDispatchDriver to hDispatchDriver
 11595        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 11596        Function_Return retVal
 11597    End_Function
 11598
 11599    
 11600    Procedure Set ComSortDirection OLEF2CSortDirection value
 11601        Handle hDispatchDriver
 11602        Get phDispatchDriver to hDispatchDriver
 11603        Send PrepareParams to hDispatchDriver 1
 11604        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 11605    End_Procedure
 11606
 11607    
 11608    Function ComSortType Returns OLEF2CSortFieldType
 11609        Handle hDispatchDriver
 11610        OLEF2CSortFieldType retVal
 11611        Get phDispatchDriver to hDispatchDriver
 11612        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 11613        Function_Return retVal
 11614    End_Function
 11615
 11616    Procedure ComDispose
 11617        Handle hDispatchDriver
 11618        Get phDispatchDriver to hDispatchDriver
 11619        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
 11620    End_Procedure
 11621
 11622    Function ComEquals Variant llobj Returns Boolean
 11623        Handle hDispatchDriver
 11624        Boolean retVal
 11625        Get phDispatchDriver to hDispatchDriver
 11626        Send PrepareParams to hDispatchDriver 1
 11627        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 11628        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 11629        Function_Return retVal
 11630    End_Function
 11631
 11632    Function ComGetHashCode Returns Integer
 11633        Handle hDispatchDriver
 11634        Integer retVal
 11635        Get phDispatchDriver to hDispatchDriver
 11636        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 11637        Function_Return retVal
 11638    End_Function
 11639
 11640    
 11641    Function ComToString Returns String
 11642        Handle hDispatchDriver
 11643        String retVal
 11644        Get phDispatchDriver to hDispatchDriver
 11645        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
 11646        Function_Return retVal
 11647    End_Function
 11648End_Class
 11649
 11650Class cFlex2CrystalSortField is a cComAutomationObject
 11651    Import_Class_Protocol cFlex2CrystalISortField
 11652
 11653    Procedure Construct_Object
 11654        Forward Send Construct_Object
 11655        Set peAutoCreate to acNoAutoCreate
 11656    End_Procedure
 11657End_Class
 11658
 11659
 11660Class cFlex2CrystalISubreports is a Mixin
 11661
 11662    
 11663    Function ComCount Returns Integer
 11664        Handle hDispatchDriver
 11665        Integer retVal
 11666        Get phDispatchDriver to hDispatchDriver
 11667        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 11668        Function_Return retVal
 11669    End_Function
 11670
 11671    Function ComItem Variant llIndex Returns Variant
 11672        Handle hDispatchDriver
 11673        Variant retVal
 11674        Get phDispatchDriver to hDispatchDriver
 11675        Send PrepareParams to hDispatchDriver 1
 11676        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
 11677        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
 11678        Function_Return retVal
 11679    End_Function
 11680
 11681    Function ComEquals Variant llobj Returns Boolean
 11682        Handle hDispatchDriver
 11683        Boolean retVal
 11684        Get phDispatchDriver to hDispatchDriver
 11685        Send PrepareParams to hDispatchDriver 1
 11686        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 11687        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 11688        Function_Return retVal
 11689    End_Function
 11690
 11691    Function ComGetHashCode Returns Integer
 11692        Handle hDispatchDriver
 11693        Integer retVal
 11694        Get phDispatchDriver to hDispatchDriver
 11695        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 11696        Function_Return retVal
 11697    End_Function
 11698
 11699    
 11700    Function ComToString Returns String
 11701        Handle hDispatchDriver
 11702        String retVal
 11703        Get phDispatchDriver to hDispatchDriver
 11704        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BSTR to retVal
 11705        Function_Return retVal
 11706    End_Function
 11707End_Class
 11708
 11709Class cFlex2CrystalSubreports is a cComAutomationObject
 11710    Import_Class_Protocol cFlex2CrystalISubreports
 11711
 11712    Procedure Construct_Object
 11713        Forward Send Construct_Object
 11714        Set peAutoCreate to acNoAutoCreate
 11715    End_Procedure
 11716End_Class
 11717
 11718Class cFlex2CrystalISubreportObject is a Mixin
 11719
 11720    
 11721    Function ComBorder Returns Variant
 11722        Handle hDispatchDriver
 11723        Variant retVal
 11724        Get phDispatchDriver to hDispatchDriver
 11725        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 11726        Function_Return retVal
 11727    End_Function
 11728
 11729    
 11730    Function ComEnableOnDemand Returns Boolean
 11731        Handle hDispatchDriver
 11732        Boolean retVal
 11733        Get phDispatchDriver to hDispatchDriver
 11734        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
 11735        Function_Return retVal
 11736    End_Function
 11737
 11738    
 11739    Procedure Set ComEnableOnDemand Boolean value
 11740        Handle hDispatchDriver
 11741        Get phDispatchDriver to hDispatchDriver
 11742        Send PrepareParams to hDispatchDriver 1
 11743        Set ComProperty of hDispatchDriver 2 OLE_VT_BOOL to value
 11744    End_Procedure
 11745
 11746    
 11747    Function ComHeight Returns Integer
 11748        Handle hDispatchDriver
 11749        Integer retVal
 11750        Get phDispatchDriver to hDispatchDriver
 11751        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 11752        Function_Return retVal
 11753    End_Function
 11754
 11755    
 11756    Procedure Set ComHeight Integer value
 11757        Handle hDispatchDriver
 11758        Get phDispatchDriver to hDispatchDriver
 11759        Send PrepareParams to hDispatchDriver 1
 11760        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 11761    End_Procedure
 11762
 11763    
 11764    Function ComKind Returns OLEF2CReportObjectKind
 11765        Handle hDispatchDriver
 11766        OLEF2CReportObjectKind retVal
 11767        Get phDispatchDriver to hDispatchDriver
 11768        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 11769        Function_Return retVal
 11770    End_Function
 11771
 11772    
 11773    Function ComLeft Returns Integer
 11774        Handle hDispatchDriver
 11775        Integer retVal
 11776        Get phDispatchDriver to hDispatchDriver
 11777        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 11778        Function_Return retVal
 11779    End_Function
 11780
 11781    
 11782    Procedure Set ComLeft Integer value
 11783        Handle hDispatchDriver
 11784        Get phDispatchDriver to hDispatchDriver
 11785        Send PrepareParams to hDispatchDriver 1
 11786        Set ComProperty of hDispatchDriver 5 OLE_VT_I4 to value
 11787    End_Procedure
 11788
 11789    
 11790    Function ComName Returns String
 11791        Handle hDispatchDriver
 11792        String retVal
 11793        Get phDispatchDriver to hDispatchDriver
 11794        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
 11795        Function_Return retVal
 11796    End_Function
 11797
 11798    
 11799    Function ComObjectFormat Returns Variant
 11800        Handle hDispatchDriver
 11801        Variant retVal
 11802        Get phDispatchDriver to hDispatchDriver
 11803        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
 11804        Function_Return retVal
 11805    End_Function
 11806
 11807    
 11808    Function ComSubreportName Returns String
 11809        Handle hDispatchDriver
 11810        String retVal
 11811        Get phDispatchDriver to hDispatchDriver
 11812        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
 11813        Function_Return retVal
 11814    End_Function
 11815
 11816    
 11817    Function ComTop Returns Integer
 11818        Handle hDispatchDriver
 11819        Integer retVal
 11820        Get phDispatchDriver to hDispatchDriver
 11821        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 11822        Function_Return retVal
 11823    End_Function
 11824
 11825    
 11826    Procedure Set ComTop Integer value
 11827        Handle hDispatchDriver
 11828        Get phDispatchDriver to hDispatchDriver
 11829        Send PrepareParams to hDispatchDriver 1
 11830        Set ComProperty of hDispatchDriver 9 OLE_VT_I4 to value
 11831    End_Procedure
 11832
 11833    
 11834    Function ComWidth Returns Integer
 11835        Handle hDispatchDriver
 11836        Integer retVal
 11837        Get phDispatchDriver to hDispatchDriver
 11838        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 11839        Function_Return retVal
 11840    End_Function
 11841
 11842    
 11843    Procedure Set ComWidth Integer value
 11844        Handle hDispatchDriver
 11845        Get phDispatchDriver to hDispatchDriver
 11846        Send PrepareParams to hDispatchDriver 1
 11847        Set ComProperty of hDispatchDriver 10 OLE_VT_I4 to value
 11848    End_Procedure
 11849
 11850    Procedure ComDispose
 11851        Handle hDispatchDriver
 11852        Get phDispatchDriver to hDispatchDriver
 11853        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
 11854    End_Procedure
 11855
 11856    Function ComEquals Variant llobj Returns Boolean
 11857        Handle hDispatchDriver
 11858        Boolean retVal
 11859        Get phDispatchDriver to hDispatchDriver
 11860        Send PrepareParams to hDispatchDriver 1
 11861        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 11862        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
 11863        Function_Return retVal
 11864    End_Function
 11865
 11866    Function ComGetHashCode Returns Integer
 11867        Handle hDispatchDriver
 11868        Integer retVal
 11869        Get phDispatchDriver to hDispatchDriver
 11870        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_I4 to retVal
 11871        Function_Return retVal
 11872    End_Function
 11873
 11874    Function ComOpenSubreport String llSubreportName Returns Variant
 11875        Handle hDispatchDriver
 11876        Variant retVal
 11877        Get phDispatchDriver to hDispatchDriver
 11878        Send PrepareParams to hDispatchDriver 1
 11879        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSubreportName
 11880        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_DISPATCH to retVal
 11881        Function_Return retVal
 11882    End_Function
 11883
 11884    
 11885    Function ComToString Returns String
 11886        Handle hDispatchDriver
 11887        String retVal
 11888        Get phDispatchDriver to hDispatchDriver
 11889        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_BSTR to retVal
 11890        Function_Return retVal
 11891    End_Function
 11892End_Class
 11893
 11894Class cFlex2CrystalSubreportObject is a cComAutomationObject
 11895    Import_Class_Protocol cFlex2CrystalISubreportObject
 11896
 11897    Procedure Construct_Object
 11898        Forward Send Construct_Object
 11899        Set peAutoCreate to acNoAutoCreate
 11900    End_Procedure
 11901End_Class
 11902
 11903Class cFlex2CrystalIReportObject is a Mixin
 11904
 11905    
 11906    Function ComBorder Returns Variant
 11907        Handle hDispatchDriver
 11908        Variant retVal
 11909        Get phDispatchDriver to hDispatchDriver
 11910        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 11911        Function_Return retVal
 11912    End_Function
 11913
 11914    
 11915    Function ComHeight Returns Integer
 11916        Handle hDispatchDriver
 11917        Integer retVal
 11918        Get phDispatchDriver to hDispatchDriver
 11919        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 11920        Function_Return retVal
 11921    End_Function
 11922
 11923    
 11924    Procedure Set ComHeight Integer value
 11925        Handle hDispatchDriver
 11926        Get phDispatchDriver to hDispatchDriver
 11927        Send PrepareParams to hDispatchDriver 1
 11928        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 11929    End_Procedure
 11930
 11931    
 11932    Function ComKind Returns OLEF2CReportObjectKind
 11933        Handle hDispatchDriver
 11934        OLEF2CReportObjectKind retVal
 11935        Get phDispatchDriver to hDispatchDriver
 11936        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 11937        Function_Return retVal
 11938    End_Function
 11939
 11940    
 11941    Function ComLeft Returns Integer
 11942        Handle hDispatchDriver
 11943        Integer retVal
 11944        Get phDispatchDriver to hDispatchDriver
 11945        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 11946        Function_Return retVal
 11947    End_Function
 11948
 11949    
 11950    Procedure Set ComLeft Integer value
 11951        Handle hDispatchDriver
 11952        Get phDispatchDriver to hDispatchDriver
 11953        Send PrepareParams to hDispatchDriver 1
 11954        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 11955    End_Procedure
 11956
 11957    
 11958    Function ComName Returns String
 11959        Handle hDispatchDriver
 11960        String retVal
 11961        Get phDispatchDriver to hDispatchDriver
 11962        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
 11963        Function_Return retVal
 11964    End_Function
 11965
 11966    
 11967    Function ComObjectFormat Returns Variant
 11968        Handle hDispatchDriver
 11969        Variant retVal
 11970        Get phDispatchDriver to hDispatchDriver
 11971        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 11972        Function_Return retVal
 11973    End_Function
 11974
 11975    
 11976    Function ComTop Returns Integer
 11977        Handle hDispatchDriver
 11978        Integer retVal
 11979        Get phDispatchDriver to hDispatchDriver
 11980        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 11981        Function_Return retVal
 11982    End_Function
 11983
 11984    
 11985    Procedure Set ComTop Integer value
 11986        Handle hDispatchDriver
 11987        Get phDispatchDriver to hDispatchDriver
 11988        Send PrepareParams to hDispatchDriver 1
 11989        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 11990    End_Procedure
 11991
 11992    
 11993    Function ComWidth Returns Integer
 11994        Handle hDispatchDriver
 11995        Integer retVal
 11996        Get phDispatchDriver to hDispatchDriver
 11997        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 11998        Function_Return retVal
 11999    End_Function
 12000
 12001    
 12002    Procedure Set ComWidth Integer value
 12003        Handle hDispatchDriver
 12004        Get phDispatchDriver to hDispatchDriver
 12005        Send PrepareParams to hDispatchDriver 1
 12006        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 12007    End_Procedure
 12008
 12009    Procedure ComDispose
 12010        Handle hDispatchDriver
 12011        Get phDispatchDriver to hDispatchDriver
 12012        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
 12013    End_Procedure
 12014
 12015    Function ComEquals Variant llobj Returns Boolean
 12016        Handle hDispatchDriver
 12017        Boolean retVal
 12018        Get phDispatchDriver to hDispatchDriver
 12019        Send PrepareParams to hDispatchDriver 1
 12020        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 12021        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
 12022        Function_Return retVal
 12023    End_Function
 12024
 12025    Function ComGetHashCode Returns Integer
 12026        Handle hDispatchDriver
 12027        Integer retVal
 12028        Get phDispatchDriver to hDispatchDriver
 12029        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 12030        Function_Return retVal
 12031    End_Function
 12032
 12033    
 12034    Function ComToString Returns String
 12035        Handle hDispatchDriver
 12036        String retVal
 12037        Get phDispatchDriver to hDispatchDriver
 12038        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BSTR to retVal
 12039        Function_Return retVal
 12040    End_Function
 12041End_Class
 12042
 12043Class cFlex2CrystalReportObject is a cComAutomationObject
 12044    Import_Class_Protocol cFlex2CrystalIReportObject
 12045
 12046    Procedure Construct_Object
 12047        Forward Send Construct_Object
 12048        Set peAutoCreate to acNoAutoCreate
 12049    End_Procedure
 12050End_Class
 12051
 12052Class cFlex2CrystalIReportObjects is a Mixin
 12053
 12054    
 12055    Function ComCount Returns Integer
 12056        Handle hDispatchDriver
 12057        Integer retVal
 12058        Get phDispatchDriver to hDispatchDriver
 12059        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 12060        Function_Return retVal
 12061    End_Function
 12062
 12063    
 12064    Function ComCurrent Returns Variant
 12065        Handle hDispatchDriver
 12066        Variant retVal
 12067        Get phDispatchDriver to hDispatchDriver
 12068        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 12069        Function_Return retVal
 12070    End_Function
 12071
 12072    
 12073    Function ComIsReadOnly Returns Boolean
 12074        Handle hDispatchDriver
 12075        Boolean retVal
 12076        Get phDispatchDriver to hDispatchDriver
 12077        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 12078        Function_Return retVal
 12079    End_Function
 12080
 12081    
 12082    Function ComIsSynchronized Returns Boolean
 12083        Handle hDispatchDriver
 12084        Boolean retVal
 12085        Get phDispatchDriver to hDispatchDriver
 12086        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 12087        Function_Return retVal
 12088    End_Function
 12089
 12090    
 12091    Function ComSyncRoot Returns Variant
 12092        Handle hDispatchDriver
 12093        Variant retVal
 12094        Get phDispatchDriver to hDispatchDriver
 12095        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
 12096        Function_Return retVal
 12097    End_Function
 12098
 12099    Function ComItem Variant llIndex Returns Variant
 12100        Handle hDispatchDriver
 12101        Variant retVal
 12102        Get phDispatchDriver to hDispatchDriver
 12103        Send PrepareParams to hDispatchDriver 1
 12104        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
 12105        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 12106        Function_Return retVal
 12107    End_Function
 12108
 12109    Procedure ComDispose
 12110        Handle hDispatchDriver
 12111        Get phDispatchDriver to hDispatchDriver
 12112        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
 12113    End_Procedure
 12114
 12115    Function ComEquals Variant llobj Returns Boolean
 12116        Handle hDispatchDriver
 12117        Boolean retVal
 12118        Get phDispatchDriver to hDispatchDriver
 12119        Send PrepareParams to hDispatchDriver 1
 12120        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 12121        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 12122        Function_Return retVal
 12123    End_Function
 12124
 12125    Function ComGetHashCode Returns Integer
 12126        Handle hDispatchDriver
 12127        Integer retVal
 12128        Get phDispatchDriver to hDispatchDriver
 12129        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 12130        Function_Return retVal
 12131    End_Function
 12132
 12133    Function ComMoveNext Returns Boolean
 12134        Handle hDispatchDriver
 12135        Boolean retVal
 12136        Get phDispatchDriver to hDispatchDriver
 12137        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 12138        Function_Return retVal
 12139    End_Function
 12140
 12141    Procedure ComReset
 12142        Handle hDispatchDriver
 12143        Get phDispatchDriver to hDispatchDriver
 12144        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
 12145    End_Procedure
 12146
 12147    
 12148    Function ComToString Returns String
 12149        Handle hDispatchDriver
 12150        String retVal
 12151        Get phDispatchDriver to hDispatchDriver
 12152        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
 12153        Function_Return retVal
 12154    End_Function
 12155End_Class
 12156
 12157Class cFlex2CrystalReportObjects is a cComAutomationObject
 12158    Import_Class_Protocol cFlex2CrystalIReportObjects
 12159
 12160    Procedure Construct_Object
 12161        Forward Send Construct_Object
 12162        Set peAutoCreate to acNoAutoCreate
 12163    End_Procedure
 12164End_Class
 12165
 12166Class cFlex2CrystalISummaryInfo is a Mixin
 12167
 12168    
 12169    Function ComKeywordsInReport Returns String
 12170        Handle hDispatchDriver
 12171        String retVal
 12172        Get phDispatchDriver to hDispatchDriver
 12173        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 12174        Function_Return retVal
 12175    End_Function
 12176
 12177    
 12178    Procedure Set ComKeywordsInReport String value
 12179        Handle hDispatchDriver
 12180        Get phDispatchDriver to hDispatchDriver
 12181        Send PrepareParams to hDispatchDriver 1
 12182        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
 12183    End_Procedure
 12184
 12185    
 12186    Function ComReportAuthor Returns String
 12187        Handle hDispatchDriver
 12188        String retVal
 12189        Get phDispatchDriver to hDispatchDriver
 12190        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BSTR to retVal
 12191        Function_Return retVal
 12192    End_Function
 12193
 12194    
 12195    Procedure Set ComReportAuthor String value
 12196        Handle hDispatchDriver
 12197        Get phDispatchDriver to hDispatchDriver
 12198        Send PrepareParams to hDispatchDriver 1
 12199        Set ComProperty of hDispatchDriver 2 OLE_VT_BSTR to value
 12200    End_Procedure
 12201
 12202    
 12203    Function ComReportComments Returns String
 12204        Handle hDispatchDriver
 12205        String retVal
 12206        Get phDispatchDriver to hDispatchDriver
 12207        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
 12208        Function_Return retVal
 12209    End_Function
 12210
 12211    
 12212    Procedure Set ComReportComments String value
 12213        Handle hDispatchDriver
 12214        Get phDispatchDriver to hDispatchDriver
 12215        Send PrepareParams to hDispatchDriver 1
 12216        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
 12217    End_Procedure
 12218
 12219    
 12220    Function ComReportSubject Returns String
 12221        Handle hDispatchDriver
 12222        String retVal
 12223        Get phDispatchDriver to hDispatchDriver
 12224        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
 12225        Function_Return retVal
 12226    End_Function
 12227
 12228    
 12229    Procedure Set ComReportSubject String value
 12230        Handle hDispatchDriver
 12231        Get phDispatchDriver to hDispatchDriver
 12232        Send PrepareParams to hDispatchDriver 1
 12233        Set ComProperty of hDispatchDriver 4 OLE_VT_BSTR to value
 12234    End_Procedure
 12235
 12236    
 12237    Function ComReportTitle Returns String
 12238        Handle hDispatchDriver
 12239        String retVal
 12240        Get phDispatchDriver to hDispatchDriver
 12241        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
 12242        Function_Return retVal
 12243    End_Function
 12244
 12245    
 12246    Procedure Set ComReportTitle String value
 12247        Handle hDispatchDriver
 12248        Get phDispatchDriver to hDispatchDriver
 12249        Send PrepareParams to hDispatchDriver 1
 12250        Set ComProperty of hDispatchDriver 5 OLE_VT_BSTR to value
 12251    End_Procedure
 12252
 12253    Procedure ComDispose
 12254        Handle hDispatchDriver
 12255        Get phDispatchDriver to hDispatchDriver
 12256        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
 12257    End_Procedure
 12258
 12259    Function ComEquals Variant llobj Returns Boolean
 12260        Handle hDispatchDriver
 12261        Boolean retVal
 12262        Get phDispatchDriver to hDispatchDriver
 12263        Send PrepareParams to hDispatchDriver 1
 12264        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 12265        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
 12266        Function_Return retVal
 12267    End_Function
 12268
 12269    Function ComGetHashCode Returns Integer
 12270        Handle hDispatchDriver
 12271        Integer retVal
 12272        Get phDispatchDriver to hDispatchDriver
 12273        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 12274        Function_Return retVal
 12275    End_Function
 12276
 12277    
 12278    Function ComToString Returns String
 12279        Handle hDispatchDriver
 12280        String retVal
 12281        Get phDispatchDriver to hDispatchDriver
 12282        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BSTR to retVal
 12283        Function_Return retVal
 12284    End_Function
 12285End_Class
 12286
 12287Class cFlex2CrystalSummaryInfo is a cComAutomationObject
 12288    Import_Class_Protocol cFlex2CrystalISummaryInfo
 12289
 12290    Procedure Construct_Object
 12291        Forward Send Construct_Object
 12292        Set peAutoCreate to acNoAutoCreate
 12293    End_Procedure
 12294End_Class
 12295
 12296Class cFlex2CrystalICrossTabObject is a Mixin
 12297
 12298    
 12299    Function ComBorder Returns Variant
 12300        Handle hDispatchDriver
 12301        Variant retVal
 12302        Get phDispatchDriver to hDispatchDriver
 12303        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 12304        Function_Return retVal
 12305    End_Function
 12306
 12307    
 12308    Function ComHeight Returns Integer
 12309        Handle hDispatchDriver
 12310        Integer retVal
 12311        Get phDispatchDriver to hDispatchDriver
 12312        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 12313        Function_Return retVal
 12314    End_Function
 12315
 12316    
 12317    Procedure Set ComHeight Integer value
 12318        Handle hDispatchDriver
 12319        Get phDispatchDriver to hDispatchDriver
 12320        Send PrepareParams to hDispatchDriver 1
 12321        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 12322    End_Procedure
 12323
 12324    
 12325    Function ComKind Returns OLEF2CReportObjectKind
 12326        Handle hDispatchDriver
 12327        OLEF2CReportObjectKind retVal
 12328        Get phDispatchDriver to hDispatchDriver
 12329        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 12330        Function_Return retVal
 12331    End_Function
 12332
 12333    
 12334    Function ComLeft Returns Integer
 12335        Handle hDispatchDriver
 12336        Integer retVal
 12337        Get phDispatchDriver to hDispatchDriver
 12338        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 12339        Function_Return retVal
 12340    End_Function
 12341
 12342    
 12343    Procedure Set ComLeft Integer value
 12344        Handle hDispatchDriver
 12345        Get phDispatchDriver to hDispatchDriver
 12346        Send PrepareParams to hDispatchDriver 1
 12347        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 12348    End_Procedure
 12349
 12350    
 12351    Function ComName Returns String
 12352        Handle hDispatchDriver
 12353        String retVal
 12354        Get phDispatchDriver to hDispatchDriver
 12355        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
 12356        Function_Return retVal
 12357    End_Function
 12358
 12359    
 12360    Function ComObjectFormat Returns Variant
 12361        Handle hDispatchDriver
 12362        Variant retVal
 12363        Get phDispatchDriver to hDispatchDriver
 12364        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 12365        Function_Return retVal
 12366    End_Function
 12367
 12368    
 12369    Function ComTop Returns Integer
 12370        Handle hDispatchDriver
 12371        Integer retVal
 12372        Get phDispatchDriver to hDispatchDriver
 12373        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 12374        Function_Return retVal
 12375    End_Function
 12376
 12377    
 12378    Procedure Set ComTop Integer value
 12379        Handle hDispatchDriver
 12380        Get phDispatchDriver to hDispatchDriver
 12381        Send PrepareParams to hDispatchDriver 1
 12382        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 12383    End_Procedure
 12384
 12385    
 12386    Function ComWidth Returns Integer
 12387        Handle hDispatchDriver
 12388        Integer retVal
 12389        Get phDispatchDriver to hDispatchDriver
 12390        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 12391        Function_Return retVal
 12392    End_Function
 12393
 12394    
 12395    Procedure Set ComWidth Integer value
 12396        Handle hDispatchDriver
 12397        Get phDispatchDriver to hDispatchDriver
 12398        Send PrepareParams to hDispatchDriver 1
 12399        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 12400    End_Procedure
 12401
 12402    Procedure ComDispose
 12403        Handle hDispatchDriver
 12404        Get phDispatchDriver to hDispatchDriver
 12405        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
 12406    End_Procedure
 12407
 12408    Function ComEquals Variant llobj Returns Boolean
 12409        Handle hDispatchDriver
 12410        Boolean retVal
 12411        Get phDispatchDriver to hDispatchDriver
 12412        Send PrepareParams to hDispatchDriver 1
 12413        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 12414        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
 12415        Function_Return retVal
 12416    End_Function
 12417
 12418    Function ComGetHashCode Returns Integer
 12419        Handle hDispatchDriver
 12420        Integer retVal
 12421        Get phDispatchDriver to hDispatchDriver
 12422        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 12423        Function_Return retVal
 12424    End_Function
 12425
 12426    
 12427    Function ComToString Returns String
 12428        Handle hDispatchDriver
 12429        String retVal
 12430        Get phDispatchDriver to hDispatchDriver
 12431        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BSTR to retVal
 12432        Function_Return retVal
 12433    End_Function
 12434End_Class
 12435
 12436Class cFlex2CrystalCrossTabObject is a cComAutomationObject
 12437    Import_Class_Protocol cFlex2CrystalICrossTabObject
 12438
 12439    Procedure Construct_Object
 12440        Forward Send Construct_Object
 12441        Set peAutoCreate to acNoAutoCreate
 12442    End_Procedure
 12443End_Class
 12444
 12445Class cFlex2CrystalITextObject is a Mixin
 12446
 12447    
 12448    Function ComBorder Returns Variant
 12449        Handle hDispatchDriver
 12450        Variant retVal
 12451        Get phDispatchDriver to hDispatchDriver
 12452        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 12453        Function_Return retVal
 12454    End_Function
 12455
 12456    
 12457    Function ComColor Returns Integer
 12458        Handle hDispatchDriver
 12459        Integer retVal
 12460        Get phDispatchDriver to hDispatchDriver
 12461        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 12462        Function_Return retVal
 12463    End_Function
 12464
 12465    
 12466    Procedure Set ComColor Integer value
 12467        Handle hDispatchDriver
 12468        Get phDispatchDriver to hDispatchDriver
 12469        Send PrepareParams to hDispatchDriver 1
 12470        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 12471    End_Procedure
 12472
 12473    
 12474    Function ComHeight Returns Integer
 12475        Handle hDispatchDriver
 12476        Integer retVal
 12477        Get phDispatchDriver to hDispatchDriver
 12478        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 12479        Function_Return retVal
 12480    End_Function
 12481
 12482    
 12483    Procedure Set ComHeight Integer value
 12484        Handle hDispatchDriver
 12485        Get phDispatchDriver to hDispatchDriver
 12486        Send PrepareParams to hDispatchDriver 1
 12487        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 12488    End_Procedure
 12489
 12490    
 12491    Function ComKind Returns OLEF2CReportObjectKind
 12492        Handle hDispatchDriver
 12493        OLEF2CReportObjectKind retVal
 12494        Get phDispatchDriver to hDispatchDriver
 12495        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 12496        Function_Return retVal
 12497    End_Function
 12498
 12499    
 12500    Function ComLeft Returns Integer
 12501        Handle hDispatchDriver
 12502        Integer retVal
 12503        Get phDispatchDriver to hDispatchDriver
 12504        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 12505        Function_Return retVal
 12506    End_Function
 12507
 12508    
 12509    Procedure Set ComLeft Integer value
 12510        Handle hDispatchDriver
 12511        Get phDispatchDriver to hDispatchDriver
 12512        Send PrepareParams to hDispatchDriver 1
 12513        Set ComProperty of hDispatchDriver 6 OLE_VT_I4 to value
 12514    End_Procedure
 12515
 12516    
 12517    Function ComName Returns String
 12518        Handle hDispatchDriver
 12519        String retVal
 12520        Get phDispatchDriver to hDispatchDriver
 12521        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BSTR to retVal
 12522        Function_Return retVal
 12523    End_Function
 12524
 12525    
 12526    Function ComObjectFormat Returns Variant
 12527        Handle hDispatchDriver
 12528        Variant retVal
 12529        Get phDispatchDriver to hDispatchDriver
 12530        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_DISPATCH to retVal
 12531        Function_Return retVal
 12532    End_Function
 12533
 12534    
 12535    Function ComText Returns String
 12536        Handle hDispatchDriver
 12537        String retVal
 12538        Get phDispatchDriver to hDispatchDriver
 12539        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
 12540        Function_Return retVal
 12541    End_Function
 12542
 12543    
 12544    Procedure Set ComText String value
 12545        Handle hDispatchDriver
 12546        Get phDispatchDriver to hDispatchDriver
 12547        Send PrepareParams to hDispatchDriver 1
 12548        Set ComProperty of hDispatchDriver 9 OLE_VT_BSTR to value
 12549    End_Procedure
 12550
 12551    
 12552    Function ComTop Returns Integer
 12553        Handle hDispatchDriver
 12554        Integer retVal
 12555        Get phDispatchDriver to hDispatchDriver
 12556        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 12557        Function_Return retVal
 12558    End_Function
 12559
 12560    
 12561    Procedure Set ComTop Integer value
 12562        Handle hDispatchDriver
 12563        Get phDispatchDriver to hDispatchDriver
 12564        Send PrepareParams to hDispatchDriver 1
 12565        Set ComProperty of hDispatchDriver 10 OLE_VT_I4 to value
 12566    End_Procedure
 12567
 12568    
 12569    Function ComWidth Returns Integer
 12570        Handle hDispatchDriver
 12571        Integer retVal
 12572        Get phDispatchDriver to hDispatchDriver
 12573        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 12574        Function_Return retVal
 12575    End_Function
 12576
 12577    
 12578    Procedure Set ComWidth Integer value
 12579        Handle hDispatchDriver
 12580        Get phDispatchDriver to hDispatchDriver
 12581        Send PrepareParams to hDispatchDriver 1
 12582        Set ComProperty of hDispatchDriver 11 OLE_VT_I4 to value
 12583    End_Procedure
 12584
 12585    Procedure ComDispose
 12586        Handle hDispatchDriver
 12587        Get phDispatchDriver to hDispatchDriver
 12588        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
 12589    End_Procedure
 12590
 12591    Function ComEquals Variant llobj Returns Boolean
 12592        Handle hDispatchDriver
 12593        Boolean retVal
 12594        Get phDispatchDriver to hDispatchDriver
 12595        Send PrepareParams to hDispatchDriver 1
 12596        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 12597        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
 12598        Function_Return retVal
 12599    End_Function
 12600
 12601    Function ComGetHashCode Returns Integer
 12602        Handle hDispatchDriver
 12603        Integer retVal
 12604        Get phDispatchDriver to hDispatchDriver
 12605        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
 12606        Function_Return retVal
 12607    End_Function
 12608
 12609    
 12610    Function ComToString Returns String
 12611        Handle hDispatchDriver
 12612        String retVal
 12613        Get phDispatchDriver to hDispatchDriver
 12614        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_BSTR to retVal
 12615        Function_Return retVal
 12616    End_Function
 12617End_Class
 12618
 12619Class cFlex2CrystalTextObject is a cComAutomationObject
 12620    Import_Class_Protocol cFlex2CrystalITextObject
 12621
 12622    Procedure Construct_Object
 12623        Forward Send Construct_Object
 12624        Set peAutoCreate to acNoAutoCreate
 12625    End_Procedure
 12626End_Class
 12627
 12628Class cFlex2CrystalIOlapGridObject is a Mixin
 12629
 12630    
 12631    Function ComBorder Returns Variant
 12632        Handle hDispatchDriver
 12633        Variant retVal
 12634        Get phDispatchDriver to hDispatchDriver
 12635        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 12636        Function_Return retVal
 12637    End_Function
 12638
 12639    
 12640    Function ComHeight Returns Integer
 12641        Handle hDispatchDriver
 12642        Integer retVal
 12643        Get phDispatchDriver to hDispatchDriver
 12644        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 12645        Function_Return retVal
 12646    End_Function
 12647
 12648    
 12649    Procedure Set ComHeight Integer value
 12650        Handle hDispatchDriver
 12651        Get phDispatchDriver to hDispatchDriver
 12652        Send PrepareParams to hDispatchDriver 1
 12653        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 12654    End_Procedure
 12655
 12656    
 12657    Function ComKind Returns OLEF2CReportObjectKind
 12658        Handle hDispatchDriver
 12659        OLEF2CReportObjectKind retVal
 12660        Get phDispatchDriver to hDispatchDriver
 12661        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 12662        Function_Return retVal
 12663    End_Function
 12664
 12665    
 12666    Function ComLeft Returns Integer
 12667        Handle hDispatchDriver
 12668        Integer retVal
 12669        Get phDispatchDriver to hDispatchDriver
 12670        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 12671        Function_Return retVal
 12672    End_Function
 12673
 12674    
 12675    Procedure Set ComLeft Integer value
 12676        Handle hDispatchDriver
 12677        Get phDispatchDriver to hDispatchDriver
 12678        Send PrepareParams to hDispatchDriver 1
 12679        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 12680    End_Procedure
 12681
 12682    
 12683    Function ComName Returns String
 12684        Handle hDispatchDriver
 12685        String retVal
 12686        Get phDispatchDriver to hDispatchDriver
 12687        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
 12688        Function_Return retVal
 12689    End_Function
 12690
 12691    
 12692    Function ComObjectFormat Returns Variant
 12693        Handle hDispatchDriver
 12694        Variant retVal
 12695        Get phDispatchDriver to hDispatchDriver
 12696        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 12697        Function_Return retVal
 12698    End_Function
 12699
 12700    
 12701    Function ComTop Returns Integer
 12702        Handle hDispatchDriver
 12703        Integer retVal
 12704        Get phDispatchDriver to hDispatchDriver
 12705        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 12706        Function_Return retVal
 12707    End_Function
 12708
 12709    
 12710    Procedure Set ComTop Integer value
 12711        Handle hDispatchDriver
 12712        Get phDispatchDriver to hDispatchDriver
 12713        Send PrepareParams to hDispatchDriver 1
 12714        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 12715    End_Procedure
 12716
 12717    
 12718    Function ComWidth Returns Integer
 12719        Handle hDispatchDriver
 12720        Integer retVal
 12721        Get phDispatchDriver to hDispatchDriver
 12722        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 12723        Function_Return retVal
 12724    End_Function
 12725
 12726    
 12727    Procedure Set ComWidth Integer value
 12728        Handle hDispatchDriver
 12729        Get phDispatchDriver to hDispatchDriver
 12730        Send PrepareParams to hDispatchDriver 1
 12731        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 12732    End_Procedure
 12733
 12734    Procedure ComDispose
 12735        Handle hDispatchDriver
 12736        Get phDispatchDriver to hDispatchDriver
 12737        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
 12738    End_Procedure
 12739
 12740    Function ComEquals Variant llobj Returns Boolean
 12741        Handle hDispatchDriver
 12742        Boolean retVal
 12743        Get phDispatchDriver to hDispatchDriver
 12744        Send PrepareParams to hDispatchDriver 1
 12745        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 12746        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
 12747        Function_Return retVal
 12748    End_Function
 12749
 12750    Function ComGetHashCode Returns Integer
 12751        Handle hDispatchDriver
 12752        Integer retVal
 12753        Get phDispatchDriver to hDispatchDriver
 12754        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 12755        Function_Return retVal
 12756    End_Function
 12757
 12758    
 12759    Function ComToString Returns String
 12760        Handle hDispatchDriver
 12761        String retVal
 12762        Get phDispatchDriver to hDispatchDriver
 12763        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BSTR to retVal
 12764        Function_Return retVal
 12765    End_Function
 12766End_Class
 12767
 12768Class cFlex2CrystalOlapGridObject is a cComAutomationObject
 12769    Import_Class_Protocol cFlex2CrystalIOlapGridObject
 12770
 12771    Procedure Construct_Object
 12772        Forward Send Construct_Object
 12773        Set peAutoCreate to acNoAutoCreate
 12774    End_Procedure
 12775End_Class
 12776
 12777Class cFlex2CrystalIBlobFieldObject is a Mixin
 12778
 12779    
 12780    Function ComBorder Returns Variant
 12781        Handle hDispatchDriver
 12782        Variant retVal
 12783        Get phDispatchDriver to hDispatchDriver
 12784        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 12785        Function_Return retVal
 12786    End_Function
 12787
 12788    
 12789    Function ComDataSource Returns Variant
 12790        Handle hDispatchDriver
 12791        Variant retVal
 12792        Get phDispatchDriver to hDispatchDriver
 12793        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
 12794        Function_Return retVal
 12795    End_Function
 12796
 12797    
 12798    Function ComHeight Returns Integer
 12799        Handle hDispatchDriver
 12800        Integer retVal
 12801        Get phDispatchDriver to hDispatchDriver
 12802        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 12803        Function_Return retVal
 12804    End_Function
 12805
 12806    
 12807    Procedure Set ComHeight Integer value
 12808        Handle hDispatchDriver
 12809        Get phDispatchDriver to hDispatchDriver
 12810        Send PrepareParams to hDispatchDriver 1
 12811        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 12812    End_Procedure
 12813
 12814    
 12815    Function ComKind Returns OLEF2CReportObjectKind
 12816        Handle hDispatchDriver
 12817        OLEF2CReportObjectKind retVal
 12818        Get phDispatchDriver to hDispatchDriver
 12819        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 12820        Function_Return retVal
 12821    End_Function
 12822
 12823    
 12824    Function ComLeft Returns Integer
 12825        Handle hDispatchDriver
 12826        Integer retVal
 12827        Get phDispatchDriver to hDispatchDriver
 12828        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 12829        Function_Return retVal
 12830    End_Function
 12831
 12832    
 12833    Procedure Set ComLeft Integer value
 12834        Handle hDispatchDriver
 12835        Get phDispatchDriver to hDispatchDriver
 12836        Send PrepareParams to hDispatchDriver 1
 12837        Set ComProperty of hDispatchDriver 5 OLE_VT_I4 to value
 12838    End_Procedure
 12839
 12840    
 12841    Function ComName Returns String
 12842        Handle hDispatchDriver
 12843        String retVal
 12844        Get phDispatchDriver to hDispatchDriver
 12845        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
 12846        Function_Return retVal
 12847    End_Function
 12848
 12849    
 12850    Function ComObjectFormat Returns Variant
 12851        Handle hDispatchDriver
 12852        Variant retVal
 12853        Get phDispatchDriver to hDispatchDriver
 12854        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
 12855        Function_Return retVal
 12856    End_Function
 12857
 12858    
 12859    Function ComTop Returns Integer
 12860        Handle hDispatchDriver
 12861        Integer retVal
 12862        Get phDispatchDriver to hDispatchDriver
 12863        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 12864        Function_Return retVal
 12865    End_Function
 12866
 12867    
 12868    Procedure Set ComTop Integer value
 12869        Handle hDispatchDriver
 12870        Get phDispatchDriver to hDispatchDriver
 12871        Send PrepareParams to hDispatchDriver 1
 12872        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 12873    End_Procedure
 12874
 12875    
 12876    Function ComWidth Returns Integer
 12877        Handle hDispatchDriver
 12878        Integer retVal
 12879        Get phDispatchDriver to hDispatchDriver
 12880        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 12881        Function_Return retVal
 12882    End_Function
 12883
 12884    
 12885    Procedure Set ComWidth Integer value
 12886        Handle hDispatchDriver
 12887        Get phDispatchDriver to hDispatchDriver
 12888        Send PrepareParams to hDispatchDriver 1
 12889        Set ComProperty of hDispatchDriver 9 OLE_VT_I4 to value
 12890    End_Procedure
 12891
 12892    Procedure ComDispose
 12893        Handle hDispatchDriver
 12894        Get phDispatchDriver to hDispatchDriver
 12895        Send InvokeComMethod to hDispatchDriver 10 OLE_VT_VOID
 12896    End_Procedure
 12897
 12898    Function ComEquals Variant llobj Returns Boolean
 12899        Handle hDispatchDriver
 12900        Boolean retVal
 12901        Get phDispatchDriver to hDispatchDriver
 12902        Send PrepareParams to hDispatchDriver 1
 12903        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 12904        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
 12905        Function_Return retVal
 12906    End_Function
 12907
 12908    Function ComGetHashCode Returns Integer
 12909        Handle hDispatchDriver
 12910        Integer retVal
 12911        Get phDispatchDriver to hDispatchDriver
 12912        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_I4 to retVal
 12913        Function_Return retVal
 12914    End_Function
 12915
 12916    
 12917    Function ComToString Returns String
 12918        Handle hDispatchDriver
 12919        String retVal
 12920        Get phDispatchDriver to hDispatchDriver
 12921        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BSTR to retVal
 12922        Function_Return retVal
 12923    End_Function
 12924
 12925    Procedure ComClearSourceData
 12926        Handle hDispatchDriver
 12927        Get phDispatchDriver to hDispatchDriver
 12928        Send InvokeComMethod to hDispatchDriver 15 OLE_VT_VOID
 12929    End_Procedure
 12930
 12931    Procedure ComAddColumn String llsName Integer lliType
 12932        Handle hDispatchDriver
 12933        Get phDispatchDriver to hDispatchDriver
 12934        Send PrepareParams to hDispatchDriver 2
 12935        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsName
 12936        Send DefineParam to hDispatchDriver OLE_VT_I4 lliType
 12937        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
 12938    End_Procedure
 12939
 12940    Procedure ComRemoveColumn String llsName
 12941        Handle hDispatchDriver
 12942        Get phDispatchDriver to hDispatchDriver
 12943        Send PrepareParams to hDispatchDriver 1
 12944        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsName
 12945        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
 12946    End_Procedure
 12947
 12948    Function ComNewRow Returns Integer
 12949        Handle hDispatchDriver
 12950        Integer retVal
 12951        Get phDispatchDriver to hDispatchDriver
 12952        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_I4 to retVal
 12953        Function_Return retVal
 12954    End_Function
 12955
 12956    Function ComAddRow Variant[] llaValues Returns Integer
 12957        Handle hDispatchDriver
 12958        Integer retVal
 12959        Get phDispatchDriver to hDispatchDriver
 12960        Send PrepareParams to hDispatchDriver 1
 12961        Send DefineParam to hDispatchDriver (OLE_VT_ARRAY ior OLE_VT_VARIANT) llaValues
 12962        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_I4 to retVal
 12963        Function_Return retVal
 12964    End_Function
 12965
 12966    Function ComGetCellValue Integer llnRowId String llsColumnName Returns Variant
 12967        Handle hDispatchDriver
 12968        Variant retVal
 12969        Get phDispatchDriver to hDispatchDriver
 12970        Send PrepareParams to hDispatchDriver 2
 12971        Send DefineParam to hDispatchDriver OLE_VT_I4 llnRowId
 12972        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsColumnName
 12973        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_VARIANT to retVal
 12974        Function_Return retVal
 12975    End_Function
 12976
 12977    Procedure ComSetCellValue Integer llnRowId String llsColumnName Variant lloValue
 12978        Handle hDispatchDriver
 12979        Get phDispatchDriver to hDispatchDriver
 12980        Send PrepareParams to hDispatchDriver 3
 12981        Send DefineParam to hDispatchDriver OLE_VT_I4 llnRowId
 12982        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsColumnName
 12983        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lloValue
 12984        Send InvokeComMethod to hDispatchDriver 21 OLE_VT_VOID
 12985    End_Procedure
 12986
 12987    Procedure ComRemoveRow Integer llnRowId
 12988        Handle hDispatchDriver
 12989        Get phDispatchDriver to hDispatchDriver
 12990        Send PrepareParams to hDispatchDriver 1
 12991        Send DefineParam to hDispatchDriver OLE_VT_I4 llnRowId
 12992        Send InvokeComMethod to hDispatchDriver 22 OLE_VT_VOID
 12993    End_Procedure
 12994End_Class
 12995
 12996Class cFlex2CrystalBlobFieldObject is a cComAutomationObject
 12997    Import_Class_Protocol cFlex2CrystalIBlobFieldObject
 12998
 12999    Procedure Construct_Object
 13000        Forward Send Construct_Object
 13001        Set peAutoCreate to acNoAutoCreate
 13002    End_Procedure
 13003End_Class
 13004
 13005Class cFlex2CrystalILineObject is a Mixin
 13006
 13007    
 13008    Function ComBorder Returns Variant
 13009        Handle hDispatchDriver
 13010        Variant retVal
 13011        Get phDispatchDriver to hDispatchDriver
 13012        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 13013        Function_Return retVal
 13014    End_Function
 13015
 13016    
 13017    Function ComBottom Returns Integer
 13018        Handle hDispatchDriver
 13019        Integer retVal
 13020        Get phDispatchDriver to hDispatchDriver
 13021        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 13022        Function_Return retVal
 13023    End_Function
 13024
 13025    
 13026    Procedure Set ComBottom Integer value
 13027        Handle hDispatchDriver
 13028        Get phDispatchDriver to hDispatchDriver
 13029        Send PrepareParams to hDispatchDriver 1
 13030        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 13031    End_Procedure
 13032
 13033    
 13034    Function ComEnableExtendToBottomOfSection Returns Boolean
 13035        Handle hDispatchDriver
 13036        Boolean retVal
 13037        Get phDispatchDriver to hDispatchDriver
 13038        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 13039        Function_Return retVal
 13040    End_Function
 13041
 13042    
 13043    Procedure Set ComEnableExtendToBottomOfSection Boolean value
 13044        Handle hDispatchDriver
 13045        Get phDispatchDriver to hDispatchDriver
 13046        Send PrepareParams to hDispatchDriver 1
 13047        Set ComProperty of hDispatchDriver 3 OLE_VT_BOOL to value
 13048    End_Procedure
 13049
 13050    
 13051    Function ComEndSectionName Returns String
 13052        Handle hDispatchDriver
 13053        String retVal
 13054        Get phDispatchDriver to hDispatchDriver
 13055        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
 13056        Function_Return retVal
 13057    End_Function
 13058
 13059    
 13060    Function ComHeight Returns Integer
 13061        Handle hDispatchDriver
 13062        Integer retVal
 13063        Get phDispatchDriver to hDispatchDriver
 13064        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 13065        Function_Return retVal
 13066    End_Function
 13067
 13068    
 13069    Procedure Set ComHeight Integer value
 13070        Handle hDispatchDriver
 13071        Get phDispatchDriver to hDispatchDriver
 13072        Send PrepareParams to hDispatchDriver 1
 13073        Set ComProperty of hDispatchDriver 5 OLE_VT_I4 to value
 13074    End_Procedure
 13075
 13076    
 13077    Function ComKind Returns OLEF2CReportObjectKind
 13078        Handle hDispatchDriver
 13079        OLEF2CReportObjectKind retVal
 13080        Get phDispatchDriver to hDispatchDriver
 13081        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 13082        Function_Return retVal
 13083    End_Function
 13084
 13085    
 13086    Function ComLeft Returns Integer
 13087        Handle hDispatchDriver
 13088        Integer retVal
 13089        Get phDispatchDriver to hDispatchDriver
 13090        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 13091        Function_Return retVal
 13092    End_Function
 13093
 13094    
 13095    Procedure Set ComLeft Integer value
 13096        Handle hDispatchDriver
 13097        Get phDispatchDriver to hDispatchDriver
 13098        Send PrepareParams to hDispatchDriver 1
 13099        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 13100    End_Procedure
 13101
 13102    
 13103    Function ComLineColor Returns Integer
 13104        Handle hDispatchDriver
 13105        Integer retVal
 13106        Get phDispatchDriver to hDispatchDriver
 13107        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 13108        Function_Return retVal
 13109    End_Function
 13110
 13111    
 13112    Procedure Set ComLineColor Integer value
 13113        Handle hDispatchDriver
 13114        Get phDispatchDriver to hDispatchDriver
 13115        Send PrepareParams to hDispatchDriver 1
 13116        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 13117    End_Procedure
 13118
 13119    
 13120    Function ComLineStyle Returns OLEF2CLineStyle
 13121        Handle hDispatchDriver
 13122        OLEF2CLineStyle retVal
 13123        Get phDispatchDriver to hDispatchDriver
 13124        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 13125        Function_Return retVal
 13126    End_Function
 13127
 13128    
 13129    Procedure Set ComLineStyle OLEF2CLineStyle value
 13130        Handle hDispatchDriver
 13131        Get phDispatchDriver to hDispatchDriver
 13132        Send PrepareParams to hDispatchDriver 1
 13133        Set ComProperty of hDispatchDriver 9 OLE_VT_I4 to value
 13134    End_Procedure
 13135
 13136    
 13137    Function ComLineThickness Returns Integer
 13138        Handle hDispatchDriver
 13139        Integer retVal
 13140        Get phDispatchDriver to hDispatchDriver
 13141        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 13142        Function_Return retVal
 13143    End_Function
 13144
 13145    
 13146    Procedure Set ComLineThickness Integer value
 13147        Handle hDispatchDriver
 13148        Get phDispatchDriver to hDispatchDriver
 13149        Send PrepareParams to hDispatchDriver 1
 13150        Set ComProperty of hDispatchDriver 10 OLE_VT_I4 to value
 13151    End_Procedure
 13152
 13153    
 13154    Function ComName Returns String
 13155        Handle hDispatchDriver
 13156        String retVal
 13157        Get phDispatchDriver to hDispatchDriver
 13158        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BSTR to retVal
 13159        Function_Return retVal
 13160    End_Function
 13161
 13162    
 13163    Function ComObjectFormat Returns Variant
 13164        Handle hDispatchDriver
 13165        Variant retVal
 13166        Get phDispatchDriver to hDispatchDriver
 13167        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_DISPATCH to retVal
 13168        Function_Return retVal
 13169    End_Function
 13170
 13171    
 13172    Function ComRight Returns Integer
 13173        Handle hDispatchDriver
 13174        Integer retVal
 13175        Get phDispatchDriver to hDispatchDriver
 13176        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_I4 to retVal
 13177        Function_Return retVal
 13178    End_Function
 13179
 13180    
 13181    Procedure Set ComRight Integer value
 13182        Handle hDispatchDriver
 13183        Get phDispatchDriver to hDispatchDriver
 13184        Send PrepareParams to hDispatchDriver 1
 13185        Set ComProperty of hDispatchDriver 13 OLE_VT_I4 to value
 13186    End_Procedure
 13187
 13188    
 13189    Function ComTop Returns Integer
 13190        Handle hDispatchDriver
 13191        Integer retVal
 13192        Get phDispatchDriver to hDispatchDriver
 13193        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_I4 to retVal
 13194        Function_Return retVal
 13195    End_Function
 13196
 13197    
 13198    Procedure Set ComTop Integer value
 13199        Handle hDispatchDriver
 13200        Get phDispatchDriver to hDispatchDriver
 13201        Send PrepareParams to hDispatchDriver 1
 13202        Set ComProperty of hDispatchDriver 14 OLE_VT_I4 to value
 13203    End_Procedure
 13204
 13205    
 13206    Function ComWidth Returns Integer
 13207        Handle hDispatchDriver
 13208        Integer retVal
 13209        Get phDispatchDriver to hDispatchDriver
 13210        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_I4 to retVal
 13211        Function_Return retVal
 13212    End_Function
 13213
 13214    
 13215    Procedure Set ComWidth Integer value
 13216        Handle hDispatchDriver
 13217        Get phDispatchDriver to hDispatchDriver
 13218        Send PrepareParams to hDispatchDriver 1
 13219        Set ComProperty of hDispatchDriver 15 OLE_VT_I4 to value
 13220    End_Procedure
 13221
 13222    Procedure ComDispose
 13223        Handle hDispatchDriver
 13224        Get phDispatchDriver to hDispatchDriver
 13225        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
 13226    End_Procedure
 13227
 13228    Function ComEquals Variant llobj Returns Boolean
 13229        Handle hDispatchDriver
 13230        Boolean retVal
 13231        Get phDispatchDriver to hDispatchDriver
 13232        Send PrepareParams to hDispatchDriver 1
 13233        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 13234        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_BOOL to retVal
 13235        Function_Return retVal
 13236    End_Function
 13237
 13238    Function ComGetHashCode Returns Integer
 13239        Handle hDispatchDriver
 13240        Integer retVal
 13241        Get phDispatchDriver to hDispatchDriver
 13242        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_I4 to retVal
 13243        Function_Return retVal
 13244    End_Function
 13245
 13246    
 13247    Function ComToString Returns String
 13248        Handle hDispatchDriver
 13249        String retVal
 13250        Get phDispatchDriver to hDispatchDriver
 13251        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_BSTR to retVal
 13252        Function_Return retVal
 13253    End_Function
 13254End_Class
 13255
 13256Class cFlex2CrystalLineObject is a cComAutomationObject
 13257    Import_Class_Protocol cFlex2CrystalILineObject
 13258
 13259    Procedure Construct_Object
 13260        Forward Send Construct_Object
 13261        Set peAutoCreate to acNoAutoCreate
 13262    End_Procedure
 13263End_Class
 13264
 13265Class cFlex2CrystalIMapObject is a Mixin
 13266
 13267    
 13268    Function ComBorder Returns Variant
 13269        Handle hDispatchDriver
 13270        Variant retVal
 13271        Get phDispatchDriver to hDispatchDriver
 13272        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 13273        Function_Return retVal
 13274    End_Function
 13275
 13276    
 13277    Function ComHeight Returns Integer
 13278        Handle hDispatchDriver
 13279        Integer retVal
 13280        Get phDispatchDriver to hDispatchDriver
 13281        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 13282        Function_Return retVal
 13283    End_Function
 13284
 13285    
 13286    Procedure Set ComHeight Integer value
 13287        Handle hDispatchDriver
 13288        Get phDispatchDriver to hDispatchDriver
 13289        Send PrepareParams to hDispatchDriver 1
 13290        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 13291    End_Procedure
 13292
 13293    
 13294    Function ComKind Returns OLEF2CReportObjectKind
 13295        Handle hDispatchDriver
 13296        OLEF2CReportObjectKind retVal
 13297        Get phDispatchDriver to hDispatchDriver
 13298        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 13299        Function_Return retVal
 13300    End_Function
 13301
 13302    
 13303    Function ComLeft Returns Integer
 13304        Handle hDispatchDriver
 13305        Integer retVal
 13306        Get phDispatchDriver to hDispatchDriver
 13307        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 13308        Function_Return retVal
 13309    End_Function
 13310
 13311    
 13312    Procedure Set ComLeft Integer value
 13313        Handle hDispatchDriver
 13314        Get phDispatchDriver to hDispatchDriver
 13315        Send PrepareParams to hDispatchDriver 1
 13316        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 13317    End_Procedure
 13318
 13319    
 13320    Function ComName Returns String
 13321        Handle hDispatchDriver
 13322        String retVal
 13323        Get phDispatchDriver to hDispatchDriver
 13324        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
 13325        Function_Return retVal
 13326    End_Function
 13327
 13328    
 13329    Function ComObjectFormat Returns Variant
 13330        Handle hDispatchDriver
 13331        Variant retVal
 13332        Get phDispatchDriver to hDispatchDriver
 13333        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 13334        Function_Return retVal
 13335    End_Function
 13336
 13337    
 13338    Function ComTop Returns Integer
 13339        Handle hDispatchDriver
 13340        Integer retVal
 13341        Get phDispatchDriver to hDispatchDriver
 13342        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 13343        Function_Return retVal
 13344    End_Function
 13345
 13346    
 13347    Procedure Set ComTop Integer value
 13348        Handle hDispatchDriver
 13349        Get phDispatchDriver to hDispatchDriver
 13350        Send PrepareParams to hDispatchDriver 1
 13351        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 13352    End_Procedure
 13353
 13354    
 13355    Function ComWidth Returns Integer
 13356        Handle hDispatchDriver
 13357        Integer retVal
 13358        Get phDispatchDriver to hDispatchDriver
 13359        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 13360        Function_Return retVal
 13361    End_Function
 13362
 13363    
 13364    Procedure Set ComWidth Integer value
 13365        Handle hDispatchDriver
 13366        Get phDispatchDriver to hDispatchDriver
 13367        Send PrepareParams to hDispatchDriver 1
 13368        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 13369    End_Procedure
 13370
 13371    Procedure ComDispose
 13372        Handle hDispatchDriver
 13373        Get phDispatchDriver to hDispatchDriver
 13374        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
 13375    End_Procedure
 13376
 13377    Function ComEquals Variant llobj Returns Boolean
 13378        Handle hDispatchDriver
 13379        Boolean retVal
 13380        Get phDispatchDriver to hDispatchDriver
 13381        Send PrepareParams to hDispatchDriver 1
 13382        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 13383        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
 13384        Function_Return retVal
 13385    End_Function
 13386
 13387    Function ComGetHashCode Returns Integer
 13388        Handle hDispatchDriver
 13389        Integer retVal
 13390        Get phDispatchDriver to hDispatchDriver
 13391        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 13392        Function_Return retVal
 13393    End_Function
 13394
 13395    
 13396    Function ComToString Returns String
 13397        Handle hDispatchDriver
 13398        String retVal
 13399        Get phDispatchDriver to hDispatchDriver
 13400        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BSTR to retVal
 13401        Function_Return retVal
 13402    End_Function
 13403End_Class
 13404
 13405Class cFlex2CrystalMapObject is a cComAutomationObject
 13406    Import_Class_Protocol cFlex2CrystalIMapObject
 13407
 13408    Procedure Construct_Object
 13409        Forward Send Construct_Object
 13410        Set peAutoCreate to acNoAutoCreate
 13411    End_Procedure
 13412End_Class
 13413
 13414Class cFlex2CrystalIAreas is a Mixin
 13415
 13416    
 13417    Function ComCount Returns Integer
 13418        Handle hDispatchDriver
 13419        Integer retVal
 13420        Get phDispatchDriver to hDispatchDriver
 13421        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 13422        Function_Return retVal
 13423    End_Function
 13424
 13425    
 13426    Function ComCurrent Returns Variant
 13427        Handle hDispatchDriver
 13428        Variant retVal
 13429        Get phDispatchDriver to hDispatchDriver
 13430        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 13431        Function_Return retVal
 13432    End_Function
 13433
 13434    
 13435    Function ComIsReadOnly Returns Boolean
 13436        Handle hDispatchDriver
 13437        Boolean retVal
 13438        Get phDispatchDriver to hDispatchDriver
 13439        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 13440        Function_Return retVal
 13441    End_Function
 13442
 13443    
 13444    Function ComIsSynchronized Returns Boolean
 13445        Handle hDispatchDriver
 13446        Boolean retVal
 13447        Get phDispatchDriver to hDispatchDriver
 13448        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 13449        Function_Return retVal
 13450    End_Function
 13451
 13452    
 13453    Function ComSyncRoot Returns Variant
 13454        Handle hDispatchDriver
 13455        Variant retVal
 13456        Get phDispatchDriver to hDispatchDriver
 13457        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
 13458        Function_Return retVal
 13459    End_Function
 13460
 13461    Function ComItem Variant llIndex Returns Variant
 13462        Handle hDispatchDriver
 13463        Variant retVal
 13464        Get phDispatchDriver to hDispatchDriver
 13465        Send PrepareParams to hDispatchDriver 1
 13466        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
 13467        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 13468        Function_Return retVal
 13469    End_Function
 13470
 13471    Procedure ComDispose
 13472        Handle hDispatchDriver
 13473        Get phDispatchDriver to hDispatchDriver
 13474        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
 13475    End_Procedure
 13476
 13477    Function ComEquals Variant llobj Returns Boolean
 13478        Handle hDispatchDriver
 13479        Boolean retVal
 13480        Get phDispatchDriver to hDispatchDriver
 13481        Send PrepareParams to hDispatchDriver 1
 13482        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 13483        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 13484        Function_Return retVal
 13485    End_Function
 13486
 13487    Function ComGetHashCode Returns Integer
 13488        Handle hDispatchDriver
 13489        Integer retVal
 13490        Get phDispatchDriver to hDispatchDriver
 13491        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 13492        Function_Return retVal
 13493    End_Function
 13494
 13495    Function ComMoveNext Returns Boolean
 13496        Handle hDispatchDriver
 13497        Boolean retVal
 13498        Get phDispatchDriver to hDispatchDriver
 13499        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 13500        Function_Return retVal
 13501    End_Function
 13502
 13503    Procedure ComReset
 13504        Handle hDispatchDriver
 13505        Get phDispatchDriver to hDispatchDriver
 13506        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
 13507    End_Procedure
 13508
 13509    
 13510    Function ComToString Returns String
 13511        Handle hDispatchDriver
 13512        String retVal
 13513        Get phDispatchDriver to hDispatchDriver
 13514        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
 13515        Function_Return retVal
 13516    End_Function
 13517End_Class
 13518
 13519Class cFlex2CrystalAreas is a cComAutomationObject
 13520    Import_Class_Protocol cFlex2CrystalIAreas
 13521
 13522    Procedure Construct_Object
 13523        Forward Send Construct_Object
 13524        Set peAutoCreate to acNoAutoCreate
 13525    End_Procedure
 13526End_Class
 13527
 13528Class cFlex2CrystalIAreaFormat is a Mixin
 13529
 13530    
 13531    Function ComEnableHideForDrillDown Returns Boolean
 13532        Handle hDispatchDriver
 13533        Boolean retVal
 13534        Get phDispatchDriver to hDispatchDriver
 13535        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
 13536        Function_Return retVal
 13537    End_Function
 13538
 13539    
 13540    Procedure Set ComEnableHideForDrillDown Boolean value
 13541        Handle hDispatchDriver
 13542        Get phDispatchDriver to hDispatchDriver
 13543        Send PrepareParams to hDispatchDriver 1
 13544        Set ComProperty of hDispatchDriver 1 OLE_VT_BOOL to value
 13545    End_Procedure
 13546
 13547    
 13548    Function ComEnableKeepTogether Returns Boolean
 13549        Handle hDispatchDriver
 13550        Boolean retVal
 13551        Get phDispatchDriver to hDispatchDriver
 13552        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
 13553        Function_Return retVal
 13554    End_Function
 13555
 13556    
 13557    Procedure Set ComEnableKeepTogether Boolean value
 13558        Handle hDispatchDriver
 13559        Get phDispatchDriver to hDispatchDriver
 13560        Send PrepareParams to hDispatchDriver 1
 13561        Set ComProperty of hDispatchDriver 2 OLE_VT_BOOL to value
 13562    End_Procedure
 13563
 13564    
 13565    Function ComEnableNewPageAfter Returns Boolean
 13566        Handle hDispatchDriver
 13567        Boolean retVal
 13568        Get phDispatchDriver to hDispatchDriver
 13569        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 13570        Function_Return retVal
 13571    End_Function
 13572
 13573    
 13574    Procedure Set ComEnableNewPageAfter Boolean value
 13575        Handle hDispatchDriver
 13576        Get phDispatchDriver to hDispatchDriver
 13577        Send PrepareParams to hDispatchDriver 1
 13578        Set ComProperty of hDispatchDriver 3 OLE_VT_BOOL to value
 13579    End_Procedure
 13580
 13581    
 13582    Function ComEnableNewPageBefore Returns Boolean
 13583        Handle hDispatchDriver
 13584        Boolean retVal
 13585        Get phDispatchDriver to hDispatchDriver
 13586        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 13587        Function_Return retVal
 13588    End_Function
 13589
 13590    
 13591    Procedure Set ComEnableNewPageBefore Boolean value
 13592        Handle hDispatchDriver
 13593        Get phDispatchDriver to hDispatchDriver
 13594        Send PrepareParams to hDispatchDriver 1
 13595        Set ComProperty of hDispatchDriver 4 OLE_VT_BOOL to value
 13596    End_Procedure
 13597
 13598    
 13599    Function ComEnablePrintAtBottomOfPage Returns Boolean
 13600        Handle hDispatchDriver
 13601        Boolean retVal
 13602        Get phDispatchDriver to hDispatchDriver
 13603        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 13604        Function_Return retVal
 13605    End_Function
 13606
 13607    
 13608    Procedure Set ComEnablePrintAtBottomOfPage Boolean value
 13609        Handle hDispatchDriver
 13610        Get phDispatchDriver to hDispatchDriver
 13611        Send PrepareParams to hDispatchDriver 1
 13612        Set ComProperty of hDispatchDriver 5 OLE_VT_BOOL to value
 13613    End_Procedure
 13614
 13615    
 13616    Function ComEnableResetPageNumberAfter Returns Boolean
 13617        Handle hDispatchDriver
 13618        Boolean retVal
 13619        Get phDispatchDriver to hDispatchDriver
 13620        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
 13621        Function_Return retVal
 13622    End_Function
 13623
 13624    
 13625    Procedure Set ComEnableResetPageNumberAfter Boolean value
 13626        Handle hDispatchDriver
 13627        Get phDispatchDriver to hDispatchDriver
 13628        Send PrepareParams to hDispatchDriver 1
 13629        Set ComProperty of hDispatchDriver 6 OLE_VT_BOOL to value
 13630    End_Procedure
 13631
 13632    
 13633    Function ComEnableSuppress Returns Boolean
 13634        Handle hDispatchDriver
 13635        Boolean retVal
 13636        Get phDispatchDriver to hDispatchDriver
 13637        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
 13638        Function_Return retVal
 13639    End_Function
 13640
 13641    
 13642    Procedure Set ComEnableSuppress Boolean value
 13643        Handle hDispatchDriver
 13644        Get phDispatchDriver to hDispatchDriver
 13645        Send PrepareParams to hDispatchDriver 1
 13646        Set ComProperty of hDispatchDriver 7 OLE_VT_BOOL to value
 13647    End_Procedure
 13648
 13649    Procedure ComDispose
 13650        Handle hDispatchDriver
 13651        Get phDispatchDriver to hDispatchDriver
 13652        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
 13653    End_Procedure
 13654
 13655    Function ComEquals Variant llobj Returns Boolean
 13656        Handle hDispatchDriver
 13657        Boolean retVal
 13658        Get phDispatchDriver to hDispatchDriver
 13659        Send PrepareParams to hDispatchDriver 1
 13660        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 13661        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 13662        Function_Return retVal
 13663    End_Function
 13664
 13665    Function ComGetHashCode Returns Integer
 13666        Handle hDispatchDriver
 13667        Integer retVal
 13668        Get phDispatchDriver to hDispatchDriver
 13669        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 13670        Function_Return retVal
 13671    End_Function
 13672
 13673    
 13674    Function ComToString Returns String
 13675        Handle hDispatchDriver
 13676        String retVal
 13677        Get phDispatchDriver to hDispatchDriver
 13678        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
 13679        Function_Return retVal
 13680    End_Function
 13681End_Class
 13682
 13683Class cFlex2CrystalAreaFormat is a cComAutomationObject
 13684    Import_Class_Protocol cFlex2CrystalIAreaFormat
 13685
 13686    Procedure Construct_Object
 13687        Forward Send Construct_Object
 13688        Set peAutoCreate to acNoAutoCreate
 13689    End_Procedure
 13690End_Class
 13691
 13692Class cFlex2CrystalIArea is a Mixin
 13693    
 13694    Function ComGroupNumber Returns Integer
 13695        String name
 13696        Integer group
 13697        If (ComKind(Self) = crGroupFooter or ComKind(Self) = crGroupHeader) Begin
 13698            Get ComName to name
 13699            If (ComKind(Self) = crGroupHeader) Move (Replace("GroupHeaderArea", name, "")) to name
 13700            If (ComKind(Self) = crGroupFooter) Move (Replace("GroupFooterArea", name, "")) to name
 13701            Move name to group
 13702
 13703            Function_Return group
 13704        End
 13705        Else Function_Return 0
 13706    End_Function
 13707    
 13708    Procedure Set ComSuppress Boolean value
 13709        Variant vAreaFormat
 13710        Handle hoAreaFormat
 13711        
 13712        Get ComAreaFormat to vAreaFormat
 13713        Get Create U_cFlex2CrystalAreaFormat to hoAreaFormat
 13714        Set pvComObject of hoAreaFormat to vAreaFormat
 13715        
 13716        Set ComEnableSuppress of hoAreaFormat to value
 13717        Send Destroy of hoAreaFormat
 13718    End_Procedure
 13719    
 13720    Procedure Set ComResetPageNumberAfter Boolean Value
 13721        Variant vAreaFormat
 13722        Handle hoAreaFormat
 13723        
 13724        Get ComAreaFormat to vAreaFormat
 13725        Get Create U_cFlex2CrystalAreaFormat to hoAreaFormat
 13726        Set pvComObject of hoAreaFormat to vAreaFormat
 13727        
 13728        Set ComEnableResetPageNumberAfter of hoAreaFormat to Value
 13729        Send Destroy of hoAreaFormat
 13730    End_Procedure
 13731    
 13732    Procedure Set ComPrintAtBottomOfPage Boolean Value
 13733        Variant vAreaFormat
 13734        Handle hoAreaFormat
 13735        
 13736        Get ComAreaFormat to vAreaFormat
 13737        Get Create U_cFlex2CrystalAreaFormat to hoAreaFormat
 13738        Set pvComObject of hoAreaFormat to vAreaFormat
 13739        
 13740        Set ComEnablePrintAtBottomOfPage of hoAreaFormat to Value
 13741        Send Destroy of hoAreaFormat
 13742    End_Procedure
 13743    
 13744    Procedure Set ComNewPageAfter Boolean Value
 13745        Variant vAreaFormat
 13746        Handle hoAreaFormat
 13747        
 13748        Get ComAreaFormat to vAreaFormat
 13749        Get Create U_cFlex2CrystalAreaFormat to hoAreaFormat
 13750        Set pvComObject of hoAreaFormat to vAreaFormat
 13751        
 13752        Set ComEnableNewPageAfter of hoAreaFormat to Value
 13753        Send Destroy of hoAreaFormat
 13754    End_Procedure
 13755    
 13756    Procedure Set ComNewPageBefore Boolean Value
 13757        Variant vAreaFormat
 13758        Handle hoAreaFormat
 13759        
 13760        Get ComAreaFormat to vAreaFormat
 13761        Get Create U_cFlex2CrystalAreaFormat to hoAreaFormat
 13762        Set pvComObject of hoAreaFormat to vAreaFormat
 13763        
 13764        Set ComEnableNewPageBefore of hoAreaFormat to Value
 13765        Send Destroy of hoAreaFormat
 13766    End_Procedure
 13767    
 13768    Procedure Set ComKeepTogether Boolean Value
 13769        Variant vAreaFormat
 13770        Handle hoAreaFormat
 13771        
 13772        Get ComAreaFormat to vAreaFormat
 13773        Get Create U_cFlex2CrystalAreaFormat to hoAreaFormat
 13774        Set pvComObject of hoAreaFormat to vAreaFormat
 13775        
 13776        Set ComEnableKeepTogether of hoAreaFormat to Value
 13777        Send Destroy of hoAreaFormat
 13778    End_Procedure
 13779    
 13780    Procedure Set ComHideForDrillDown Boolean Value
 13781        Variant vAreaFormat
 13782        Handle hoAreaFormat
 13783        
 13784        Get ComAreaFormat to vAreaFormat
 13785        Get Create U_cFlex2CrystalAreaFormat to hoAreaFormat
 13786        Set pvComObject of hoAreaFormat to vAreaFormat
 13787        
 13788        Set ComEnableHideForDrillDown of hoAreaFormat to Value
 13789        Send Destroy of hoAreaFormat
 13790    End_Procedure
 13791
 13792    
 13793    Function ComAreaFormat Returns Variant
 13794        Handle hDispatchDriver
 13795        Variant retVal
 13796        Get phDispatchDriver to hDispatchDriver
 13797        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 13798        Function_Return retVal
 13799    End_Function
 13800
 13801    
 13802    Function ComKind Returns OLEF2CAreaSectionKind
 13803        Handle hDispatchDriver
 13804        OLEF2CAreaSectionKind retVal
 13805        Get phDispatchDriver to hDispatchDriver
 13806        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 13807        Function_Return retVal
 13808    End_Function
 13809
 13810    
 13811    Function ComName Returns String
 13812        Handle hDispatchDriver
 13813        String retVal
 13814        Get phDispatchDriver to hDispatchDriver
 13815        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
 13816        Function_Return retVal
 13817    End_Function
 13818
 13819    
 13820    Function ComSections Returns Variant
 13821        Handle hDispatchDriver
 13822        Variant retVal
 13823        Get phDispatchDriver to hDispatchDriver
 13824        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 13825        Function_Return retVal
 13826    End_Function
 13827
 13828    Procedure ComDispose
 13829        Handle hDispatchDriver
 13830        Get phDispatchDriver to hDispatchDriver
 13831        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
 13832    End_Procedure
 13833
 13834    Function ComEquals Variant llobj Returns Boolean
 13835        Handle hDispatchDriver
 13836        Boolean retVal
 13837        Get phDispatchDriver to hDispatchDriver
 13838        Send PrepareParams to hDispatchDriver 1
 13839        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 13840        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
 13841        Function_Return retVal
 13842    End_Function
 13843
 13844    Function ComGetHashCode Returns Integer
 13845        Handle hDispatchDriver
 13846        Integer retVal
 13847        Get phDispatchDriver to hDispatchDriver
 13848        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 13849        Function_Return retVal
 13850    End_Function
 13851
 13852    
 13853    Function ComToString Returns String
 13854        Handle hDispatchDriver
 13855        String retVal
 13856        Get phDispatchDriver to hDispatchDriver
 13857        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
 13858        Function_Return retVal
 13859    End_Function
 13860End_Class
 13861
 13862Class cFlex2CrystalArea is a cComAutomationObject
 13863    Import_Class_Protocol cFlex2CrystalIArea
 13864
 13865    Procedure Construct_Object
 13866        Forward Send Construct_Object
 13867        Set peAutoCreate to acNoAutoCreate
 13868    End_Procedure
 13869End_Class
 13870
 13871Class cFlex2CrystalISections is a Mixin
 13872
 13873    
 13874    Function ComCount Returns Integer
 13875        Handle hDispatchDriver
 13876        Integer retVal
 13877        Get phDispatchDriver to hDispatchDriver
 13878        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 13879        Function_Return retVal
 13880    End_Function
 13881
 13882    
 13883    Function ComCurrent Returns Variant
 13884        Handle hDispatchDriver
 13885        Variant retVal
 13886        Get phDispatchDriver to hDispatchDriver
 13887        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 13888        Function_Return retVal
 13889    End_Function
 13890
 13891    
 13892    Function ComIsReadOnly Returns Boolean
 13893        Handle hDispatchDriver
 13894        Boolean retVal
 13895        Get phDispatchDriver to hDispatchDriver
 13896        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 13897        Function_Return retVal
 13898    End_Function
 13899
 13900    
 13901    Function ComIsSynchronized Returns Boolean
 13902        Handle hDispatchDriver
 13903        Boolean retVal
 13904        Get phDispatchDriver to hDispatchDriver
 13905        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 13906        Function_Return retVal
 13907    End_Function
 13908
 13909    
 13910    Function ComSyncRoot Returns Variant
 13911        Handle hDispatchDriver
 13912        Variant retVal
 13913        Get phDispatchDriver to hDispatchDriver
 13914        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
 13915        Function_Return retVal
 13916    End_Function
 13917
 13918    Function ComItem Variant llIndex Returns Variant
 13919        Handle hDispatchDriver
 13920        Variant retVal
 13921        Get phDispatchDriver to hDispatchDriver
 13922        Send PrepareParams to hDispatchDriver 1
 13923        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
 13924        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 13925        Function_Return retVal
 13926    End_Function
 13927
 13928    Procedure ComDispose
 13929        Handle hDispatchDriver
 13930        Get phDispatchDriver to hDispatchDriver
 13931        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
 13932    End_Procedure
 13933
 13934    Function ComEquals Variant llobj Returns Boolean
 13935        Handle hDispatchDriver
 13936        Boolean retVal
 13937        Get phDispatchDriver to hDispatchDriver
 13938        Send PrepareParams to hDispatchDriver 1
 13939        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 13940        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 13941        Function_Return retVal
 13942    End_Function
 13943
 13944    Function ComGetHashCode Returns Integer
 13945        Handle hDispatchDriver
 13946        Integer retVal
 13947        Get phDispatchDriver to hDispatchDriver
 13948        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 13949        Function_Return retVal
 13950    End_Function
 13951
 13952    Function ComMoveNext Returns Boolean
 13953        Handle hDispatchDriver
 13954        Boolean retVal
 13955        Get phDispatchDriver to hDispatchDriver
 13956        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 13957        Function_Return retVal
 13958    End_Function
 13959
 13960    Procedure ComReset
 13961        Handle hDispatchDriver
 13962        Get phDispatchDriver to hDispatchDriver
 13963        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
 13964    End_Procedure
 13965
 13966    
 13967    Function ComToString Returns String
 13968        Handle hDispatchDriver
 13969        String retVal
 13970        Get phDispatchDriver to hDispatchDriver
 13971        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
 13972        Function_Return retVal
 13973    End_Function
 13974End_Class
 13975
 13976Class cFlex2CrystalSections is a cComAutomationObject
 13977    Import_Class_Protocol cFlex2CrystalISections
 13978
 13979    Procedure Construct_Object
 13980        Forward Send Construct_Object
 13981        Set peAutoCreate to acNoAutoCreate
 13982    End_Procedure
 13983End_Class
 13984
 13985Class cFlex2CrystalISection is a Mixin
 13986
 13987    
 13988    Function ComHeight Returns Integer
 13989        Handle hDispatchDriver
 13990        Integer retVal
 13991        Get phDispatchDriver to hDispatchDriver
 13992        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 13993        Function_Return retVal
 13994    End_Function
 13995
 13996    
 13997    Procedure Set ComHeight Integer value
 13998        Handle hDispatchDriver
 13999        Get phDispatchDriver to hDispatchDriver
 14000        Send PrepareParams to hDispatchDriver 1
 14001        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
 14002    End_Procedure
 14003
 14004    
 14005    Function ComKind Returns OLEF2CAreaSectionKind
 14006        Handle hDispatchDriver
 14007        OLEF2CAreaSectionKind retVal
 14008        Get phDispatchDriver to hDispatchDriver
 14009        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 14010        Function_Return retVal
 14011    End_Function
 14012
 14013    
 14014    Function ComName Returns String
 14015        Handle hDispatchDriver
 14016        String retVal
 14017        Get phDispatchDriver to hDispatchDriver
 14018        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
 14019        Function_Return retVal
 14020    End_Function
 14021
 14022    
 14023    Function ComReportObjects Returns Variant
 14024        Handle hDispatchDriver
 14025        Variant retVal
 14026        Get phDispatchDriver to hDispatchDriver
 14027        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 14028        Function_Return retVal
 14029    End_Function
 14030
 14031    
 14032    Function ComSectionFormat Returns Variant
 14033        Handle hDispatchDriver
 14034        Variant retVal
 14035        Get phDispatchDriver to hDispatchDriver
 14036        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
 14037        Function_Return retVal
 14038    End_Function
 14039
 14040    Procedure ComDispose
 14041        Handle hDispatchDriver
 14042        Get phDispatchDriver to hDispatchDriver
 14043        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
 14044    End_Procedure
 14045
 14046    Function ComEquals Variant llobj Returns Boolean
 14047        Handle hDispatchDriver
 14048        Boolean retVal
 14049        Get phDispatchDriver to hDispatchDriver
 14050        Send PrepareParams to hDispatchDriver 1
 14051        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14052        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
 14053        Function_Return retVal
 14054    End_Function
 14055
 14056    Function ComGetHashCode Returns Integer
 14057        Handle hDispatchDriver
 14058        Integer retVal
 14059        Get phDispatchDriver to hDispatchDriver
 14060        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 14061        Function_Return retVal
 14062    End_Function
 14063
 14064    
 14065    Function ComToString Returns String
 14066        Handle hDispatchDriver
 14067        String retVal
 14068        Get phDispatchDriver to hDispatchDriver
 14069        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BSTR to retVal
 14070        Function_Return retVal
 14071    End_Function
 14072End_Class
 14073
 14074Class cFlex2CrystalSection is a cComAutomationObject
 14075    Import_Class_Protocol cFlex2CrystalISection
 14076
 14077    Procedure Construct_Object
 14078        Forward Send Construct_Object
 14079        Set peAutoCreate to acNoAutoCreate
 14080    End_Procedure
 14081End_Class
 14082
 14083Class cFlex2CrystalIXmlExportFormats is a Mixin
 14084
 14085    
 14086    Function ComCount Returns Integer
 14087        Handle hDispatchDriver
 14088        Integer retVal
 14089        Get phDispatchDriver to hDispatchDriver
 14090        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 14091        Function_Return retVal
 14092    End_Function
 14093
 14094    
 14095    Function ComCurrent Returns Variant
 14096        Handle hDispatchDriver
 14097        Variant retVal
 14098        Get phDispatchDriver to hDispatchDriver
 14099        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 14100        Function_Return retVal
 14101    End_Function
 14102
 14103    
 14104    Function ComIsReadOnly Returns Boolean
 14105        Handle hDispatchDriver
 14106        Boolean retVal
 14107        Get phDispatchDriver to hDispatchDriver
 14108        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 14109        Function_Return retVal
 14110    End_Function
 14111
 14112    
 14113    Function ComIsSynchronized Returns Boolean
 14114        Handle hDispatchDriver
 14115        Boolean retVal
 14116        Get phDispatchDriver to hDispatchDriver
 14117        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 14118        Function_Return retVal
 14119    End_Function
 14120
 14121    
 14122    Function ComSyncRoot Returns Variant
 14123        Handle hDispatchDriver
 14124        Variant retVal
 14125        Get phDispatchDriver to hDispatchDriver
 14126        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
 14127        Function_Return retVal
 14128    End_Function
 14129
 14130    Function ComItem Variant llIndex Returns Variant
 14131        Handle hDispatchDriver
 14132        Variant retVal
 14133        Get phDispatchDriver to hDispatchDriver
 14134        Send PrepareParams to hDispatchDriver 1
 14135        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llIndex
 14136        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 14137        Function_Return retVal
 14138    End_Function
 14139
 14140    Procedure ComDispose
 14141        Handle hDispatchDriver
 14142        Get phDispatchDriver to hDispatchDriver
 14143        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
 14144    End_Procedure
 14145
 14146    Function ComEquals Variant llobj Returns Boolean
 14147        Handle hDispatchDriver
 14148        Boolean retVal
 14149        Get phDispatchDriver to hDispatchDriver
 14150        Send PrepareParams to hDispatchDriver 1
 14151        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14152        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 14153        Function_Return retVal
 14154    End_Function
 14155
 14156    Function ComGetHashCode Returns Integer
 14157        Handle hDispatchDriver
 14158        Integer retVal
 14159        Get phDispatchDriver to hDispatchDriver
 14160        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 14161        Function_Return retVal
 14162    End_Function
 14163
 14164    Function ComMoveNext Returns Boolean
 14165        Handle hDispatchDriver
 14166        Boolean retVal
 14167        Get phDispatchDriver to hDispatchDriver
 14168        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 14169        Function_Return retVal
 14170    End_Function
 14171
 14172    Procedure ComReset
 14173        Handle hDispatchDriver
 14174        Get phDispatchDriver to hDispatchDriver
 14175        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
 14176    End_Procedure
 14177
 14178    
 14179    Function ComToString Returns String
 14180        Handle hDispatchDriver
 14181        String retVal
 14182        Get phDispatchDriver to hDispatchDriver
 14183        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
 14184        Function_Return retVal
 14185    End_Function
 14186End_Class
 14187
 14188Class cFlex2CrystalXmlExportFormats is a cComAutomationObject
 14189    Import_Class_Protocol cFlex2CrystalIXmlExportFormats
 14190
 14191    Procedure Construct_Object
 14192        Forward Send Construct_Object
 14193        Set peAutoCreate to acNoAutoCreate
 14194    End_Procedure
 14195End_Class
 14196
 14197Class cFlex2CrystalIXmlExportFormat is a Mixin
 14198
 14199    
 14200    Function ComDescription Returns String
 14201        Handle hDispatchDriver
 14202        String retVal
 14203        Get phDispatchDriver to hDispatchDriver
 14204        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 14205        Function_Return retVal
 14206    End_Function
 14207
 14208    
 14209    Function ComExportBlobField Returns Boolean
 14210        Handle hDispatchDriver
 14211        Boolean retVal
 14212        Get phDispatchDriver to hDispatchDriver
 14213        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
 14214        Function_Return retVal
 14215    End_Function
 14216
 14217    
 14218    Function ComFileExtension Returns String
 14219        Handle hDispatchDriver
 14220        String retVal
 14221        Get phDispatchDriver to hDispatchDriver
 14222        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
 14223        Function_Return retVal
 14224    End_Function
 14225
 14226    
 14227    Function ComName Returns String
 14228        Handle hDispatchDriver
 14229        String retVal
 14230        Get phDispatchDriver to hDispatchDriver
 14231        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
 14232        Function_Return retVal
 14233    End_Function
 14234
 14235    Procedure ComDispose
 14236        Handle hDispatchDriver
 14237        Get phDispatchDriver to hDispatchDriver
 14238        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
 14239    End_Procedure
 14240
 14241    Function ComEquals Variant llobj Returns Boolean
 14242        Handle hDispatchDriver
 14243        Boolean retVal
 14244        Get phDispatchDriver to hDispatchDriver
 14245        Send PrepareParams to hDispatchDriver 1
 14246        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14247        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
 14248        Function_Return retVal
 14249    End_Function
 14250
 14251    Function ComGetHashCode Returns Integer
 14252        Handle hDispatchDriver
 14253        Integer retVal
 14254        Get phDispatchDriver to hDispatchDriver
 14255        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 14256        Function_Return retVal
 14257    End_Function
 14258
 14259    
 14260    Function ComToString Returns String
 14261        Handle hDispatchDriver
 14262        String retVal
 14263        Get phDispatchDriver to hDispatchDriver
 14264        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
 14265        Function_Return retVal
 14266    End_Function
 14267End_Class
 14268
 14269Class cFlex2CrystalXmlExportFormat is a cComAutomationObject
 14270    Import_Class_Protocol cFlex2CrystalIXmlExportFormat
 14271
 14272    Procedure Construct_Object
 14273        Forward Send Construct_Object
 14274        Set peAutoCreate to acNoAutoCreate
 14275    End_Procedure
 14276End_Class
 14277
 14278Class cFlex2CrystalIReportDefinition is a Mixin
 14279
 14280    
 14281    Function ComAreas Returns Variant
 14282        Handle hDispatchDriver
 14283        Variant retVal
 14284        Get phDispatchDriver to hDispatchDriver
 14285        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
 14286        Function_Return retVal
 14287    End_Function
 14288
 14289    
 14290    Function ComReportObjects Returns Variant
 14291        Handle hDispatchDriver
 14292        Variant retVal
 14293        Get phDispatchDriver to hDispatchDriver
 14294        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
 14295        Function_Return retVal
 14296    End_Function
 14297
 14298    
 14299    Function ComSections Returns Variant
 14300        Handle hDispatchDriver
 14301        Variant retVal
 14302        Get phDispatchDriver to hDispatchDriver
 14303        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
 14304        Function_Return retVal
 14305    End_Function
 14306
 14307    Procedure ComDispose
 14308        Handle hDispatchDriver
 14309        Get phDispatchDriver to hDispatchDriver
 14310        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
 14311    End_Procedure
 14312
 14313    Function ComEquals Variant llobj Returns Boolean
 14314        Handle hDispatchDriver
 14315        Boolean retVal
 14316        Get phDispatchDriver to hDispatchDriver
 14317        Send PrepareParams to hDispatchDriver 1
 14318        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14319        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 14320        Function_Return retVal
 14321    End_Function
 14322
 14323    Function ComGetHashCode Returns Integer
 14324        Handle hDispatchDriver
 14325        Integer retVal
 14326        Get phDispatchDriver to hDispatchDriver
 14327        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 14328        Function_Return retVal
 14329    End_Function
 14330
 14331    
 14332    Function ComToString Returns String
 14333        Handle hDispatchDriver
 14334        String retVal
 14335        Get phDispatchDriver to hDispatchDriver
 14336        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
 14337        Function_Return retVal
 14338    End_Function
 14339End_Class
 14340
 14341Class cFlex2CrystalReportDefinition is a cComAutomationObject
 14342    Import_Class_Protocol cFlex2CrystalIReportDefinition
 14343
 14344    Procedure Construct_Object
 14345        Forward Send Construct_Object
 14346        Set peAutoCreate to acNoAutoCreate
 14347    End_Procedure
 14348End_Class
 14349
 14350Class cFlex2CrystalIDiskFileDestinationOptions is a Mixin
 14351
 14352    
 14353    Function ComDiskFileName Returns String
 14354        Handle hDispatchDriver
 14355        String retVal
 14356        Get phDispatchDriver to hDispatchDriver
 14357        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 14358        Function_Return retVal
 14359    End_Function
 14360
 14361    
 14362    Procedure Set ComDiskFileName String value
 14363        Handle hDispatchDriver
 14364        Get phDispatchDriver to hDispatchDriver
 14365        Send PrepareParams to hDispatchDriver 1
 14366        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
 14367    End_Procedure
 14368
 14369    Function ComClone Returns Variant
 14370        Handle hDispatchDriver
 14371        Variant retVal
 14372        Get phDispatchDriver to hDispatchDriver
 14373        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 14374        Function_Return retVal
 14375    End_Function
 14376
 14377    Function ComEquals Variant llobj Returns Boolean
 14378        Handle hDispatchDriver
 14379        Boolean retVal
 14380        Get phDispatchDriver to hDispatchDriver
 14381        Send PrepareParams to hDispatchDriver 1
 14382        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14383        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 14384        Function_Return retVal
 14385    End_Function
 14386
 14387    Function ComGetHashCode Returns Integer
 14388        Handle hDispatchDriver
 14389        Integer retVal
 14390        Get phDispatchDriver to hDispatchDriver
 14391        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 14392        Function_Return retVal
 14393    End_Function
 14394
 14395    
 14396    Function ComToString Returns String
 14397        Handle hDispatchDriver
 14398        String retVal
 14399        Get phDispatchDriver to hDispatchDriver
 14400        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
 14401        Function_Return retVal
 14402    End_Function
 14403End_Class
 14404
 14405Class cFlex2CrystalDiskFileDestinationOptions is a cComAutomationObject
 14406    Import_Class_Protocol cFlex2CrystalIDiskFileDestinationOptions
 14407
 14408    Procedure Construct_Object
 14409        Forward Send Construct_Object
 14410        Set psProgID to "{C3BB9BBD-63C2-4D33-97B6-F0D632E4C37A}"
 14411        Set peAutoCreate to acNoAutoCreate
 14412    End_Procedure
 14413End_Class
 14414
 14415Class cFlex2CrystalIExcelFormatOptions is a Mixin
 14416
 14417    
 14418    Function ComConvertDateValuesToString Returns Boolean
 14419        Handle hDispatchDriver
 14420        Boolean retVal
 14421        Get phDispatchDriver to hDispatchDriver
 14422        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
 14423        Function_Return retVal
 14424    End_Function
 14425
 14426    
 14427    Procedure Set ComConvertDateValuesToString Boolean value
 14428        Handle hDispatchDriver
 14429        Get phDispatchDriver to hDispatchDriver
 14430        Send PrepareParams to hDispatchDriver 1
 14431        Set ComProperty of hDispatchDriver 1 OLE_VT_BOOL to value
 14432    End_Procedure
 14433
 14434    
 14435    Function ComExcelAreaGroupNumber Returns Short
 14436        Handle hDispatchDriver
 14437        Short retVal
 14438        Get phDispatchDriver to hDispatchDriver
 14439        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I2 to retVal
 14440        Function_Return retVal
 14441    End_Function
 14442
 14443    
 14444    Procedure Set ComExcelAreaGroupNumber Short value
 14445        Handle hDispatchDriver
 14446        Get phDispatchDriver to hDispatchDriver
 14447        Send PrepareParams to hDispatchDriver 1
 14448        Set ComProperty of hDispatchDriver 2 OLE_VT_I2 to value
 14449    End_Procedure
 14450
 14451    
 14452    Function ComExcelAreaType Returns OLEF2CAreaSectionKind
 14453        Handle hDispatchDriver
 14454        OLEF2CAreaSectionKind retVal
 14455        Get phDispatchDriver to hDispatchDriver
 14456        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 14457        Function_Return retVal
 14458    End_Function
 14459
 14460    
 14461    Procedure Set ComExcelAreaType OLEF2CAreaSectionKind value
 14462        Handle hDispatchDriver
 14463        Get phDispatchDriver to hDispatchDriver
 14464        Send PrepareParams to hDispatchDriver 1
 14465        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 14466    End_Procedure
 14467
 14468    
 14469    Function ComExcelConstantColumnWidth Returns Real
 14470        Handle hDispatchDriver
 14471        Real retVal
 14472        Get phDispatchDriver to hDispatchDriver
 14473        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_R8 to retVal
 14474        Function_Return retVal
 14475    End_Function
 14476
 14477    
 14478    Procedure Set ComExcelConstantColumnWidth Real value
 14479        Handle hDispatchDriver
 14480        Get phDispatchDriver to hDispatchDriver
 14481        Send PrepareParams to hDispatchDriver 1
 14482        Set ComProperty of hDispatchDriver 4 OLE_VT_R8 to value
 14483    End_Procedure
 14484
 14485    
 14486    Function ComExcelTabHasColumnHeadings Returns Boolean
 14487        Handle hDispatchDriver
 14488        Boolean retVal
 14489        Get phDispatchDriver to hDispatchDriver
 14490        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 14491        Function_Return retVal
 14492    End_Function
 14493
 14494    
 14495    Procedure Set ComExcelTabHasColumnHeadings Boolean value
 14496        Handle hDispatchDriver
 14497        Get phDispatchDriver to hDispatchDriver
 14498        Send PrepareParams to hDispatchDriver 1
 14499        Set ComProperty of hDispatchDriver 5 OLE_VT_BOOL to value
 14500    End_Procedure
 14501
 14502    
 14503    Function ComExcelUseConstantColumnWidth Returns Boolean
 14504        Handle hDispatchDriver
 14505        Boolean retVal
 14506        Get phDispatchDriver to hDispatchDriver
 14507        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
 14508        Function_Return retVal
 14509    End_Function
 14510
 14511    
 14512    Procedure Set ComExcelUseConstantColumnWidth Boolean value
 14513        Handle hDispatchDriver
 14514        Get phDispatchDriver to hDispatchDriver
 14515        Send PrepareParams to hDispatchDriver 1
 14516        Set ComProperty of hDispatchDriver 6 OLE_VT_BOOL to value
 14517    End_Procedure
 14518
 14519    
 14520    Function ComExportPageBreaksForEachPage Returns Boolean
 14521        Handle hDispatchDriver
 14522        Boolean retVal
 14523        Get phDispatchDriver to hDispatchDriver
 14524        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
 14525        Function_Return retVal
 14526    End_Function
 14527
 14528    
 14529    Procedure Set ComExportPageBreaksForEachPage Boolean value
 14530        Handle hDispatchDriver
 14531        Get phDispatchDriver to hDispatchDriver
 14532        Send PrepareParams to hDispatchDriver 1
 14533        Set ComProperty of hDispatchDriver 7 OLE_VT_BOOL to value
 14534    End_Procedure
 14535
 14536    
 14537    Function ComExportPageHeadersAndFooters Returns OLEF2CExportPageAreaKind
 14538        Handle hDispatchDriver
 14539        OLEF2CExportPageAreaKind retVal
 14540        Get phDispatchDriver to hDispatchDriver
 14541        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 14542        Function_Return retVal
 14543    End_Function
 14544
 14545    
 14546    Procedure Set ComExportPageHeadersAndFooters OLEF2CExportPageAreaKind value
 14547        Handle hDispatchDriver
 14548        Get phDispatchDriver to hDispatchDriver
 14549        Send PrepareParams to hDispatchDriver 1
 14550        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 14551    End_Procedure
 14552
 14553    
 14554    Function ComFirstPageNumber Returns Integer
 14555        Handle hDispatchDriver
 14556        Integer retVal
 14557        Get phDispatchDriver to hDispatchDriver
 14558        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 14559        Function_Return retVal
 14560    End_Function
 14561
 14562    
 14563    Procedure Set ComFirstPageNumber Integer value
 14564        Handle hDispatchDriver
 14565        Get phDispatchDriver to hDispatchDriver
 14566        Send PrepareParams to hDispatchDriver 1
 14567        Set ComProperty of hDispatchDriver 9 OLE_VT_I4 to value
 14568    End_Procedure
 14569
 14570    
 14571    Function ComLastPageNumber Returns Integer
 14572        Handle hDispatchDriver
 14573        Integer retVal
 14574        Get phDispatchDriver to hDispatchDriver
 14575        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 14576        Function_Return retVal
 14577    End_Function
 14578
 14579    
 14580    Procedure Set ComLastPageNumber Integer value
 14581        Handle hDispatchDriver
 14582        Get phDispatchDriver to hDispatchDriver
 14583        Send PrepareParams to hDispatchDriver 1
 14584        Set ComProperty of hDispatchDriver 10 OLE_VT_I4 to value
 14585    End_Procedure
 14586
 14587    
 14588    Function ComShowGridLines Returns Boolean
 14589        Handle hDispatchDriver
 14590        Boolean retVal
 14591        Get phDispatchDriver to hDispatchDriver
 14592        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
 14593        Function_Return retVal
 14594    End_Function
 14595
 14596    
 14597    Procedure Set ComShowGridLines Boolean value
 14598        Handle hDispatchDriver
 14599        Get phDispatchDriver to hDispatchDriver
 14600        Send PrepareParams to hDispatchDriver 1
 14601        Set ComProperty of hDispatchDriver 11 OLE_VT_BOOL to value
 14602    End_Procedure
 14603
 14604    
 14605    Function ComUExcelAreaType Returns Integer
 14606        Handle hDispatchDriver
 14607        Integer retVal
 14608        Get phDispatchDriver to hDispatchDriver
 14609        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_I4 to retVal
 14610        Function_Return retVal
 14611    End_Function
 14612
 14613    
 14614    Procedure Set ComUExcelAreaType Integer value
 14615        Handle hDispatchDriver
 14616        Get phDispatchDriver to hDispatchDriver
 14617        Send PrepareParams to hDispatchDriver 1
 14618        Set ComProperty of hDispatchDriver 12 OLE_VT_I4 to value
 14619    End_Procedure
 14620
 14621    
 14622    Function ComUsePageRange Returns Boolean
 14623        Handle hDispatchDriver
 14624        Boolean retVal
 14625        Get phDispatchDriver to hDispatchDriver
 14626        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 14627        Function_Return retVal
 14628    End_Function
 14629
 14630    
 14631    Procedure Set ComUsePageRange Boolean value
 14632        Handle hDispatchDriver
 14633        Get phDispatchDriver to hDispatchDriver
 14634        Send PrepareParams to hDispatchDriver 1
 14635        Set ComProperty of hDispatchDriver 13 OLE_VT_BOOL to value
 14636    End_Procedure
 14637
 14638    Function ComClone Returns Variant
 14639        Handle hDispatchDriver
 14640        Variant retVal
 14641        Get phDispatchDriver to hDispatchDriver
 14642        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_VARIANT to retVal
 14643        Function_Return retVal
 14644    End_Function
 14645
 14646    Function ComEquals Variant llobj Returns Boolean
 14647        Handle hDispatchDriver
 14648        Boolean retVal
 14649        Get phDispatchDriver to hDispatchDriver
 14650        Send PrepareParams to hDispatchDriver 1
 14651        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14652        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BOOL to retVal
 14653        Function_Return retVal
 14654    End_Function
 14655
 14656    Function ComGetHashCode Returns Integer
 14657        Handle hDispatchDriver
 14658        Integer retVal
 14659        Get phDispatchDriver to hDispatchDriver
 14660        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_I4 to retVal
 14661        Function_Return retVal
 14662    End_Function
 14663
 14664    
 14665    Function ComToString Returns String
 14666        Handle hDispatchDriver
 14667        String retVal
 14668        Get phDispatchDriver to hDispatchDriver
 14669        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BSTR to retVal
 14670        Function_Return retVal
 14671    End_Function
 14672End_Class
 14673
 14674Class cFlex2CrystalExcelFormatOptions is a cComAutomationObject
 14675    Import_Class_Protocol cFlex2CrystalIExcelFormatOptions
 14676
 14677    Procedure Construct_Object
 14678        Forward Send Construct_Object
 14679        Set psProgID to "{49AD1490-7446-4FE6-B90A-905A10D3AA75}"
 14680        Set peAutoCreate to acNoAutoCreate
 14681    End_Procedure
 14682End_Class
 14683
 14684Class cFlex2CrystalIExchangeFolderDestinationOptions is a Mixin
 14685
 14686    
 14687    Function ComDestinationType Returns OLEF2CExchangeDestinationType
 14688        Handle hDispatchDriver
 14689        OLEF2CExchangeDestinationType retVal
 14690        Get phDispatchDriver to hDispatchDriver
 14691        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 14692        Function_Return retVal
 14693    End_Function
 14694
 14695    
 14696    Procedure Set ComDestinationType OLEF2CExchangeDestinationType value
 14697        Handle hDispatchDriver
 14698        Get phDispatchDriver to hDispatchDriver
 14699        Send PrepareParams to hDispatchDriver 1
 14700        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
 14701    End_Procedure
 14702
 14703    
 14704    Function ComEncodedPassword Returns Integer[]
 14705        Handle hDispatchDriver
 14706        Integer[] retVal
 14707        Get phDispatchDriver to hDispatchDriver
 14708        Get InvokeComMethod of hDispatchDriver 2 (OLE_VT_ARRAY ior OLE_VT_I4) to retVal
 14709        Function_Return retVal
 14710    End_Function
 14711
 14712    
 14713    Procedure Set ComEncodedPassword Integer[] value
 14714        Handle hDispatchDriver
 14715        Get phDispatchDriver to hDispatchDriver
 14716        Send PrepareParams to hDispatchDriver 1
 14717        Set ComProperty of hDispatchDriver 2 (OLE_VT_ARRAY ior OLE_VT_I4) to value
 14718    End_Procedure
 14719
 14720    
 14721    Function ComFolderPath Returns String
 14722        Handle hDispatchDriver
 14723        String retVal
 14724        Get phDispatchDriver to hDispatchDriver
 14725        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
 14726        Function_Return retVal
 14727    End_Function
 14728
 14729    
 14730    Procedure Set ComFolderPath String value
 14731        Handle hDispatchDriver
 14732        Get phDispatchDriver to hDispatchDriver
 14733        Send PrepareParams to hDispatchDriver 1
 14734        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
 14735    End_Procedure
 14736
 14737    
 14738    Function ComPassword Returns String
 14739        Handle hDispatchDriver
 14740        String retVal
 14741        Get phDispatchDriver to hDispatchDriver
 14742        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
 14743        Function_Return retVal
 14744    End_Function
 14745
 14746    
 14747    Procedure Set ComPassword String value
 14748        Handle hDispatchDriver
 14749        Get phDispatchDriver to hDispatchDriver
 14750        Send PrepareParams to hDispatchDriver 1
 14751        Set ComProperty of hDispatchDriver 4 OLE_VT_BSTR to value
 14752    End_Procedure
 14753
 14754    
 14755    Function ComProfile Returns String
 14756        Handle hDispatchDriver
 14757        String retVal
 14758        Get phDispatchDriver to hDispatchDriver
 14759        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
 14760        Function_Return retVal
 14761    End_Function
 14762
 14763    
 14764    Procedure Set ComProfile String value
 14765        Handle hDispatchDriver
 14766        Get phDispatchDriver to hDispatchDriver
 14767        Send PrepareParams to hDispatchDriver 1
 14768        Set ComProperty of hDispatchDriver 5 OLE_VT_BSTR to value
 14769    End_Procedure
 14770
 14771    
 14772    Function ComUDestinationType Returns Integer
 14773        Handle hDispatchDriver
 14774        Integer retVal
 14775        Get phDispatchDriver to hDispatchDriver
 14776        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 14777        Function_Return retVal
 14778    End_Function
 14779
 14780    
 14781    Procedure Set ComUDestinationType Integer value
 14782        Handle hDispatchDriver
 14783        Get phDispatchDriver to hDispatchDriver
 14784        Send PrepareParams to hDispatchDriver 1
 14785        Set ComProperty of hDispatchDriver 6 OLE_VT_I4 to value
 14786    End_Procedure
 14787
 14788    Function ComClone Returns Variant
 14789        Handle hDispatchDriver
 14790        Variant retVal
 14791        Get phDispatchDriver to hDispatchDriver
 14792        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_VARIANT to retVal
 14793        Function_Return retVal
 14794    End_Function
 14795
 14796    Function ComEquals Variant llobj Returns Boolean
 14797        Handle hDispatchDriver
 14798        Boolean retVal
 14799        Get phDispatchDriver to hDispatchDriver
 14800        Send PrepareParams to hDispatchDriver 1
 14801        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14802        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
 14803        Function_Return retVal
 14804    End_Function
 14805
 14806    Function ComGetHashCode Returns Integer
 14807        Handle hDispatchDriver
 14808        Integer retVal
 14809        Get phDispatchDriver to hDispatchDriver
 14810        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 14811        Function_Return retVal
 14812    End_Function
 14813
 14814    
 14815    Function ComToString Returns String
 14816        Handle hDispatchDriver
 14817        String retVal
 14818        Get phDispatchDriver to hDispatchDriver
 14819        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BSTR to retVal
 14820        Function_Return retVal
 14821    End_Function
 14822End_Class
 14823
 14824Class cFlex2CrystalExchangeFolderDestinationOptions is a cComAutomationObject
 14825    Import_Class_Protocol cFlex2CrystalIExchangeFolderDestinationOptions
 14826
 14827    Procedure Construct_Object
 14828        Forward Send Construct_Object
 14829        Set psProgID to "{7D166A68-C12C-48F4-994C-2BECDFEBDD6E}"
 14830        Set peAutoCreate to acNoAutoCreate
 14831    End_Procedure
 14832End_Class
 14833
 14834Class cFlex2CrystalIHTMLFormatOptions is a Mixin
 14835
 14836    
 14837    Function ComFirstPageNumber Returns Integer
 14838        Handle hDispatchDriver
 14839        Integer retVal
 14840        Get phDispatchDriver to hDispatchDriver
 14841        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 14842        Function_Return retVal
 14843    End_Function
 14844
 14845    
 14846    Procedure Set ComFirstPageNumber Integer value
 14847        Handle hDispatchDriver
 14848        Get phDispatchDriver to hDispatchDriver
 14849        Send PrepareParams to hDispatchDriver 1
 14850        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
 14851    End_Procedure
 14852
 14853    
 14854    Function ComHTMLBaseFolderName Returns String
 14855        Handle hDispatchDriver
 14856        String retVal
 14857        Get phDispatchDriver to hDispatchDriver
 14858        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BSTR to retVal
 14859        Function_Return retVal
 14860    End_Function
 14861
 14862    
 14863    Procedure Set ComHTMLBaseFolderName String value
 14864        Handle hDispatchDriver
 14865        Get phDispatchDriver to hDispatchDriver
 14866        Send PrepareParams to hDispatchDriver 1
 14867        Set ComProperty of hDispatchDriver 2 OLE_VT_BSTR to value
 14868    End_Procedure
 14869
 14870    
 14871    Function ComHTMLEnableSeparatedPages Returns Boolean
 14872        Handle hDispatchDriver
 14873        Boolean retVal
 14874        Get phDispatchDriver to hDispatchDriver
 14875        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 14876        Function_Return retVal
 14877    End_Function
 14878
 14879    
 14880    Procedure Set ComHTMLEnableSeparatedPages Boolean value
 14881        Handle hDispatchDriver
 14882        Get phDispatchDriver to hDispatchDriver
 14883        Send PrepareParams to hDispatchDriver 1
 14884        Set ComProperty of hDispatchDriver 3 OLE_VT_BOOL to value
 14885    End_Procedure
 14886
 14887    
 14888    Function ComHTMLFileName Returns String
 14889        Handle hDispatchDriver
 14890        String retVal
 14891        Get phDispatchDriver to hDispatchDriver
 14892        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
 14893        Function_Return retVal
 14894    End_Function
 14895
 14896    
 14897    Procedure Set ComHTMLFileName String value
 14898        Handle hDispatchDriver
 14899        Get phDispatchDriver to hDispatchDriver
 14900        Send PrepareParams to hDispatchDriver 1
 14901        Set ComProperty of hDispatchDriver 4 OLE_VT_BSTR to value
 14902    End_Procedure
 14903
 14904    
 14905    Function ComHTMLHasPageNavigator Returns Boolean
 14906        Handle hDispatchDriver
 14907        Boolean retVal
 14908        Get phDispatchDriver to hDispatchDriver
 14909        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 14910        Function_Return retVal
 14911    End_Function
 14912
 14913    
 14914    Procedure Set ComHTMLHasPageNavigator Boolean value
 14915        Handle hDispatchDriver
 14916        Get phDispatchDriver to hDispatchDriver
 14917        Send PrepareParams to hDispatchDriver 1
 14918        Set ComProperty of hDispatchDriver 5 OLE_VT_BOOL to value
 14919    End_Procedure
 14920
 14921    
 14922    Function ComLastPageNumber Returns Integer
 14923        Handle hDispatchDriver
 14924        Integer retVal
 14925        Get phDispatchDriver to hDispatchDriver
 14926        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 14927        Function_Return retVal
 14928    End_Function
 14929
 14930    
 14931    Procedure Set ComLastPageNumber Integer value
 14932        Handle hDispatchDriver
 14933        Get phDispatchDriver to hDispatchDriver
 14934        Send PrepareParams to hDispatchDriver 1
 14935        Set ComProperty of hDispatchDriver 6 OLE_VT_I4 to value
 14936    End_Procedure
 14937
 14938    
 14939    Function ComUsePageRange Returns Boolean
 14940        Handle hDispatchDriver
 14941        Boolean retVal
 14942        Get phDispatchDriver to hDispatchDriver
 14943        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
 14944        Function_Return retVal
 14945    End_Function
 14946
 14947    
 14948    Procedure Set ComUsePageRange Boolean value
 14949        Handle hDispatchDriver
 14950        Get phDispatchDriver to hDispatchDriver
 14951        Send PrepareParams to hDispatchDriver 1
 14952        Set ComProperty of hDispatchDriver 7 OLE_VT_BOOL to value
 14953    End_Procedure
 14954
 14955    Function ComClone Returns Variant
 14956        Handle hDispatchDriver
 14957        Variant retVal
 14958        Get phDispatchDriver to hDispatchDriver
 14959        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_VARIANT to retVal
 14960        Function_Return retVal
 14961    End_Function
 14962
 14963    Function ComEquals Variant llobj Returns Boolean
 14964        Handle hDispatchDriver
 14965        Boolean retVal
 14966        Get phDispatchDriver to hDispatchDriver
 14967        Send PrepareParams to hDispatchDriver 1
 14968        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 14969        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 14970        Function_Return retVal
 14971    End_Function
 14972
 14973    Function ComGetHashCode Returns Integer
 14974        Handle hDispatchDriver
 14975        Integer retVal
 14976        Get phDispatchDriver to hDispatchDriver
 14977        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 14978        Function_Return retVal
 14979    End_Function
 14980
 14981    
 14982    Function ComToString Returns String
 14983        Handle hDispatchDriver
 14984        String retVal
 14985        Get phDispatchDriver to hDispatchDriver
 14986        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
 14987        Function_Return retVal
 14988    End_Function
 14989End_Class
 14990
 14991Class cFlex2CrystalHTMLFormatOptions is a cComAutomationObject
 14992    Import_Class_Protocol cFlex2CrystalIHTMLFormatOptions
 14993
 14994    Procedure Construct_Object
 14995        Forward Send Construct_Object
 14996        Set psProgID to "{BBC4848C-EAB4-426A-9907-897779BCC456}"
 14997        Set peAutoCreate to acNoAutoCreate
 14998    End_Procedure
 14999End_Class
 15000
 15001Class cFlex2CrystalIMicrosoftMailDestinationOptions is a Mixin
 15002
 15003    
 15004    Function ComMailCCList Returns String
 15005        Handle hDispatchDriver
 15006        String retVal
 15007        Get phDispatchDriver to hDispatchDriver
 15008        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 15009        Function_Return retVal
 15010    End_Function
 15011
 15012    
 15013    Procedure Set ComMailCCList String value
 15014        Handle hDispatchDriver
 15015        Get phDispatchDriver to hDispatchDriver
 15016        Send PrepareParams to hDispatchDriver 1
 15017        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
 15018    End_Procedure
 15019
 15020    
 15021    Function ComMailMessage Returns String
 15022        Handle hDispatchDriver
 15023        String retVal
 15024        Get phDispatchDriver to hDispatchDriver
 15025        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BSTR to retVal
 15026        Function_Return retVal
 15027    End_Function
 15028
 15029    
 15030    Procedure Set ComMailMessage String value
 15031        Handle hDispatchDriver
 15032        Get phDispatchDriver to hDispatchDriver
 15033        Send PrepareParams to hDispatchDriver 1
 15034        Set ComProperty of hDispatchDriver 2 OLE_VT_BSTR to value
 15035    End_Procedure
 15036
 15037    
 15038    Function ComMailSubject Returns String
 15039        Handle hDispatchDriver
 15040        String retVal
 15041        Get phDispatchDriver to hDispatchDriver
 15042        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BSTR to retVal
 15043        Function_Return retVal
 15044    End_Function
 15045
 15046    
 15047    Procedure Set ComMailSubject String value
 15048        Handle hDispatchDriver
 15049        Get phDispatchDriver to hDispatchDriver
 15050        Send PrepareParams to hDispatchDriver 1
 15051        Set ComProperty of hDispatchDriver 3 OLE_VT_BSTR to value
 15052    End_Procedure
 15053
 15054    
 15055    Function ComMailToList Returns String
 15056        Handle hDispatchDriver
 15057        String retVal
 15058        Get phDispatchDriver to hDispatchDriver
 15059        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BSTR to retVal
 15060        Function_Return retVal
 15061    End_Function
 15062
 15063    
 15064    Procedure Set ComMailToList String value
 15065        Handle hDispatchDriver
 15066        Get phDispatchDriver to hDispatchDriver
 15067        Send PrepareParams to hDispatchDriver 1
 15068        Set ComProperty of hDispatchDriver 4 OLE_VT_BSTR to value
 15069    End_Procedure
 15070
 15071    
 15072    Function ComPassword Returns String
 15073        Handle hDispatchDriver
 15074        String retVal
 15075        Get phDispatchDriver to hDispatchDriver
 15076        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BSTR to retVal
 15077        Function_Return retVal
 15078    End_Function
 15079
 15080    
 15081    Procedure Set ComPassword String value
 15082        Handle hDispatchDriver
 15083        Get phDispatchDriver to hDispatchDriver
 15084        Send PrepareParams to hDispatchDriver 1
 15085        Set ComProperty of hDispatchDriver 5 OLE_VT_BSTR to value
 15086    End_Procedure
 15087
 15088    
 15089    Function ComUserName Returns String
 15090        Handle hDispatchDriver
 15091        String retVal
 15092        Get phDispatchDriver to hDispatchDriver
 15093        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
 15094        Function_Return retVal
 15095    End_Function
 15096
 15097    
 15098    Procedure Set ComUserName String value
 15099        Handle hDispatchDriver
 15100        Get phDispatchDriver to hDispatchDriver
 15101        Send PrepareParams to hDispatchDriver 1
 15102        Set ComProperty of hDispatchDriver 6 OLE_VT_BSTR to value
 15103    End_Procedure
 15104
 15105    Function ComClone Returns Variant
 15106        Handle hDispatchDriver
 15107        Variant retVal
 15108        Get phDispatchDriver to hDispatchDriver
 15109        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_VARIANT to retVal
 15110        Function_Return retVal
 15111    End_Function
 15112
 15113    Function ComEquals Variant llobj Returns Boolean
 15114        Handle hDispatchDriver
 15115        Boolean retVal
 15116        Get phDispatchDriver to hDispatchDriver
 15117        Send PrepareParams to hDispatchDriver 1
 15118        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 15119        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
 15120        Function_Return retVal
 15121    End_Function
 15122
 15123    Function ComGetHashCode Returns Integer
 15124        Handle hDispatchDriver
 15125        Integer retVal
 15126        Get phDispatchDriver to hDispatchDriver
 15127        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 15128        Function_Return retVal
 15129    End_Function
 15130
 15131    
 15132    Function ComToString Returns String
 15133        Handle hDispatchDriver
 15134        String retVal
 15135        Get phDispatchDriver to hDispatchDriver
 15136        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BSTR to retVal
 15137        Function_Return retVal
 15138    End_Function
 15139End_Class
 15140
 15141Class cFlex2CrystalMicrosoftMailDestinationOptions is a cComAutomationObject
 15142    Import_Class_Protocol cFlex2CrystalIMicrosoftMailDestinationOptions
 15143
 15144    Procedure Construct_Object
 15145        Forward Send Construct_Object
 15146        Set psProgID to "{B5BA7024-3518-4636-8363-50C6A97EF7EE}"
 15147        Set peAutoCreate to acNoAutoCreate
 15148    End_Procedure
 15149End_Class
 15150
 15151Class cFlex2CrystalIPdfRtfWordFormatOptions is a Mixin
 15152
 15153    
 15154    Function ComFirstPageNumber Returns Integer
 15155        Handle hDispatchDriver
 15156        Integer retVal
 15157        Get phDispatchDriver to hDispatchDriver
 15158        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 15159        Function_Return retVal
 15160    End_Function
 15161
 15162    
 15163    Procedure Set ComFirstPageNumber Integer value
 15164        Handle hDispatchDriver
 15165        Get phDispatchDriver to hDispatchDriver
 15166        Send PrepareParams to hDispatchDriver 1
 15167        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
 15168    End_Procedure
 15169
 15170    
 15171    Function ComLastPageNumber Returns Integer
 15172        Handle hDispatchDriver
 15173        Integer retVal
 15174        Get phDispatchDriver to hDispatchDriver
 15175        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 15176        Function_Return retVal
 15177    End_Function
 15178
 15179    
 15180    Procedure Set ComLastPageNumber Integer value
 15181        Handle hDispatchDriver
 15182        Get phDispatchDriver to hDispatchDriver
 15183        Send PrepareParams to hDispatchDriver 1
 15184        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 15185    End_Procedure
 15186
 15187    
 15188    Function ComPrintOnLoad Returns Boolean
 15189        Handle hDispatchDriver
 15190        Boolean retVal
 15191        Get phDispatchDriver to hDispatchDriver
 15192        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 15193        Function_Return retVal
 15194    End_Function
 15195
 15196    
 15197    Procedure Set ComPrintOnLoad Boolean value
 15198        Handle hDispatchDriver
 15199        Get phDispatchDriver to hDispatchDriver
 15200        Send PrepareParams to hDispatchDriver 1
 15201        Set ComProperty of hDispatchDriver 3 OLE_VT_BOOL to value
 15202    End_Procedure
 15203
 15204    
 15205    Function ComUsePageRange Returns Boolean
 15206        Handle hDispatchDriver
 15207        Boolean retVal
 15208        Get phDispatchDriver to hDispatchDriver
 15209        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 15210        Function_Return retVal
 15211    End_Function
 15212
 15213    
 15214    Procedure Set ComUsePageRange Boolean value
 15215        Handle hDispatchDriver
 15216        Get phDispatchDriver to hDispatchDriver
 15217        Send PrepareParams to hDispatchDriver 1
 15218        Set ComProperty of hDispatchDriver 4 OLE_VT_BOOL to value
 15219    End_Procedure
 15220
 15221    Function ComClone Returns Variant
 15222        Handle hDispatchDriver
 15223        Variant retVal
 15224        Get phDispatchDriver to hDispatchDriver
 15225        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_VARIANT to retVal
 15226        Function_Return retVal
 15227    End_Function
 15228
 15229    Function ComEquals Variant llobj Returns Boolean
 15230        Handle hDispatchDriver
 15231        Boolean retVal
 15232        Get phDispatchDriver to hDispatchDriver
 15233        Send PrepareParams to hDispatchDriver 1
 15234        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 15235        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BOOL to retVal
 15236        Function_Return retVal
 15237    End_Function
 15238
 15239    Function ComGetHashCode Returns Integer
 15240        Handle hDispatchDriver
 15241        Integer retVal
 15242        Get phDispatchDriver to hDispatchDriver
 15243        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 15244        Function_Return retVal
 15245    End_Function
 15246
 15247    
 15248    Function ComToString Returns String
 15249        Handle hDispatchDriver
 15250        String retVal
 15251        Get phDispatchDriver to hDispatchDriver
 15252        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
 15253        Function_Return retVal
 15254    End_Function
 15255End_Class
 15256
 15257Class cFlex2CrystalPdfRtfWordFormatOptions is a cComAutomationObject
 15258    Import_Class_Protocol cFlex2CrystalIPdfRtfWordFormatOptions
 15259
 15260    Procedure Construct_Object
 15261        Forward Send Construct_Object
 15262        Set psProgID to "{26220DF2-5B4A-4C28-920F-6B8BCBC1795E}"
 15263        Set peAutoCreate to acNoAutoCreate
 15264    End_Procedure
 15265End_Class
 15266
 15267Class cFlex2CrystalIXmlExportFormatOptions is a Mixin
 15268
 15269    
 15270    Function ComExportSelection Returns Integer
 15271        Handle hDispatchDriver
 15272        Integer retVal
 15273        Get phDispatchDriver to hDispatchDriver
 15274        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 15275        Function_Return retVal
 15276    End_Function
 15277
 15278    
 15279    Procedure Set ComExportSelection Integer value
 15280        Handle hDispatchDriver
 15281        Get phDispatchDriver to hDispatchDriver
 15282        Send PrepareParams to hDispatchDriver 1
 15283        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
 15284    End_Procedure
 15285
 15286    Function ComClone Returns Variant
 15287        Handle hDispatchDriver
 15288        Variant retVal
 15289        Get phDispatchDriver to hDispatchDriver
 15290        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 15291        Function_Return retVal
 15292    End_Function
 15293
 15294    Function ComEquals Variant llobj Returns Boolean
 15295        Handle hDispatchDriver
 15296        Boolean retVal
 15297        Get phDispatchDriver to hDispatchDriver
 15298        Send PrepareParams to hDispatchDriver 1
 15299        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 15300        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 15301        Function_Return retVal
 15302    End_Function
 15303
 15304    Function ComGetHashCode Returns Integer
 15305        Handle hDispatchDriver
 15306        Integer retVal
 15307        Get phDispatchDriver to hDispatchDriver
 15308        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 15309        Function_Return retVal
 15310    End_Function
 15311
 15312    
 15313    Function ComToString Returns String
 15314        Handle hDispatchDriver
 15315        String retVal
 15316        Get phDispatchDriver to hDispatchDriver
 15317        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_BSTR to retVal
 15318        Function_Return retVal
 15319    End_Function
 15320End_Class
 15321
 15322Class cFlex2CrystalXmlExportFormatOptions is a cComAutomationObject
 15323    Import_Class_Protocol cFlex2CrystalIXmlExportFormatOptions
 15324
 15325    Procedure Construct_Object
 15326        Forward Send Construct_Object
 15327        Set psProgID to "{B91FDE4D-0D99-472A-93AD-4C7E9ED007E5}"
 15328        Set peAutoCreate to acNoAutoCreate
 15329    End_Procedure
 15330End_Class
 15331
 15332Class cFlex2CrystalICharacterSeparatedValuesFormatOptions is a Mixin
 15333
 15334    
 15335    Function ComDelimiter Returns String
 15336        Handle hDispatchDriver
 15337        String retVal
 15338        Get phDispatchDriver to hDispatchDriver
 15339        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 15340        Function_Return retVal
 15341    End_Function
 15342
 15343    
 15344    Procedure Set ComDelimiter String value
 15345        Handle hDispatchDriver
 15346        Get phDispatchDriver to hDispatchDriver
 15347        Send PrepareParams to hDispatchDriver 1
 15348        Set ComProperty of hDispatchDriver 1 OLE_VT_BSTR to value
 15349    End_Procedure
 15350
 15351    
 15352    Function ComExportMode Returns OLEF2CCsvExportMode
 15353        Handle hDispatchDriver
 15354        OLEF2CCsvExportMode retVal
 15355        Get phDispatchDriver to hDispatchDriver
 15356        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 15357        Function_Return retVal
 15358    End_Function
 15359
 15360    
 15361    Procedure Set ComExportMode OLEF2CCsvExportMode value
 15362        Handle hDispatchDriver
 15363        Get phDispatchDriver to hDispatchDriver
 15364        Send PrepareParams to hDispatchDriver 1
 15365        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 15366    End_Procedure
 15367
 15368    
 15369    Function ComGroupSectionsOption Returns OLEF2CCsvExportSectionsOption
 15370        Handle hDispatchDriver
 15371        OLEF2CCsvExportSectionsOption retVal
 15372        Get phDispatchDriver to hDispatchDriver
 15373        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 15374        Function_Return retVal
 15375    End_Function
 15376
 15377    
 15378    Procedure Set ComGroupSectionsOption OLEF2CCsvExportSectionsOption value
 15379        Handle hDispatchDriver
 15380        Get phDispatchDriver to hDispatchDriver
 15381        Send PrepareParams to hDispatchDriver 1
 15382        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 15383    End_Procedure
 15384
 15385    
 15386    Function ComPreserveDateFormatting Returns Boolean
 15387        Handle hDispatchDriver
 15388        Boolean retVal
 15389        Get phDispatchDriver to hDispatchDriver
 15390        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
 15391        Function_Return retVal
 15392    End_Function
 15393
 15394    
 15395    Procedure Set ComPreserveDateFormatting Boolean value
 15396        Handle hDispatchDriver
 15397        Get phDispatchDriver to hDispatchDriver
 15398        Send PrepareParams to hDispatchDriver 1
 15399        Set ComProperty of hDispatchDriver 4 OLE_VT_BOOL to value
 15400    End_Procedure
 15401
 15402    
 15403    Function ComPreserveNumberFormatting Returns Boolean
 15404        Handle hDispatchDriver
 15405        Boolean retVal
 15406        Get phDispatchDriver to hDispatchDriver
 15407        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 15408        Function_Return retVal
 15409    End_Function
 15410
 15411    
 15412    Procedure Set ComPreserveNumberFormatting Boolean value
 15413        Handle hDispatchDriver
 15414        Get phDispatchDriver to hDispatchDriver
 15415        Send PrepareParams to hDispatchDriver 1
 15416        Set ComProperty of hDispatchDriver 5 OLE_VT_BOOL to value
 15417    End_Procedure
 15418
 15419    
 15420    Function ComReportSectionsOption Returns OLEF2CCsvExportSectionsOption
 15421        Handle hDispatchDriver
 15422        OLEF2CCsvExportSectionsOption retVal
 15423        Get phDispatchDriver to hDispatchDriver
 15424        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 15425        Function_Return retVal
 15426    End_Function
 15427
 15428    
 15429    Procedure Set ComReportSectionsOption OLEF2CCsvExportSectionsOption value
 15430        Handle hDispatchDriver
 15431        Get phDispatchDriver to hDispatchDriver
 15432        Send PrepareParams to hDispatchDriver 1
 15433        Set ComProperty of hDispatchDriver 6 OLE_VT_I4 to value
 15434    End_Procedure
 15435
 15436    
 15437    Function ComSeparatorText Returns String
 15438        Handle hDispatchDriver
 15439        String retVal
 15440        Get phDispatchDriver to hDispatchDriver
 15441        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BSTR to retVal
 15442        Function_Return retVal
 15443    End_Function
 15444
 15445    
 15446    Procedure Set ComSeparatorText String value
 15447        Handle hDispatchDriver
 15448        Get phDispatchDriver to hDispatchDriver
 15449        Send PrepareParams to hDispatchDriver 1
 15450        Set ComProperty of hDispatchDriver 7 OLE_VT_BSTR to value
 15451    End_Procedure
 15452
 15453    Function ComClone Returns Variant
 15454        Handle hDispatchDriver
 15455        Variant retVal
 15456        Get phDispatchDriver to hDispatchDriver
 15457        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_VARIANT to retVal
 15458        Function_Return retVal
 15459    End_Function
 15460
 15461    Function ComEquals Variant llobj Returns Boolean
 15462        Handle hDispatchDriver
 15463        Boolean retVal
 15464        Get phDispatchDriver to hDispatchDriver
 15465        Send PrepareParams to hDispatchDriver 1
 15466        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 15467        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BOOL to retVal
 15468        Function_Return retVal
 15469    End_Function
 15470
 15471    Function ComGetHashCode Returns Integer
 15472        Handle hDispatchDriver
 15473        Integer retVal
 15474        Get phDispatchDriver to hDispatchDriver
 15475        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 15476        Function_Return retVal
 15477    End_Function
 15478
 15479    
 15480    Function ComToString Returns String
 15481        Handle hDispatchDriver
 15482        String retVal
 15483        Get phDispatchDriver to hDispatchDriver
 15484        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BSTR to retVal
 15485        Function_Return retVal
 15486    End_Function
 15487End_Class
 15488
 15489Class cFlex2CrystalCharacterSeparatedValuesFormatOptions is a cComAutomationObject
 15490    Import_Class_Protocol cFlex2CrystalICharacterSeparatedValuesFormatOptions
 15491
 15492    Procedure Construct_Object
 15493        Forward Send Construct_Object
 15494        Set psProgID to "{DD782C9D-320F-40CC-B5D3-9AB8ED9FC6C3}"
 15495        Set peAutoCreate to acNoAutoCreate
 15496    End_Procedure
 15497End_Class
 15498
 15499Class cFlex2CrystalIExportOptions is a Mixin
 15500    
 15501    // Custom Methods
 15502    Procedure Set ComHtmlFileName String value
 15503        Handle hoFormatOptions hoDestOpts
 15504        String path
 15505        Integer retval
 15506        
 15507        Get Create U_cFlex2CrystalHtmlFormatOptions to hoFormatOptions
 15508        Send CreateComObject of hoFormatOptions
 15509        
 15510        Move value to path
 15511        Move (PathRemoveFileSpec(addressof(path))) to retval
 15512        Move (CString(path)) to path
 15513        If (path = "") Begin
 15514            Handle hoWS
 15515            String sProgPath
 15516            Move (phoWorkspace(ghoApplication)) to hoWS
 15517            Move (psProgramPath(hoWS)) to sProgPath
 15518            Move (PathAtIndex(hoWS, sProgPath, 1)) to path
 15519        End
 15520        
 15521        Set ComHTMLBaseFolderName of hoFormatOptions to path
 15522        Set ComHtmlFileName of hoFormatOptions to value
 15523        Set ComExportFormatOptions to (pvComObject(hoFormatOptions))
 15524
 15525        Get Create U_cFlex2CrystalDiskFileDestinationOptions to hoDestOpts
 15526        Send CreateComObject of hoDestOpts
 15527
 15528        Set ComDiskFileName of hoDestOpts to value
 15529        Set ComExportDestinationOptions to (pvComObject(hoDestOpts))
 15530
 15531        Send Destroy of hoFormatOptions
 15532        Send Destroy of hoDestOpts
 15533    End_Procedure
 15534    
 15535    Procedure Set ComXmlFileName String value
 15536        Variant vExpOpts vXMLFormat vXmlFormats
 15537        Handle hoExpOpts hoDestOpts hoXmlFormat hoXmlFormats
 15538        Integer iItem retval
 15539        String path
 15540        
 15541        Get Create U_cFlex2CrystalXmlExportFormatOptions to hoExpOpts
 15542        Send CreateComObject of hoExpOpts
 15543        Set ComExportSelection of hoExpOpts to (ComDefaultXmlExportSelection(Parent(Self)))
 15544        Set ComExportFormatOptions to (pvComObject(hoExpOpts))
 15545        
 15546        Get Create U_cFlex2CrystalDiskFileDestinationOptions to hoDestOpts
 15547        Send CreateComObject of hoDestOpts
 15548
 15549        Move value to path
 15550        Move (PathRemoveFileSpec(addressof(path))) to retval
 15551        Move (CString(path)) to path
 15552        If (path = "") Begin
 15553            Handle hoWS
 15554            String sProgPath
 15555            Move (phoWorkspace(ghoApplication)) to hoWS
 15556            Move (psProgramPath(hoWS)) to sProgPath
 15557            Move (PathAtIndex(hoWS, sProgPath, 1)) to path
 15558            Move (path +"\"+ value) to value
 15559        End
 15560        
 15561        Set ComDiskFileName of hoDestOpts to value
 15562        Set ComExportDestinationOptions to (pvComObject(hoDestOpts))
 15563        Send Destroy of hoDestOpts
 15564        Send Destroy of hoExpOpts
 15565    End_Procedure
 15566
 15567    Procedure Set ComDiskFileName String value
 15568        Variant vDestOptions
 15569        Handle hoDestOptions
 15570        String path
 15571        Integer retval
 15572        
 15573        Get Create U_cFlex2CrystalDiskFileDestinationOptions to hoDestOptions
 15574        Send CreateComObject of hoDestOptions
 15575
 15576        Move value to path
 15577        Move (PathRemoveFileSpec(addressof(path))) to retval
 15578        Move (CString(path)) to path
 15579        If (path = "") Begin
 15580            Handle hoWS
 15581            String sProgPath
 15582            Move (phoWorkspace(ghoApplication)) to hoWS
 15583            Move (psProgramPath(hoWS)) to sProgPath
 15584            Move (PathAtIndex(hoWS, sProgPath, 1)) to path
 15585            Move (path +"\"+ value) to value
 15586        End
 15587
 15588        Set ComDiskFileName of hoDestOptions to value
 15589        Set ComDestinationOptions to (pvComObject(hoDestOptions))
 15590        Send Destroy of hoDestOptions
 15591    End_Procedure
 15592
 15593    Procedure Set ComFormatType CRExportFormatType value
 15594        // Anything that isn't defined just gets overrided to OLEF2CExportFormatType_CrystalReport
 15595        
 15596        Case Begin
 15597            Case (value = crEFTCharSeparatedValues) 
 15598                Set ComExportFormatType to OLEF2CExportFormatType_CharacterSeparatedValues
 15599                Case Break
 15600            Case (value = crEFTCommaSeparatedValues or value = crEFTTabSeparatedValues)
 15601                Handle hoCSVOpts
 15602                Get Create U_cFlex2CrystalCharacterSeparatedValuesFormatOptions to hoCSVOpts
 15603                Send CreateComObject of hoCSVOpts
 15604                If (value = crEFTCommaSeparatedValues) Set ComSeparatorText of hoCSVOpts to ","
 15605                If (value = crEFTTabSeparatedValues) Set ComSeparatorText of hoCSVOpts to (Character(9))
 15606                Set ComExportFormatOptions to (pvComObject(hoCSVOpts))
 15607                Send Destroy of hoCSVOpts
 15608                Case Break
 15609            Case (value = crEFTCrystalReport or value = crEFTCrystalReport70) 
 15610                Set ComExportFormatType to OLEF2CExportFormatType_CrystalReport
 15611                Case Break
 15612            Case (value = crEFTExactRichText) 
 15613                Set ComExportFormatType to OLEF2CExportFormatType_RichText
 15614                Case Break
 15615            Case (value = crEFTExcel50 or value = crEFTExcel70 or value = crEFTExcel80 or value = crEFTExcel97) 
 15616                Set ComExportFormatType to OLEF2CExportFormatType_Excel
 15617                Case Break
 15618            Case (value = crEFTExcel50Tabular or value = crEFTExcel70Tabular or value = crEFTExcel80Tabular) 
 15619                Set ComExportFormatType to OLEF2CExportFormatType_ExcelRecord
 15620                Case Break
 15621            Case (value = crEFTHTML32Standard) 
 15622                Set ComExportFormatType to OLEF2CExportFormatType_HTML32
 15623                Case Break
 15624            Case (value = crEFTHTML40) 
 15625                Set ComExportFormatType to OLEF2CExportFormatType_HTML40
 15626                Case Break
 15627            Case (value = crEFTPaginatedText) 
 15628                Set ComExportFormatType to OLEF2CExportFormatType_Text
 15629                Case Break
 15630            Case (value = crEFTPortableDocFormat) 
 15631                Set ComExportFormatType to OLEF2CExportFormatType_PortableDocFormat
 15632                Case Break
 15633            Case (value = crEFTTabSeparatedText) 
 15634                Set ComExportFormatType to OLEF2CExportFormatType_TabSeperatedText
 15635                Case Break
 15636            Case (value = crEFTText) 
 15637                Set ComExportFormatType to OLEF2CExportFormatType_Text
 15638                Case Break
 15639            Case (value = crEFTWordForWindows) 
 15640                Set ComExportFormatType to OLEF2CExportFormatType_WordForWindows
 15641                Case Break
 15642            Case (value = crEFTXML) 
 15643                Set ComExportFormatType to OLEF2CExportFormatType_Xml
 15644                Case Break
 15645            Case Else
 15646                If (pbForceCompatible(Self)) Begin
 15647                    Set ComExportFormatType to OLEF2CExportFormatType_CrystalReport
 15648                End
 15649                Else Begin
 15650                    Send DisplayMessage of oFlex2CrystalDevMsg "Unsupported Format Selected."
 15651                End
 15652        Case End
 15653    End_Procedure
 15654
 15655    
 15656    Function ComDestinationType Returns OLEF2CExportDestinationType
 15657        Function_Return (ComExportDestinationType(Self))
 15658    End_Function
 15659
 15660    
 15661    Procedure Set ComDestinationType OLEF2CExportDestinationType value
 15662        Set ComExportDestinationType to value
 15663    End_Procedure
 15664
 15665    // Standard Methods
 15666    
 15667    Function ComDestinationOptions Returns Variant
 15668        Handle hDispatchDriver
 15669        Variant retVal
 15670        Get phDispatchDriver to hDispatchDriver
 15671        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_VARIANT to retVal
 15672        Function_Return retVal
 15673    End_Function
 15674
 15675    
 15676    Procedure Set ComDestinationOptions Variant value
 15677        Handle hDispatchDriver
 15678        Get phDispatchDriver to hDispatchDriver
 15679        Send PrepareParams to hDispatchDriver 1
 15680        Set ComProperty of hDispatchDriver 1 OLE_VT_VARIANT to value
 15681    End_Procedure
 15682
 15683    
 15684    Function ComExportDestinationOptions Returns Variant
 15685        Handle hDispatchDriver
 15686        Variant retVal
 15687        Get phDispatchDriver to hDispatchDriver
 15688        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
 15689        Function_Return retVal
 15690    End_Function
 15691
 15692    
 15693    Procedure Set ComExportDestinationOptions Variant value
 15694        Handle hDispatchDriver
 15695        Get phDispatchDriver to hDispatchDriver
 15696        Send PrepareParams to hDispatchDriver 1
 15697        Set ComProperty of hDispatchDriver 2 OLE_VT_DISPATCH to value
 15698    End_Procedure
 15699
 15700    
 15701    Function ComExportDestinationType Returns OLEF2CExportDestinationType
 15702        Handle hDispatchDriver
 15703        OLEF2CExportDestinationType retVal
 15704        Get phDispatchDriver to hDispatchDriver
 15705        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 15706        Function_Return retVal
 15707    End_Function
 15708
 15709    
 15710    Procedure Set ComExportDestinationType OLEF2CExportDestinationType value
 15711        Handle hDispatchDriver
 15712        Get phDispatchDriver to hDispatchDriver
 15713        Send PrepareParams to hDispatchDriver 1
 15714        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 15715    End_Procedure
 15716
 15717    
 15718    Function ComExportFormatOptions Returns Variant
 15719        Handle hDispatchDriver
 15720        Variant retVal
 15721        Get phDispatchDriver to hDispatchDriver
 15722        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 15723        Function_Return retVal
 15724    End_Function
 15725
 15726    
 15727    Procedure Set ComExportFormatOptions Variant value
 15728        Handle hDispatchDriver
 15729        Get phDispatchDriver to hDispatchDriver
 15730        Send PrepareParams to hDispatchDriver 1
 15731        Set ComProperty of hDispatchDriver 4 OLE_VT_DISPATCH to value
 15732    End_Procedure
 15733
 15734    
 15735    Function ComExportFormatType Returns OLEF2CExportFormatType
 15736        Handle hDispatchDriver
 15737        OLEF2CExportFormatType retVal
 15738        Get phDispatchDriver to hDispatchDriver
 15739        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 15740        Function_Return retVal
 15741    End_Function
 15742
 15743    
 15744    Procedure Set ComExportFormatType OLEF2CExportFormatType value
 15745        Handle hDispatchDriver
 15746        Get phDispatchDriver to hDispatchDriver
 15747        Send PrepareParams to hDispatchDriver 1
 15748        Set ComProperty of hDispatchDriver 5 OLE_VT_I4 to value
 15749    End_Procedure
 15750
 15751    
 15752    Function ComFormatOptions Returns Variant
 15753        Handle hDispatchDriver
 15754        Variant retVal
 15755        Get phDispatchDriver to hDispatchDriver
 15756        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_VARIANT to retVal
 15757        Function_Return retVal
 15758    End_Function
 15759
 15760    
 15761    Procedure Set ComFormatOptions Variant value
 15762        Handle hDispatchDriver
 15763        Get phDispatchDriver to hDispatchDriver
 15764        Send PrepareParams to hDispatchDriver 1
 15765        Set ComProperty of hDispatchDriver 6 OLE_VT_VARIANT to value
 15766    End_Procedure
 15767
 15768    
 15769    Function ComUExportDestinationType Returns Integer
 15770        Handle hDispatchDriver
 15771        Integer retVal
 15772        Get phDispatchDriver to hDispatchDriver
 15773        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 15774        Function_Return retVal
 15775    End_Function
 15776
 15777    
 15778    Procedure Set ComUExportDestinationType Integer value
 15779        Handle hDispatchDriver
 15780        Get phDispatchDriver to hDispatchDriver
 15781        Send PrepareParams to hDispatchDriver 1
 15782        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 15783    End_Procedure
 15784
 15785    
 15786    Function ComUExportFormatType Returns Integer
 15787        Handle hDispatchDriver
 15788        Integer retVal
 15789        Get phDispatchDriver to hDispatchDriver
 15790        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 15791        Function_Return retVal
 15792    End_Function
 15793
 15794    
 15795    Procedure Set ComUExportFormatType Integer value
 15796        Handle hDispatchDriver
 15797        Get phDispatchDriver to hDispatchDriver
 15798        Send PrepareParams to hDispatchDriver 1
 15799        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 15800    End_Procedure
 15801
 15802    Function ComClone Returns Variant
 15803        Handle hDispatchDriver
 15804        Variant retVal
 15805        Get phDispatchDriver to hDispatchDriver
 15806        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_VARIANT to retVal
 15807        Function_Return retVal
 15808    End_Function
 15809
 15810    Function ComEquals Variant llobj Returns Boolean
 15811        Handle hDispatchDriver
 15812        Boolean retVal
 15813        Get phDispatchDriver to hDispatchDriver
 15814        Send PrepareParams to hDispatchDriver 1
 15815        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 15816        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
 15817        Function_Return retVal
 15818    End_Function
 15819
 15820    Function ComGetHashCode Returns Integer
 15821        Handle hDispatchDriver
 15822        Integer retVal
 15823        Get phDispatchDriver to hDispatchDriver
 15824        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_I4 to retVal
 15825        Function_Return retVal
 15826    End_Function
 15827
 15828    
 15829    Function ComToString Returns String
 15830        Handle hDispatchDriver
 15831        String retVal
 15832        Get phDispatchDriver to hDispatchDriver
 15833        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BSTR to retVal
 15834        Function_Return retVal
 15835    End_Function
 15836End_Class
 15837
 15838Class cFlex2CrystalExportOptions is a cComAutomationObject
 15839    Import_Class_Protocol cFlex2CrystalIExportOptions
 15840
 15841    Procedure Construct_Object
 15842        Forward Send Construct_Object
 15843        Set psProgID to "{B6A8BB5E-BE16-41C1-8CFC-2D6ACA5D7103}"
 15844        Set peAutoCreate to acNoAutoCreate
 15845    End_Procedure
 15846End_Class
 15847
 15848Class cFlex2CrystalIDataDefController is a Mixin
 15849
 15850    
 15851    Function ComDatabase Returns Variant
 15852        Handle hDispatchDriver
 15853        Variant retVal
 15854        Get phDispatchDriver to hDispatchDriver
 15855        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_VARIANT to retVal
 15856        Function_Return retVal
 15857    End_Function
 15858
 15859    
 15860    Procedure Set ComDatabase Variant value
 15861        Handle hDispatchDriver
 15862        Get phDispatchDriver to hDispatchDriver
 15863        Send PrepareParams to hDispatchDriver 1
 15864        Set ComProperty of hDispatchDriver 1 OLE_VT_VARIANT to value
 15865    End_Procedure
 15866
 15867    
 15868    Function ComDataDefinition Returns Variant
 15869        Handle hDispatchDriver
 15870        Variant retVal
 15871        Get phDispatchDriver to hDispatchDriver
 15872        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_VARIANT to retVal
 15873        Function_Return retVal
 15874    End_Function
 15875
 15876    
 15877    Procedure Set ComDataDefinition Variant value
 15878        Handle hDispatchDriver
 15879        Get phDispatchDriver to hDispatchDriver
 15880        Send PrepareParams to hDispatchDriver 1
 15881        Set ComProperty of hDispatchDriver 2 OLE_VT_VARIANT to value
 15882    End_Procedure
 15883
 15884    
 15885    Function ComFormulaFieldController Returns Variant
 15886        Handle hDispatchDriver
 15887        Variant retVal
 15888        Get phDispatchDriver to hDispatchDriver
 15889        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
 15890        Function_Return retVal
 15891    End_Function
 15892
 15893    
 15894    Function ComGroupController Returns Variant
 15895        Handle hDispatchDriver
 15896        Variant retVal
 15897        Get phDispatchDriver to hDispatchDriver
 15898        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 15899        Function_Return retVal
 15900    End_Function
 15901
 15902    
 15903    Function ComGroupFilterController Returns Variant
 15904        Handle hDispatchDriver
 15905        Variant retVal
 15906        Get phDispatchDriver to hDispatchDriver
 15907        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
 15908        Function_Return retVal
 15909    End_Function
 15910
 15911    
 15912    Function ComParameterFieldController Returns Variant
 15913        Handle hDispatchDriver
 15914        Variant retVal
 15915        Get phDispatchDriver to hDispatchDriver
 15916        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 15917        Function_Return retVal
 15918    End_Function
 15919
 15920    
 15921    Function ComProductLocaleID Returns OLEF2CCeLocale
 15922        Handle hDispatchDriver
 15923        OLEF2CCeLocale retVal
 15924        Get phDispatchDriver to hDispatchDriver
 15925        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 15926        Function_Return retVal
 15927    End_Function
 15928
 15929    
 15930    Procedure Set ComProductLocaleID OLEF2CCeLocale value
 15931        Handle hDispatchDriver
 15932        Get phDispatchDriver to hDispatchDriver
 15933        Send PrepareParams to hDispatchDriver 1
 15934        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 15935    End_Procedure
 15936
 15937    
 15938    Function ComRecordFilterController Returns Variant
 15939        Handle hDispatchDriver
 15940        Variant retVal
 15941        Get phDispatchDriver to hDispatchDriver
 15942        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_DISPATCH to retVal
 15943        Function_Return retVal
 15944    End_Function
 15945
 15946    
 15947    Function ComResultFieldController Returns Variant
 15948        Handle hDispatchDriver
 15949        Variant retVal
 15950        Get phDispatchDriver to hDispatchDriver
 15951        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_DISPATCH to retVal
 15952        Function_Return retVal
 15953    End_Function
 15954
 15955    
 15956    Function ComSavedDataFilterController Returns Variant
 15957        Handle hDispatchDriver
 15958        Variant retVal
 15959        Get phDispatchDriver to hDispatchDriver
 15960        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_DISPATCH to retVal
 15961        Function_Return retVal
 15962    End_Function
 15963
 15964    
 15965    Function ComSortController Returns Variant
 15966        Handle hDispatchDriver
 15967        Variant retVal
 15968        Get phDispatchDriver to hDispatchDriver
 15969        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_DISPATCH to retVal
 15970        Function_Return retVal
 15971    End_Function
 15972
 15973    
 15974    Function ComSummaryFieldController Returns Variant
 15975        Handle hDispatchDriver
 15976        Variant retVal
 15977        Get phDispatchDriver to hDispatchDriver
 15978        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_DISPATCH to retVal
 15979        Function_Return retVal
 15980    End_Function
 15981
 15982    
 15983    Function ComUndoManager Returns Variant
 15984        Handle hDispatchDriver
 15985        Variant retVal
 15986        Get phDispatchDriver to hDispatchDriver
 15987        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_VARIANT to retVal
 15988        Function_Return retVal
 15989    End_Function
 15990
 15991    
 15992    Procedure Set ComUndoManager Variant value
 15993        Handle hDispatchDriver
 15994        Get phDispatchDriver to hDispatchDriver
 15995        Send PrepareParams to hDispatchDriver 1
 15996        Set ComProperty of hDispatchDriver 14 OLE_VT_VARIANT to value
 15997    End_Procedure
 15998
 15999    
 16000    Function ComViewTimeRecordFilterController Returns Variant
 16001        Handle hDispatchDriver
 16002        Variant retVal
 16003        Get phDispatchDriver to hDispatchDriver
 16004        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_DISPATCH to retVal
 16005        Function_Return retVal
 16006    End_Function
 16007
 16008    Procedure ComAdvise Variant llpVal
 16009        Handle hDispatchDriver
 16010        Get phDispatchDriver to hDispatchDriver
 16011        Send PrepareParams to hDispatchDriver 1
 16012        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
 16013        Send InvokeComMethod to hDispatchDriver 16 OLE_VT_VOID
 16014    End_Procedure
 16015
 16016    Procedure ComBeginTransaction
 16017        Handle hDispatchDriver
 16018        Get phDispatchDriver to hDispatchDriver
 16019        Send InvokeComMethod to hDispatchDriver 17 OLE_VT_VOID
 16020    End_Procedure
 16021
 16022    Procedure ComEndTransaction
 16023        Handle hDispatchDriver
 16024        Get phDispatchDriver to hDispatchDriver
 16025        Send InvokeComMethod to hDispatchDriver 18 OLE_VT_VOID
 16026    End_Procedure
 16027
 16028    Function ComFindFieldByFormulaForm String llbsFormulaForm Returns Variant
 16029        Handle hDispatchDriver
 16030        Variant retVal
 16031        Get phDispatchDriver to hDispatchDriver
 16032        Send PrepareParams to hDispatchDriver 1
 16033        Send DefineParam to hDispatchDriver OLE_VT_BSTR llbsFormulaForm
 16034        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_DISPATCH to retVal
 16035        Function_Return retVal
 16036    End_Function
 16037
 16038    Procedure ComResetData Boolean llbClientOnly
 16039        Handle hDispatchDriver
 16040        Get phDispatchDriver to hDispatchDriver
 16041        Send PrepareParams to hDispatchDriver 1
 16042        Send DefineParam to hDispatchDriver OLE_VT_BOOL llbClientOnly
 16043        Send InvokeComMethod to hDispatchDriver 20 OLE_VT_VOID
 16044    End_Procedure
 16045
 16046    Procedure ComUnadvise Variant llpVal
 16047        Handle hDispatchDriver
 16048        Get phDispatchDriver to hDispatchDriver
 16049        Send PrepareParams to hDispatchDriver 1
 16050        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpVal
 16051        Send InvokeComMethod to hDispatchDriver 21 OLE_VT_VOID
 16052    End_Procedure
 16053
 16054    Procedure ComUpdateData Variant llpDataDefinition Boolean llbClientOnly
 16055        Handle hDispatchDriver
 16056        Get phDispatchDriver to hDispatchDriver
 16057        Send PrepareParams to hDispatchDriver 2
 16058        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llpDataDefinition
 16059        Send DefineParam to hDispatchDriver OLE_VT_BOOL llbClientOnly
 16060        Send InvokeComMethod to hDispatchDriver 22 OLE_VT_VOID
 16061    End_Procedure
 16062End_Class
 16063
 16064Class cFlex2CrystalIDataDefControllerEvents is a Mixin
 16065
 16066    
 16067    Procedure OnComAdded
 16068    End_Procedure
 16069
 16070    
 16071    Procedure OnComBeginTransaction
 16072    End_Procedure
 16073
 16074    
 16075    Procedure OnComChanged
 16076    End_Procedure
 16077
 16078    
 16079    Procedure OnComEndTransaction
 16080    End_Procedure
 16081
 16082    
 16083    Procedure OnComMoved
 16084    End_Procedure
 16085
 16086    
 16087    Procedure OnComRemoved
 16088    End_Procedure
 16089
 16090    
 16091    Procedure RegisterComEvents
 16092        Send RegisterComEvent 1 msg_OnComAdded
 16093        Send RegisterComEvent 2 msg_OnComBeginTransaction
 16094        Send RegisterComEvent 3 msg_OnComChanged
 16095        Send RegisterComEvent 4 msg_OnComEndTransaction
 16096        Send RegisterComEvent 5 msg_OnComMoved
 16097        Send RegisterComEvent 6 msg_OnComRemoved
 16098    End_Procedure
 16099End_Class
 16100
 16101Class cFlex2CrystalDataDefController is a cComAutomationObject
 16102    Import_Class_Protocol cFlex2CrystalIDataDefController
 16103    Import_Class_Protocol cFlex2CrystalIDataDefControllerEvents
 16104
 16105    Procedure Construct_Object
 16106        Forward Send Construct_Object
 16107        Set psEventId to "{10C569C8-C1C8-45DE-9BFC-7347D0820EAD}"
 16108        Set peAutoCreate to acNoAutoCreate
 16109    End_Procedure
 16110End_Class
 16111
 16112Class cFlex2CrystalISortController is a Mixin
 16113
 16114    Function ComAdd Integer llIndexToAdd Variant llSort Returns Integer
 16115        Handle hDispatchDriver
 16116        Integer retVal
 16117        Get phDispatchDriver to hDispatchDriver
 16118        Send PrepareParams to hDispatchDriver 2
 16119        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndexToAdd
 16120        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llSort
 16121        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 16122        Function_Return retVal
 16123    End_Function
 16124
 16125    Function ComCanSortOn Variant llField Returns Boolean
 16126        Handle hDispatchDriver
 16127        Boolean retVal
 16128        Get phDispatchDriver to hDispatchDriver
 16129        Send PrepareParams to hDispatchDriver 1
 16130        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llField
 16131        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
 16132        Function_Return retVal
 16133    End_Function
 16134
 16135    Function ComCanTopNSortOn Variant llSummaryField Returns Boolean
 16136        Handle hDispatchDriver
 16137        Boolean retVal
 16138        Get phDispatchDriver to hDispatchDriver
 16139        Send PrepareParams to hDispatchDriver 1
 16140        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llSummaryField
 16141        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
 16142        Function_Return retVal
 16143    End_Function
 16144
 16145    Function ComFindSort Variant llField Returns Variant
 16146        Handle hDispatchDriver
 16147        Variant retVal
 16148        Get phDispatchDriver to hDispatchDriver
 16149        Send PrepareParams to hDispatchDriver 1
 16150        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llField
 16151        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 16152        Function_Return retVal
 16153    End_Function
 16154
 16155    Procedure ComModify Variant llOldSort Variant llNewSort
 16156        Handle hDispatchDriver
 16157        Get phDispatchDriver to hDispatchDriver
 16158        Send PrepareParams to hDispatchDriver 2
 16159        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llOldSort
 16160        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llNewSort
 16161        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
 16162    End_Procedure
 16163
 16164    Procedure ComModifySortDirection Variant llSort OLEF2CCrSortDirectionEnum llnDirection
 16165        Handle hDispatchDriver
 16166        Get phDispatchDriver to hDispatchDriver
 16167        Send PrepareParams to hDispatchDriver 2
 16168        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llSort
 16169        Send DefineParam to hDispatchDriver OLE_VT_I4 llnDirection
 16170        Send InvokeComMethod to hDispatchDriver 6 OLE_VT_VOID
 16171    End_Procedure
 16172
 16173    Procedure ComMove Variant llSort Integer llIndexToMoveTo
 16174        Handle hDispatchDriver
 16175        Get phDispatchDriver to hDispatchDriver
 16176        Send PrepareParams to hDispatchDriver 2
 16177        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llSort
 16178        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndexToMoveTo
 16179        Send InvokeComMethod to hDispatchDriver 7 OLE_VT_VOID
 16180    End_Procedure
 16181
 16182    Procedure ComRemove Variant llSort
 16183        Handle hDispatchDriver
 16184        Get phDispatchDriver to hDispatchDriver
 16185        Send PrepareParams to hDispatchDriver 1
 16186        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llSort
 16187        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
 16188    End_Procedure
 16189End_Class
 16190
 16191Class cFlex2CrystalSortController is a cComAutomationObject
 16192    Import_Class_Protocol cFlex2CrystalISortController
 16193
 16194    Procedure Construct_Object
 16195        Forward Send Construct_Object
 16196        Set peAutoCreate to acNoAutoCreate
 16197    End_Procedure
 16198End_Class
 16199
 16200Class cFlex2CrystalISortClass is a Mixin
 16201
 16202    
 16203    Function ComClassName Returns String
 16204        Handle hDispatchDriver
 16205        String retVal
 16206        Get phDispatchDriver to hDispatchDriver
 16207        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BSTR to retVal
 16208        Function_Return retVal
 16209    End_Function
 16210
 16211    
 16212    Function ComDirection Returns OLEF2CCrSortDirectionEnum
 16213        Handle hDispatchDriver
 16214        OLEF2CCrSortDirectionEnum retVal
 16215        Get phDispatchDriver to hDispatchDriver
 16216        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 16217        Function_Return retVal
 16218    End_Function
 16219
 16220    
 16221    Procedure Set ComDirection OLEF2CCrSortDirectionEnum value
 16222        Handle hDispatchDriver
 16223        Get phDispatchDriver to hDispatchDriver
 16224        Send PrepareParams to hDispatchDriver 1
 16225        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 16226    End_Procedure
 16227
 16228    
 16229    Function ComSortField Returns Variant
 16230        Handle hDispatchDriver
 16231        Variant retVal
 16232        Get phDispatchDriver to hDispatchDriver
 16233        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_VARIANT to retVal
 16234        Function_Return retVal
 16235    End_Function
 16236
 16237    
 16238    Procedure Set ComSortField Variant value
 16239        Handle hDispatchDriver
 16240        Get phDispatchDriver to hDispatchDriver
 16241        Send PrepareParams to hDispatchDriver 1
 16242        Set ComProperty of hDispatchDriver 3 OLE_VT_VARIANT to value
 16243    End_Procedure
 16244
 16245    Function ComClone Boolean llDeepClone Returns Variant
 16246        Handle hDispatchDriver
 16247        Variant retVal
 16248        Get phDispatchDriver to hDispatchDriver
 16249        Send PrepareParams to hDispatchDriver 1
 16250        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepClone
 16251        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 16252        Function_Return retVal
 16253    End_Function
 16254
 16255    Procedure ComCopyTo Variant llSort Boolean llDeepCopy
 16256        Handle hDispatchDriver
 16257        Get phDispatchDriver to hDispatchDriver
 16258        Send PrepareParams to hDispatchDriver 2
 16259        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llSort
 16260        Send DefineParam to hDispatchDriver OLE_VT_BOOL llDeepCopy
 16261        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
 16262    End_Procedure
 16263
 16264    Function ComEquals Variant llSort Returns Boolean
 16265        Handle hDispatchDriver
 16266        Boolean retVal
 16267        Get phDispatchDriver to hDispatchDriver
 16268        Send PrepareParams to hDispatchDriver 1
 16269        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llSort
 16270        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BOOL to retVal
 16271        Function_Return retVal
 16272    End_Function
 16273
 16274    Function ComEquals_2 Variant llobj Returns Boolean
 16275        Handle hDispatchDriver
 16276        Boolean retVal
 16277        Get phDispatchDriver to hDispatchDriver
 16278        Send PrepareParams to hDispatchDriver 1
 16279        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 16280        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BOOL to retVal
 16281        Function_Return retVal
 16282    End_Function
 16283
 16284    Function ComGetHashCode Returns Integer
 16285        Handle hDispatchDriver
 16286        Integer retVal
 16287        Get phDispatchDriver to hDispatchDriver
 16288        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 16289        Function_Return retVal
 16290    End_Function
 16291
 16292    Procedure ComReserved1
 16293        Handle hDispatchDriver
 16294        Get phDispatchDriver to hDispatchDriver
 16295        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
 16296    End_Procedure
 16297
 16298    Procedure ComReserved2
 16299        Handle hDispatchDriver
 16300        Get phDispatchDriver to hDispatchDriver
 16301        Send InvokeComMethod to hDispatchDriver 12 OLE_VT_VOID
 16302    End_Procedure
 16303
 16304    Procedure ComReserved3
 16305        Handle hDispatchDriver
 16306        Get phDispatchDriver to hDispatchDriver
 16307        Send InvokeComMethod to hDispatchDriver 13 OLE_VT_VOID
 16308    End_Procedure
 16309
 16310    Procedure ComReserved4
 16311        Handle hDispatchDriver
 16312        Get phDispatchDriver to hDispatchDriver
 16313        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
 16314    End_Procedure
 16315
 16316    Procedure ComReserved5
 16317        Handle hDispatchDriver
 16318        Get phDispatchDriver to hDispatchDriver
 16319        Send InvokeComMethod to hDispatchDriver 15 OLE_VT_VOID
 16320    End_Procedure
 16321
 16322    
 16323    Function ComToString Returns String
 16324        Handle hDispatchDriver
 16325        String retVal
 16326        Get phDispatchDriver to hDispatchDriver
 16327        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_BSTR to retVal
 16328        Function_Return retVal
 16329    End_Function
 16330End_Class
 16331
 16332Class cFlex2CrystalSortClass is a cComAutomationObject
 16333    Import_Class_Protocol cFlex2CrystalISortClass
 16334
 16335    Procedure Construct_Object
 16336        Forward Send Construct_Object
 16337        Set psProgID to "{BE0F331B-3B68-4A1D-B690-E996CF6AF07C}"
 16338        Set peAutoCreate to acNoAutoCreate
 16339    End_Procedure
 16340End_Class
 16341
 16342Class cFlex2CrystalIPrintOptions is a Mixin
 16343
 16344    
 16345    Function ComDissociatePageSizeAndPrinterPaperSize Returns Boolean
 16346        Handle hDispatchDriver
 16347        Boolean retVal
 16348        Get phDispatchDriver to hDispatchDriver
 16349        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
 16350        Function_Return retVal
 16351    End_Function
 16352
 16353    
 16354    Procedure Set ComDissociatePageSizeAndPrinterPaperSize Boolean value
 16355        Handle hDispatchDriver
 16356        Get phDispatchDriver to hDispatchDriver
 16357        Send PrepareParams to hDispatchDriver 1
 16358        Set ComProperty of hDispatchDriver 2 OLE_VT_BOOL to value
 16359    End_Procedure
 16360
 16361    
 16362    Function ComPageContentHeight Returns Integer
 16363        Handle hDispatchDriver
 16364        Integer retVal
 16365        Get phDispatchDriver to hDispatchDriver
 16366        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 16367        Function_Return retVal
 16368    End_Function
 16369
 16370    
 16371    Function ComPageContentWidth Returns Integer
 16372        Handle hDispatchDriver
 16373        Integer retVal
 16374        Get phDispatchDriver to hDispatchDriver
 16375        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 16376        Function_Return retVal
 16377    End_Function
 16378
 16379    
 16380    Function ComPageMargins Returns Variant
 16381        Handle hDispatchDriver
 16382        Variant retVal
 16383        Get phDispatchDriver to hDispatchDriver
 16384        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
 16385        Function_Return retVal
 16386    End_Function
 16387
 16388    
 16389    Function ComPaperOrientation Returns OLEF2CPaperOrientation
 16390        Handle hDispatchDriver
 16391        OLEF2CPaperOrientation retVal
 16392        Get phDispatchDriver to hDispatchDriver
 16393        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 16394        Function_Return retVal
 16395    End_Function
 16396
 16397    
 16398    Procedure Set ComPaperOrientation OLEF2CPaperOrientation value
 16399        Handle hDispatchDriver
 16400        Get phDispatchDriver to hDispatchDriver
 16401        Send PrepareParams to hDispatchDriver 1
 16402        Set ComProperty of hDispatchDriver 6 OLE_VT_I4 to value
 16403    End_Procedure
 16404
 16405    
 16406    Function ComPaperSize Returns OLEF2CPaperSize
 16407        Handle hDispatchDriver
 16408        OLEF2CPaperSize retVal
 16409        Get phDispatchDriver to hDispatchDriver
 16410        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_I4 to retVal
 16411        Function_Return retVal
 16412    End_Function
 16413
 16414    
 16415    Procedure Set ComPaperSize OLEF2CPaperSize value
 16416        Handle hDispatchDriver
 16417        Get phDispatchDriver to hDispatchDriver
 16418        Send PrepareParams to hDispatchDriver 1
 16419        Set ComProperty of hDispatchDriver 7 OLE_VT_I4 to value
 16420    End_Procedure
 16421
 16422    
 16423    Function ComPaperSource Returns OLEF2CPaperSource
 16424        Handle hDispatchDriver
 16425        OLEF2CPaperSource retVal
 16426        Get phDispatchDriver to hDispatchDriver
 16427        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_I4 to retVal
 16428        Function_Return retVal
 16429    End_Function
 16430
 16431    
 16432    Procedure Set ComPaperSource OLEF2CPaperSource value
 16433        Handle hDispatchDriver
 16434        Get phDispatchDriver to hDispatchDriver
 16435        Send PrepareParams to hDispatchDriver 1
 16436        Set ComProperty of hDispatchDriver 8 OLE_VT_I4 to value
 16437    End_Procedure
 16438
 16439    
 16440    Function ComPrinterDuplex Returns OLEF2CPrinterDuplex
 16441        Handle hDispatchDriver
 16442        OLEF2CPrinterDuplex retVal
 16443        Get phDispatchDriver to hDispatchDriver
 16444        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_I4 to retVal
 16445        Function_Return retVal
 16446    End_Function
 16447
 16448    
 16449    Procedure Set ComPrinterDuplex OLEF2CPrinterDuplex value
 16450        Handle hDispatchDriver
 16451        Get phDispatchDriver to hDispatchDriver
 16452        Send PrepareParams to hDispatchDriver 1
 16453        Set ComProperty of hDispatchDriver 9 OLE_VT_I4 to value
 16454    End_Procedure
 16455
 16456    
 16457    Function ComPrinterName Returns String
 16458        Handle hDispatchDriver
 16459        String retVal
 16460        Get phDispatchDriver to hDispatchDriver
 16461        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BSTR to retVal
 16462        Function_Return retVal
 16463    End_Function
 16464
 16465    
 16466    Procedure Set ComPrinterName String value
 16467        Handle hDispatchDriver
 16468        Get phDispatchDriver to hDispatchDriver
 16469        Send PrepareParams to hDispatchDriver 1
 16470        Set ComProperty of hDispatchDriver 10 OLE_VT_BSTR to value
 16471    End_Procedure
 16472
 16473    Procedure ComApplyPageMargins Variant llmargin
 16474        Handle hDispatchDriver
 16475        Get phDispatchDriver to hDispatchDriver
 16476        Send PrepareParams to hDispatchDriver 1
 16477        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llmargin
 16478        Send InvokeComMethod to hDispatchDriver 11 OLE_VT_VOID
 16479    End_Procedure
 16480
 16481    Procedure ComDispose
 16482        Handle hDispatchDriver
 16483        Get phDispatchDriver to hDispatchDriver
 16484        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
 16485    End_Procedure
 16486
 16487    Function ComEquals Variant llobj Returns Boolean
 16488        Handle hDispatchDriver
 16489        Boolean retVal
 16490        Get phDispatchDriver to hDispatchDriver
 16491        Send PrepareParams to hDispatchDriver 1
 16492        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 16493        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BOOL to retVal
 16494        Function_Return retVal
 16495    End_Function
 16496
 16497    Function ComGetHashCode Returns Integer
 16498        Handle hDispatchDriver
 16499        Integer retVal
 16500        Get phDispatchDriver to hDispatchDriver
 16501        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_I4 to retVal
 16502        Function_Return retVal
 16503    End_Function
 16504
 16505    
 16506    Function ComToString Returns String
 16507        Handle hDispatchDriver
 16508        String retVal
 16509        Get phDispatchDriver to hDispatchDriver
 16510        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BSTR to retVal
 16511        Function_Return retVal
 16512    End_Function
 16513End_Class
 16514
 16515Class cFlex2CrystalPrintOptions is a cComAutomationObject
 16516    Import_Class_Protocol cFlex2CrystalIPrintOptions
 16517
 16518    Procedure Construct_Object
 16519        Forward Send Construct_Object
 16520        Set peAutoCreate to acNoAutoCreate
 16521    End_Procedure
 16522End_Class
 16523
 16524Class cFlex2CrystalIPageMargins is a Mixin
 16525
 16526    
 16527    Function ComBottomMargin Returns Integer
 16528        Handle hDispatchDriver
 16529        Integer retVal
 16530        Get phDispatchDriver to hDispatchDriver
 16531        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
 16532        Function_Return retVal
 16533    End_Function
 16534
 16535    
 16536    Procedure Set ComBottomMargin Integer value
 16537        Handle hDispatchDriver
 16538        Get phDispatchDriver to hDispatchDriver
 16539        Send PrepareParams to hDispatchDriver 1
 16540        Set ComProperty of hDispatchDriver 1 OLE_VT_I4 to value
 16541    End_Procedure
 16542
 16543    
 16544    Function ComLeftMargin Returns Integer
 16545        Handle hDispatchDriver
 16546        Integer retVal
 16547        Get phDispatchDriver to hDispatchDriver
 16548        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 16549        Function_Return retVal
 16550    End_Function
 16551
 16552    
 16553    Procedure Set ComLeftMargin Integer value
 16554        Handle hDispatchDriver
 16555        Get phDispatchDriver to hDispatchDriver
 16556        Send PrepareParams to hDispatchDriver 1
 16557        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 16558    End_Procedure
 16559
 16560    
 16561    Function ComRightMargin Returns Integer
 16562        Handle hDispatchDriver
 16563        Integer retVal
 16564        Get phDispatchDriver to hDispatchDriver
 16565        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_I4 to retVal
 16566        Function_Return retVal
 16567    End_Function
 16568
 16569    
 16570    Procedure Set ComRightMargin Integer value
 16571        Handle hDispatchDriver
 16572        Get phDispatchDriver to hDispatchDriver
 16573        Send PrepareParams to hDispatchDriver 1
 16574        Set ComProperty of hDispatchDriver 3 OLE_VT_I4 to value
 16575    End_Procedure
 16576
 16577    
 16578    Function ComTopMargin Returns Integer
 16579        Handle hDispatchDriver
 16580        Integer retVal
 16581        Get phDispatchDriver to hDispatchDriver
 16582        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_I4 to retVal
 16583        Function_Return retVal
 16584    End_Function
 16585
 16586    
 16587    Procedure Set ComTopMargin Integer value
 16588        Handle hDispatchDriver
 16589        Get phDispatchDriver to hDispatchDriver
 16590        Send PrepareParams to hDispatchDriver 1
 16591        Set ComProperty of hDispatchDriver 4 OLE_VT_I4 to value
 16592    End_Procedure
 16593
 16594    Function ComEquals Variant llobj Returns Boolean
 16595        Handle hDispatchDriver
 16596        Boolean retVal
 16597        Get phDispatchDriver to hDispatchDriver
 16598        Send PrepareParams to hDispatchDriver 1
 16599        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 16600        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_BOOL to retVal
 16601        Function_Return retVal
 16602    End_Function
 16603
 16604    Function ComGetHashCode Returns Integer
 16605        Handle hDispatchDriver
 16606        Integer retVal
 16607        Get phDispatchDriver to hDispatchDriver
 16608        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_I4 to retVal
 16609        Function_Return retVal
 16610    End_Function
 16611
 16612    
 16613    Function ComToString Returns String
 16614        Handle hDispatchDriver
 16615        String retVal
 16616        Get phDispatchDriver to hDispatchDriver
 16617        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
 16618        Function_Return retVal
 16619    End_Function
 16620End_Class
 16621
 16622Class cFlex2CrystalPageMargins is a cComAutomationObject
 16623    Import_Class_Protocol cFlex2CrystalIPageMargins
 16624
 16625    Procedure Construct_Object
 16626        Forward Send Construct_Object
 16627        Set psProgID to "{BB99CAA2-DA61-4C7F-AFEB-115CEEA125D0}"
 16628        Set peAutoCreate to acNoAutoCreate
 16629    End_Procedure
 16630End_Class
 16631
 16632Class cFlex2CrystalIReportClientDocument is a Mixin
 16633
 16634    
 16635    Function ComAutoClose Returns Boolean
 16636        Handle hDispatchDriver
 16637        Boolean retVal
 16638        Get phDispatchDriver to hDispatchDriver
 16639        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
 16640        Function_Return retVal
 16641    End_Function
 16642
 16643    
 16644    Procedure Set ComAutoClose Boolean value
 16645        Handle hDispatchDriver
 16646        Get phDispatchDriver to hDispatchDriver
 16647        Send PrepareParams to hDispatchDriver 1
 16648        Set ComProperty of hDispatchDriver 1 OLE_VT_BOOL to value
 16649    End_Procedure
 16650
 16651    
 16652    Function ComCubeBuilderType Returns OLECrCubeBuilderTypeEnum
 16653        Handle hDispatchDriver
 16654        OLECrCubeBuilderTypeEnum retVal
 16655        Get phDispatchDriver to hDispatchDriver
 16656        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_I4 to retVal
 16657        Function_Return retVal
 16658    End_Function
 16659
 16660    
 16661    Procedure Set ComCubeBuilderType OLECrCubeBuilderTypeEnum value
 16662        Handle hDispatchDriver
 16663        Get phDispatchDriver to hDispatchDriver
 16664        Send PrepareParams to hDispatchDriver 1
 16665        Set ComProperty of hDispatchDriver 2 OLE_VT_I4 to value
 16666    End_Procedure
 16667
 16668    
 16669    Function ComCubeDefController Returns Variant
 16670        Handle hDispatchDriver
 16671        Variant retVal
 16672        Get phDispatchDriver to hDispatchDriver
 16673        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
 16674        Function_Return retVal
 16675    End_Function
 16676
 16677    
 16678    Function ComCustomFunctionController Returns Variant
 16679        Handle hDispatchDriver
 16680        Variant retVal
 16681        Get phDispatchDriver to hDispatchDriver
 16682        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 16683        Function_Return retVal
 16684    End_Function
 16685
 16686    
 16687    Function ComDatabase Returns Variant
 16688        Handle hDispatchDriver
 16689        Variant retVal
 16690        Get phDispatchDriver to hDispatchDriver
 16691        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_DISPATCH to retVal
 16692        Function_Return retVal
 16693    End_Function
 16694
 16695    
 16696    Function ComDatabaseController Returns Variant
 16697        Handle hDispatchDriver
 16698        Variant retVal
 16699        Get phDispatchDriver to hDispatchDriver
 16700        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 16701        Function_Return retVal
 16702    End_Function
 16703
 16704    
 16705    Function ComDataDefController Returns Variant
 16706        Handle hDispatchDriver
 16707        Variant retVal
 16708        Get phDispatchDriver to hDispatchDriver
 16709        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
 16710        Function_Return retVal
 16711    End_Function
 16712
 16713    
 16714    Function ComDataDefinition Returns Variant
 16715        Handle hDispatchDriver
 16716        Variant retVal
 16717        Get phDispatchDriver to hDispatchDriver
 16718        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_DISPATCH to retVal
 16719        Function_Return retVal
 16720    End_Function
 16721
 16722    
 16723    Function ComDisplayName Returns String
 16724        Handle hDispatchDriver
 16725        String retVal
 16726        Get phDispatchDriver to hDispatchDriver
 16727        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_BSTR to retVal
 16728        Function_Return retVal
 16729    End_Function
 16730
 16731    
 16732    Function ComDocumentWindow Returns Integer
 16733        Handle hDispatchDriver
 16734        Integer retVal
 16735        Get phDispatchDriver to hDispatchDriver
 16736        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_I4 to retVal
 16737        Function_Return retVal
 16738    End_Function
 16739
 16740    
 16741    Procedure Set ComDocumentWindow Integer value
 16742        Handle hDispatchDriver
 16743        Get phDispatchDriver to hDispatchDriver
 16744        Send PrepareParams to hDispatchDriver 1
 16745        Set ComProperty of hDispatchDriver 10 OLE_VT_I4 to value
 16746    End_Procedure
 16747
 16748    
 16749    Function ComEnterpriseSession Returns Variant
 16750        Handle hDispatchDriver
 16751        Variant retVal
 16752        Get phDispatchDriver to hDispatchDriver
 16753        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_VARIANT to retVal
 16754        Function_Return retVal
 16755    End_Function
 16756
 16757    
 16758    Procedure Set ComEnterpriseSession Variant value
 16759        Handle hDispatchDriver
 16760        Get phDispatchDriver to hDispatchDriver
 16761        Send PrepareParams to hDispatchDriver 1
 16762        Set ComProperty of hDispatchDriver 11 OLE_VT_VARIANT to value
 16763    End_Procedure
 16764
 16765    
 16766    Function ComErrorReporter Returns Variant
 16767        Handle hDispatchDriver
 16768        Variant retVal
 16769        Get phDispatchDriver to hDispatchDriver
 16770        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_VARIANT to retVal
 16771        Function_Return retVal
 16772    End_Function
 16773
 16774    
 16775    Procedure Set ComErrorReporter Variant value
 16776        Handle hDispatchDriver
 16777        Get phDispatchDriver to hDispatchDriver
 16778        Send PrepareParams to hDispatchDriver 1
 16779        Set ComProperty of hDispatchDriver 12 OLE_VT_VARIANT to value
 16780    End_Procedure
 16781
 16782    
 16783    Function ComHasUI Returns Boolean
 16784        Handle hDispatchDriver
 16785        Boolean retVal
 16786        Get phDispatchDriver to hDispatchDriver
 16787        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 16788        Function_Return retVal
 16789    End_Function
 16790
 16791    
 16792    Procedure Set ComHasUI Boolean value
 16793        Handle hDispatchDriver
 16794        Get phDispatchDriver to hDispatchDriver
 16795        Send PrepareParams to hDispatchDriver 1
 16796        Set ComProperty of hDispatchDriver 13 OLE_VT_BOOL to value
 16797    End_Procedure
 16798
 16799    
 16800    Function ComIsModified Returns Boolean
 16801        Handle hDispatchDriver
 16802        Boolean retVal
 16803        Get phDispatchDriver to hDispatchDriver
 16804        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
 16805        Function_Return retVal
 16806    End_Function
 16807
 16808    
 16809    Procedure Set ComIsModified Boolean value
 16810        Handle hDispatchDriver
 16811        Get phDispatchDriver to hDispatchDriver
 16812        Send PrepareParams to hDispatchDriver 1
 16813        Set ComProperty of hDispatchDriver 14 OLE_VT_BOOL to value
 16814    End_Procedure
 16815
 16816    
 16817    Function ComIsOpen Returns Boolean
 16818        Handle hDispatchDriver
 16819        Boolean retVal
 16820        Get phDispatchDriver to hDispatchDriver
 16821        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BOOL to retVal
 16822        Function_Return retVal
 16823    End_Function
 16824
 16825    
 16826    Function ComIsReadOnly Returns Boolean
 16827        Handle hDispatchDriver
 16828        Boolean retVal
 16829        Get phDispatchDriver to hDispatchDriver
 16830        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_BOOL to retVal
 16831        Function_Return retVal
 16832    End_Function
 16833
 16834    
 16835    Function ComLocaleID Returns OLEF2CCeLocale
 16836        Handle hDispatchDriver
 16837        OLEF2CCeLocale retVal
 16838        Get phDispatchDriver to hDispatchDriver
 16839        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_I4 to retVal
 16840        Function_Return retVal
 16841    End_Function
 16842
 16843    
 16844    Procedure Set ComLocaleID OLEF2CCeLocale value
 16845        Handle hDispatchDriver
 16846        Get phDispatchDriver to hDispatchDriver
 16847        Send PrepareParams to hDispatchDriver 1
 16848        Set ComProperty of hDispatchDriver 17 OLE_VT_I4 to value
 16849    End_Procedure
 16850
 16851    
 16852    Function ComMajorVersion Returns Integer
 16853        Handle hDispatchDriver
 16854        Integer retVal
 16855        Get phDispatchDriver to hDispatchDriver
 16856        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_I4 to retVal
 16857        Function_Return retVal
 16858    End_Function
 16859
 16860    
 16861    Function ComMinorVersion Returns Integer
 16862        Handle hDispatchDriver
 16863        Integer retVal
 16864        Get phDispatchDriver to hDispatchDriver
 16865        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_I4 to retVal
 16866        Function_Return retVal
 16867    End_Function
 16868
 16869    
 16870    Function ComPath Returns String
 16871        Handle hDispatchDriver
 16872        String retVal
 16873        Get phDispatchDriver to hDispatchDriver
 16874        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_BSTR to retVal
 16875        Function_Return retVal
 16876    End_Function
 16877
 16878    
 16879    Function ComPreferredViewingLocaleID Returns OLEF2CCeLocale
 16880        Handle hDispatchDriver
 16881        OLEF2CCeLocale retVal
 16882        Get phDispatchDriver to hDispatchDriver
 16883        Get InvokeComMethod of hDispatchDriver 21 OLE_VT_I4 to retVal
 16884        Function_Return retVal
 16885    End_Function
 16886
 16887    
 16888    Procedure Set ComPreferredViewingLocaleID OLEF2CCeLocale value
 16889        Handle hDispatchDriver
 16890        Get phDispatchDriver to hDispatchDriver
 16891        Send PrepareParams to hDispatchDriver 1
 16892        Set ComProperty of hDispatchDriver 21 OLE_VT_I4 to value
 16893    End_Procedure
 16894
 16895    
 16896    Function ComPrintOutputController Returns Variant
 16897        Handle hDispatchDriver
 16898        Variant retVal
 16899        Get phDispatchDriver to hDispatchDriver
 16900        Get InvokeComMethod of hDispatchDriver 22 OLE_VT_DISPATCH to retVal
 16901        Function_Return retVal
 16902    End_Function
 16903
 16904    
 16905    Function ComProcessingState Returns OLEF2CCdProcessingStateEnum
 16906        Handle hDispatchDriver
 16907        OLEF2CCdProcessingStateEnum retVal
 16908        Get phDispatchDriver to hDispatchDriver
 16909        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_I4 to retVal
 16910        Function_Return retVal
 16911    End_Function
 16912
 16913    
 16914    Function ComProductLocaleID Returns OLEF2CCeLocale
 16915        Handle hDispatchDriver
 16916        OLEF2CCeLocale retVal
 16917        Get phDispatchDriver to hDispatchDriver
 16918        Get InvokeComMethod of hDispatchDriver 24 OLE_VT_I4 to retVal
 16919        Function_Return retVal
 16920    End_Function
 16921
 16922    
 16923    Procedure Set ComProductLocaleID OLEF2CCeLocale value
 16924        Handle hDispatchDriver
 16925        Get phDispatchDriver to hDispatchDriver
 16926        Send PrepareParams to hDispatchDriver 1
 16927        Set ComProperty of hDispatchDriver 24 OLE_VT_I4 to value
 16928    End_Procedure
 16929
 16930    
 16931    Function ComReportAppServer Returns String
 16932        Handle hDispatchDriver
 16933        String retVal
 16934        Get phDispatchDriver to hDispatchDriver
 16935        Get InvokeComMethod of hDispatchDriver 26 OLE_VT_BSTR to retVal
 16936        Function_Return retVal
 16937    End_Function
 16938
 16939    
 16940    Procedure Set ComReportAppServer String value
 16941        Handle hDispatchDriver
 16942        Get phDispatchDriver to hDispatchDriver
 16943        Send PrepareParams to hDispatchDriver 1
 16944        Set ComProperty of hDispatchDriver 26 OLE_VT_BSTR to value
 16945    End_Procedure
 16946
 16947    
 16948    Function ComReportAppSession Returns Variant
 16949        Handle hDispatchDriver
 16950        Variant retVal
 16951        Get phDispatchDriver to hDispatchDriver
 16952        Get InvokeComMethod of hDispatchDriver 27 OLE_VT_VARIANT to retVal
 16953        Function_Return retVal
 16954    End_Function
 16955
 16956    
 16957    Procedure Set ComReportAppSession Variant value
 16958        Handle hDispatchDriver
 16959        Get phDispatchDriver to hDispatchDriver
 16960        Send PrepareParams to hDispatchDriver 1
 16961        Set ComProperty of hDispatchDriver 27 OLE_VT_VARIANT to value
 16962    End_Procedure
 16963
 16964    
 16965    Function ComReportDefController Returns Variant
 16966        Handle hDispatchDriver
 16967        Variant retVal
 16968        Get phDispatchDriver to hDispatchDriver
 16969        Get InvokeComMethod of hDispatchDriver 28 OLE_VT_DISPATCH to retVal
 16970        Function_Return retVal
 16971    End_Function
 16972
 16973    
 16974    Function ComReportRequestStatus Returns Variant
 16975        Handle hDispatchDriver
 16976        Variant retVal
 16977        Get phDispatchDriver to hDispatchDriver
 16978        Get InvokeComMethod of hDispatchDriver 32 OLE_VT_DISPATCH to retVal
 16979        Function_Return retVal
 16980    End_Function
 16981
 16982    
 16983    Function ComReportSource Returns Variant
 16984        Handle hDispatchDriver
 16985        Variant retVal
 16986        Get phDispatchDriver to hDispatchDriver
 16987        Get InvokeComMethod of hDispatchDriver 33 OLE_VT_DISPATCH to retVal
 16988        Function_Return retVal
 16989    End_Function
 16990
 16991    
 16992    Function ComRowsetController Returns Variant
 16993        Handle hDispatchDriver
 16994        Variant retVal
 16995        Get phDispatchDriver to hDispatchDriver
 16996        Get InvokeComMethod of hDispatchDriver 35 OLE_VT_DISPATCH to retVal
 16997        Function_Return retVal
 16998    End_Function
 16999
 17000    
 17001    Function ComSearchController Returns Variant
 17002        Handle hDispatchDriver
 17003        Variant retVal
 17004        Get phDispatchDriver to hDispatchDriver
 17005        Get InvokeComMethod of hDispatchDriver 36 OLE_VT_DISPATCH to retVal
 17006        Function_Return retVal
 17007    End_Function
 17008
 17009    
 17010    Function ComSubreportController Returns Variant
 17011        Handle hDispatchDriver
 17012        Variant retVal
 17013        Get phDispatchDriver to hDispatchDriver
 17014        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_DISPATCH to retVal
 17015        Function_Return retVal
 17016    End_Function
 17017
 17018    
 17019    Function ComSummaryInfo Returns Variant
 17020        Handle hDispatchDriver
 17021        Variant retVal
 17022        Get phDispatchDriver to hDispatchDriver
 17023        Get InvokeComMethod of hDispatchDriver 38 OLE_VT_VARIANT to retVal
 17024        Function_Return retVal
 17025    End_Function
 17026
 17027    
 17028    Procedure Set ComSummaryInfo Variant value
 17029        Handle hDispatchDriver
 17030        Get phDispatchDriver to hDispatchDriver
 17031        Send PrepareParams to hDispatchDriver 1
 17032        Set ComProperty of hDispatchDriver 38 OLE_VT_VARIANT to value
 17033    End_Procedure
 17034
 17035    
 17036    Function ComUID Returns Variant
 17037        Handle hDispatchDriver
 17038        Variant retVal
 17039        Get phDispatchDriver to hDispatchDriver
 17040        Get InvokeComMethod of hDispatchDriver 39 OLE_VT_DISPATCH to retVal
 17041        Function_Return retVal
 17042    End_Function
 17043
 17044    
 17045    Function ComUndoManager Returns Variant
 17046        Handle hDispatchDriver
 17047        Variant retVal
 17048        Get phDispatchDriver to hDispatchDriver
 17049        Get InvokeComMethod of hDispatchDriver 40 OLE_VT_VARIANT to retVal
 17050        Function_Return retVal
 17051    End_Function
 17052
 17053    Procedure ComAddAfterFormatPageEventCallBack Variant llformatPageEventCallBack
 17054        Handle hDispatchDriver
 17055        Get phDispatchDriver to hDispatchDriver
 17056        Send PrepareParams to hDispatchDriver 1
 17057        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatPageEventCallBack
 17058        Send InvokeComMethod to hDispatchDriver 42 OLE_VT_VOID
 17059    End_Procedure
 17060
 17061    Procedure ComAddBeforeFormatPageEventCallBack Variant llformatPageEventCallBack
 17062        Handle hDispatchDriver
 17063        Get phDispatchDriver to hDispatchDriver
 17064        Send PrepareParams to hDispatchDriver 1
 17065        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatPageEventCallBack
 17066        Send InvokeComMethod to hDispatchDriver 43 OLE_VT_VOID
 17067    End_Procedure
 17068
 17069    Procedure ComAddFieldMappingEventCallBack Variant llfieldMappingEventCallBack
 17070        Handle hDispatchDriver
 17071        Get phDispatchDriver to hDispatchDriver
 17072        Send PrepareParams to hDispatchDriver 1
 17073        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llfieldMappingEventCallBack
 17074        Send InvokeComMethod to hDispatchDriver 44 OLE_VT_VOID
 17075    End_Procedure
 17076
 17077    Procedure ComAddFormatPageNoDataEventCallBack Variant llformatPageEventCallBack
 17078        Handle hDispatchDriver
 17079        Get phDispatchDriver to hDispatchDriver
 17080        Send PrepareParams to hDispatchDriver 1
 17081        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatPageEventCallBack
 17082        Send InvokeComMethod to hDispatchDriver 45 OLE_VT_VOID
 17083    End_Procedure
 17084
 17085    Procedure ComAddFormatSectionEventCallBack Variant llformatSectionEventCallBack
 17086        Handle hDispatchDriver
 17087        Get phDispatchDriver to hDispatchDriver
 17088        Send PrepareParams to hDispatchDriver 1
 17089        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatSectionEventCallBack
 17090        Send InvokeComMethod to hDispatchDriver 46 OLE_VT_VOID
 17091    End_Procedure
 17092
 17093    Procedure ComBuildCube
 17094        Handle hDispatchDriver
 17095        Get phDispatchDriver to hDispatchDriver
 17096        Send InvokeComMethod to hDispatchDriver 47 OLE_VT_VOID
 17097    End_Procedure
 17098
 17099    Procedure ComCancelProcessing
 17100        Handle hDispatchDriver
 17101        Get phDispatchDriver to hDispatchDriver
 17102        Send InvokeComMethod to hDispatchDriver 48 OLE_VT_VOID
 17103    End_Procedure
 17104
 17105    Procedure ComClose
 17106        Handle hDispatchDriver
 17107        Get phDispatchDriver to hDispatchDriver
 17108        Send InvokeComMethod to hDispatchDriver 49 OLE_VT_VOID
 17109    End_Procedure
 17110
 17111    Procedure ComEnableEvent Variant llEnableEventData
 17112        Handle hDispatchDriver
 17113        Get phDispatchDriver to hDispatchDriver
 17114        Send PrepareParams to hDispatchDriver 1
 17115        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llEnableEventData
 17116        Send InvokeComMethod to hDispatchDriver 50 OLE_VT_VOID
 17117    End_Procedure
 17118
 17119    Procedure ComFlushRequests
 17120        Handle hDispatchDriver
 17121        Get phDispatchDriver to hDispatchDriver
 17122        Send InvokeComMethod to hDispatchDriver 51 OLE_VT_VOID
 17123    End_Procedure
 17124
 17125    Function ComGetFormulaFunctionCatalog Returns Variant
 17126        Handle hDispatchDriver
 17127        Variant retVal
 17128        Get phDispatchDriver to hDispatchDriver
 17129        Get InvokeComMethod of hDispatchDriver 53 OLE_VT_DISPATCH to retVal
 17130        Function_Return retVal
 17131    End_Function
 17132
 17133    Function ComGetSQLFunctionCatalog Returns Variant
 17134        Handle hDispatchDriver
 17135        Variant retVal
 17136        Get phDispatchDriver to hDispatchDriver
 17137        Get InvokeComMethod of hDispatchDriver 54 OLE_VT_DISPATCH to retVal
 17138        Function_Return retVal
 17139    End_Function
 17140
 17141    Procedure ComModifySummaryInfo Variant llnewVal
 17142        Handle hDispatchDriver
 17143        Get phDispatchDriver to hDispatchDriver
 17144        Send PrepareParams to hDispatchDriver 1
 17145        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llnewVal
 17146        Send InvokeComMethod to hDispatchDriver 56 OLE_VT_VOID
 17147    End_Procedure
 17148
 17149    Procedure ComNew
 17150        Handle hDispatchDriver
 17151        Get phDispatchDriver to hDispatchDriver
 17152        Send InvokeComMethod to hDispatchDriver 57 OLE_VT_VOID
 17153    End_Procedure
 17154
 17155    Procedure ComPlayBackRequests String llbsFilePath String llbsLogFilePath
 17156        Handle hDispatchDriver
 17157        Get phDispatchDriver to hDispatchDriver
 17158        Send PrepareParams to hDispatchDriver 2
 17159        Send DefineParam to hDispatchDriver OLE_VT_BSTR llbsFilePath
 17160        Send DefineParam to hDispatchDriver OLE_VT_BSTR llbsLogFilePath
 17161        Send InvokeComMethod to hDispatchDriver 59 OLE_VT_VOID
 17162    End_Procedure
 17163
 17164    Procedure ComReadRecords
 17165        Handle hDispatchDriver
 17166        Get phDispatchDriver to hDispatchDriver
 17167        Send InvokeComMethod to hDispatchDriver 60 OLE_VT_VOID
 17168    End_Procedure
 17169
 17170    Procedure ComRedo
 17171        Handle hDispatchDriver
 17172        Get phDispatchDriver to hDispatchDriver
 17173        Send InvokeComMethod to hDispatchDriver 61 OLE_VT_VOID
 17174    End_Procedure
 17175
 17176    Procedure ComRefreshReportDocument
 17177        Handle hDispatchDriver
 17178        Get phDispatchDriver to hDispatchDriver
 17179        Send InvokeComMethod to hDispatchDriver 62 OLE_VT_VOID
 17180    End_Procedure
 17181
 17182    Procedure ComRemoveAfterFormatPageEventCallBack Variant llformatPageEventCallBack
 17183        Handle hDispatchDriver
 17184        Get phDispatchDriver to hDispatchDriver
 17185        Send PrepareParams to hDispatchDriver 1
 17186        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatPageEventCallBack
 17187        Send InvokeComMethod to hDispatchDriver 63 OLE_VT_VOID
 17188    End_Procedure
 17189
 17190    Procedure ComRemoveBeforeFormatPageEventCallBack Variant llformatPageEventCallBack
 17191        Handle hDispatchDriver
 17192        Get phDispatchDriver to hDispatchDriver
 17193        Send PrepareParams to hDispatchDriver 1
 17194        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatPageEventCallBack
 17195        Send InvokeComMethod to hDispatchDriver 64 OLE_VT_VOID
 17196    End_Procedure
 17197
 17198    Procedure ComRemoveFieldMappingEventCallBack Variant llfieldMappingEventCallBack
 17199        Handle hDispatchDriver
 17200        Get phDispatchDriver to hDispatchDriver
 17201        Send PrepareParams to hDispatchDriver 1
 17202        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llfieldMappingEventCallBack
 17203        Send InvokeComMethod to hDispatchDriver 65 OLE_VT_VOID
 17204    End_Procedure
 17205
 17206    Procedure ComRemoveFormatPageNoDataEventCallBack Variant llformatPageEventCallBack
 17207        Handle hDispatchDriver
 17208        Get phDispatchDriver to hDispatchDriver
 17209        Send PrepareParams to hDispatchDriver 1
 17210        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatPageEventCallBack
 17211        Send InvokeComMethod to hDispatchDriver 66 OLE_VT_VOID
 17212    End_Procedure
 17213
 17214    Procedure ComRemoveFormatSectionEventCallBack Variant llformatSectionEventCallBack
 17215        Handle hDispatchDriver
 17216        Get phDispatchDriver to hDispatchDriver
 17217        Send PrepareParams to hDispatchDriver 1
 17218        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llformatSectionEventCallBack
 17219        Send InvokeComMethod to hDispatchDriver 67 OLE_VT_VOID
 17220    End_Procedure
 17221
 17222    Procedure ComReserved1
 17223        Handle hDispatchDriver
 17224        Get phDispatchDriver to hDispatchDriver
 17225        Send InvokeComMethod to hDispatchDriver 68 OLE_VT_VOID
 17226    End_Procedure
 17227
 17228    Procedure ComReserved10
 17229        Handle hDispatchDriver
 17230        Get phDispatchDriver to hDispatchDriver
 17231        Send InvokeComMethod to hDispatchDriver 69 OLE_VT_VOID
 17232    End_Procedure
 17233
 17234    Procedure ComReserved11
 17235        Handle hDispatchDriver
 17236        Get phDispatchDriver to hDispatchDriver
 17237        Send InvokeComMethod to hDispatchDriver 70 OLE_VT_VOID
 17238    End_Procedure
 17239
 17240    Procedure ComReserved2
 17241        Handle hDispatchDriver
 17242        Get phDispatchDriver to hDispatchDriver
 17243        Send InvokeComMethod to hDispatchDriver 71 OLE_VT_VOID
 17244    End_Procedure
 17245
 17246    Procedure ComReserved3
 17247        Handle hDispatchDriver
 17248        Get phDispatchDriver to hDispatchDriver
 17249        Send InvokeComMethod to hDispatchDriver 72 OLE_VT_VOID
 17250    End_Procedure
 17251
 17252    Procedure ComReserved4
 17253        Handle hDispatchDriver
 17254        Get phDispatchDriver to hDispatchDriver
 17255        Send InvokeComMethod to hDispatchDriver 73 OLE_VT_VOID
 17256    End_Procedure
 17257
 17258    Procedure ComReserved5
 17259        Handle hDispatchDriver
 17260        Get phDispatchDriver to hDispatchDriver
 17261        Send InvokeComMethod to hDispatchDriver 74 OLE_VT_VOID
 17262    End_Procedure
 17263
 17264    Procedure ComSave
 17265        Handle hDispatchDriver
 17266        Get phDispatchDriver to hDispatchDriver
 17267        Send InvokeComMethod to hDispatchDriver 75 OLE_VT_VOID
 17268    End_Procedure
 17269
 17270    Procedure ComUndo
 17271        Handle hDispatchDriver
 17272        Get phDispatchDriver to hDispatchDriver
 17273        Send InvokeComMethod to hDispatchDriver 77 OLE_VT_VOID
 17274    End_Procedure
 17275
 17276    Procedure ComVerifyDatabase
 17277        Handle hDispatchDriver
 17278        Get phDispatchDriver to hDispatchDriver
 17279        Send InvokeComMethod to hDispatchDriver 78 OLE_VT_VOID
 17280    End_Procedure
 17281End_Class
 17282
 17283Class cFlex2CrystalIReportClientDocumentEvents is a Mixin
 17284
 17285    
 17286    Procedure OnComClosed
 17287    End_Procedure
 17288
 17289    
 17290    Procedure OnComClosing
 17291    End_Procedure
 17292
 17293    
 17294    Procedure OnComPropertyChanged
 17295    End_Procedure
 17296
 17297    
 17298    Procedure OnComPropertyChanging
 17299    End_Procedure
 17300
 17301    
 17302    Procedure OnComSaved
 17303    End_Procedure
 17304
 17305    
 17306    Procedure OnComSaving
 17307    End_Procedure
 17308
 17309    
 17310    Procedure RegisterComEvents
 17311        Send RegisterComEvent 1 msg_OnComClosed
 17312        Send RegisterComEvent 2 msg_OnComClosing
 17313        Send RegisterComEvent 3 msg_OnComPropertyChanged
 17314        Send RegisterComEvent 4 msg_OnComPropertyChanging
 17315        Send RegisterComEvent 5 msg_OnComSaved
 17316        Send RegisterComEvent 6 msg_OnComSaving
 17317    End_Procedure
 17318End_Class
 17319
 17320Class cFlex2CrystalReportClientDocument is a cComAutomationObject
 17321    Import_Class_Protocol cFlex2CrystalIReportClientDocument
 17322    Import_Class_Protocol cFlex2CrystalIReportClientDocumentEvents
 17323
 17324    Procedure Construct_Object
 17325        Forward Send Construct_Object
 17326        Set psEventId to "{44D63194-B16F-4BB9-BCC1-0698B0931451}"
 17327        Set peAutoCreate to acNoAutoCreate
 17328    End_Procedure
 17329End_Class
 17330
 17331Class cFlex2CrystalIReport is a Mixin 
 17332    // Custom Methods
 17333
 17334    Procedure ComOpenReport String llFileName Integer llopenMethod
 17335        Send ComLoad_2 llFileName llopenMethod
 17336    End_Procedure
 17337
 17338    Procedure ComExportNative
 17339        Handle hDispatchDriver
 17340        Get phDispatchDriver to hDispatchDriver
 17341        Send InvokeComMethod to hDispatchDriver 38 OLE_VT_VOID
 17342    End_Procedure
 17343
 17344    Procedure ComExportNative_2 Variant llOptions
 17345        Handle hDispatchDriver
 17346        Get phDispatchDriver to hDispatchDriver
 17347        Send PrepareParams to hDispatchDriver 1
 17348        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llOptions
 17349        Send InvokeComMethod to hDispatchDriver 39 OLE_VT_VOID
 17350    End_Procedure
 17351
 17352    Procedure ComPrintOut Boolean bPrompt Integer llnCopies Boolean llCollated Integer llstartPageN Integer llendPageN
 17353        Handle hoPrintDialog hoPrintOptions
 17354        Variant vPrintOptions
 17355        Integer iPrintDialog iDuplex iColor iPaperSize iSource
 17356        
 17357        If (bPrompt) Begin
 17358            Handle hoViewer
 17359            
 17360            Get Create U_cFlex2CrystalActiveXReportViewer to hoViewer
 17361            Send CreateComObject of hoViewer
 17362            Set  ComReportSource of hoViewer to (pvComObject(Self))
 17363            Send ComPrintReport of hoViewer
 17364            Send Destroy of hoViewer
 17365
 17366//            Get Create U_PrintDialog to hoPrintDialog
 17367//            Get PrintDialog of hoPrintDialog to iPrintDialog
 17368//            If (iPrintDialog) Procedure_Return
 17369//            
 17370//            Get ComPrintOptions to vPrintOptions
 17371//            Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17372//            Set pvComObject of hoPrintOptions to vPrintOptions
 17373//
 17374//            Get PaperSize of hoPrintDialog to iPaperSize
 17375//            If (iPaperSize > 0 and iPaperSize <= 41) ;
 17376//                Set ComPaperSize of hoPrintOptions to iPaperSize
 17377//            Else Begin
 17378//                If (not(pbForceCompatible(Self))) Begin
 17379//                    Send DisplayMessage of oFlex2CrystalDevMsg "Incompatible paper size set."
 17380//                End
 17381//                Else Set ComPaperSize of hoPrintOptions to OLEF2CPaperSize_DefaultPaperSize
 17382//            End
 17383//            
 17384//            Get DefaultSource of hoPrintDialog to iSource
 17385//            If (iSource < 256) ;
 17386//                Set ComPaperSource of hoPrintOptions to iSource
 17387//            Else Begin
 17388//                If (not(pbForceCompatible(Self))) Begin
 17389//                    Send DisplayMessage of oFlex2CrystalDevMsg "Incompatible paper source selected.  Custom sources not allowed."
 17390//                End
 17391//                Else Set ComPaperSource of hoPrintOptions to OLEF2CPaperSource_Auto
 17392//            End
 17393//            
 17394//            Set ComPaperOrientation of hoPrintOptions to (Orientation(hoPrintDialog))
 17395//            Set ComPrinterName of hoPrintOptions to (DeviceName(hoPrintDialog))
 17396//            Get Copies of hoPrintDialog to llnCopies
 17397//            Get Duplex of hoPrintDialog to iDuplex
 17398//            Get MinPage of hoPrintDialog to llstartPageN
 17399//            Get MaxPage of hoPrintDialog to llendPageN
 17400//            Get Collate of hoPrintDialog to llCollated
 17401//            
 17402//            Case Begin
 17403//                Case (iDuplex = DMDUP_HORIZONTAL) 
 17404//                    Set ComPrinterDuplex of hoPrintOptions to OLEF2CPrinterDuplex_Horizontal
 17405//                    Break
 17406//                Case (iDuplex = DMDUP_VERTICAL) 
 17407//                    Set ComPrinterDuplex of hoPrintOptions to OLEF2CPrinterDuplex_Vertical
 17408//                    Break
 17409//                Case (iDuplex = DMDUP_SIMPLEX)
 17410//                    Set ComPrinterDuplex of hoPrintOptions to OLEF2CPrinterDuplex_Simplex
 17411//                    Break
 17412//            Case End
 17413        End
 17414        Else Send ComPrintToPrinter llnCopies llCollated llstartPageN llendPageN
 17415    End_Procedure
 17416
 17417    Procedure Set ComEnableParameterPrompting Boolean value
 17418        If (not(pbForceCompatible(Self)) and not(value)) Begin
 17419            Send DisplayMessage of oFlex2CrystalDevMsg "Parameter prompting cannot be globally disabled."            
 17420        End
 17421    End_Procedure
 17422    
 17423    Procedure Set ComPaperOrientation CRPaperOrientation paper
 17424        Handle hoPrintOptions
 17425        Variant vPrintOptions
 17426
 17427        Get ComPrintOptions to vPrintOptions
 17428        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17429        Set pvComObject of hoPrintOptions to vPrintOptions
 17430        
 17431        Set ComPaperOrientation of hoPrintOptions to paper
 17432        Send Destroy of hoPrintOptions
 17433    End_Procedure
 17434    
 17435    Function ComPaperOrientation Returns CRPaperOrientation
 17436        Handle hoPrintOptions
 17437        Variant vPrintOptions
 17438        CRPaperOrientation paper
 17439
 17440        Get ComPrintOptions to vPrintOptions
 17441        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17442        Set pvComObject of hoPrintOptions to vPrintOptions
 17443        
 17444        Get ComPaperOrientation of hoPrintOptions to paper
 17445        Send Destroy of hoPrintOptions
 17446        Function_Return paper
 17447    End_Function
 17448    
 17449    Procedure Set ComPaperSize CRPaperSize paper
 17450        Handle hoPrintOptions
 17451        Variant vPrintOptions
 17452
 17453        Get ComPrintOptions to vPrintOptions
 17454        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17455        Set pvComObject of hoPrintOptions to vPrintOptions
 17456        
 17457        Set ComPaperSize of hoPrintOptions to paper
 17458        Send Destroy of hoPrintOptions
 17459    End_Procedure
 17460    
 17461    Function ComPaperSize Returns CRPaperSize
 17462        Handle hoPrintOptions
 17463        Variant vPrintOptions
 17464        CRPaperSize paper
 17465
 17466        Get ComPrintOptions to vPrintOptions
 17467        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17468        Set pvComObject of hoPrintOptions to vPrintOptions
 17469        
 17470        Get ComPaperSize of hoPrintOptions to paper
 17471        Send Destroy of hoPrintOptions
 17472        Function_Return paper
 17473    End_Function
 17474
 17475    Procedure Set ComPaperSource CRPaperSource paper
 17476        Handle hoPrintOptions
 17477        Variant vPrintOptions
 17478
 17479        Get ComPrintOptions to vPrintOptions
 17480        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17481        Set pvComObject of hoPrintOptions to vPrintOptions
 17482        
 17483        Set ComPaperSource of hoPrintOptions to paper
 17484        Send Destroy of hoPrintOptions
 17485    End_Procedure
 17486    
 17487    Function ComPaperSource Returns CRPaperSource
 17488        Handle hoPrintOptions
 17489        Variant vPrintOptions
 17490        CRPaperSource paper
 17491
 17492        Get ComPrintOptions to vPrintOptions
 17493        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17494        Set pvComObject of hoPrintOptions to vPrintOptions
 17495        
 17496        Get ComPaperSource of hoPrintOptions to paper
 17497        Send Destroy of hoPrintOptions
 17498        Function_Return paper
 17499    End_Function
 17500    
 17501    Procedure ComPrinterDuplex CRPrinterDuplexType duplex
 17502        Handle hoPrintOptions
 17503        Variant vPrintOptions
 17504
 17505        Get ComPrintOptions to vPrintOptions
 17506        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17507        Set pvComObject of hoPrintOptions to vPrintOptions
 17508        
 17509        Set ComPrinterDuplex of hoPrintOptions to duplex
 17510        Send Destroy of hoPrintOptions
 17511    End_Procedure
 17512    
 17513    Function ComPrinterDuplex Returns CRPrinterDuplexType
 17514        Handle hoPrintOptions
 17515        Variant vPrintOptions
 17516        CRPrinterDuplexType duplex
 17517
 17518        Get ComPrintOptions to vPrintOptions
 17519        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17520        Set pvComObject of hoPrintOptions to vPrintOptions
 17521        
 17522        Get ComPrinterDuplex of hoPrintOptions to duplex
 17523        Send Destroy of hoPrintOptions
 17524        Function_Return duplex
 17525    End_Function
 17526    
 17527    Procedure ComPrinterName String name
 17528        Handle hoPrintOptions
 17529        Variant vPrintOptions
 17530
 17531        Get ComPrintOptions to vPrintOptions
 17532        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17533        Set pvComObject of hoPrintOptions to vPrintOptions
 17534        
 17535        Set ComPrinterName of hoPrintOptions to name
 17536        Send Destroy of hoPrintOptions
 17537    End_Procedure
 17538    
 17539    Function ComPrinterName Returns String
 17540        Handle hoPrintOptions
 17541        Variant vPrintOptions
 17542        String name
 17543
 17544        Get ComPrintOptions to vPrintOptions
 17545        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17546        Set pvComObject of hoPrintOptions to vPrintOptions
 17547        
 17548        Get ComPrinterName of hoPrintOptions to name
 17549        Send Destroy of hoPrintOptions
 17550        Function_Return name
 17551    End_Function
 17552    
 17553    Procedure Set ComBottomMargin Integer margin
 17554        Handle hoPageMargins hoPrintOptions
 17555        Variant vPageMargins vPrintOptions
 17556
 17557        Get ComPrintOptions to vPrintOptions
 17558        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17559        Set pvComObject of hoPrintOptions to vPrintOptions
 17560        
 17561        Get ComPageMargins of hoPrintOptions to vPageMargins
 17562        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17563        Set pvComObject of hoPageMargins to vPageMargins
 17564        
 17565        Set ComBottomMargin of hoPageMargins to margin
 17566        Send ComApplyPageMargins to hoPrintOptions (pvComObject(hoPageMargins))
 17567        
 17568        Send Destroy of hoPageMargins
 17569        Send Destroy of hoPrintOptions
 17570    End_Procedure
 17571
 17572    Function ComBottomMargin Returns Integer
 17573        Handle hoPageMargins hoPrintOptions
 17574        Variant vPageMargins vPrintOptions
 17575        Integer margin
 17576
 17577        Get ComPrintOptions to vPrintOptions
 17578        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17579        Set pvComObject of hoPrintOptions to vPrintOptions
 17580        
 17581        Get ComPageMargins of hoPrintOptions to vPageMargins
 17582        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17583        Set pvComObject of hoPageMargins to vPageMargins
 17584        
 17585        Get ComBottomMargin of hoPageMargins to margin
 17586        Send Destroy of hoPageMargins
 17587        Send Destroy of hoPrintOptions
 17588        
 17589        Function_Return margin
 17590    End_Procedure
 17591    
 17592    Procedure Set ComLeftMargin Integer margin
 17593        Handle hoPageMargins hoPrintOptions
 17594        Variant vPageMargins vPrintOptions
 17595
 17596        Get ComPrintOptions to vPrintOptions
 17597        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17598        Set pvComObject of hoPrintOptions to vPrintOptions
 17599        
 17600        Get ComPageMargins of hoPrintOptions to vPageMargins
 17601        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17602        Set pvComObject of hoPageMargins to vPageMargins
 17603        
 17604        Set ComLeftMargin of hoPageMargins to margin
 17605        Send ComApplyPageMargins to hoPrintOptions (pvComObject(hoPageMargins))
 17606        
 17607        Send Destroy of hoPageMargins
 17608        Send Destroy of hoPrintOptions
 17609    End_Procedure
 17610    
 17611    Function ComLeftMargin Returns Integer
 17612        Handle hoPageMargins hoPrintOptions
 17613        Variant vPageMargins vPrintOptions
 17614        Integer margin
 17615
 17616        Get ComPrintOptions to vPrintOptions
 17617        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17618        Set pvComObject of hoPrintOptions to vPrintOptions
 17619        
 17620        Get ComPageMargins of hoPrintOptions to vPageMargins
 17621        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17622        Set pvComObject of hoPageMargins to vPageMargins
 17623        
 17624        Get ComLeftMargin of hoPageMargins to margin
 17625        Send Destroy of hoPageMargins
 17626        Send Destroy of hoPrintOptions
 17627        
 17628        Function_Return margin
 17629    End_Procedure
 17630
 17631    Procedure Set ComRightMargin Integer margin
 17632        Handle hoPageMargins hoPrintOptions
 17633        Variant vPageMargins vPrintOptions
 17634
 17635        Get ComPrintOptions to vPrintOptions
 17636        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17637        Set pvComObject of hoPrintOptions to vPrintOptions
 17638        
 17639        Get ComPageMargins of hoPrintOptions to vPageMargins
 17640        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17641        Set pvComObject of hoPageMargins to vPageMargins
 17642        
 17643        Set ComRightMargin of hoPageMargins to margin
 17644        Send ComApplyPageMargins to hoPrintOptions (pvComObject(hoPageMargins))
 17645        
 17646        Send Destroy of hoPageMargins
 17647        Send Destroy of hoPrintOptions
 17648    End_Procedure
 17649
 17650    Function ComRightMargin Returns Integer
 17651        Handle hoPageMargins hoPrintOptions
 17652        Variant vPageMargins vPrintOptions
 17653        Integer margin
 17654
 17655        Get ComPrintOptions to vPrintOptions
 17656        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17657        Set pvComObject of hoPrintOptions to vPrintOptions
 17658        
 17659        Get ComPageMargins of hoPrintOptions to vPageMargins
 17660        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17661        Set pvComObject of hoPageMargins to vPageMargins
 17662        
 17663        Get ComRightMargin of hoPageMargins to margin
 17664        Send Destroy of hoPageMargins
 17665        Send Destroy of hoPrintOptions
 17666        
 17667        Function_Return margin
 17668    End_Procedure
 17669    
 17670    Procedure Set ComTopMargin Integer margin
 17671        Handle hoPageMargins hoPrintOptions
 17672        Variant vPageMargins vPrintOptions
 17673
 17674        Get ComPrintOptions to vPrintOptions
 17675        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17676        Set pvComObject of hoPrintOptions to vPrintOptions
 17677        
 17678        Get ComPageMargins of hoPrintOptions to vPageMargins
 17679        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17680        Set pvComObject of hoPageMargins to vPageMargins
 17681        
 17682        Set ComTopMargin of hoPageMargins to margin
 17683        Send ComApplyPageMargins to hoPrintOptions (pvComObject(hoPageMargins))
 17684        
 17685        Send Destroy of hoPageMargins
 17686        Send Destroy of hoPrintOptions
 17687    End_Procedure
 17688
 17689    Function ComTopMargin Returns Integer
 17690        Handle hoPageMargins hoPrintOptions
 17691        Variant vPageMargins vPrintOptions
 17692        Integer margin
 17693
 17694        Get ComPrintOptions to vPrintOptions
 17695        Get Create U_cFlex2CrystalPrintOptions to hoPrintOptions
 17696        Set pvComObject of hoPrintOptions to vPrintOptions
 17697        
 17698        Get ComPageMargins of hoPrintOptions to vPageMargins
 17699        Get Create U_cFlex2CrystalPageMargins to hoPageMargins
 17700        Set pvComObject of hoPageMargins to vPageMargins
 17701        
 17702        Get ComTopMargin of hoPageMargins to margin
 17703        Send Destroy of hoPageMargins
 17704        Send Destroy of hoPrintOptions
 17705        
 17706        Function_Return margin
 17707    End_Procedure
 17708    
 17709    Function ComAreas Returns Variant
 17710        Variant vReportDefinition vAreas
 17711        Handle hoReportDefinition
 17712        
 17713        Get ComReportDefinition to vReportDefinition
 17714        Get Create U_cFlex2CrystalReportDefinition to hoReportDefinition
 17715        Set pvComObject of hoReportDefinition to vReportDefinition
 17716        
 17717        Get ComAreas of hoReportDefinition to vAreas
 17718        Send Destroy of hoReportDefinition
 17719        
 17720        Function_Return vAreas
 17721    End_Function
 17722    
 17723    Procedure Set ComFormulaSyntax Integer value
 17724//        If (pbForceCompatible(Self)) Procedure_Return
 17725    End_Procedure
 17726    
 17727    Function ComFormulaSyntax Returns Integer
 17728        Function_Return crCrystalSyntaxFormula
 17729    End_Function
 17730    
 17731    Procedure Set ComKeywordsInReport String value
 17732        Variant vSummaryInfo
 17733        Handle hoSummaryInfo
 17734        
 17735        Get ComSummaryInfo to vSummaryInfo
 17736        Get Create U_cFlex2CrystalSummaryInfo to hoSummaryInfo
 17737        Set pvComObject of hoSummaryInfo to vSummaryInfo
 17738        
 17739        Set ComKeywordsInReport of hoSummaryInfo to value
 17740        Send Destroy of hoSummaryInfo
 17741    End_Procedure
 17742
 17743    Procedure Set ComReportAuthor String value
 17744        Variant vSummaryInfo
 17745        Handle hoSummaryInfo
 17746        
 17747        Get ComSummaryInfo to vSummaryInfo
 17748        Get Create U_cFlex2CrystalSummaryInfo to hoSummaryInfo
 17749        Set pvComObject of hoSummaryInfo to vSummaryInfo
 17750        
 17751        Set ComReportAuthor of hoSummaryInfo to value
 17752        Send Destroy of hoSummaryInfo
 17753    End_Procedure
 17754    
 17755    Procedure Set ComReportComments String value
 17756        Variant vSummaryInfo
 17757        Handle hoSummaryInfo
 17758        
 17759        Get ComSummaryInfo to vSummaryInfo
 17760        Get Create U_cFlex2CrystalSummaryInfo to hoSummaryInfo
 17761        Set pvComObject of hoSummaryInfo to vSummaryInfo
 17762        
 17763        Set ComReportComments of hoSummaryInfo to value
 17764        Send Destroy of hoSummaryInfo
 17765    End_Procedure
 17766    
 17767    Procedure Set ComReportSubject String value
 17768        Variant vSummaryInfo
 17769        Handle hoSummaryInfo
 17770        
 17771        Get ComSummaryInfo to vSummaryInfo
 17772        Get Create U_cFlex2CrystalSummaryInfo to hoSummaryInfo
 17773        Set pvComObject of hoSummaryInfo to vSummaryInfo
 17774        
 17775        Set ComReportSubject of hoSummaryInfo to value
 17776        Send Destroy of hoSummaryInfo
 17777    End_Procedure
 17778    
 17779    
 17780    Procedure Set ComReportTitle String value
 17781        Variant vSummaryInfo
 17782        Handle hoSummaryInfo
 17783        
 17784        Get ComSummaryInfo to vSummaryInfo
 17785        Get Create U_cFlex2CrystalSummaryInfo to hoSummaryInfo
 17786        Set pvComObject of hoSummaryInfo to vSummaryInfo
 17787        
 17788        Set ComReportTitle of hoSummaryInfo to value
 17789        Send Destroy of hoSummaryInfo
 17790    End_Procedure
 17791    
 17792    Function ComReportTitle Returns String
 17793        Variant vSummaryInfo
 17794        Handle hoSummaryInfo
 17795        String value
 17796        
 17797        Get ComSummaryInfo to vSummaryInfo
 17798        Get Create U_cFlex2CrystalSummaryInfo to hoSummaryInfo
 17799        Set pvComObject of hoSummaryInfo to vSummaryInfo
 17800        
 17801        Get ComReportTitle of hoSummaryInfo to value
 17802        Send Destroy of hoSummaryInfo
 17803        
 17804        Function_Return value
 17805    End_Function
 17806    
 17807    Function ComGroupNameFields Returns Variant
 17808        Variant vGroupNameFields
 17809        Handle hoGroupNameFields hoDataDefinition
 17810        
 17811        Get DataDefinitionObject to hoDataDefinition
 17812        Get ComGroupNameFields of hoDataDefinition to vGroupNameFields
 17813        
 17814        Function_Return vGroupNameFields
 17815    End_Function
 17816    
 17817    // Default Properties
 17818
 17819    
 17820    Function ComDatabase Returns Variant
 17821        Handle hDispatchDriver
 17822        Variant retVal
 17823        Get phDispatchDriver to hDispatchDriver
 17824        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_DISPATCH to retVal
 17825        Function_Return retVal
 17826    End_Function
 17827
 17828    
 17829    Function ComDataDefinition Returns Variant
 17830        Handle hDispatchDriver
 17831        Variant retVal
 17832        Get phDispatchDriver to hDispatchDriver
 17833        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_DISPATCH to retVal
 17834        Function_Return retVal
 17835    End_Function
 17836
 17837    
 17838    Function ComDataSourceConnections Returns Variant
 17839        Handle hDispatchDriver
 17840        Variant retVal
 17841        Get phDispatchDriver to hDispatchDriver
 17842        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_DISPATCH to retVal
 17843        Function_Return retVal
 17844    End_Function
 17845
 17846    
 17847    Function ComDefaultXmlExportSelection Returns Integer
 17848        Handle hDispatchDriver
 17849        Integer retVal
 17850        Get phDispatchDriver to hDispatchDriver
 17851        Get InvokeComMethod of hDispatchDriver 5 OLE_VT_I4 to retVal
 17852        Function_Return retVal
 17853    End_Function
 17854
 17855    
 17856    Function ComExportOptions Returns Variant
 17857        Handle hDispatchDriver
 17858        Variant retVal
 17859        Get phDispatchDriver to hDispatchDriver
 17860        Get InvokeComMethod of hDispatchDriver 6 OLE_VT_DISPATCH to retVal
 17861        Function_Return retVal
 17862    End_Function
 17863
 17864    
 17865    Function ComFileName Returns String
 17866        Handle hDispatchDriver
 17867        String retVal
 17868        Get phDispatchDriver to hDispatchDriver
 17869        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_BSTR to retVal
 17870        Function_Return retVal
 17871    End_Function
 17872
 17873    
 17874    Procedure Set ComFileName String value
 17875        Handle hDispatchDriver
 17876        Get phDispatchDriver to hDispatchDriver
 17877        Send PrepareParams to hDispatchDriver 1
 17878        Set ComProperty of hDispatchDriver 7 OLE_VT_BSTR to value
 17879    End_Procedure
 17880
 17881    
 17882    Function ComFilePath Returns String
 17883        Handle hDispatchDriver
 17884        String retVal
 17885        Get phDispatchDriver to hDispatchDriver
 17886        Get InvokeComMethod of hDispatchDriver 8 OLE_VT_BSTR to retVal
 17887        Function_Return retVal
 17888    End_Function
 17889
 17890    
 17891    Function ComFormatEngine Returns Variant
 17892        Handle hDispatchDriver
 17893        Variant retVal
 17894        Get phDispatchDriver to hDispatchDriver
 17895        Get InvokeComMethod of hDispatchDriver 9 OLE_VT_DISPATCH to retVal
 17896        Function_Return retVal
 17897    End_Function
 17898
 17899    
 17900    Function ComHasRecords Returns Boolean
 17901        Handle hDispatchDriver
 17902        Boolean retVal
 17903        Get phDispatchDriver to hDispatchDriver
 17904        Get InvokeComMethod of hDispatchDriver 10 OLE_VT_BOOL to retVal
 17905        Function_Return retVal
 17906    End_Function
 17907
 17908    
 17909    Function ComHasSavedData Returns Boolean
 17910        Handle hDispatchDriver
 17911        Boolean retVal
 17912        Get phDispatchDriver to hDispatchDriver
 17913        Get InvokeComMethod of hDispatchDriver 11 OLE_VT_BOOL to retVal
 17914        Function_Return retVal
 17915    End_Function
 17916
 17917    
 17918    Function ComIsLoaded Returns Boolean
 17919        Handle hDispatchDriver
 17920        Boolean retVal
 17921        Get phDispatchDriver to hDispatchDriver
 17922        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
 17923        Function_Return retVal
 17924    End_Function
 17925
 17926    
 17927    Function ComIsRPTR Returns Boolean
 17928        Handle hDispatchDriver
 17929        Boolean retVal
 17930        Get phDispatchDriver to hDispatchDriver
 17931        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
 17932        Function_Return retVal
 17933    End_Function
 17934
 17935    
 17936    Function ComIsSubreport Returns Boolean
 17937        Handle hDispatchDriver
 17938        Boolean retVal
 17939        Get phDispatchDriver to hDispatchDriver
 17940        Get InvokeComMethod of hDispatchDriver 14 OLE_VT_BOOL to retVal
 17941        Function_Return retVal
 17942    End_Function
 17943
 17944    
 17945    Function ComName Returns String
 17946        Handle hDispatchDriver
 17947        String retVal
 17948        Get phDispatchDriver to hDispatchDriver
 17949        Get InvokeComMethod of hDispatchDriver 15 OLE_VT_BSTR to retVal
 17950        Function_Return retVal
 17951    End_Function
 17952
 17953    
 17954    Function ComParameterFields Returns Variant
 17955        Handle hDispatchDriver
 17956        Variant retVal
 17957        Get phDispatchDriver to hDispatchDriver
 17958        Get InvokeComMethod of hDispatchDriver 16 OLE_VT_DISPATCH to retVal
 17959        Function_Return retVal
 17960    End_Function
 17961
 17962    
 17963    Function ComPrintOptions Returns Variant
 17964        Handle hDispatchDriver
 17965        Variant retVal
 17966        Get phDispatchDriver to hDispatchDriver
 17967        Get InvokeComMethod of hDispatchDriver 17 OLE_VT_DISPATCH to retVal
 17968        Function_Return retVal
 17969    End_Function
 17970
 17971    
 17972    Function ComRecordSelectionFormula Returns String
 17973        Handle hDispatchDriver
 17974        String retVal
 17975        Get phDispatchDriver to hDispatchDriver
 17976        Get InvokeComMethod of hDispatchDriver 18 OLE_VT_BSTR to retVal
 17977        Function_Return retVal
 17978    End_Function
 17979
 17980    
 17981    Procedure Set ComRecordSelectionFormula String value
 17982        Handle hDispatchDriver
 17983        Get phDispatchDriver to hDispatchDriver
 17984        Send PrepareParams to hDispatchDriver 1
 17985        Set ComProperty of hDispatchDriver 18 OLE_VT_BSTR to value
 17986    End_Procedure
 17987
 17988    
 17989    Function ComReportAppServer Returns String
 17990        Handle hDispatchDriver
 17991        String retVal
 17992        Get phDispatchDriver to hDispatchDriver
 17993        Get InvokeComMethod of hDispatchDriver 19 OLE_VT_BSTR to retVal
 17994        Function_Return retVal
 17995    End_Function
 17996
 17997    
 17998    Procedure Set ComReportAppServer String value
 17999        Handle hDispatchDriver
 18000        Get phDispatchDriver to hDispatchDriver
 18001        Send PrepareParams to hDispatchDriver 1
 18002        Set ComProperty of hDispatchDriver 19 OLE_VT_BSTR to value
 18003    End_Procedure
 18004
 18005    
 18006    Function ComReportClientDocument Returns Variant
 18007        Handle hDispatchDriver
 18008        Variant retVal
 18009        Get phDispatchDriver to hDispatchDriver
 18010        Get InvokeComMethod of hDispatchDriver 20 OLE_VT_DISPATCH to retVal
 18011        Function_Return retVal
 18012    End_Function
 18013
 18014    
 18015    Function ComReportDefinition Returns Variant
 18016        Handle hDispatchDriver
 18017        Variant retVal
 18018        Get phDispatchDriver to hDispatchDriver
 18019        Get InvokeComMethod of hDispatchDriver 21 OLE_VT_DISPATCH to retVal
 18020        Function_Return retVal
 18021    End_Function
 18022
 18023    
 18024    Function ComReportOptions Returns Variant
 18025        Handle hDispatchDriver
 18026        Variant retVal
 18027        Get phDispatchDriver to hDispatchDriver
 18028        Get InvokeComMethod of hDispatchDriver 22 OLE_VT_DISPATCH to retVal
 18029        Function_Return retVal
 18030    End_Function
 18031
 18032    
 18033    Function ComReportRequestStatus Returns Variant
 18034        Handle hDispatchDriver
 18035        Variant retVal
 18036        Get phDispatchDriver to hDispatchDriver
 18037        Get InvokeComMethod of hDispatchDriver 23 OLE_VT_DISPATCH to retVal
 18038        Function_Return retVal
 18039    End_Function
 18040
 18041    
 18042    Function ComReportSource Returns Variant
 18043        Handle hDispatchDriver
 18044        Variant retVal
 18045        Get phDispatchDriver to hDispatchDriver
 18046        Get InvokeComMethod of hDispatchDriver 24 OLE_VT_DISPATCH to retVal
 18047        Function_Return retVal
 18048    End_Function
 18049
 18050    
 18051    Function ComRows Returns Variant
 18052        Handle hDispatchDriver
 18053        Variant retVal
 18054        Get phDispatchDriver to hDispatchDriver
 18055        Get InvokeComMethod of hDispatchDriver 25 OLE_VT_DISPATCH to retVal
 18056        Function_Return retVal
 18057    End_Function
 18058
 18059    
 18060    Function ComSavedXmlExportFormats Returns Variant
 18061        Handle hDispatchDriver
 18062        Variant retVal
 18063        Get phDispatchDriver to hDispatchDriver
 18064        Get InvokeComMethod of hDispatchDriver 26 OLE_VT_DISPATCH to retVal
 18065        Function_Return retVal
 18066    End_Function
 18067
 18068    
 18069    Function ComSubreports Returns Variant
 18070        Handle hDispatchDriver
 18071        Variant retVal
 18072        Get phDispatchDriver to hDispatchDriver
 18073        Get InvokeComMethod of hDispatchDriver 28 OLE_VT_DISPATCH to retVal
 18074        Function_Return retVal
 18075    End_Function
 18076
 18077    
 18078    Function ComSummaryInfo Returns Variant
 18079        Handle hDispatchDriver
 18080        Variant retVal
 18081        Get phDispatchDriver to hDispatchDriver
 18082        Get InvokeComMethod of hDispatchDriver 29 OLE_VT_DISPATCH to retVal
 18083        Function_Return retVal
 18084    End_Function
 18085
 18086    
 18087    Function ComUriIsUserEditable Returns Boolean
 18088        Handle hDispatchDriver
 18089        Boolean retVal
 18090        Get phDispatchDriver to hDispatchDriver
 18091        Get InvokeComMethod of hDispatchDriver 30 OLE_VT_BOOL to retVal
 18092        Function_Return retVal
 18093    End_Function
 18094
 18095    
 18096    Procedure Set ComUriIsUserEditable Boolean value
 18097        Handle hDispatchDriver
 18098        Get phDispatchDriver to hDispatchDriver
 18099        Send PrepareParams to hDispatchDriver 1
 18100        Set ComProperty of hDispatchDriver 30 OLE_VT_BOOL to value
 18101    End_Procedure
 18102
 18103    Function ComClone Returns Variant
 18104        Handle hDispatchDriver
 18105        Variant retVal
 18106        Get phDispatchDriver to hDispatchDriver
 18107        Get InvokeComMethod of hDispatchDriver 31 OLE_VT_VARIANT to retVal
 18108        Function_Return retVal
 18109    End_Function
 18110
 18111    Procedure ComClose
 18112        Handle hDispatchDriver
 18113        Get phDispatchDriver to hDispatchDriver
 18114        Send InvokeComMethod to hDispatchDriver 32 OLE_VT_VOID
 18115    End_Procedure
 18116
 18117    Function ComDecUseCount Returns Integer
 18118        Handle hDispatchDriver
 18119        Integer retVal
 18120        Get phDispatchDriver to hDispatchDriver
 18121        Get InvokeComMethod of hDispatchDriver 34 OLE_VT_I4 to retVal
 18122        Function_Return retVal
 18123    End_Function
 18124
 18125    Procedure ComDispose
 18126        Handle hDispatchDriver
 18127        Get phDispatchDriver to hDispatchDriver
 18128        Send InvokeComMethod to hDispatchDriver 35 OLE_VT_VOID
 18129    End_Procedure
 18130
 18131    Procedure ComEnableEvent Variant lleventEnabledArgs
 18132        Handle hDispatchDriver
 18133        Get phDispatchDriver to hDispatchDriver
 18134        Send PrepareParams to hDispatchDriver 1
 18135        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lleventEnabledArgs
 18136        Send InvokeComMethod to hDispatchDriver 36 OLE_VT_VOID
 18137    End_Procedure
 18138
 18139    Function ComEquals Variant llobj Returns Boolean
 18140        Handle hDispatchDriver
 18141        Boolean retVal
 18142        Get phDispatchDriver to hDispatchDriver
 18143        Send PrepareParams to hDispatchDriver 1
 18144        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llobj
 18145        Get InvokeComMethod of hDispatchDriver 37 OLE_VT_BOOL to retVal
 18146        Function_Return retVal
 18147    End_Function
 18148
 18149//    Procedure ComExport
 18150//        Handle hDispatchDriver
 18151//        Get phDispatchDriver to hDispatchDriver
 18152//        Send InvokeComMethod to hDispatchDriver 38 OLE_VT_VOID
 18153//    End_Procedure
 18154//
 18155//    Procedure ComExport_2 Variant llOptions
 18156//        Handle hDispatchDriver
 18157//        Get phDispatchDriver to hDispatchDriver
 18158//        Send PrepareParams to hDispatchDriver 1
 18159//        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llOptions
 18160//        Send InvokeComMethod to hDispatchDriver 39 OLE_VT_VOID
 18161//    End_Procedure
 18162
 18163    Procedure ComExportToDisk OLEF2CExportFormatType llformatType String llFileName
 18164        Handle hDispatchDriver
 18165        Get phDispatchDriver to hDispatchDriver
 18166        Send PrepareParams to hDispatchDriver 2
 18167        Send DefineParam to hDispatchDriver OLE_VT_I4 llformatType
 18168        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
 18169        Send InvokeComMethod to hDispatchDriver 40 OLE_VT_VOID
 18170    End_Procedure
 18171
 18172    Function ComGetClassName Returns String
 18173        Handle hDispatchDriver
 18174        String retVal
 18175        Get phDispatchDriver to hDispatchDriver
 18176        Get InvokeComMethod of hDispatchDriver 45 OLE_VT_BSTR to retVal
 18177        Function_Return retVal
 18178    End_Function
 18179
 18180    Function ComGetComponentName Returns String
 18181        Handle hDispatchDriver
 18182        String retVal
 18183        Get phDispatchDriver to hDispatchDriver
 18184        Get InvokeComMethod of hDispatchDriver 46 OLE_VT_BSTR to retVal
 18185        Function_Return retVal
 18186    End_Function
 18187
 18188    Function ComGetHashCode Returns Integer
 18189        Handle hDispatchDriver
 18190        Integer retVal
 18191        Get phDispatchDriver to hDispatchDriver
 18192        Get InvokeComMethod of hDispatchDriver 53 OLE_VT_I4 to retVal
 18193        Function_Return retVal
 18194    End_Function
 18195
 18196    Function ComIncUseCount Returns Integer
 18197        Handle hDispatchDriver
 18198        Integer retVal
 18199        Get phDispatchDriver to hDispatchDriver
 18200        Get InvokeComMethod of hDispatchDriver 59 OLE_VT_I4 to retVal
 18201        Function_Return retVal
 18202    End_Function
 18203
 18204    Procedure ComLoad String llFileName
 18205        Handle hDispatchDriver
 18206        Get phDispatchDriver to hDispatchDriver
 18207        Send PrepareParams to hDispatchDriver 1
 18208        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
 18209        Send InvokeComMethod to hDispatchDriver 60 OLE_VT_VOID
 18210    End_Procedure
 18211
 18212    Procedure ComLoad_2 String llFileName OLEF2COpenReportMethod llopenMethod
 18213        Handle hDispatchDriver
 18214        Get phDispatchDriver to hDispatchDriver
 18215        Send PrepareParams to hDispatchDriver 2
 18216        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
 18217        Send DefineParam to hDispatchDriver OLE_VT_I4 llopenMethod
 18218        Send InvokeComMethod to hDispatchDriver 61 OLE_VT_VOID
 18219    End_Procedure
 18220
 18221    Procedure ComLoad_3 String llFileName String llReportAppServer
 18222        Handle hDispatchDriver
 18223        Get phDispatchDriver to hDispatchDriver
 18224        Send PrepareParams to hDispatchDriver 2
 18225        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
 18226        Send DefineParam to hDispatchDriver OLE_VT_BSTR llReportAppServer
 18227        Send InvokeComMethod to hDispatchDriver 62 OLE_VT_VOID
 18228    End_Procedure
 18229
 18230    Function ComOpenSubreport String llSubreportName Returns Variant
 18231        Handle hDispatchDriver
 18232        Variant retVal
 18233        Get phDispatchDriver to hDispatchDriver
 18234        Send PrepareParams to hDispatchDriver 1
 18235        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSubreportName
 18236        Get InvokeComMethod of hDispatchDriver 63 OLE_VT_DISPATCH to retVal
 18237        Function_Return retVal
 18238    End_Function
 18239
 18240    Procedure ComPrintToPrinter Integer llnCopies Boolean llCollated Integer llstartPageN Integer llendPageN
 18241        Handle hDispatchDriver
 18242        Get phDispatchDriver to hDispatchDriver
 18243        Send PrepareParams to hDispatchDriver 4
 18244        Send DefineParam to hDispatchDriver OLE_VT_I4 llnCopies
 18245        Send DefineParam to hDispatchDriver OLE_VT_BOOL llCollated
 18246        Send DefineParam to hDispatchDriver OLE_VT_I4 llstartPageN
 18247        Send DefineParam to hDispatchDriver OLE_VT_I4 llendPageN
 18248        Send InvokeComMethod to hDispatchDriver 64 OLE_VT_VOID
 18249    End_Procedure
 18250
 18251    Procedure ComPrintToPrinter_2 Variant llPrinterSettings Variant llPageSettings Boolean llreformatReportPageSettings
 18252        Handle hDispatchDriver
 18253        Get phDispatchDriver to hDispatchDriver
 18254        Send PrepareParams to hDispatchDriver 3
 18255        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llPrinterSettings
 18256        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llPageSettings
 18257        Send DefineParam to hDispatchDriver OLE_VT_BOOL llreformatReportPageSettings
 18258        Send InvokeComMethod to hDispatchDriver 65 OLE_VT_VOID
 18259    End_Procedure
 18260
 18261    Procedure ComPrintToPrinter_3 Variant llPrinterSettings Variant llPageSettings Boolean llreformatReportPageSettings Variant lllayoutSettings
 18262        Handle hDispatchDriver
 18263        Get phDispatchDriver to hDispatchDriver
 18264        Send PrepareParams to hDispatchDriver 4
 18265        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llPrinterSettings
 18266        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llPageSettings
 18267        Send DefineParam to hDispatchDriver OLE_VT_BOOL llreformatReportPageSettings
 18268        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH lllayoutSettings
 18269        Send InvokeComMethod to hDispatchDriver 66 OLE_VT_VOID
 18270    End_Procedure
 18271
 18272    Procedure ComReadRecords
 18273        Handle hDispatchDriver
 18274        Get phDispatchDriver to hDispatchDriver
 18275        Send InvokeComMethod to hDispatchDriver 67 OLE_VT_VOID
 18276    End_Procedure
 18277
 18278    Procedure ComRefresh
 18279        Handle hDispatchDriver
 18280        Get phDispatchDriver to hDispatchDriver
 18281        Send InvokeComMethod to hDispatchDriver 68 OLE_VT_VOID
 18282    End_Procedure
 18283
 18284    Procedure ComSaveAs String llFileName
 18285        Handle hDispatchDriver
 18286        Get phDispatchDriver to hDispatchDriver
 18287        Send PrepareParams to hDispatchDriver 1
 18288        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
 18289        Send InvokeComMethod to hDispatchDriver 69 OLE_VT_VOID
 18290    End_Procedure
 18291
 18292    Procedure ComSaveAs_2 String llFileName Boolean llsaveDataWithReport
 18293        Handle hDispatchDriver
 18294        Get phDispatchDriver to hDispatchDriver
 18295        Send PrepareParams to hDispatchDriver 2
 18296        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
 18297        Send DefineParam to hDispatchDriver OLE_VT_BOOL llsaveDataWithReport
 18298        Send InvokeComMethod to hDispatchDriver 70 OLE_VT_VOID
 18299    End_Procedure
 18300
 18301    Procedure ComSaveAs_3 String llFileName OLEF2CReportFileFormat llfileFormat
 18302        Handle hDispatchDriver
 18303        Get phDispatchDriver to hDispatchDriver
 18304        Send PrepareParams to hDispatchDriver 2
 18305        Send DefineParam to hDispatchDriver OLE_VT_BSTR llFileName
 18306        Send DefineParam to hDispatchDriver OLE_VT_I4 llfileFormat
 18307        Send InvokeComMethod to hDispatchDriver 71 OLE_VT_VOID
 18308    End_Procedure
 18309
 18310    Procedure ComSetCssClass OLEF2CObjectScope llobjectScope String llCssClass
 18311        Handle hDispatchDriver
 18312        Get phDispatchDriver to hDispatchDriver
 18313        Send PrepareParams to hDispatchDriver 2
 18314        Send DefineParam to hDispatchDriver OLE_VT_I4 llobjectScope
 18315        Send DefineParam to hDispatchDriver OLE_VT_BSTR llCssClass
 18316        Send InvokeComMethod to hDispatchDriver 72 OLE_VT_VOID
 18317    End_Procedure
 18318
 18319    Procedure ComSetDatabaseLogon String lluser String llPassword
 18320        Handle hDispatchDriver
 18321        Get phDispatchDriver to hDispatchDriver
 18322        Send PrepareParams to hDispatchDriver 2
 18323        Send DefineParam to hDispatchDriver OLE_VT_BSTR lluser
 18324        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
 18325        Send InvokeComMethod to hDispatchDriver 73 OLE_VT_VOID
 18326    End_Procedure
 18327
 18328    Procedure ComSetDatabaseLogon_2 String lluser String llPassword String llserver String llDatabase
 18329        Handle hDispatchDriver
 18330        Get phDispatchDriver to hDispatchDriver
 18331        Send PrepareParams to hDispatchDriver 4
 18332        Send DefineParam to hDispatchDriver OLE_VT_BSTR lluser
 18333        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
 18334        Send DefineParam to hDispatchDriver OLE_VT_BSTR llserver
 18335        Send DefineParam to hDispatchDriver OLE_VT_BSTR llDatabase
 18336        Send InvokeComMethod to hDispatchDriver 74 OLE_VT_VOID
 18337    End_Procedure
 18338
 18339    Procedure ComSetDatabaseLogon_3 String lluser String llPassword String llserver String llDatabase Boolean llignoreCase
 18340        Handle hDispatchDriver
 18341        Get phDispatchDriver to hDispatchDriver
 18342        Send PrepareParams to hDispatchDriver 5
 18343        Send DefineParam to hDispatchDriver OLE_VT_BSTR lluser
 18344        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPassword
 18345        Send DefineParam to hDispatchDriver OLE_VT_BSTR llserver
 18346        Send DefineParam to hDispatchDriver OLE_VT_BSTR llDatabase
 18347        Send DefineParam to hDispatchDriver OLE_VT_BOOL llignoreCase
 18348        Send InvokeComMethod to hDispatchDriver 75 OLE_VT_VOID
 18349    End_Procedure
 18350
 18351    Procedure ComSetDataSource_5 Variant lldataSet
 18352        Handle hDispatchDriver
 18353        Get phDispatchDriver to hDispatchDriver
 18354        Send PrepareParams to hDispatchDriver 1
 18355        Send DefineParam to hDispatchDriver OLE_VT_VARIANT lldataSet
 18356        Send InvokeComMethod to hDispatchDriver 80 OLE_VT_VOID
 18357    End_Procedure
 18358
 18359    Procedure ComSetParameterValue Integer llIndex Variant llval
 18360        Handle hDispatchDriver
 18361        Get phDispatchDriver to hDispatchDriver
 18362        Send PrepareParams to hDispatchDriver 2
 18363        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
 18364        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llval
 18365        Send InvokeComMethod to hDispatchDriver 81 OLE_VT_VOID
 18366    End_Procedure
 18367
 18368    Procedure ComSetParameterValue_2 String llName Variant llval
 18369        Handle hDispatchDriver
 18370        Get phDispatchDriver to hDispatchDriver
 18371        Send PrepareParams to hDispatchDriver 2
 18372        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
 18373        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llval
 18374        Send InvokeComMethod to hDispatchDriver 82 OLE_VT_VOID
 18375    End_Procedure
 18376
 18377    Procedure ComSetParameterValue_3 String llName Variant llval String llsubreport
 18378        Handle hDispatchDriver
 18379        Get phDispatchDriver to hDispatchDriver
 18380        Send PrepareParams to hDispatchDriver 3
 18381        Send DefineParam to hDispatchDriver OLE_VT_BSTR llName
 18382        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llval
 18383        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsubreport
 18384        Send InvokeComMethod to hDispatchDriver 83 OLE_VT_VOID
 18385    End_Procedure
 18386
 18387    Procedure ComSetSQLCommandTable Variant llconnInfo String llNewTableName String llsqlString
 18388        Handle hDispatchDriver
 18389        Get phDispatchDriver to hDispatchDriver
 18390        Send PrepareParams to hDispatchDriver 3
 18391        Send DefineParam to hDispatchDriver OLE_VT_DISPATCH llconnInfo
 18392        Send DefineParam to hDispatchDriver OLE_VT_BSTR llNewTableName
 18393        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsqlString
 18394        Send InvokeComMethod to hDispatchDriver 84 OLE_VT_VOID
 18395    End_Procedure
 18396
 18397    
 18398    Function ComToString Returns String
 18399        Handle hDispatchDriver
 18400        String retVal
 18401        Get phDispatchDriver to hDispatchDriver
 18402        Get InvokeComMethod of hDispatchDriver 85 OLE_VT_BSTR to retVal
 18403        Function_Return retVal
 18404    End_Function
 18405
 18406    Procedure ComVerifyDatabase
 18407        Handle hDispatchDriver
 18408        Get phDispatchDriver to hDispatchDriver
 18409        Send InvokeComMethod to hDispatchDriver 86 OLE_VT_VOID
 18410    End_Procedure
 18411
 18412    Procedure ComSetDbConnection String llsConnectionString
 18413        Handle hDispatchDriver
 18414        Get phDispatchDriver to hDispatchDriver
 18415        Send PrepareParams to hDispatchDriver 1
 18416        Send DefineParam to hDispatchDriver OLE_VT_BSTR llsConnectionString
 18417        Send InvokeComMethod to hDispatchDriver 90 OLE_VT_VOID
 18418    End_Procedure
 18419End_Class
 18420
 18421Class cFlex2CrystalIReportEvents is a Mixin
 18422
 18423    
 18424    Procedure OnComAfterFormatPage Integer llPageNumber
 18425    End_Procedure
 18426
 18427    
 18428    Procedure OnComBeforeFormatPage Integer llPageNumber
 18429    End_Procedure
 18430
 18431    
 18432    Procedure OnComDisposed
 18433    End_Procedure
 18434
 18435    
 18436    Procedure OnComFieldMapping Variant[] llDatabaseFieldsMappings Variant[] llReportFieldsMappings
 18437    End_Procedure
 18438
 18439    
 18440    Procedure OnComFormatSection Boolean llIsEndOfGroup Boolean llIsRepeatGroupHeader Boolean llIsStartOfGroup Integer llSectionCode String llSubreportName
 18441    End_Procedure
 18442
 18443    
 18444    Procedure OnComInitReport
 18445    End_Procedure
 18446
 18447    
 18448    Procedure OnComNoData Integer llPageNumber
 18449    End_Procedure
 18450
 18451    
 18452    Procedure OnComRefreshReport
 18453    End_Procedure
 18454
 18455    
 18456    Procedure RegisterComEvents
 18457        Send RegisterComEvent 1 msg_OnComAfterFormatPage
 18458        Send RegisterComEvent 2 msg_OnComBeforeFormatPage
 18459        Send RegisterComEvent 3 msg_OnComDisposed
 18460        Send RegisterComEvent 4 msg_OnComFieldMapping
 18461        Send RegisterComEvent 5 msg_OnComFormatSection
 18462        Send RegisterComEvent 6 msg_OnComInitReport
 18463        Send RegisterComEvent 7 msg_OnComNoData
 18464        Send RegisterComEvent 8 msg_OnComRefreshReport
 18465    End_Procedure
 18466End_Class