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
 
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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static const sal_uInt16 * 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::ToggleButton &, void)
 
 DECL_LINK (SelectCaptTypeHdl_Impl, SvtValueSet *, 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< SvtValueSetm_xCT_CAPTTYPE
 
std::unique_ptr< weld::CustomWeldm_xCT_CAPTTYPEWin
 

Static Private Attributes

static const sal_uInt16 pCaptionRanges []
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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 35 of file labdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 135 of file labdlg.cxx.

References m_xCT_CAPTTYPE, and m_xCT_CAPTTYPEWin.

Member Function Documentation

void SvxCaptionTabPage::Construct ( )

Definition at line 141 of file labdlg.cxx.

References DBG_ASSERT, and pView.

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

Definition at line 335 of file labdlg.cxx.

References rOutAttrs.

Referenced by SvxCaptionTabDialog::SvxCaptionTabDialog().

SvxCaptionTabPage::DECL_LINK ( ExtensionSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxCaptionTabPage::DECL_LINK ( PositionSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxCaptionTabPage::DECL_LINK ( LineOptHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxCaptionTabPage::DECL_LINK ( SelectCaptTypeHdl_Impl  ,
SvtValueSet ,
void   
)
private
bool SvxCaptionTabPage::FillItemSet ( SfxItemSet _rOutAttrs)
overridevirtual
void SvxCaptionTabPage::FillValueSet ( )

Definition at line 454 of file labdlg.cxx.

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

Referenced by SvxCaptionTabPage().

static const sal_uInt16* SvxCaptionTabPage::GetRanges ( )
inlinestatic

Definition at line 85 of file labdlg.hxx.

References pCaptionRanges.

Referenced by SvxCaptionTabDialog::SvxCaptionTabDialog().

void SvxCaptionTabPage::Reset ( const SfxItemSet )
overridevirtual
void SvxCaptionTabPage::SetupExtension_Impl ( sal_uInt16  nType)
private
void SvxCaptionTabPage::SetupType_Impl ( SdrCaptionType  nType)
private

Definition at line 435 of file labdlg.cxx.

References m_xCB_OPTIMAL, and m_xFT_LENGTHFT.

Referenced by Reset().

void SvxCaptionTabPage::SetView ( const SdrView pSdrView)
inline

Definition at line 90 of file labdlg.hxx.

Member Data Documentation

bool SvxCaptionTabPage::bEscRel
private

Definition at line 48 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

bool SvxCaptionTabPage::bFitLineLen
private

Definition at line 52 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

Image SvxCaptionTabPage::m_aBmpCapTypes[CAPTYPE_BITMAPS_COUNT]
private

Definition at line 40 of file labdlg.hxx.

Referenced by FillValueSet(), and SvxCaptionTabPage().

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

Definition at line 42 of file labdlg.hxx.

Referenced by SetupExtension_Impl(), and SvxCaptionTabPage().

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

Definition at line 43 of file labdlg.hxx.

Referenced by SetupExtension_Impl(), and SvxCaptionTabPage().

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

Definition at line 69 of file labdlg.hxx.

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

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

Definition at line 70 of file labdlg.hxx.

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

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

Definition at line 71 of file labdlg.hxx.

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

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

Definition at line 62 of file labdlg.hxx.

Referenced by SetupExtension_Impl().

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

Definition at line 67 of file labdlg.hxx.

Referenced by SetupType_Impl().

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

Definition at line 64 of file labdlg.hxx.

Referenced by SetupExtension_Impl().

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

Definition at line 61 of file labdlg.hxx.

Referenced by Reset(), and SvxCaptionTabPage().

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

Definition at line 65 of file labdlg.hxx.

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

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

Definition at line 66 of file labdlg.hxx.

Referenced by SvxCaptionTabPage().

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

Definition at line 63 of file labdlg.hxx.

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

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

Definition at line 68 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 60 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

SdrCaptionType SvxCaptionTabPage::nCaptionType
private

Definition at line 45 of file labdlg.hxx.

Referenced by FillItemSet(), and Reset().

sal_Int32 SvxCaptionTabPage::nEscAbs
private

Definition at line 49 of file labdlg.hxx.

Referenced by Reset().

SdrCaptionEscDir SvxCaptionTabPage::nEscDir
private

Definition at line 47 of file labdlg.hxx.

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

sal_Int32 SvxCaptionTabPage::nEscRel
private

Definition at line 50 of file labdlg.hxx.

Referenced by Reset().

sal_uInt16 SvxCaptionTabPage::nExtension
private

Definition at line 55 of file labdlg.hxx.

Referenced by Reset().

sal_Int32 SvxCaptionTabPage::nGap
private

Definition at line 46 of file labdlg.hxx.

Referenced by Reset().

sal_Int32 SvxCaptionTabPage::nLineLen
private

Definition at line 51 of file labdlg.hxx.

Referenced by Reset().

sal_uInt16 SvxCaptionTabPage::nPosition
private

Definition at line 54 of file labdlg.hxx.

Referenced by Reset(), and SetupExtension_Impl().

const sal_uInt16 SvxCaptionTabPage::pCaptionRanges
staticprivate
const SdrView* SvxCaptionTabPage::pView
private

Definition at line 58 of file labdlg.hxx.

Referenced by Construct().

const SfxItemSet& SvxCaptionTabPage::rOutAttrs
private

Definition at line 57 of file labdlg.hxx.

Referenced by Create(), and Reset().


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