LibreOffice Module chart2 (master) 1
tp_SeriesToAxis.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#pragma once
20
21#include <sfx2/tabdlg.hxx>
22
23namespace weld {
24 class CheckButton;
25 class MetricSpinButton;
26 class RadioButton;
27 class ToggleButton;
28 class Widget;
29}
30
31namespace chart
32{
33
35{
36public:
37 SchOptionTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rInAttrs);
38 virtual ~SchOptionTabPage() override;
39
40 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rInAttrs);
41 virtual bool FillItemSet(SfxItemSet* rOutAttrs) override;
42 virtual void Reset(const SfxItemSet* rInAttrs) override;
43
44 void Init( bool bProvidesSecondaryYAxis, bool bProvidesOverlapAndGapWidth, bool bProvidesBarConnectors );
45
46private: //methods
48
49private: //member
50 DECL_LINK(EnableHdl, weld::Toggleable&, void );
51
53
57
58 std::unique_ptr<weld::Widget> m_xGrpAxis;
59 std::unique_ptr<weld::RadioButton> m_xRbtAxis1;
60 std::unique_ptr<weld::RadioButton> m_xRbtAxis2;
61 std::unique_ptr<weld::Widget> m_xGrpBar;
62 std::unique_ptr<weld::MetricSpinButton> m_xMTGap;
63 std::unique_ptr<weld::MetricSpinButton> m_xMTOverlap;
64 std::unique_ptr<weld::CheckButton> m_xCBConnect;
65 std::unique_ptr<weld::CheckButton> m_xCBAxisSideBySide;
66 std::unique_ptr<weld::Widget> m_xGrpPlotOptions;
67 std::unique_ptr<weld::Widget> m_xGridPlotOptions;
68 std::unique_ptr<weld::RadioButton> m_xRB_DontPaint;
69 std::unique_ptr<weld::RadioButton> m_xRB_AssumeZero;
70 std::unique_ptr<weld::RadioButton> m_xRB_ContinueLine;
71 std::unique_ptr<weld::CheckButton> m_xCBIncludeHiddenCells;
72 std::unique_ptr<weld::CheckButton> m_xCBHideLegendEntry;
73};
74
75} //namespace chart
76
77/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::RadioButton > m_xRbtAxis2
virtual void Reset(const SfxItemSet *rInAttrs) override
std::unique_ptr< weld::RadioButton > m_xRB_DontPaint
SchOptionTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
virtual ~SchOptionTabPage() override
std::unique_ptr< weld::Widget > m_xGrpAxis
virtual bool FillItemSet(SfxItemSet *rOutAttrs) override
std::unique_ptr< weld::Widget > m_xGridPlotOptions
DECL_LINK(EnableHdl, weld::Toggleable &, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rInAttrs)
std::unique_ptr< weld::Widget > m_xGrpPlotOptions
void Init(bool bProvidesSecondaryYAxis, bool bProvidesOverlapAndGapWidth, bool bProvidesBarConnectors)
std::unique_ptr< weld::CheckButton > m_xCBConnect
std::unique_ptr< weld::CheckButton > m_xCBIncludeHiddenCells
std::unique_ptr< weld::RadioButton > m_xRB_ContinueLine
std::unique_ptr< weld::CheckButton > m_xCBAxisSideBySide
std::unique_ptr< weld::CheckButton > m_xCBHideLegendEntry
std::unique_ptr< weld::MetricSpinButton > m_xMTOverlap
std::unique_ptr< weld::RadioButton > m_xRB_AssumeZero
std::unique_ptr< weld::RadioButton > m_xRbtAxis1
std::unique_ptr< weld::MetricSpinButton > m_xMTGap
std::unique_ptr< weld::Widget > m_xGrpBar