![]() SearchArgs(12).Name = "SearchItem.Locale" SearchArgs(11).Name = "SearchItem.ReplaceString" SearchArgs(10).Name = "SearchItem.SearchString" SearchArgs(9).Name = "SearchItem.SearchFlags" SearchArgs(8).Name = "SearchItem.AlgorithmType" SearchArgs(7).Name = "SearchItem.AsianOptions" SearchArgs(6).Name = "SearchItem.Content" SearchArgs(5).Name = "SearchItem.Pattern" SearchArgs(4).Name = "SearchItem.Backward" SearchArgs(3).Name = "SearchItem.AllTables" SearchArgs(2).Name = "SearchItem.RowDirection" SearchArgs(1).Name = "SearchItem.CellType" ![]() SearchArgs(0).Name = "SearchItem.StyleFamily" Rem dispatcher.executeDispatch(document, ".uno:ExecuteSearch", "", 0, Array())ĭim searchArgs(18) as new .PropertyValue Rem -ĭocument = ĭispatcher = createUnoService(".DispatchHelper") contributes the following macro useful for reformatting text where every line ends with a return (plain text to proper paragraphs):.There is no way in the Find and Replace window to replace two returns Iannz's Find & Replace Macro will do this.To delete the empty paragraphs, type " ^$" in the search field and leave empty the replace field.But any text$ finds and selects occurrences of any text at the end of lines, without selecting the end-of-line character itself. To find a paragraph break, type " $" in the search field, be aware that " $^$" does not find adjacent empty paragraphs - it returns no matches.To change a line break into a paragraph break, enter " \n" in both search and replace fields.If " \n" is entered in the replace field, it means paragraph end. To find a line break, type " \n" in the search field.These quotes must not be entered in the search and replace fields. N.B All the regular expressions are given between quotes. These are given in the online help, but the explanations are not very clear. Click on More Options in the Find & Replace dialog and check the Regular expressions box, then fill the codes required. ![]() You can't paste these characters into the search and replace fields.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |