tablefunction.cxx (7a32b0c8) | tablefunction.cxx (3091fa8a) |
---|---|
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 --- 41 unchanged lines hidden (view full) --- 50#include <svx/svxdlg.hxx> 51#include <vcl/msgbox.hxx> 52 53#include <svl/itempool.hxx> 54#include <sfx2/viewfrm.hxx> 55#include <sfx2/dispatch.hxx> 56#include <sfx2/bindings.hxx> 57#include <sfx2/request.hxx> | 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 --- 41 unchanged lines hidden (view full) --- 50#include <svx/svxdlg.hxx> 51#include <vcl/msgbox.hxx> 52 53#include <svl/itempool.hxx> 54#include <sfx2/viewfrm.hxx> 55#include <sfx2/dispatch.hxx> 56#include <sfx2/bindings.hxx> 57#include <sfx2/request.hxx> |
58#include <sfx2/sidebar/Sidebar.hxx> |
|
58#include <svl/style.hxx> 59 60#include "framework/FrameworkHelper.hxx" 61#include "app.hrc" 62#include "glob.hrc" 63#include "DrawViewShell.hxx" 64#include "drawdoc.hxx" 65#include "DrawDocShell.hxx" --- 133 unchanged lines hidden (view full) --- 199 { 200 if( GetDoc() && (GetDoc()->GetDocumentType() == DOCUMENT_TYPE_DRAW) ) 201 { 202 // in draw open a modal dialog since we have no tool pane yet 203 showTableDesignDialog( GetActiveWindow(), GetViewShellBase() ); 204 } 205 else 206 { | 59#include <svl/style.hxx> 60 61#include "framework/FrameworkHelper.hxx" 62#include "app.hrc" 63#include "glob.hrc" 64#include "DrawViewShell.hxx" 65#include "drawdoc.hxx" 66#include "DrawDocShell.hxx" --- 133 unchanged lines hidden (view full) --- 200 { 201 if( GetDoc() && (GetDoc()->GetDocumentType() == DOCUMENT_TYPE_DRAW) ) 202 { 203 // in draw open a modal dialog since we have no tool pane yet 204 showTableDesignDialog( GetActiveWindow(), GetViewShellBase() ); 205 } 206 else 207 { |
207 // Make the slide transition panel visible (expand it) in the 208 // tool pane. 209 framework::FrameworkHelper::Instance(GetViewShellBase())->RequestSidebarPanel( 210 framework::FrameworkHelper::msTableDesignPanelURL); | 208 // Make the table design panel visible (expand it) in the 209 // sidebar. 210 ::sfx2::sidebar::Sidebar::ShowPanel( 211 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ImpressTableDesignPanel")), 212 GetViewFrame()->GetFrame().GetFrameInterface()); |
211 } 212 213 Cancel(); 214 rReq.Done (); 215 } 216 default: 217 break; 218 } --- 53 unchanged lines hidden --- | 213 } 214 215 Cancel(); 216 rReq.Done (); 217 } 218 default: 219 break; 220 } --- 53 unchanged lines hidden --- |