[Solved] How to search for specific APIs from AOO API Info?
Posted: Sun Jul 30, 2017 7:58 pm
I have the following Macro code:
How do I find the APIs such as :
Code: Select all
REM Replaces all Paragraph breaks with a Linefeed character within the current Writer document.
REM Returns: the number of found/replaced occurrences.
Dim oReplace as Object
oReplace = ThisComponent.createReplaceDescriptor()
oReplace.setSearchString( "[a-z,A-Z,0-9]$" )
oReplace.setReplaceString( "&" + chr(10) )
oReplace.SearchRegularExpression = True
Writer_ReplaceAll_Paragraph_Breaks_With_Linefeeds = ThisComponent.replaceAll( oReplace )
- createReplaceDescriptor()
- setSearchString()
- setReplaceString()
- SearchRegularExpression()
- replaceAll()