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

#include <chardlg.hxx>

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

Public Member Functions

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
 
virtual void dispose () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
virtual bool IsReadOnly () const
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame ()
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, const SfxItemSet *rSet)
 
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

 SvxCharPositionPage (TabPageParent pParent, const SfxItemSet &rSet)
 
void Initialize ()
 
void UpdatePreview_Impl (sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
 
void SetEscapement_Impl (SvxEscapement nEsc)
 
 DECL_LINK (PositionHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (RotationHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (AutoPositionHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (FitToLineHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (KerningSelectHdl_Impl, weld::ComboBox &, 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 sal_uInt16 pPositionRanges []
 

Friends

class VclPtr< SvxCharPositionPage >
 

Additional Inherited Members

- Protected Member Functions inherited from SvxCharBasePage
 SvxCharBasePage (TabPageParent pParent, 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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, 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
 
- Protected Attributes inherited from SvxCharBasePage
FontPrevWindow m_aPreviewWin
 
std::unique_ptr< weld::CustomWeldm_xPreviewWin
 
bool m_bPreviewBackgroundToCharacter
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 248 of file chardlg.hxx.

Constructor & Destructor Documentation

SvxCharPositionPage::SvxCharPositionPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
private
SvxCharPositionPage::~SvxCharPositionPage ( )
overridevirtual

Definition at line 2496 of file chardlg.cxx.

Member Function Documentation

void SvxCharPositionPage::ChangesApplied ( )
overridevirtual
VclPtr< SfxTabPage > SvxCharPositionPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static
DeactivateRC SvxCharPositionPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 2683 of file chardlg.cxx.

References FillItemSet().

SvxCharPositionPage::DECL_LINK ( PositionHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxCharPositionPage::DECL_LINK ( RotationHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxCharPositionPage::DECL_LINK ( AutoPositionHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxCharPositionPage::DECL_LINK ( FitToLineHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxCharPositionPage::DECL_LINK ( KerningSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxCharPositionPage::DECL_LINK ( KerningModifyHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxCharPositionPage::DECL_LINK ( ValueChangedHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxCharPositionPage::DECL_LINK ( ScaleWidthModifyHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
bool SvxCharPositionPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SvxCharPositionPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 3050 of file chardlg.cxx.

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

void SvxCharPositionPage::FontModifyHdl_Impl ( )
private

Definition at line 2608 of file chardlg.cxx.

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

static const sal_uInt16* SvxCharPositionPage::GetRanges ( )
inlinestatic

Definition at line 311 of file chardlg.hxx.

References pPositionRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

void SvxCharPositionPage::Initialize ( )
private
void SvxCharPositionPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual
void SvxCharPositionPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxCharPositionPage::SetEscapement_Impl ( SvxEscapement  nEsc)
private
void SvxCharPositionPage::UpdatePreview_Impl ( sal_uInt8  nProp,
sal_uInt8  nEscProp,
short  nEsc 
)
private

Definition at line 2533 of file chardlg.cxx.

References SvxCharBasePage::SetPrevFontEscapement().

Referenced by FontModifyHdl_Impl(), and SetEscapement_Impl().

Friends And Related Function Documentation

friend class VclPtr< SvxCharPositionPage >
friend

Definition at line 250 of file chardlg.hxx.

Member Data Documentation

sal_uInt16 SvxCharPositionPage::m_nScaleWidthInitialVal
private

Definition at line 258 of file chardlg.hxx.

Referenced by Reset().

sal_uInt16 SvxCharPositionPage::m_nScaleWidthItemSetVal
private

Definition at line 257 of file chardlg.hxx.

Referenced by Reset().

short SvxCharPositionPage::m_nSubEsc
private

Definition at line 255 of file chardlg.hxx.

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

sal_uInt8 SvxCharPositionPage::m_nSubProp
private

Definition at line 261 of file chardlg.hxx.

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

short SvxCharPositionPage::m_nSuperEsc
private

Definition at line 254 of file chardlg.hxx.

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

sal_uInt8 SvxCharPositionPage::m_nSuperProp
private

Definition at line 260 of file chardlg.hxx.

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

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

Definition at line 276 of file chardlg.hxx.

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

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

Definition at line 278 of file chardlg.hxx.

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

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

Definition at line 277 of file chardlg.hxx.

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

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

Definition at line 279 of file chardlg.hxx.

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

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

Definition at line 269 of file chardlg.hxx.

Referenced by Reset(), and SetEscapement_Impl().

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

Definition at line 270 of file chardlg.hxx.

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

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

Definition at line 266 of file chardlg.hxx.

Referenced by Reset(), and SetEscapement_Impl().

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

Definition at line 267 of file chardlg.hxx.

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

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

Definition at line 268 of file chardlg.hxx.

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

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

Definition at line 263 of file chardlg.hxx.

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

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

Definition at line 283 of file chardlg.hxx.

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

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

Definition at line 265 of file chardlg.hxx.

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

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

Definition at line 264 of file chardlg.hxx.

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

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

Definition at line 284 of file chardlg.hxx.

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

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

Definition at line 272 of file chardlg.hxx.

Referenced by Reset().

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

Definition at line 281 of file chardlg.hxx.

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

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

Definition at line 275 of file chardlg.hxx.

Referenced by Reset().

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

Definition at line 274 of file chardlg.hxx.

Referenced by Reset().

const sal_uInt16 SvxCharPositionPage::pPositionRanges
staticprivate
Initial value:
=
{
SID_ATTR_CHAR_KERNING,
SID_ATTR_CHAR_KERNING,
SID_ATTR_CHAR_ESCAPEMENT,
SID_ATTR_CHAR_ESCAPEMENT,
SID_ATTR_CHAR_AUTOKERN,
SID_ATTR_CHAR_AUTOKERN,
SID_ATTR_CHAR_ROTATED,
SID_ATTR_CHAR_SCALEWIDTH,
SID_ATTR_CHAR_WIDTH_FIT_TO_LINE,
SID_ATTR_CHAR_WIDTH_FIT_TO_LINE,
0
}

Definition at line 251 of file chardlg.hxx.

Referenced by GetRanges().


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