LibreOffice Module cui (master) 1
themepage.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 <sal/config.h>
13
14#include <sfx2/tabdlg.hxx>
15
16#include <memory>
17
18class ColorListBox;
19
22{
24
25 std::unique_ptr<weld::Entry> m_xThemeName;
26 std::unique_ptr<weld::Entry> m_xColorSetName;
27 std::unique_ptr<ColorListBox> m_xDk1;
28 std::unique_ptr<ColorListBox> m_xLt1;
29 std::unique_ptr<ColorListBox> m_xDk2;
30 std::unique_ptr<ColorListBox> m_xLt2;
31 std::unique_ptr<ColorListBox> m_xAccent1;
32 std::unique_ptr<ColorListBox> m_xAccent2;
33 std::unique_ptr<ColorListBox> m_xAccent3;
34 std::unique_ptr<ColorListBox> m_xAccent4;
35 std::unique_ptr<ColorListBox> m_xAccent5;
36 std::unique_ptr<ColorListBox> m_xAccent6;
37 std::unique_ptr<ColorListBox> m_xHlink;
38 std::unique_ptr<ColorListBox> m_xFolHlink;
39
40public:
42 const SfxItemSet& rInAttrs);
43 virtual ~SvxThemePage() override;
44
45 static std::unique_ptr<SfxTabPage>
46 Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet*);
48
49 virtual bool FillItemSet(SfxItemSet*) override;
50 virtual void Reset(const SfxItemSet*) override;
51};
52
53/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
Tab page for themes.
Definition: themepage.hxx:22
SvxThemePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: themepage.cxx:29
std::unique_ptr< weld::Entry > m_xColorSetName
Definition: themepage.hxx:26
virtual void Reset(const SfxItemSet *) override
Definition: themepage.cxx:63
virtual bool FillItemSet(SfxItemSet *) override
Definition: themepage.cxx:128
virtual ~SvxThemePage() override
std::unique_ptr< ColorListBox > m_xAccent2
Definition: themepage.hxx:32
std::unique_ptr< ColorListBox > m_xAccent1
Definition: themepage.hxx:31
std::unique_ptr< ColorListBox > m_xHlink
Definition: themepage.hxx:37
std::unique_ptr< ColorListBox > m_xAccent4
Definition: themepage.hxx:34
static const WhichRangesContainer m_pRanges
Definition: themepage.hxx:23
std::unique_ptr< ColorListBox > m_xLt1
Definition: themepage.hxx:28
std::unique_ptr< ColorListBox > m_xDk1
Definition: themepage.hxx:27
std::unique_ptr< ColorListBox > m_xAccent5
Definition: themepage.hxx:35
std::unique_ptr< ColorListBox > m_xAccent6
Definition: themepage.hxx:36
std::unique_ptr< ColorListBox > m_xDk2
Definition: themepage.hxx:29
std::unique_ptr< ColorListBox > m_xLt2
Definition: themepage.hxx:30
std::unique_ptr< ColorListBox > m_xFolHlink
Definition: themepage.hxx:38
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: themepage.cxx:169
std::unique_ptr< ColorListBox > m_xAccent3
Definition: themepage.hxx:33
std::unique_ptr< weld::Entry > m_xThemeName
Definition: themepage.hxx:25
static WhichRangesContainer GetRanges()
Definition: themepage.hxx:47