LibreOffice Module cui (master) 1
|
#include <textattr.hxx>
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< SfxTabPage > | Create (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... | |
Static Private Attributes | |
static const WhichRangesContainer | pRanges |
Definition at line 32 of file textattr.hxx.
SvxTextAttrPage::SvxTextAttrPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 48 of file textattr.cxx.
References CM, GetModuleFieldUnit(), LINK, m_aCtlPosition, m_xMtrFldBottom, m_xMtrFldLeft, m_xMtrFldRight, m_xMtrFldTop, m_xTsbAutoGrowHeight, m_xTsbAutoGrowSize, m_xTsbAutoGrowWidth, m_xTsbContour, m_xTsbFitToSize, m_xTsbFullWidth, NONE, SvxRectCtl::SetControlSettings(), and SetFieldUnit().
|
overridevirtual |
Definition at line 94 of file textattr.cxx.
void SvxTextAttrPage::Construct | ( | ) |
Definition at line 429 of file textattr.cxx.
References bAutoGrowHeightEnabled, bAutoGrowSizeEnabled, bAutoGrowWidthEnabled, bContourEnabled, bFitToSizeEnabled, bWordWrapTextEnabled, m_eObjKind, m_xCustomShapeText, m_xDrawingText, m_xTsbAutoGrowHeight, m_xTsbAutoGrowSize, m_xTsbAutoGrowWidth, m_xTsbContour, m_xTsbFitToSize, and m_xTsbWordWrapText.
Referenced by PageCreated().
|
static |
Definition at line 474 of file textattr.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), and SvxTextTabDialog::SvxTextTabDialog().
|
private |
|
private |
|
overridevirtual |
Definition at line 288 of file textattr.cxx.
References DBG_ASSERT, SfxItemSet::Get(), SvxRectCtl::GetActualRP(), GetCoreValue(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SvxRectCtl::IsCompletelyDisabled(), IsTextDirectionLeftToRight(), m_aCtlPosition, m_xMtrFldBottom, m_xMtrFldLeft, m_xMtrFldRight, m_xMtrFldTop, m_xTsbAutoGrowHeight, m_xTsbAutoGrowSize, m_xTsbAutoGrowWidth, m_xTsbContour, m_xTsbFitToSize, m_xTsbFullWidth, m_xTsbWordWrapText, makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextContourFrameItem(), makeSdrTextLeftDistItem(), makeSdrTextLowerDistItem(), makeSdrTextRightDistItem(), makeSdrTextUpperDistItem(), makeSdrTextWordWrapItem(), nValue, SfxItemSet::Put(), rOutAttrs, SDRATTR_TEXT_HORZADJUST(), SDRATTR_TEXT_LEFTDIST(), SDRATTR_TEXT_VERTADJUST(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, TRISTATE_FALSE, and TRISTATE_TRUE.
|
inlinestatic |
Definition at line 80 of file textattr.hxx.
References pRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
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().
|
overridevirtual |
Definition at line 655 of file textattr.cxx.
References Construct(), SfxItemSet::GetItem(), CntUInt16Item::GetValue(), and SetObjKind().
|
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.
|
overridevirtual |
Definition at line 104 of file textattr.cxx.
References DBG_ASSERT, SvxRectCtl::DoCompletelyDisable(), SfxItemSet::Get(), SfxItemPool::GetDefaultItem(), GetItem(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), GetValue(), IsTextDirectionLeftToRight(), m_aCtlPosition, m_xFlPosition, m_xMtrFldBottom, m_xMtrFldLeft, m_xMtrFldRight, m_xMtrFldTop, m_xTsbAutoGrowHeight, m_xTsbAutoGrowSize, m_xTsbAutoGrowWidth, m_xTsbContour, m_xTsbFitToSize, m_xTsbFullWidth, m_xTsbWordWrapText, SvxRectCtl::Reset(), SDRATTR_TEXT_AUTOGROWHEIGHT(), SDRATTR_TEXT_AUTOGROWWIDTH(), SDRATTR_TEXT_CONTOURFRAME(), SDRATTR_TEXT_FITTOSIZE(), SDRATTR_TEXT_HORZADJUST(), SDRATTR_TEXT_LEFTDIST(), SDRATTR_TEXT_LOWERDIST(), SDRATTR_TEXT_RIGHTDIST(), SDRATTR_TEXT_UPPERDIST(), SDRATTR_TEXT_VERTADJUST(), SDRATTR_TEXT_WORDWRAP(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, SvxRectCtl::SetActualRP(), SetMetricValue(), SvxRectCtl::SetState(), TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
|
inline |
|
private |
Definition at line 43 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 40 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 42 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 41 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 45 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 44 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 47 of file textattr.hxx.
Referenced by FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 38 of file textattr.hxx.
Referenced by Construct(), and SetObjKind().
|
private |
Definition at line 63 of file textattr.hxx.
|
private |
Definition at line 50 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 49 of file textattr.hxx.
Referenced by Construct().
|
private |
Definition at line 57 of file textattr.hxx.
|
private |
Definition at line 62 of file textattr.hxx.
Referenced by Reset().
|
private |
Definition at line 61 of file textattr.hxx.
Referenced by FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 58 of file textattr.hxx.
Referenced by FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 59 of file textattr.hxx.
Referenced by FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 60 of file textattr.hxx.
Referenced by FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 52 of file textattr.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 56 of file textattr.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 51 of file textattr.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 54 of file textattr.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 53 of file textattr.hxx.
Referenced by Construct(), FillItemSet(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 64 of file textattr.hxx.
Referenced by FillItemSet(), PointChanged(), Reset(), and SvxTextAttrPage().
|
private |
Definition at line 55 of file textattr.hxx.
Referenced by Construct(), FillItemSet(), and Reset().
|
staticprivate |
Definition at line 35 of file textattr.hxx.
Referenced by GetRanges().
|
private |
Definition at line 37 of file textattr.hxx.
Referenced by FillItemSet(), and IsTextDirectionLeftToRight().