GS-Base COM interfaces
	[
		dual,
		helpstring("IXBaseParams Interface"),
		pointer_default(unique)
	]
	interface IXBaseParams : IDispatch
	{
		[propget, id(1), helpstring("property format")] HRESULT format([out, retval] BSTR *pFormat);
		[propput, id(1), helpstring("property format")] HRESULT format([in] BSTR format);

		[propget, id(2), helpstring("property encoding")] HRESULT encoding([out, retval] BSTR *pEncoding);
		[propput, id(2), helpstring("property encoding")] HRESULT encoding([in] BSTR encoding);

		[id(3), helpstring("method GetFieldCount")] HRESULT GetFieldCount([out, retval] int *pCounter);

		[id(4), helpstring("method SetField")] HRESULT SetField([in] int index, [in] BSTR name, [in] BSTR type, [in] int length, [in] int decimals);
		[id(5), helpstring("method AddField")] HRESULT AddField([in] BSTR name, [in] BSTR type, [in] int length, [in] int decimals);
		[id(6), helpstring("method InsertField")] HRESULT InsertField([in] int index, [in] BSTR name, [in] BSTR type, [in] int length, [in] int decimals);

		[id(7), helpstring("method GetFieldName")] HRESULT GetFieldName([in] int index, [out, retval] BSTR *pName);
		[id(8), helpstring("method GetFieldType")] HRESULT GetFieldType([in] int index, [out, retval] BSTR *pType);
		[id(9), helpstring("method GetFieldLength")] HRESULT GetFieldLength([in] int index, [out, retval] int *pLength);
		[id(10), helpstring("method GetFieldDecimals")] HRESULT GetFieldDecimals([in] int index, [out, retval] int *pDecimals);

		[id(11), helpstring("method DeleteField")] HRESULT DeleteField([in] int index);
	};

	[
		dual,
		helpstring("ITextParams Interface"),
		pointer_default(unique)
	]
	interface ITextParams : IDispatch
	{
		[propget, id(1), helpstring("property separator")] HRESULT separator([out, retval] BSTR *pSeparator);
		[propput, id(1), helpstring("property separator")] HRESULT separator([in] BSTR separator);

		[propget, id(2), helpstring("property useSeparator")] HRESULT useSeparator([out, retval] BOOL* pUseSeparator);
		[propput, id(2), helpstring("property useSeparator")] HRESULT useSeparator([in] BOOL useSeparator);

		[propget, id(3), helpstring("property quotingSymbol")] HRESULT quotingSymbol([out, retval] BSTR *pSymbol);
		[propput, id(3), helpstring("property quotingSymbol")] HRESULT quotingSymbol([in] BSTR symbol);

		[propget, id(4), helpstring("property useQuoting")] HRESULT useQuoting([out, retval] BOOL* pUseSymbol);
		[propput, id(4), helpstring("property useQuoting")] HRESULT useQuoting([in] BOOL useSymbol);

		[propget, id(5), helpstring("property encoding")] HRESULT encoding([out, retval] BSTR* pEncoding);
		[propput, id(5), helpstring("property encoding")] HRESULT encoding([in] BSTR encoding);

		[propget, id(6), helpstring("property fieldNames")] HRESULT fieldNames([out, retval] BOOL* pValue);
		[propput, id(6), helpstring("property fieldNames")] HRESULT fieldNames([in] BOOL value);

		[propget, id(7), helpstring("property parseNumbers")] HRESULT parseNumbers([out, retval] BOOL *pValue);
		[propput, id(7), helpstring("property parseNumbers")] HRESULT parseNumbers([in] BOOL value);

		[propget, id(8), helpstring("property parseDates")] HRESULT parseDates([out, retval] BOOL *pValue);
		[propput, id(8), helpstring("property parseDates")] HRESULT parseDates([in] BOOL value);

		[propget, id(9), helpstring("property fixedFieldWidths")] HRESULT fixedFieldWidths([out, retval] BSTR *pColumnWidths);
		[propput, id(9), helpstring("property fixedFieldWidths")] HRESULT fixedFieldWidths([in] BSTR columnWidths);

		[propget, id(10), helpstring("property saveObjectsAsZip")] HRESULT saveObjectsAsZip([out, retval] BOOL *pValue);
		[propput, id(10), helpstring("property saveObjectsAsZip")] HRESULT saveObjectsAsZip([in] BOOL value);

		[propget, id(11), helpstring("property saveLongTextAsZip")] HRESULT saveLongTextAsZip([out, retval] BOOL *pValue);
		[propput, id(11), helpstring("property saveLongTextAsZip")] HRESULT saveLongTextAsZip([in] BOOL value);

		[propget, id(12), helpstring("property autoFitColumns")] HRESULT autoFitColumns([out, retval] BOOL* pValue);
		[propput, id(12), helpstring("property autoFitColumns")] HRESULT autoFitColumns([in] BOOL value);
	};

	[
		dual,
		helpstring("IFormatParams Interface"),
		pointer_default(unique)
	]
	interface IFormatParams : IDispatch
	{
		[id(1), helpstring("method SetGeneralNumberFormat")] HRESULT SetGeneralNumberFormat([in] BSTR decimals, [in] BYTE zeroes, [in] BOOL brackets, [in] BOOL inRed, [in] BOOL separators);
		[id(2), helpstring("method SetCurrencyFormat")] HRESULT SetCurrencyFormat([in] BSTR decimals, [in] BSTR position, [in] BSTR symbol, [in] BOOL brackets, [in] BOOL inRed);
		[id(3), helpstring("method SetAccountingFormat")] HRESULT SetAccountingFormat([in] BSTR decimals, [in] BSTR symbol);
		[id(4), helpstring("method SetDateFormat")] HRESULT SetDateFormat([in] BSTR pattern, [in] BOOL systemOrder);
		[id(5), helpstring("method SetTimeFormat")] HRESULT SetTimeFormat([in] BSTR pattern);
		[id(6), helpstring("method SetDateTimeFormat")] HRESULT SetDateTimeFormat([in] BSTR datePattern, [in] BSTR timePattern, [in] BOOL systemOrder, [in] BOOL timeFirst);
		[id(7), helpstring("method SetPercentFormat")] HRESULT SetPercentFormat([in] BSTR decimals, [in] int scaling);
		[id(8), helpstring("method SetFractionFormat")] HRESULT SetFractionFormat([in] long denominator, [in] BOOL digits);
		[id(9), helpstring("method SetScientificFormat")] HRESULT SetScientificFormat([in] BSTR decimals, [in] BSTR exponent);

		[propget, id(10), helpstring("property fontName")] HRESULT fontName([out, retval] BSTR *pVal);
		[propput, id(10), helpstring("property fontName")] HRESULT fontName([in] BSTR newVal);
		[propget, id(11), helpstring("property fontSize")] HRESULT fontSize([out, retval] int *pVal);
		[propput, id(11), helpstring("property fontSize")] HRESULT fontSize([in] int newVal);

		[propget, id(12), helpstring("property language")] HRESULT language([out, retval] BSTR *pLanguage);
		[propput, id(12), helpstring("property language")] HRESULT language([in] BSTR language);

		[propget, id(13), helpstring("property boldFont")] HRESULT boldFont([out, retval] BOOL *pVal);
		[propput, id(13), helpstring("property boldFont")] HRESULT boldFont([in] BOOL newVal);
		[propget, id(14), helpstring("property italicFont")] HRESULT italicFont([out, retval] BOOL *pVal);
		[propput, id(14), helpstring("property italicFont")] HRESULT italicFont([in] BOOL newVal);
		[propget, id(15), helpstring("property underlineFont")] HRESULT underlineFont([out, retval] BOOL *pVal);
		[propput, id(15), helpstring("property underlineFont")] HRESULT underlineFont([in] BOOL newVal);
		[propget, id(16), helpstring("property strikeoutFont")] HRESULT strikeoutFont([out, retval] BOOL *pVal);
		[propput, id(16), helpstring("property strikeoutFont")] HRESULT strikeoutFont([in] BOOL newVal);
		[propget, id(17), helpstring("property fontColor")] HRESULT fontColor([out, retval] BSTR *pColor);
		[propput, id(17), helpstring("property fontColor")] HRESULT fontColor([in] BSTR color);

		[propget, id(18), helpstring("property horzAlignment")] HRESULT horzAlignment([out, retval] BSTR *pHorzAlign);
		[propput, id(18), helpstring("property horzAlignment")] HRESULT horzAlignment([in] BSTR horzAlign);
		[propget, id(19), helpstring("property vertAlignment")] HRESULT vertAlignment([out, retval] BSTR *pVertAlign);
		[propput, id(19), helpstring("property vertAlignment")] HRESULT vertAlignment([in] BSTR vertAlign);

		[propget, id(20), helpstring("property wrapText")] HRESULT wrapText([out, retval] BOOL *pValue);
		[propput, id(20), helpstring("property wrapText")] HRESULT wrapText([in] BOOL value);

		[propget, id(21), helpstring("property shrinkText")] HRESULT shrinkText([out, retval] BOOL *pValue);
		[propput, id(21), helpstring("property shrinkText")] HRESULT shrinkText([in] BOOL value);

		[id(22), helpstring("method Reset")] HRESULT Reset();
	};

	[
		dual,
		helpstring("IFieldParams Interface"),
		pointer_default(unique)
	]
	interface IFieldParams : IDispatch
	{
		[propput, id(1), helpstring("property field name")] HRESULT name([in] BSTR pVal);
		[propget, id(1), helpstring("property field name")] HRESULT name([out, retval] BSTR* pVal);

		[propput, id(2), helpstring("property field type")] HRESULT type([in] BSTR newVal);
		[propget, id(2), helpstring("property field type")] HRESULT type([out, retval] BSTR *newVal);

		[propput, id(3), helpstring("property field subtype")] HRESULT subtype([in] BSTR stype);
		[propget, id(3), helpstring("property field subtype")] HRESULT subtype([out, retval] BSTR* pStype);

		[propput, id(4), helpstring("property hyperlink")] HRESULT hlink([in] BOOL pVal);
		[propget, id(4), helpstring("property hyperlink")] HRESULT hlink([out, retval] BOOL* pVal);

		[propput, id(5), helpstring("property sortIndex")] HRESULT sortIndex([in] unsigned short newVal);
		[propget, id(5), helpstring("property sortIndex")] HRESULT sortIndex([out, retval] unsigned short* newVal);

		[propput, id(6), helpstring("property sortOrder")] HRESULT sortOrder([in] BSTR order);
		[propget, id(6), helpstring("property sortOrder")] HRESULT sortOrder([out, retval] BSTR* pOrder);

		[propput, id(7), helpstring("property formula")] HRESULT formula([in] BSTR newVal);
		[propget, id(7), helpstring("property formula")] HRESULT formula([out, retval] BSTR* newVal);

		[propput, id(8), helpstring("property formulaType")] HRESULT formulaType([in] unsigned short type);
		[propget, id(8), helpstring("property formulaType")] HRESULT formulaType([out, retval] unsigned short* pType);

		[propput, id(9), helpstring("property filter")] HRESULT filter([in] BSTR newVal);
		[propget, id(9), helpstring("property filter")] HRESULT filter([out, retval] BSTR* newVal);

		[propput, id(10), helpstring("property filterType")] HRESULT filterType([in] int newVal);
		[propget, id(10), helpstring("property filterType")] HRESULT filterType([out, retval] int* newVal);

		[propput, id(11), helpstring("property matchWords")] HRESULT matchWords([in] BOOL pVal);
		[propget, id(11), helpstring("property matchWords")] HRESULT matchWords([out, retval] BOOL* pVal);

		[propput, id(12), helpstring("property matchCase")] HRESULT matchCase([in] BOOL pVal);
		[propget, id(12), helpstring("property matchCase")] HRESULT matchCase([out, retval] BOOL* pVal);

		[id(13), helpstring("method Reset")] HRESULT Reset();
	};

	[
		dual,
		helpstring("IMergeParams Interface"),
		pointer_default(unique)
	]
	interface IMergeParams : IDispatch
	{
		[propput, id(1), helpstring("property path pattern")] HRESULT path([in] BSTR val);
		[propget, id(1), helpstring("property path pattern")] HRESULT path([out, retval] BSTR* val);

		[propput, id(2), helpstring("property table name")] HRESULT table([in] BSTR val);
		[propget, id(2), helpstring("property table name")] HRESULT table([out, retval] BSTR* val);

		[propput, id(3), helpstring("property master field index")] HRESULT masterField([in] int field);
		[propget, id(3), helpstring("property master field index")] HRESULT masterField([out, retval] int* field);

		[propput, id(4), helpstring("property slave field index")] HRESULT slaveField([in] int field);
		[propget, id(4), helpstring("property slave field index")] HRESULT slaveField([out, retval] int* field);

		[propput, id(5), helpstring("property merge type")] HRESULT mergeType([in] int val);
		[propget, id(5), helpstring("property merge type")] HRESULT mergeType([out, retval] int* val);

		[propput, id(6), helpstring("property matchFieldNames")] HRESULT matchFieldNames([in] int val);
		[propget, id(6), helpstring("property matchFieldNames")] HRESULT matchFieldNames([out, retval] int* val);

		[propput, id(7), helpstring("property ignore empty fields")] HRESULT ignoreEmpty([in] BOOL val);
		[propget, id(7), helpstring("property ignore empty fields")] HRESULT ignoreEmpty([out, retval] BOOL* val);

		[propput, id(8), helpstring("property allow undo")] HRESULT enableUndo([in] BOOL val);
		[propget, id(8), helpstring("property allow undo")] HRESULT enableUndo([out, retval] BOOL* val);
	};

	[
		dual,
		helpstring("IApplication Interface"),
		pointer_default(unique)
	]
	interface IApplication : IDispatch
	{
		[id(1), helpstring("method CreateTextParams")] HRESULT CreateTextParams([out, retval] ITextParams** ppTextParams);
		[id(2), helpstring("method CreateXBaseParams")] HRESULT CreateXBaseParams([out, retval] IXBaseParams** ppTextParams);

		[id(3), helpstring("method NewDatabase")] HRESULT NewDatabase([in] BSTR table);
		[id(4), helpstring("method OpenDatabase")] HRESULT OpenDatabase([in] BSTR path, [in] BSTR password);
		[id(5), helpstring("method OpenTextFile")] HRESULT OpenTextFile([in] BSTR path, [in] BOOL showDialogBox, [in] ITextParams* pTextParams);
		[id(6), helpstring("method OpenExcelFile")] HRESULT OpenExcelFile([in] BSTR path, [in] BOOL showDialogBox, [in] int merge, [in] int fnames);
		[id(7), helpstring("method OpenHtmlFile")] HRESULT OpenHtmlFile([in] BSTR path, [in] int fnames);
		[id(8), helpstring("method OpenXBaseFile")] HRESULT OpenXBaseFile([in] BSTR path, [in] BOOL showDialogBox, [in] IXBaseParams* pXBaseParams);
		[id(9), helpstring("method OpenMySQLFile")] HRESULT OpenMySQLFile([in] BSTR path);

		[id(10), helpstring("method Reload")] HRESULT Reload();

		[id(11), helpstring("method SaveRecordSetAs")] HRESULT SaveRecordSetAs([in] BSTR path, [in] BSTR password);
		[id(12), helpstring("method SaveRecordSetAsText")] HRESULT SaveRecordSetAsText([in] BSTR path, [in] ITextParams* params);
		[id(13), helpstring("method SaveRecordSetAsExcel")] HRESULT SaveRecordSetAsExcel([in] BSTR path, [in] int merge, [in] int fnames, [in] int saveZip);
		[id(14), helpstring("method SaveRecordSetAsXBase")] HRESULT SaveRecordSetAsXBase([in] BSTR path, [in] BYTE format, [in] IXBaseParams* params);
		[id(15), helpstring("method SaveRecordSetAsMySQL")] HRESULT SaveRecordSetAsMySQL([in] BSTR path);
		[id(16), helpstring("method SaveRecordSetAsPDF")] HRESULT SaveRecordSetAsPDF([in] BSTR path);

		[id(17), helpstring("method Save")] HRESULT Save();
		[id(18), helpstring("method SaveTextFile")] HRESULT SaveTextFile([in] ITextParams* params);
		[id(19), helpstring("method SaveExcelFile")] HRESULT SaveExcelFile([in] int merge, [in] int fnames, [in] int saveZip);
		[id(20), helpstring("method SaveXBaseFile")] HRESULT SaveXBaseFile([in] IXBaseParams* params);
		[id(21), helpstring("method SaveMySLQFile")] HRESULT SaveMySLQFile();

		[id(22), helpstring("method SaveDatabaseAs")] HRESULT SaveDatabaseAs([in] BSTR path);
		[id(23), helpstring("method SaveDatabaseAsExcel")] HRESULT SaveDatabaseAsExcel([in] BSTR path, [in] int merge, [in] int fnames, [in] int saveZip);
		[id(24), helpstring("method SaveDatabaseAsMySQL")] HRESULT SaveDatabaseAsMySQL([in] BSTR path);

		[id(25), helpstring("method Close")] HRESULT Close();

		[id(26), helpstring("method ImportTable")] HRESULT ImportTable([in] BSTR filePath, [in] BSTR tablePath, [in] BSTR password, [in] BSTR folder, [out, retval] BSTR* uniqueName);
		[id(27), helpstring("method ImportTextTable")] HRESULT ImportTextTable([in] BSTR textFilePath, [in] BSTR tableName, [in] ITextParams* pTextParams, [in] BSTR folder);
		[id(100), helpstring("method ImportExcelTable")] HRESULT ImportExcelTable([in] BSTR textFilePath, [in] BSTR tableName, [in] int fnames, [in] BSTR folder);

		[id(91), helpstring("method CreateMergeParams")] HRESULT CreateMergeParams([out, retval] IMergeParams** ppMergeParams);

		[id(28), helpstring("method MergeTable")] HRESULT MergeTable([in] int masterField, [in] BSTR tablePath, [in] int slaveField, [in] BOOL allowDuplicates);
		[id(29), helpstring("method MergeRecords")] HRESULT MergeRecords([in] IMergeParams* mergeParams);
		[id(92), helpstring("method MergeRecords")] HRESULT MergeRecordsFromTextFile([in] IMergeParams* mergeParams, [in] ITextParams* params);
		[id(93), helpstring("method MergeRecords")] HRESULT MergeRecordsFromExcelFile([in] IMergeParams* mergeParams, [in] int fnames);
		[id(94), helpstring("method MergeRecords")] HRESULT MergeRecordsFromXBaseFile([in] IMergeParams* mergeParams, [in] IXBaseParams* params);
		[id(95), helpstring("method MergeRecords")] HRESULT MergeRecordsFromMySQLFile([in] IMergeParams* mergeParams);

		[id(30), helpstring("method SetActiveTable")] HRESULT SetActiveTable([in] BSTR path);
		[id(31), helpstring("method GetActiveTable")] HRESULT GetActiveTable([out, retval] BSTR* path);

		[id(32), helpstring("method GetRecordCount")] HRESULT GetRecordTotalCount([out, retval] __int64* counter);
		[id(33), helpstring("method GetRecordSetCount")] HRESULT GetRecordSetCount([out, retval] __int64* counter);
		[id(34), helpstring("method GetRecordCount")] HRESULT GetFieldCount([out, retval] unsigned short int* counter);

		[id(35), helpstring("method FindDuplicates")] HRESULT FindDuplicates([in] unsigned short int fieldFrom, [in] unsigned short int fieldTo, [in] BOOL searchAll, [in] BYTE type, [in] BOOL sortResults);
		[id(36), helpstring("method FindUnique")] HRESULT FindUnique([in] unsigned short int fieldFrom, [in] unsigned short int fieldTo, [in] BOOL searchAll, [in] BYTE type, [in] BOOL sortResults, [in] BOOL useCounters, [in] unsigned short int counterIndex);
		[id(37), helpstring("method FindQuartile")] HRESULT FindQuartile([in] unsigned short int field, [in] BOOL searchAll, [in] BOOL statAll, [in] BYTE type);
		[id(38), helpstring("method FindRandom")] HRESULT FindRandom([in] __int64 counter);
		[id(39), helpstring("method FindFlagged")] HRESULT FindFlagged([in] unsigned short int flag);
		[id(40), helpstring("method FindComplement")] HRESULT FindComplement();
		[id(41), helpstring("method FindAll")] HRESULT FindAll();

		[id(42), helpstring("method CreateFieldParams")] HRESULT CreateFieldParams([out, retval] IFieldParams** fieldParams);
		[id(43), helpstring("method GetField")] HRESULT GetField([in] unsigned short field, [in/*out, retval*/] IFieldParams* fieldParams);
		[id(44), helpstring("method SetField")] HRESULT SetField([in] unsigned short field, [in] IFieldParams* fieldParams);
		[id(45), helpstring("method ConvertField")] HRESULT ConvertField([in] unsigned short field, [in] BYTE type);
		[id(46), helpstring("method ResetSorting")] HRESULT ResetSorting();

		[id(47), helpstring("method AppendField")] HRESULT AppendField([in] IFieldParams* fieldParams);
		[id(48), helpstring("method InsertField")] HRESULT InsertField([in] unsigned short field, [in] IFieldParams* fieldParams);
		[id(49), helpstring("method RemoveField")] HRESULT RemoveField([in] unsigned short field);

		[id(50), helpstring("method GetDatabaseItemCount")] HRESULT GetDatabaseItemCount([out, retval] __int64* pCounter);
		[id(51), helpstring("method GetDatabaseItem")] HRESULT GetDatabaseItem([in] __int64 index, [out, retval] BSTR* path);
		[id(52), helpstring("method GetFirstDatabaseItem")] HRESULT GetFirstDatabaseItem([in] BSTR folder, [out, retval] BSTR* name);
		[id(53), helpstring("method GetNextDatabaseItem")] HRESULT GetNextDatabaseItem([in] BSTR prevName, [out, retval] BSTR* nextName);
		[id(54), helpstring("method RenameDatabaseItem")] HRESULT RenameDatabaseItem([in] BSTR path, [in] BSTR name, [out, retval] BSTR* uniqueName);
		[id(55), helpstring("method InsertDatabaseItem")] HRESULT InsertDatabaseItem([in] BSTR folder, [in] BOOL bottom, [in] BSTR name, [out, retval] BSTR* uname);
		[id(56), helpstring("method DeleteDatabaseItem")] HRESULT DeleteDatabaseItem([in] BSTR path);


		[id(57), helpstring("method RemoveRecords")] HRESULT RemoveRecords([in] __int64 recordFrom, [in] __int64 recordTo);
		[id(58), helpstring("method InsertRecords")] HRESULT InsertRecords([in] __int64 recordFrom, [in] __int64 recordTo);
		[id(59), helpstring("method InsertText")] HRESULT InsertText([in] __int64 record, [in] unsigned short field, [in] BSTR text);
		[id(60), helpstring("method GetText")] HRESULT GetText([in] __int64 record, [in] unsigned short field, [out, retval] BSTR* text);
		[id(61), helpstring("method InsertNumber")] HRESULT InsertNumber([in] __int64 record, [in] unsigned short field, [in] double number);
		[id(62), helpstring("method GetNumber")] HRESULT GetNumber([in] __int64 record, [in] unsigned short field, [out, retval] double* number);
		[id(63), helpstring("method ClearField")] HRESULT Clear([in] __int64 record, [in] unsigned short field);
		[id(64), helpstring("method ClearRange")] HRESULT ClearRange([in] __int64 record1, [in] unsigned short field1, [in] __int64 record2, [in] unsigned short field2);

		[id(96), helpstring("method InsertSeries")] HRESULT InsertSeries([in] unsigned short field, [in]__int64 record1, [in] __int64 record2, [in] BOOL copy);
		[id(97), helpstring("method InsertRecurrenceSeries")] HRESULT InsertRecurrenceSeries([in] unsigned short field, [in]__int64 record1, [in] __int64 record2, BSTR formula);
		[id(98), helpstring("method InsertCustomSeries")] HRESULT InsertCustomSeries([in] unsigned short field, [in]__int64 record1, [in] __int64 record2, [in] __int64 series);
		[id(99), helpstring("method InsertRandomSeries")] HRESULT InsertRandomSeries([in] unsigned short field, [in]__int64 record1, [in] __int64 record2, [in] unsigned short distribution, [in] double param1, [in] double param2);

		[id(65), helpstring("method GetColumnWidth")] HRESULT GetColumnWidth([in] unsigned short field, [out, retval] unsigned short* pWidth);
		[id(66), helpstring("method SetColumnWidth")] HRESULT SetColumnWidth([in] unsigned short field, [in] unsigned short width);

		[id(67), helpstring("method FitColumnWidth")] HRESULT FitColumnWidth([in] unsigned short fieldFrom, [in] unsigned short fieldTo);

		[id(68), helpstring("method GetRowHeight")] HRESULT GetRowHeight([in] __int64 record, [out, retval] unsigned short* pHeight);
		[id(69), helpstring("method SetRowHeight")] HRESULT SetRowHeight([in] __int64 record, [in] unsigned short height);

		[id(70), helpstring("method GetAutoRowHeight")] HRESULT GetAutoRowHeight([in] __int64 record, [out, retval] BOOL* pVal);
		[id(71), helpstring("method SetAutoRowHeight")] HRESULT SetAutoRowHeight([in] __int64 recordFrom, [in] __int64 recordTo, [in] BOOL val);

		[id(72), helpstring("method CreateFormatParams")] HRESULT CreateFormatParams([out, retval] IFormatParams** ppFormatParams);
		[id(73), helpstring("method GetFieldFormat")] HRESULT GetFieldFormat([in] unsigned short field, [in] IFormatParams* pFormatParams);
		[id(74), helpstring("method SetFieldFormat")] HRESULT SetFieldFormat([in] unsigned short field, [in] IFormatParams* pFormatParams);

		[id(75), helpstring("method GetRecordFlag")] HRESULT GetRecordFlag([in] __int64 record, [out, retval] int* flag);
		[id(76), helpstring("method SetRecordFlag")] HRESULT SetRecordFlag([in] __int64 recordFrom, [in] __int64 recordTo, [in] int flag);

		[id(77), helpstring("method SetFilePassword")] HRESULT SetFilePassword([in] BOOL enable, [in] BSTR cryptMethod, [in] BSTR oldPassword, [in] BSTR newPassword);

		[id(78), helpstring("method GetFileInfo")] HRESULT GetFileInfo([in] BSTR path, [in] BYTE type, [out, retval] BSTR* value); // 1 - size, 2 - mod. date
		[id(79), helpstring("method ReleaseFile")] HRESULT ReleaseFile([out, retval] BSTR* value);
		[id(80), helpstring("method AttachFile")] HRESULT AttachFile([in] BSTR path, [out, retval] int* modified);

		[id(81), helpstring("method UpdateTable")] HRESULT UpdateTable([in] BYTE procCores);
		[propget, id(82), helpstring("property updateMode")] HRESULT updateMode([out, retval] BSTR* pMode);
		[propput, id(82), helpstring("property updateMode")] HRESULT updateMode([in] BSTR mode);

		[id(83), helpstring("method MessageBox")] HRESULT MessageBox([in] BSTR message, [in] BSTR buttons, [in] int button, [in] BSTR icon, [out, retval] BSTR* retValue);
		[id(84), helpstring("method InputBox")] HRESULT InputBox([in] BSTR title, [in] BOOL password, [in] BSTR initValue, [out, retval] BSTR* retValue);
		[id(85), helpstring("method Sleep")] HRESULT Sleep([in] unsigned long time);

		[id(86), helpstring("method MaximizeAppWindow")] HRESULT MaximizeAppWindow();
		[id(87), helpstring("method MinimizeAppWindow")] HRESULT MinimizeAppWindow();
		[id(88), helpstring("method RestoreAppWindow")] HRESULT RestoreAppWindow();

		[propget, id(89), helpstring("property lastError")] HRESULT lastError([out, retval] BYTE* pCode);
		[propput, id(89), helpstring("property lastError")] HRESULT lastError([in] BYTE code);

		[propget, id(90), helpstring("property zip64")] HRESULT zip64([out, retval] BYTE* pCode);
		[propput, id(90), helpstring("property zip64")] HRESULT zip64([in] BYTE code);

Related Topics

Samples