e1f3f2e00c
Having a separate sparkline context is very useful, so we can add a custom UI when the user has the cursor over a sparkline. This will allow a "Sparkline" tab for NotebookBar and its own deck in Sidebar, activated only when the sparkline is present. Also the pop-up menu can be customized specifically for the sparkline, but this may be less useful. For the sparkline context we need a custom shell - SparklineShell where now all the UNO commands can be implemented (not done in this commit). Change-Id: Idca2ad946af3afdd1b494744b80c9c093eec602c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133022 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
44 lines
2.4 KiB
C++
44 lines
2.4 KiB
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
// Sfx Interface-IDs
|
|
#define SCID_APP (SFX_INTERFACE_SC_START+SfxInterfaceId(0))
|
|
#define SCID_DOC_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(1))
|
|
#define SCID_TABVIEW_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(2))
|
|
#define SCID_TABPOP_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(3))
|
|
#define SCID_EDIT_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(4))
|
|
#define SCID_DRAW_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(5))
|
|
#define SCID_DRAW_TEXT_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(6))
|
|
#define SCID_PREVIEW_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(7))
|
|
#define SCID_PIVOT_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(8))
|
|
#define SCID_AUDITING_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(9))
|
|
#define SCID_FORM_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(10))
|
|
|
|
#define SCID_FORMAT_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(11))
|
|
#define SCID_CELL_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(12))
|
|
#define SCID_OLEOBJECT_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(13))
|
|
#define SCID_CHART_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(14))
|
|
#define SCID_GRAPHIC_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(15))
|
|
#define SCID_PAGEBREAK_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(16))
|
|
#define SCID_MEDIA_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(17))
|
|
#define SCID_SPARKLINE_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(18))
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|