Hi Gao,

gaozm wrote:
    When I want to use the XSheetFilterDescriptor2(setFilterFields2() and 
getFilterFields2()) in sc/source/ui/vba/vbarange.cxx file, I find a bit 
difficult, so I hope you can give me some help, Thank you.

I think the strategy is the same as for those changes
you've already done.

You query the XSheetFilterDescriptor object (xDesc) for the
XSheetFilterDescriptor2 interface. If XSheetFilterDescriptor2
is supported, you fill the TableFilterField2 sequence and
call the setFilterFields2() method.
If XSheetFilterDescriptor2 is not supported, the existing
code will be executed (fill the TableFilterField sequence and
call setFilterFields()).

I hope that helps,

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to