Issue 104445 - SearchDescriptor using regular expressions in Draw/Impress
Summary: SearchDescriptor using regular expressions in Draw/Impress
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Linux, all
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-08-24 07:43 UTC by jweimar
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description jweimar 2009-08-24 07:43:36 UTC
Searching with regular expressions can be performed using the GUI in both Writer
and Impress. Using the API in impress, the search descriptor is obtained from
the first page, not from the document as in Writer:

The problem is that in Impress, this search descriptor does not have the
property "SearchRegularExpression", even though the GUI can use regular expressions.
Comment 1 jsc 2009-08-24 08:04:20 UTC
jsc -> cl: one for you
Comment 2 cno 2010-03-09 08:16:14 UTC
hi jweimar.
Have you tried to fonr properties with for example Xray tool?
See for example issue 67088.
The missing property in documention mentioned there, for example, can be found
via xray easilly.
Comment 3 cno 2010-03-09 08:18:54 UTC
oops, sorry. 'fonr' should be 'find'
Comment 4 jweimar 2010-03-09 11:19:15 UTC
As far as I remenber, the searchDescriptor simply ignores if  the property
"SearchRegularExpression" is set to true, and performs a simple text search. 
Comment 5 jweimar 2010-03-09 12:16:28 UTC
I checked again using XRay, and found that the search descriptor does not have
the property SearchRegularExpression.

Tested using the following BASIC macro:

Sub TestSearchDescriptor
	XRay	thisComponent.drawPages(0).createSearchDescriptor()
End Sub
Comment 6 cno 2010-03-11 07:58:51 UTC
thanks for info/testing > set to new
Comment 7 clippka 2010-06-07 15:58:01 UTC
setting target and assign to correct developer
Comment 8 Marcus 2017-05-20 11:27:26 UTC
Reset assigne to the default "".