LibreOffice Module chart2 (master) 1
dlg_InsertDataTable.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <vcl/weld.hxx>
14
15namespace chart
16{
19{
20 bool mbShow = true;
21 bool mbHorizontalBorders = false;
22 bool mbVerticalBorders = false;
23 bool mbOutline = false;
24 bool mbKeys = false;
25};
26
29{
30private:
32 std::unique_ptr<weld::CheckButton> m_xCbShowDataTable;
33
35
36 DECL_LINK(ShowDataTableToggle, weld::Toggleable&, void);
37
38 void changeEnabled();
39
40public:
42
44 void init(DataTableDialogData const& rData);
45
48};
49
50} //namespace chart
51
52/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
The shared UI elements for the data table properties.
The dialog to change the data table specific properties.
void init(DataTableDialogData const &rData)
Set the initial state of the data table properties.
DataTablePropertiesResources m_aDataTablePropertiesResources
std::unique_ptr< weld::CheckButton > m_xCbShowDataTable
DataTableDialogData & getDataTableDialogData()
Get the state of the data table properties from the dialog.
DECL_LINK(ShowDataTableToggle, weld::Toggleable &, void)
InsertDataTableDialog(weld::Window *pParent)
The data table properties (data) used by the dialog.