taskpane.cxx (d119d52d) | taskpane.cxx (5e8455cf) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 930 unchanged lines hidden (view full) --- 939 { 940 m_rDockingWindow.ResetToolBox(); 941 m_nViewMenuID = m_rDockingWindow.AddDropDownToolBoxItem( 942 String( SfxResId( STR_SFX_TASK_PANE_VIEW ) ), 943 HID_TASKPANE_VIEW_MENU, 944 LINK( this, TaskPaneController_Impl, OnToolboxClicked ) 945 ); 946 m_rDockingWindow.SetEndDockingHdl( LINK( this, TaskPaneController_Impl, DockingChanged ) ); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 930 unchanged lines hidden (view full) --- 939 { 940 m_rDockingWindow.ResetToolBox(); 941 m_nViewMenuID = m_rDockingWindow.AddDropDownToolBoxItem( 942 String( SfxResId( STR_SFX_TASK_PANE_VIEW ) ), 943 HID_TASKPANE_VIEW_MENU, 944 LINK( this, TaskPaneController_Impl, OnToolboxClicked ) 945 ); 946 m_rDockingWindow.SetEndDockingHdl( LINK( this, TaskPaneController_Impl, DockingChanged ) ); |
947 impl_setLayout( LAYOUT_DRAWERS, true ); | 947 impl_setLayout(LAYOUT_TABS_RIGHT, true); |
948 949 m_rTaskPane.GetPanelDeck().AddListener( *this ); 950 951 // initialize the panel repository 952 for ( size_t i = 0; i < m_rTaskPane.GetPanelDeck().GetPanelCount(); ++i ) 953 { 954 ::svt::PToolPanel pPanel( m_rTaskPane.GetPanelDeck().GetPanel( i ) ); 955 m_aPanelRepository.push_back( PanelDescriptor( pPanel ) ); --- 341 unchanged lines hidden --- | 948 949 m_rTaskPane.GetPanelDeck().AddListener( *this ); 950 951 // initialize the panel repository 952 for ( size_t i = 0; i < m_rTaskPane.GetPanelDeck().GetPanelCount(); ++i ) 953 { 954 ::svt::PToolPanel pPanel( m_rTaskPane.GetPanelDeck().GetPanel( i ) ); 955 m_aPanelRepository.push_back( PanelDescriptor( pPanel ) ); --- 341 unchanged lines hidden --- |