LibreOffice Module sw (master)
1
sw
source
uibase
inc
pgfnote.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
23
#include <
svtools/ctrlbox.hxx
>
24
#include <
svx/colorbox.hxx
>
25
26
// footnote settings TabPage
27
class
SwFootNotePage
final :
public
SfxTabPage
28
{
29
static
const
WhichRangesContainer
s_aPageRg
;
30
public
:
31
SwFootNotePage
(
weld::Container
* pPage,
weld::DialogController
* pController,
const
SfxItemSet
&rSet);
32
static
std::unique_ptr<SfxTabPage>
Create
(
weld::Container
* pPage,
weld::DialogController
* pController,
const
SfxItemSet
*rSet);
33
virtual
~SwFootNotePage
()
override
;
34
35
static
WhichRangesContainer
GetRanges
() {
return
s_aPageRg
; }
36
37
virtual
bool
FillItemSet
(
SfxItemSet
*rSet)
override
;
38
virtual
void
Reset
(
const
SfxItemSet
*rSet)
override
;
39
40
private
:
41
42
tools::Long
m_lMaxHeight
;
43
44
std::unique_ptr<weld::RadioButton>
m_xMaxHeightPageBtn
;
45
std::unique_ptr<weld::RadioButton>
m_xMaxHeightBtn
;
46
std::unique_ptr<weld::MetricSpinButton>
m_xMaxHeightEdit
;
47
std::unique_ptr<weld::MetricSpinButton>
m_xDistEdit
;
48
std::unique_ptr<weld::ComboBox>
m_xLinePosBox
;
49
std::unique_ptr<SvtLineListBox>
m_xLineTypeBox
;
50
std::unique_ptr<weld::MetricSpinButton>
m_xLineWidthEdit
;
51
std::unique_ptr<ColorListBox>
m_xLineColorBox
;
52
std::unique_ptr<weld::MetricSpinButton>
m_xLineLengthEdit
;
53
std::unique_ptr<weld::MetricSpinButton>
m_xLineDistEdit
;
54
55
DECL_LINK
(HeightPage,
weld::Toggleable
&,
void
);
56
DECL_LINK
(HeightMetric,
weld::Toggleable
&,
void
);
57
DECL_LINK
(HeightModify,
weld::MetricSpinButton
&,
void
);
58
DECL_LINK
(LineWidthChanged_Impl,
weld::MetricSpinButton
&,
void
);
59
DECL_LINK
(LineColorSelected_Impl,
ColorListBox
&,
void
);
60
61
virtual
void
ActivatePage
(
const
SfxItemSet
& rSet )
override
;
62
virtual
DeactivateRC
DeactivatePage
(
SfxItemSet
* pSet )
override
;
63
64
};
65
66
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ColorListBox
SfxItemSet
SfxTabPage
SwFootNotePage
Definition:
pgfnote.hxx:28
SwFootNotePage::s_aPageRg
static const WhichRangesContainer s_aPageRg
Definition:
pgfnote.hxx:29
SwFootNotePage::DECL_LINK
DECL_LINK(LineColorSelected_Impl, ColorListBox &, void)
SwFootNotePage::m_xLineColorBox
std::unique_ptr< ColorListBox > m_xLineColorBox
Definition:
pgfnote.hxx:51
SwFootNotePage::FillItemSet
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition:
pgfnote.cxx:212
SwFootNotePage::m_xLineDistEdit
std::unique_ptr< weld::MetricSpinButton > m_xLineDistEdit
Definition:
pgfnote.hxx:53
SwFootNotePage::m_xDistEdit
std::unique_ptr< weld::MetricSpinButton > m_xDistEdit
Definition:
pgfnote.hxx:47
SwFootNotePage::DECL_LINK
DECL_LINK(HeightMetric, weld::Toggleable &, void)
SwFootNotePage::m_xLineLengthEdit
std::unique_ptr< weld::MetricSpinButton > m_xLineLengthEdit
Definition:
pgfnote.hxx:52
SwFootNotePage::m_xLineTypeBox
std::unique_ptr< SvtLineListBox > m_xLineTypeBox
Definition:
pgfnote.hxx:49
SwFootNotePage::SwFootNotePage
SwFootNotePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition:
pgfnote.cxx:96
SwFootNotePage::ActivatePage
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition:
pgfnote.cxx:260
SwFootNotePage::Reset
virtual void Reset(const SfxItemSet *rSet) override
Definition:
pgfnote.cxx:132
SwFootNotePage::m_xLineWidthEdit
std::unique_ptr< weld::MetricSpinButton > m_xLineWidthEdit
Definition:
pgfnote.hxx:50
SwFootNotePage::m_xMaxHeightPageBtn
std::unique_ptr< weld::RadioButton > m_xMaxHeightPageBtn
Definition:
pgfnote.hxx:44
SwFootNotePage::GetRanges
static WhichRangesContainer GetRanges()
Definition:
pgfnote.hxx:35
SwFootNotePage::m_lMaxHeight
tools::Long m_lMaxHeight
Definition:
pgfnote.hxx:42
SwFootNotePage::DECL_LINK
DECL_LINK(HeightModify, weld::MetricSpinButton &, void)
SwFootNotePage::m_xMaxHeightBtn
std::unique_ptr< weld::RadioButton > m_xMaxHeightBtn
Definition:
pgfnote.hxx:45
SwFootNotePage::Create
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition:
pgfnote.cxx:127
SwFootNotePage::DECL_LINK
DECL_LINK(LineWidthChanged_Impl, weld::MetricSpinButton &, void)
SwFootNotePage::DeactivatePage
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition:
pgfnote.cxx:305
SwFootNotePage::~SwFootNotePage
virtual ~SwFootNotePage() override
Definition:
pgfnote.cxx:121
SwFootNotePage::DECL_LINK
DECL_LINK(HeightPage, weld::Toggleable &, void)
SwFootNotePage::m_xLinePosBox
std::unique_ptr< weld::ComboBox > m_xLinePosBox
Definition:
pgfnote.hxx:48
SwFootNotePage::m_xMaxHeightEdit
std::unique_ptr< weld::MetricSpinButton > m_xMaxHeightEdit
Definition:
pgfnote.hxx:46
weld::Container
weld::DialogController
weld::MetricSpinButton
weld::Toggleable
colorbox.hxx
ctrlbox.hxx
tools::Long
long Long
WhichRangesContainer
tabdlg.hxx
DeactivateRC
DeactivateRC
Generated on Sun Jul 30 2023 04:29:56 for LibreOffice Module sw (master) by
1.9.3