incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120868] Search & Replace not visisble
Date Mon, 10 Sep 2012 15:42:48 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120868

hanya <hanya.runo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hanya.runo@gmail.com

--- Comment #1 from hanya <hanya.runo@gmail.com> ---
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.

Mime
View raw message