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

#include <textattr.hxx>

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

Public Member Functions

 SvxTextAttrPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxTextAttrPage () override
 
virtual bool FillItemSet (SfxItemSet *) override
 
virtual void Reset (const SfxItemSet *) override
 
virtual void PointChanged (weld::DrawingArea *pWindow, RectPoint eRP) override
 Check whether we have to uncheck the "Full width" check box. More...
 
void Construct ()
 
void SetObjKind (SdrObjKind eObjKind)
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- Public Member Functions inherited from SvxTabPage
 SvxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet &rAttrSet)
 
virtual void PointChanged (weld::DrawingArea *pArea, RectPoint eRP)=0
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static WhichRangesContainer GetRanges ()
 

Private Member Functions

 DECL_LINK (ClickFullWidthHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (ClickHdl_Impl, weld::Toggleable &, void)
 
bool IsTextDirectionLeftToRight () const
 Return whether the text direction is from left to right (</sal_True>) or top to bottom (</sal_False>). More...
 

Private Attributes

const SfxItemSetrOutAttrs
 
SdrObjKind m_eObjKind
 
bool bAutoGrowSizeEnabled
 
bool bContourEnabled
 
bool bAutoGrowWidthEnabled
 
bool bAutoGrowHeightEnabled
 
bool bWordWrapTextEnabled
 
bool bFitToSizeEnabled
 
SvxRectCtl m_aCtlPosition
 
std::unique_ptr< weld::Widgetm_xDrawingText
 
std::unique_ptr< weld::Widgetm_xCustomShapeText
 
std::unique_ptr< weld::CheckButtonm_xTsbAutoGrowWidth
 
std::unique_ptr< weld::CheckButtonm_xTsbAutoGrowHeight
 
std::unique_ptr< weld::CheckButtonm_xTsbFitToSize
 
std::unique_ptr< weld::CheckButtonm_xTsbContour
 
std::unique_ptr< weld::CheckButtonm_xTsbWordWrapText
 
std::unique_ptr< weld::CheckButtonm_xTsbAutoGrowSize
 
std::unique_ptr< weld::Framem_xFlDistance
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldLeft
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldRight
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldTop
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldBottom
 
std::unique_ptr< weld::Framem_xFlPosition
 
std::unique_ptr< weld::CustomWeldm_xCtlPosition
 
std::unique_ptr< weld::CheckButtonm_xTsbFullWidth
 

Static Private Attributes

static const WhichRangesContainer pRanges
 

Detailed Description

Definition at line 32 of file textattr.hxx.

Constructor & Destructor Documentation

◆ SvxTextAttrPage()

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

◆ ~SvxTextAttrPage()

SvxTextAttrPage::~SvxTextAttrPage ( )
overridevirtual

Definition at line 94 of file textattr.cxx.

Member Function Documentation

◆ Construct()

void SvxTextAttrPage::Construct ( )

◆ Create()

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

◆ DECL_LINK() [1/2]

SvxTextAttrPage::DECL_LINK ( ClickFullWidthHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

SvxTextAttrPage::DECL_LINK ( ClickHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SvxTextAttrPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

◆ GetRanges()

static WhichRangesContainer SvxTextAttrPage::GetRanges ( )
inlinestatic

Definition at line 80 of file textattr.hxx.

References pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ IsTextDirectionLeftToRight()

bool SvxTextAttrPage::IsTextDirectionLeftToRight ( ) const
private

Return whether the text direction is from left to right (</sal_True>) or top to bottom (</sal_False>).

Definition at line 640 of file textattr.cxx.

References SfxItemSet::Get(), SfxItemSet::GetItemState(), SvxWritingModeItem::GetValue(), rOutAttrs, and SDRATTR_TEXTDIRECTION().

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

◆ PageCreated()

void SvxTextAttrPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

◆ PointChanged()

void SvxTextAttrPage::PointChanged ( weld::DrawingArea pWindow,
RectPoint  eRP 
)
overridevirtual

Check whether we have to uncheck the "Full width" check box.

Implements SvxTabPage.

Definition at line 481 of file textattr.cxx.

References IsTextDirectionLeftToRight(), m_xTsbFullWidth, TRISTATE_FALSE, and TRISTATE_TRUE.

◆ Reset()

void SvxTextAttrPage::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SetObjKind()

void SvxTextAttrPage::SetObjKind ( SdrObjKind  eObjKind)
inline

Definition at line 88 of file textattr.hxx.

References m_eObjKind.

Referenced by PageCreated().

Member Data Documentation

◆ bAutoGrowHeightEnabled

bool SvxTextAttrPage::bAutoGrowHeightEnabled
private

Definition at line 43 of file textattr.hxx.

Referenced by Construct().

◆ bAutoGrowSizeEnabled

bool SvxTextAttrPage::bAutoGrowSizeEnabled
private

Definition at line 40 of file textattr.hxx.

Referenced by Construct().

◆ bAutoGrowWidthEnabled

bool SvxTextAttrPage::bAutoGrowWidthEnabled
private

Definition at line 42 of file textattr.hxx.

Referenced by Construct().

◆ bContourEnabled

bool SvxTextAttrPage::bContourEnabled
private

Definition at line 41 of file textattr.hxx.

Referenced by Construct().

◆ bFitToSizeEnabled

bool SvxTextAttrPage::bFitToSizeEnabled
private

Definition at line 45 of file textattr.hxx.

Referenced by Construct().

◆ bWordWrapTextEnabled

bool SvxTextAttrPage::bWordWrapTextEnabled
private

Definition at line 44 of file textattr.hxx.

Referenced by Construct().

◆ m_aCtlPosition

SvxRectCtl SvxTextAttrPage::m_aCtlPosition
private

Definition at line 47 of file textattr.hxx.

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

◆ m_eObjKind

SdrObjKind SvxTextAttrPage::m_eObjKind
private

Definition at line 38 of file textattr.hxx.

Referenced by Construct(), and SetObjKind().

◆ m_xCtlPosition

std::unique_ptr<weld::CustomWeld> SvxTextAttrPage::m_xCtlPosition
private

Definition at line 63 of file textattr.hxx.

◆ m_xCustomShapeText

std::unique_ptr<weld::Widget> SvxTextAttrPage::m_xCustomShapeText
private

Definition at line 50 of file textattr.hxx.

Referenced by Construct().

◆ m_xDrawingText

std::unique_ptr<weld::Widget> SvxTextAttrPage::m_xDrawingText
private

Definition at line 49 of file textattr.hxx.

Referenced by Construct().

◆ m_xFlDistance

std::unique_ptr<weld::Frame> SvxTextAttrPage::m_xFlDistance
private

Definition at line 57 of file textattr.hxx.

◆ m_xFlPosition

std::unique_ptr<weld::Frame> SvxTextAttrPage::m_xFlPosition
private

Definition at line 62 of file textattr.hxx.

Referenced by Reset().

◆ m_xMtrFldBottom

std::unique_ptr<weld::MetricSpinButton> SvxTextAttrPage::m_xMtrFldBottom
private

Definition at line 61 of file textattr.hxx.

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

◆ m_xMtrFldLeft

std::unique_ptr<weld::MetricSpinButton> SvxTextAttrPage::m_xMtrFldLeft
private

Definition at line 58 of file textattr.hxx.

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

◆ m_xMtrFldRight

std::unique_ptr<weld::MetricSpinButton> SvxTextAttrPage::m_xMtrFldRight
private

Definition at line 59 of file textattr.hxx.

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

◆ m_xMtrFldTop

std::unique_ptr<weld::MetricSpinButton> SvxTextAttrPage::m_xMtrFldTop
private

Definition at line 60 of file textattr.hxx.

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

◆ m_xTsbAutoGrowHeight

std::unique_ptr<weld::CheckButton> SvxTextAttrPage::m_xTsbAutoGrowHeight
private

Definition at line 52 of file textattr.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().

◆ m_xTsbAutoGrowSize

std::unique_ptr<weld::CheckButton> SvxTextAttrPage::m_xTsbAutoGrowSize
private

Definition at line 56 of file textattr.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().

◆ m_xTsbAutoGrowWidth

std::unique_ptr<weld::CheckButton> SvxTextAttrPage::m_xTsbAutoGrowWidth
private

Definition at line 51 of file textattr.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().

◆ m_xTsbContour

std::unique_ptr<weld::CheckButton> SvxTextAttrPage::m_xTsbContour
private

Definition at line 54 of file textattr.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().

◆ m_xTsbFitToSize

std::unique_ptr<weld::CheckButton> SvxTextAttrPage::m_xTsbFitToSize
private

Definition at line 53 of file textattr.hxx.

Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().

◆ m_xTsbFullWidth

std::unique_ptr<weld::CheckButton> SvxTextAttrPage::m_xTsbFullWidth
private

Definition at line 64 of file textattr.hxx.

Referenced by FillItemSet(), PointChanged(), Reset(), and SvxTextAttrPage().

◆ m_xTsbWordWrapText

std::unique_ptr<weld::CheckButton> SvxTextAttrPage::m_xTsbWordWrapText
private

Definition at line 55 of file textattr.hxx.

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

◆ pRanges

const WhichRangesContainer SvxTextAttrPage::pRanges
staticprivate

Definition at line 35 of file textattr.hxx.

Referenced by GetRanges().

◆ rOutAttrs

const SfxItemSet& SvxTextAttrPage::rOutAttrs
private

Definition at line 37 of file textattr.hxx.

Referenced by FillItemSet(), and IsTextDirectionLeftToRight().


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