LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SvxCaptionTabPage Class Reference

#include <labdlg.hxx>

Inheritance diagram for SvxCaptionTabPage:
[legend]
Collaboration diagram for SvxCaptionTabPage:
[legend]

Public Member Functions

 SvxCaptionTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxCaptionTabPage () override
 
virtual bool FillItemSet (SfxItemSet *) override
 
virtual void Reset (const SfxItemSet *) override
 
void Construct ()
 
void SetView (const SdrView *pSdrView)
 
void FillValueSet ()
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static WhichRangesContainer GetRanges ()
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

void SetupExtension_Impl (sal_uInt16 nType)
 
void SetupType_Impl (SdrCaptionType nType)
 
 DECL_LINK (ExtensionSelectHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (PositionSelectHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (LineOptHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (SelectCaptTypeHdl_Impl, ValueSet *, void)
 

Private Attributes

Image m_aBmpCapTypes [CAPTYPE_BITMAPS_COUNT]
 
std::vector< OUString > m_aStrHorzList
 
std::vector< OUString > m_aStrVertList
 
SdrCaptionType nCaptionType
 
sal_Int32 nGap
 
SdrCaptionEscDir nEscDir
 
bool bEscRel
 
sal_Int32 nEscAbs
 
sal_Int32 nEscRel
 
sal_Int32 nLineLen
 
bool bFitLineLen
 
sal_uInt16 nPosition
 
sal_uInt16 nExtension
 
const SfxItemSetrOutAttrs
 
const SdrViewpView
 
std::unique_ptr< weld::MetricSpinButtonm_xMF_SPACING
 
std::unique_ptr< weld::ComboBoxm_xLB_EXTENSION
 
std::unique_ptr< weld::Labelm_xFT_BYFT
 
std::unique_ptr< weld::MetricSpinButtonm_xMF_BY
 
std::unique_ptr< weld::Labelm_xFT_POSITIONFT
 
std::unique_ptr< weld::ComboBoxm_xLB_POSITION
 
std::unique_ptr< weld::ComboBoxm_xLineTypes
 
std::unique_ptr< weld::Labelm_xFT_LENGTHFT
 
std::unique_ptr< weld::MetricSpinButtonm_xMF_LENGTH
 
std::unique_ptr< weld::CheckButtonm_xCB_OPTIMAL
 
std::unique_ptr< ValueSetm_xCT_CAPTTYPE
 
std::unique_ptr< weld::CustomWeldm_xCT_CAPTTYPEWin
 

Static Private Attributes

static const WhichRangesContainer pCaptionRanges
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 34 of file labdlg.hxx.

Constructor & Destructor Documentation

◆ SvxCaptionTabPage()

SvxCaptionTabPage::SvxCaptionTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)

◆ ~SvxCaptionTabPage()

SvxCaptionTabPage::~SvxCaptionTabPage ( )
overridevirtual

Definition at line 126 of file labdlg.cxx.

References m_xCT_CAPTTYPE, and m_xCT_CAPTTYPEWin.

Member Function Documentation

◆ Construct()

void SvxCaptionTabPage::Construct ( )

Definition at line 132 of file labdlg.cxx.

References DBG_ASSERT, and pView.

◆ Create()

std::unique_ptr< SfxTabPage > SvxCaptionTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rOutAttrs 
)
static

Definition at line 326 of file labdlg.cxx.

References rOutAttrs.

Referenced by SvxCaptionTabDialog::SvxCaptionTabDialog().

◆ DECL_LINK() [1/4]

SvxCaptionTabPage::DECL_LINK ( ExtensionSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/4]

SvxCaptionTabPage::DECL_LINK ( LineOptHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/4]

SvxCaptionTabPage::DECL_LINK ( PositionSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/4]

SvxCaptionTabPage::DECL_LINK ( SelectCaptTypeHdl_Impl  ,
ValueSet ,
void   
)
private

◆ FillItemSet()

bool SvxCaptionTabPage::FillItemSet ( SfxItemSet _rOutAttrs)
overridevirtual

◆ FillValueSet()

void SvxCaptionTabPage::FillValueSet ( )

Definition at line 445 of file labdlg.cxx.

References BMP_CAPTTYPE_1, BMP_CAPTTYPE_2, BMP_CAPTTYPE_3, m_aBmpCapTypes, and m_xCT_CAPTTYPE.

Referenced by SvxCaptionTabPage().

◆ GetRanges()

static WhichRangesContainer SvxCaptionTabPage::GetRanges ( )
inlinestatic

Definition at line 84 of file labdlg.hxx.

References pCaptionRanges.

Referenced by SvxCaptionTabDialog::SvxCaptionTabDialog().

◆ Reset()

void SvxCaptionTabPage::Reset ( const SfxItemSet )
overridevirtual

◆ SetupExtension_Impl()

void SvxCaptionTabPage::SetupExtension_Impl ( sal_uInt16  nType)
private

◆ SetupType_Impl()

void SvxCaptionTabPage::SetupType_Impl ( SdrCaptionType  nType)
private

Definition at line 426 of file labdlg.cxx.

References m_xCB_OPTIMAL, m_xFT_LENGTHFT, and nType.

Referenced by Reset().

◆ SetView()

void SvxCaptionTabPage::SetView ( const SdrView pSdrView)
inline

Definition at line 89 of file labdlg.hxx.

References pView.

Member Data Documentation

◆ bEscRel

bool SvxCaptionTabPage::bEscRel
private

Definition at line 47 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ bFitLineLen

bool SvxCaptionTabPage::bFitLineLen
private

Definition at line 51 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_aBmpCapTypes

Image SvxCaptionTabPage::m_aBmpCapTypes[CAPTYPE_BITMAPS_COUNT]
private

Definition at line 39 of file labdlg.hxx.

Referenced by FillValueSet(), and SvxCaptionTabPage().

◆ m_aStrHorzList

std::vector<OUString> SvxCaptionTabPage::m_aStrHorzList
private

Definition at line 41 of file labdlg.hxx.

Referenced by SetupExtension_Impl(), and SvxCaptionTabPage().

◆ m_aStrVertList

std::vector<OUString> SvxCaptionTabPage::m_aStrVertList
private

Definition at line 42 of file labdlg.hxx.

Referenced by SetupExtension_Impl(), and SvxCaptionTabPage().

◆ m_xCB_OPTIMAL

std::unique_ptr<weld::CheckButton> SvxCaptionTabPage::m_xCB_OPTIMAL
private

Definition at line 68 of file labdlg.hxx.

Referenced by FillItemSet(), Reset(), SetupType_Impl(), and SvxCaptionTabPage().

◆ m_xCT_CAPTTYPE

std::unique_ptr<ValueSet> SvxCaptionTabPage::m_xCT_CAPTTYPE
private

Definition at line 69 of file labdlg.hxx.

Referenced by FillItemSet(), FillValueSet(), Reset(), SvxCaptionTabPage(), and ~SvxCaptionTabPage().

◆ m_xCT_CAPTTYPEWin

std::unique_ptr<weld::CustomWeld> SvxCaptionTabPage::m_xCT_CAPTTYPEWin
private

Definition at line 70 of file labdlg.hxx.

Referenced by SvxCaptionTabPage(), and ~SvxCaptionTabPage().

◆ m_xFT_BYFT

std::unique_ptr<weld::Label> SvxCaptionTabPage::m_xFT_BYFT
private

Definition at line 61 of file labdlg.hxx.

Referenced by SetupExtension_Impl().

◆ m_xFT_LENGTHFT

std::unique_ptr<weld::Label> SvxCaptionTabPage::m_xFT_LENGTHFT
private

Definition at line 66 of file labdlg.hxx.

Referenced by SetupType_Impl().

◆ m_xFT_POSITIONFT

std::unique_ptr<weld::Label> SvxCaptionTabPage::m_xFT_POSITIONFT
private

Definition at line 63 of file labdlg.hxx.

Referenced by SetupExtension_Impl().

◆ m_xLB_EXTENSION

std::unique_ptr<weld::ComboBox> SvxCaptionTabPage::m_xLB_EXTENSION
private

Definition at line 60 of file labdlg.hxx.

Referenced by Reset(), and SvxCaptionTabPage().

◆ m_xLB_POSITION

std::unique_ptr<weld::ComboBox> SvxCaptionTabPage::m_xLB_POSITION
private

Definition at line 64 of file labdlg.hxx.

Referenced by FillItemSet(), SetupExtension_Impl(), and SvxCaptionTabPage().

◆ m_xLineTypes

std::unique_ptr<weld::ComboBox> SvxCaptionTabPage::m_xLineTypes
private

Definition at line 65 of file labdlg.hxx.

Referenced by SvxCaptionTabPage().

◆ m_xMF_BY

std::unique_ptr<weld::MetricSpinButton> SvxCaptionTabPage::m_xMF_BY
private

Definition at line 62 of file labdlg.hxx.

Referenced by FillItemSet(), Reset(), and SetupExtension_Impl().

◆ m_xMF_LENGTH

std::unique_ptr<weld::MetricSpinButton> SvxCaptionTabPage::m_xMF_LENGTH
private

Definition at line 67 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xMF_SPACING

std::unique_ptr<weld::MetricSpinButton> SvxCaptionTabPage::m_xMF_SPACING
private

Definition at line 59 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ nCaptionType

SdrCaptionType SvxCaptionTabPage::nCaptionType
private

Definition at line 44 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ nEscAbs

sal_Int32 SvxCaptionTabPage::nEscAbs
private

Definition at line 48 of file labdlg.hxx.

Referenced by Reset().

◆ nEscDir

SdrCaptionEscDir SvxCaptionTabPage::nEscDir
private

Definition at line 46 of file labdlg.hxx.

Referenced by FillItemSet(), Reset(), and SetupExtension_Impl().

◆ nEscRel

sal_Int32 SvxCaptionTabPage::nEscRel
private

Definition at line 49 of file labdlg.hxx.

Referenced by Reset().

◆ nExtension

sal_uInt16 SvxCaptionTabPage::nExtension
private

Definition at line 54 of file labdlg.hxx.

Referenced by Reset().

◆ nGap

sal_Int32 SvxCaptionTabPage::nGap
private

Definition at line 45 of file labdlg.hxx.

Referenced by Reset().

◆ nLineLen

sal_Int32 SvxCaptionTabPage::nLineLen
private

Definition at line 50 of file labdlg.hxx.

Referenced by Reset().

◆ nPosition

sal_uInt16 SvxCaptionTabPage::nPosition
private

Definition at line 53 of file labdlg.hxx.

Referenced by Reset(), and SetupExtension_Impl().

◆ pCaptionRanges

const WhichRangesContainer SvxCaptionTabPage::pCaptionRanges
staticprivate

Definition at line 37 of file labdlg.hxx.

Referenced by GetRanges().

◆ pView

const SdrView* SvxCaptionTabPage::pView
private

Definition at line 57 of file labdlg.hxx.

Referenced by Construct(), and SetView().

◆ rOutAttrs

const SfxItemSet& SvxCaptionTabPage::rOutAttrs
private

Definition at line 56 of file labdlg.hxx.

Referenced by Create(), and Reset().


The documentation for this class was generated from the following files: