Apache OpenOffice (AOO) Bugzilla – Issue 104445
SearchDescriptor using regular expressions in Draw/Impress
Last modified: 2017-05-20 11:27:26 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: doc.drawPages(0).createSearchDescriptor() The problem is that in Impress, this search descriptor does not have the property "SearchRegularExpression", even though the GUI can use regular expressions.
jsc -> cl: one for you
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.
oops, sorry. 'fonr' should be 'find'
As far as I remenber, the searchDescriptor simply ignores if the property "SearchRegularExpression" is set to true, and performs a simple text search.
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
thanks for info/testing > set to new
setting target and assign to correct developer
Reset assigne to the default "issues@openoffice.apache.org".