To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=35579





------- Additional comments from [EMAIL PROTECTED] Tue May  6 10:14:05 +0000 
2008 -------
Hi Gao,

I applied your patch from April 20, 2008 to a DEV300 m10 milestone.
Some hunks failed, but those needed some minor modifications only.
Also in this milestone I couldn't reproduce your crashes.
The export of the new filter conditions works fine, but the import
doesn't work. I debugged your code with the result that
the aFilterFields2 member in ScXMLDatabaseRangeContext is empty.
This sequence must be filled during the import.

Therefore I propose the following steps:

1. Extend the ScXMLFilterContext class by a
   Sequence< sheet::TableFilterField2 > member and a
   void AddFilterField2( const sheet::TableFilterField2 aFilterField2 )
   method. This method must be called in
   ScXMLConditionContext::EndElement() (*).

2. Add a
   void SetFilterFields2( const Sequence< sheet::TableFilterField2>& )
   method to the ScXMLDatabaseRangeContext class. This method must be
   called in ScXMLFilterContext::EndElement() (*).

(*) Probably you find a way to call those methods only, if the
    XSheetFilterDescriptor2 interface is supported.

Thomas


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to