LibreOffice Module cui (master) 1
backgrnd.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 <memory>
22
23#include "cuitabarea.hxx"
24
25class BackgroundPreviewImpl;
27class SvxBrushItem;
28
39{
41
42 std::unique_ptr<weld::ComboBox> m_xTblLBox;
43 bool bHighlighting : 1;
46 std::unique_ptr<SfxItemSet> m_pResetSet;
47
48 sal_Int32 m_nActPos = -1;
49
50 DECL_LINK(TblDestinationHdl_Impl, weld::ComboBox&, void);
51public:
52 SvxBkgTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rInAttrs);
53 virtual ~SvxBkgTabPage() override;
54
55 // returns the area of the which-values
57
58 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
59 virtual bool FillItemSet( SfxItemSet* ) override;
60 virtual void ActivatePage( const SfxItemSet& ) override;
61 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
62 virtual void PageCreated( const SfxAllItemSet& aSet ) override;
63 virtual void Reset( const SfxItemSet * ) override;
64};
65
66
67/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
class SvxBackgroundTabPage -----------------------------------------—
Definition: backgrnd.hxx:39
sal_Int32 m_nActPos
Definition: backgrnd.hxx:48
DECL_LINK(TblDestinationHdl_Impl, weld::ComboBox &, void)
static WhichRangesContainer GetRanges()
Definition: backgrnd.hxx:56
std::unique_ptr< SfxItemSet > m_pResetSet
Definition: backgrnd.hxx:46
bool bHighlighting
Definition: backgrnd.hxx:43
static const WhichRangesContainer pPageRanges
Definition: backgrnd.hxx:40
SfxItemSet maSet
Definition: backgrnd.hxx:45
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: backgrnd.cxx:234
std::unique_ptr< weld::ComboBox > m_xTblLBox
Definition: backgrnd.hxx:42
SvxBkgTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: backgrnd.cxx:64
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: backgrnd.cxx:104
virtual ~SvxBkgTabPage() override
Definition: backgrnd.cxx:94
virtual bool FillItemSet(SfxItemSet *) override
Definition: backgrnd.cxx:132
virtual void ActivatePage(const SfxItemSet &) override
Definition: backgrnd.cxx:99
bool bCharBackColor
Definition: backgrnd.hxx:44
virtual void Reset(const SfxItemSet *) override
Definition: backgrnd.cxx:115
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: backgrnd.cxx:227
DeactivateRC