diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-09-25 16:54:39 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-10-06 08:15:42 +0000 |
commit | a836afe471d6df7bfc932fc419f7ccad7d40efb2 (patch) | |
tree | f8127d8f3ec0eb970223d227062510e15ef639cb /qadevOOo | |
parent | f5cfed29b05184894ec6ad2d14f73bff0b5a2783 (diff) |
fdo#73151 Always open Styles&Formatting dialog in the sidebar
Change-Id: I05b63dc00023945d92fd837bd64042135d3f9aed
Reviewed-on: https://gerrit.libreoffice.org/11648
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/runner/util/DesktopTools.java | 17 | ||||
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java | 5 |
2 files changed, 11 insertions, 11 deletions
diff --git a/qadevOOo/runner/util/DesktopTools.java b/qadevOOo/runner/util/DesktopTools.java index d44182cdb2ac..646ffcbdce5d 100644 --- a/qadevOOo/runner/util/DesktopTools.java +++ b/qadevOOo/runner/util/DesktopTools.java @@ -412,33 +412,33 @@ public class DesktopTools } /** - * This function docks the Stylist onto the right side of the window.</p> + * This function docks the Navigator onto the right side of the window.</p> * Note:<P> * Since the svt.viewoptions cache the view configuration at start up * the chage of the docking will be effective at a restart. * @param xMSF the XMultiServiceFactory */ - public static void dockStylist(XMultiServiceFactory xMSF) + public static void dockNavigator(XMultiServiceFactory xMSF) { - // prepare Window-Settings + // prepare Window settings try { ConfigHelper aConfig = new ConfigHelper(xMSF, "org.openoffice.Office.Views", false); - aConfig.getOrInsertGroup("Windows", "5539"); + aConfig.getOrInsertGroup("Windows", "10366"); aConfig.updateGroupProperty( - "Windows", "5539", "WindowState", "952,180,244,349;1;0,0,0,0;"); + "Windows", "10366", "WindowState", "952,180,244,349;1;0,0,0,0;"); aConfig.insertOrUpdateExtensibleGroupProperty( - "Windows", "5539", "UserData", "Data", "V2,V,0,AL:(5,16,0/0/244/349,244;610)"); + "Windows", "10366", "UserData", "Data", "V2,V,0,AL:(5,16,0/0/244/349,244;610)"); - // Is node "SplitWindow2" available? If not, instert it. + // Is node "SplitWindow2" available? If not, insert it. aConfig.getOrInsertGroup("Windows", "SplitWindow2"); aConfig.insertOrUpdateExtensibleGroupProperty( - "Windows", "SplitWindow2", "UserData", "UserItem", "V1,2,1,0,5539"); + "Windows", "SplitWindow2", "UserData", "UserItem", "V1,2,1,0,10366"); aConfig.flush(); aConfig = null; @@ -451,7 +451,6 @@ public class DesktopTools } - /** * This function brings a document to the front.<P> * NOTE: it is not possible to change the window order of your Window-Manager!! diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java index 0b33fb0b4a03..5c76ca502b65 100644 --- a/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java +++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java @@ -115,7 +115,8 @@ public class AccessibleDropDownListBox extends TestCase { try { SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF()); - DesktopTools.dockStylist(Param.getMSF()); + // Dock the Navigator to supply an AccessibleDropDownListBox + DesktopTools.dockNavigator(Param.getMSF()); xTextDoc = SOF.createTextDoc(null); } catch (com.sun.star.uno.Exception e) { throw new StatusException("Can't create document", e); @@ -141,4 +142,4 @@ public class AccessibleDropDownListBox extends TestCase { log.println("While waiting :" + e); } } -}
\ No newline at end of file +} |