Issue 67088

Summary: SearchDescriptor.SearchType is not documented
Product: App Dev Reporter: bmarcelly <marcelly.bernard>
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: cno, issues, kpalagin
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description bmarcelly 2006-07-06 20:19:32 UTC
The search descriptor contains property SearchType which is nowhere described in the 
SDK.
With some test I found it has interesting functionality in SpreadSheet:
SearchType = 0 : search in cell formulas
SearchType = 1 : search in cell values
SearchType = 2 : search in cell notes
Of course these values are probably enums to be documented.
I don't know if there are also values for text documents.

This is already working in version 1.1.4 (possibly earlier versions).
Comment 1 bmarcelly 2006-07-07 07:02:07 UTC
In the same SearchDescriptor service, property SearchByRow is also not documented. 
Useful in Spreadsheet searches.
Comment 2 jsc 2006-07-07 07:19:14 UTC
JSC -> NN: i am not sure if you arethe right person to fix this issue. But it
seems that the mentioned properties from the SearchDescriptor was introduced in
the context of a spreadsheet document. I would suggfest o docuemnt them as
optional properties withthe appropriate explanation. If they are spreadsheet
only, we should document them at the spreadsheet specific service/interface
where they are typical use in a SearchDescriptor. Ideally we would extend the
Devguide as well.
If you think that you are not the right person -> please back to me.
Comment 3 kpalagin 2007-04-20 20:51:04 UTC
Confirming - I could not find any references to SearchDescriptor properties.
Comment 4 Martin Hollmichel 2007-11-09 17:27:40 UTC
set target from 2.x to 3.x according to
http://wiki.services.openoffice.org/wiki/Target_3x
Comment 5 cno 2010-03-09 08:12:04 UTC
updated the documentation; added it in the table at 
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Navigating#Search_and_Replace

There will probably be more propteries undocumented.
Possibly because Search and Replace shows different in Writer, Calc, Impress and
Draw?

Comment 6 Marcus 2017-05-20 11:27:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".