https://issues.apache.org/ooo/show_bug.cgi?id=120868
hanya <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from hanya <[email protected]> --- If it could be opened before, and position values are invalid, the following macro can be set its position on the screen. Sub SetWindowStateForSearchAndReplace id = "5961" ' search and replace on AOO 3.4 cp = CreateUnoService("com.sun.star.configuration.ConfigurationProvider") a1 = CreateUnoStruct("com.sun.star.beans.PropertyValue") a1.Name = "nodepath" a1.Value = "/org.openoffice.Office.Views/Windows" args = Array(a1) ca = cp.createInstanceWithArguments("com.sun.star.configuration.ConfigurationUpdateAccess", args) If ca.hasByName(id) Then key = ca.getByName(id) key.WindowState = "100,100,,;1;,,,;" ca.commitChanges() Else msgbox "Not found: " & chr(id) End If End Sub 1. Close your office and restart it. 2. Execute the macro above 3. Restart your office without doing noting on the office. 4. Open Search & Replace dialog on spreadsheet document, the dialog should be shown if the problem is in the certain configuration. the function to reset all windows state without to clear hole configuration would be help. -- You are receiving this mail because: You are the assignee for the bug.
