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

#include <chardlg.hxx>

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

Public Member Functions

 SvxCharPositionPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxCharPositionPage () override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void ChangesApplied () override
 
virtual void FillUserData () override
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- Public Member Functions inherited from SvxCharBasePage
virtual ~SvxCharBasePage () override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
- 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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
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 Initialize ()
 
void UpdatePreview_Impl (sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
 
void SetEscapement_Impl (SvxEscapement nEsc)
 
 DECL_LINK (PositionHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (RotationHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (AutoPositionHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (FitToLineHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (KerningModifyHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ValueChangedHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ScaleWidthModifyHdl_Impl, weld::MetricSpinButton &, void)
 
void FontModifyHdl_Impl ()
 

Private Attributes

short m_nSuperEsc
 
short m_nSubEsc
 
sal_uInt16 m_nScaleWidthItemSetVal
 
sal_uInt16 m_nScaleWidthInitialVal
 
sal_uInt8 m_nSuperProp
 
sal_uInt8 m_nSubProp
 
std::unique_ptr< weld::RadioButtonm_xHighPosBtn
 
std::unique_ptr< weld::RadioButtonm_xNormalPosBtn
 
std::unique_ptr< weld::RadioButtonm_xLowPosBtn
 
std::unique_ptr< weld::Labelm_xHighLowFT
 
std::unique_ptr< weld::MetricSpinButtonm_xHighLowMF
 
std::unique_ptr< weld::CheckButtonm_xHighLowRB
 
std::unique_ptr< weld::Labelm_xFontSizeFT
 
std::unique_ptr< weld::MetricSpinButtonm_xFontSizeMF
 
std::unique_ptr< weld::Widgetm_xRotationContainer
 
std::unique_ptr< weld::Labelm_xScalingFT
 
std::unique_ptr< weld::Labelm_xScalingAndRotationFT
 
std::unique_ptr< weld::RadioButtonm_x0degRB
 
std::unique_ptr< weld::RadioButtonm_x90degRB
 
std::unique_ptr< weld::RadioButtonm_x270degRB
 
std::unique_ptr< weld::CheckButtonm_xFitToLineCB
 
std::unique_ptr< weld::MetricSpinButtonm_xScaleWidthMF
 
std::unique_ptr< weld::MetricSpinButtonm_xKerningMF
 
std::unique_ptr< weld::CheckButtonm_xPairKerningBtn
 

Static Private Attributes

static const WhichRangesContainer pPositionRanges
 

Additional Inherited Members

- Protected Member Functions inherited from SvxCharBasePage
 SvxCharBasePage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
 
void SetPrevFontWidthScale (const SfxItemSet &rSet)
 
void SetPrevFontEscapement (sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
 
SvxFontGetPreviewFont ()
 
SvxFontGetPreviewCJKFont ()
 
SvxFontGetPreviewCTLFont ()
 
- 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
 
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
 
- Protected Attributes inherited from SvxCharBasePage
SvxFontPrevWindow m_aPreviewWin
 
std::unique_ptr< weld::CustomWeldm_xPreviewWin
 
bool m_bPreviewBackgroundToCharacter
 

Detailed Description

Definition at line 237 of file chardlg.hxx.

Constructor & Destructor Documentation

◆ SvxCharPositionPage()

SvxCharPositionPage::SvxCharPositionPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SvxCharPositionPage()

SvxCharPositionPage::~SvxCharPositionPage ( )
overridevirtual

Definition at line 2446 of file chardlg.cxx.

Member Function Documentation

◆ ChangesApplied()

void SvxCharPositionPage::ChangesApplied ( )
overridevirtual

◆ Create()

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

◆ DeactivatePage()

DeactivateRC SvxCharPositionPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 2634 of file chardlg.cxx.

References FillItemSet().

◆ DECL_LINK() [1/7]

SvxCharPositionPage::DECL_LINK ( AutoPositionHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/7]

SvxCharPositionPage::DECL_LINK ( FitToLineHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/7]

SvxCharPositionPage::DECL_LINK ( KerningModifyHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [4/7]

SvxCharPositionPage::DECL_LINK ( PositionHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/7]

SvxCharPositionPage::DECL_LINK ( RotationHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/7]

SvxCharPositionPage::DECL_LINK ( ScaleWidthModifyHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [7/7]

SvxCharPositionPage::DECL_LINK ( ValueChangedHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ FillItemSet()

bool SvxCharPositionPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ FillUserData()

void SvxCharPositionPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 3002 of file chardlg.cxx.

References m_nSubEsc, m_nSubProp, m_nSuperEsc, m_nSuperProp, SfxTabPage::SetUserData(), and u.

◆ FontModifyHdl_Impl()

void SvxCharPositionPage::FontModifyHdl_Impl ( )
private

Definition at line 2558 of file chardlg.cxx.

References m_xFontSizeMF, m_xHighLowMF, m_xLowPosBtn, and UpdatePreview_Impl().

◆ GetRanges()

static WhichRangesContainer SvxCharPositionPage::GetRanges ( )
inlinestatic

Definition at line 295 of file chardlg.hxx.

References pPositionRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ Initialize()

void SvxCharPositionPage::Initialize ( )
private

◆ PageCreated()

void SvxCharPositionPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

◆ Reset()

void SvxCharPositionPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetEscapement_Impl()

void SvxCharPositionPage::SetEscapement_Impl ( SvxEscapement  nEsc)
private

◆ UpdatePreview_Impl()

void SvxCharPositionPage::UpdatePreview_Impl ( sal_uInt8  nProp,
sal_uInt8  nEscProp,
short  nEsc 
)
private

Definition at line 2483 of file chardlg.cxx.

References SvxCharBasePage::SetPrevFontEscapement().

Referenced by FontModifyHdl_Impl(), and SetEscapement_Impl().

Member Data Documentation

◆ m_nScaleWidthInitialVal

sal_uInt16 SvxCharPositionPage::m_nScaleWidthInitialVal
private

Definition at line 246 of file chardlg.hxx.

Referenced by Reset().

◆ m_nScaleWidthItemSetVal

sal_uInt16 SvxCharPositionPage::m_nScaleWidthItemSetVal
private

Definition at line 245 of file chardlg.hxx.

Referenced by Reset().

◆ m_nSubEsc

short SvxCharPositionPage::m_nSubEsc
private

Definition at line 243 of file chardlg.hxx.

Referenced by FillUserData(), Reset(), and SetEscapement_Impl().

◆ m_nSubProp

sal_uInt8 SvxCharPositionPage::m_nSubProp
private

Definition at line 249 of file chardlg.hxx.

Referenced by FillUserData(), Reset(), and SetEscapement_Impl().

◆ m_nSuperEsc

short SvxCharPositionPage::m_nSuperEsc
private

Definition at line 242 of file chardlg.hxx.

Referenced by FillUserData(), Reset(), and SetEscapement_Impl().

◆ m_nSuperProp

sal_uInt8 SvxCharPositionPage::m_nSuperProp
private

Definition at line 248 of file chardlg.hxx.

Referenced by FillUserData(), Reset(), and SetEscapement_Impl().

◆ m_x0degRB

std::unique_ptr<weld::RadioButton> SvxCharPositionPage::m_x0degRB
private

Definition at line 264 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_x270degRB

std::unique_ptr<weld::RadioButton> SvxCharPositionPage::m_x270degRB
private

Definition at line 266 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_x90degRB

std::unique_ptr<weld::RadioButton> SvxCharPositionPage::m_x90degRB
private

Definition at line 265 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_xFitToLineCB

std::unique_ptr<weld::CheckButton> SvxCharPositionPage::m_xFitToLineCB
private

Definition at line 267 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_xFontSizeFT

std::unique_ptr<weld::Label> SvxCharPositionPage::m_xFontSizeFT
private

Definition at line 257 of file chardlg.hxx.

Referenced by Reset(), and SetEscapement_Impl().

◆ m_xFontSizeMF

std::unique_ptr<weld::MetricSpinButton> SvxCharPositionPage::m_xFontSizeMF
private

Definition at line 258 of file chardlg.hxx.

Referenced by FillItemSet(), FontModifyHdl_Impl(), Initialize(), Reset(), and SetEscapement_Impl().

◆ m_xHighLowFT

std::unique_ptr<weld::Label> SvxCharPositionPage::m_xHighLowFT
private

Definition at line 254 of file chardlg.hxx.

Referenced by Reset(), and SetEscapement_Impl().

◆ m_xHighLowMF

std::unique_ptr<weld::MetricSpinButton> SvxCharPositionPage::m_xHighLowMF
private

Definition at line 255 of file chardlg.hxx.

Referenced by FillItemSet(), FontModifyHdl_Impl(), Initialize(), Reset(), and SetEscapement_Impl().

◆ m_xHighLowRB

std::unique_ptr<weld::CheckButton> SvxCharPositionPage::m_xHighLowRB
private

Definition at line 256 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), and SetEscapement_Impl().

◆ m_xHighPosBtn

std::unique_ptr<weld::RadioButton> SvxCharPositionPage::m_xHighPosBtn
private

Definition at line 251 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_xKerningMF

std::unique_ptr<weld::MetricSpinButton> SvxCharPositionPage::m_xKerningMF
private

Definition at line 271 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_xLowPosBtn

std::unique_ptr<weld::RadioButton> SvxCharPositionPage::m_xLowPosBtn
private

Definition at line 253 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), FontModifyHdl_Impl(), Initialize(), and Reset().

◆ m_xNormalPosBtn

std::unique_ptr<weld::RadioButton> SvxCharPositionPage::m_xNormalPosBtn
private

Definition at line 252 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_xPairKerningBtn

std::unique_ptr<weld::CheckButton> SvxCharPositionPage::m_xPairKerningBtn
private

Definition at line 272 of file chardlg.hxx.

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

◆ m_xRotationContainer

std::unique_ptr<weld::Widget> SvxCharPositionPage::m_xRotationContainer
private

Definition at line 260 of file chardlg.hxx.

Referenced by Reset().

◆ m_xScaleWidthMF

std::unique_ptr<weld::MetricSpinButton> SvxCharPositionPage::m_xScaleWidthMF
private

Definition at line 269 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_xScalingAndRotationFT

std::unique_ptr<weld::Label> SvxCharPositionPage::m_xScalingAndRotationFT
private

Definition at line 263 of file chardlg.hxx.

Referenced by Reset().

◆ m_xScalingFT

std::unique_ptr<weld::Label> SvxCharPositionPage::m_xScalingFT
private

Definition at line 262 of file chardlg.hxx.

Referenced by Reset().

◆ pPositionRanges

const WhichRangesContainer SvxCharPositionPage::pPositionRanges
staticprivate

Definition at line 239 of file chardlg.hxx.

Referenced by GetRanges().


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