Hello Thomas:
    Thank you for your help.
As you said:
>I found the following relevant locations:

>ScXMLExportDatabaseRanges::WriteFilterDescriptor() 
>(sc\source\filter\xml\XMLExportDatabaseRanges.cxx)

>ScCellRangeObj::filter() 
>(sc\source\ui\unoobj\cellsuno.cxx)

>ScXMLDatabaseRangeContext::EndElement() 
>(sc\source\filter\xml\xmldrani.cxx)

>ScVbaRange::AutoFilter() 
>(sc\source\ui\vba\vbarange.cxx)

I agree with you. In order to use the XSheetFilterDescriptor2, I added a new 
function ScXMLExportDatabaseRanges::WriteFilterDescriptor2() to 
sc\source\filter\xml\XMLExportDatabaseRanges.cxx(XMLExportDatabaseRanges.hxx) 
and a new function ScCellRangeObj::filter2() to 
sc\source\ui\unoobj\cellsuno.cxx(cellsuno.hxx) , but when the code was 
compiled, the error information
was like this:
scalc3c.lib(XMLExportDatabaseRanges.obj) : error LNK2019: unresolved external sy
mbol "private: void __thiscall ScXMLExportDatabaseRanges::WriteCondition2(struct
 com::sun::star::sheet::TableFilterField2 const &,unsigned char,unsigned char)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@star
@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "private: void 
__thiscall ScXMLExportData
baseRanges::WriteFilterDescriptor2(class com::sun::star::uno::Reference<class co
m::sun::star::sheet::XSheetFilterDescriptor2> const &,class rtl::OUString)" (?Wr
[EMAIL PROTECTED]@@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@com@@@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@@[EMAIL PROTECTED]@@@Z)
../wntmsci10.pro/bin/sc680mi.dll : fatal error LNK1120: 1 unresolved externals
dmake:  Error code 2, while making '../wntmsci10.pro/bin/sc680mi.dll'
---* tg_merge.mk *---

I hope you can give me some suggestions, thank you!

Best Regards!

Gao Zemin

    




gaozm
2008-03-05

Reply via email to