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 (TabPageParent pWindow, 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 (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent, const SfxItemSet *)
 
static const sal_uInt16 * GetRanges ()
 

Private Member Functions

 DECL_LINK (ClickFullWidthHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickHdl_Impl, weld::Button &, 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 sal_uInt16 pRanges []
 

Detailed Description

Definition at line 34 of file textattr.hxx.

Constructor & Destructor Documentation

SvxTextAttrPage::SvxTextAttrPage ( TabPageParent  pWindow,
const SfxItemSet rInAttrs 
)
SvxTextAttrPage::~SvxTextAttrPage ( )
overridevirtual

Definition at line 105 of file textattr.cxx.

Member Function Documentation

void SvxTextAttrPage::Construct ( )
VclPtr< SfxTabPage > SvxTextAttrPage::Create ( TabPageParent  pWindow,
const SfxItemSet rAttrs 
)
static
SvxTextAttrPage::DECL_LINK ( ClickFullWidthHdl_Impl  ,
weld::Button ,
void   
)
private
SvxTextAttrPage::DECL_LINK ( ClickHdl_Impl  ,
weld::Button ,
void   
)
private
bool SvxTextAttrPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual
static const sal_uInt16* SvxTextAttrPage::GetRanges ( )
inlinestatic

Definition at line 82 of file textattr.hxx.

References pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

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 651 of file textattr.cxx.

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

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

void SvxTextAttrPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual
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 492 of file textattr.cxx.

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

void SvxTextAttrPage::Reset ( const SfxItemSet rAttrs)
overridevirtual
void SvxTextAttrPage::SetObjKind ( SdrObjKind  eObjKind)
inline

Definition at line 90 of file textattr.hxx.

Referenced by PageCreated().

Member Data Documentation

bool SvxTextAttrPage::bAutoGrowHeightEnabled
private

Definition at line 45 of file textattr.hxx.

Referenced by Construct().

bool SvxTextAttrPage::bAutoGrowSizeEnabled
private

Definition at line 42 of file textattr.hxx.

Referenced by Construct().

bool SvxTextAttrPage::bAutoGrowWidthEnabled
private

Definition at line 44 of file textattr.hxx.

Referenced by Construct().

bool SvxTextAttrPage::bContourEnabled
private

Definition at line 43 of file textattr.hxx.

Referenced by Construct().

bool SvxTextAttrPage::bFitToSizeEnabled
private

Definition at line 47 of file textattr.hxx.

Referenced by Construct().

bool SvxTextAttrPage::bWordWrapTextEnabled
private

Definition at line 46 of file textattr.hxx.

Referenced by Construct().

SvxRectCtl SvxTextAttrPage::m_aCtlPosition
private

Definition at line 49 of file textattr.hxx.

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

SdrObjKind SvxTextAttrPage::m_eObjKind
private

Definition at line 40 of file textattr.hxx.

Referenced by Construct().

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

Definition at line 65 of file textattr.hxx.

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

Definition at line 52 of file textattr.hxx.

Referenced by Construct().

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

Definition at line 51 of file textattr.hxx.

Referenced by Construct().

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

Definition at line 59 of file textattr.hxx.

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

Definition at line 64 of file textattr.hxx.

Referenced by Reset().

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

Definition at line 63 of file textattr.hxx.

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

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

Definition at line 60 of file textattr.hxx.

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

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

Definition at line 61 of file textattr.hxx.

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

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

Definition at line 62 of file textattr.hxx.

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

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

Definition at line 54 of file textattr.hxx.

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

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

Definition at line 58 of file textattr.hxx.

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

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

Definition at line 53 of file textattr.hxx.

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

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

Definition at line 56 of file textattr.hxx.

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

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

Definition at line 55 of file textattr.hxx.

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

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

Definition at line 66 of file textattr.hxx.

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

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

Definition at line 57 of file textattr.hxx.

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

const sal_uInt16 SvxTextAttrPage::pRanges
staticprivate
Initial value:

Definition at line 37 of file textattr.hxx.

Referenced by GetRanges().

const SfxItemSet& SvxTextAttrPage::rOutAttrs
private

Definition at line 39 of file textattr.hxx.

Referenced by FillItemSet(), and IsTextDirectionLeftToRight().


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