33 const SfxItemSet& rInAttrs,
bool bWithRotation)
34 :
SfxTabPage(pPage, pController,
"modules/schart/ui/titlerotationtabpage.ui",
"TitleRotationTabPage", &rInAttrs)
35 , m_xFtRotate(m_xBuilder->weld_label(
"degreeL"))
36 , m_xNfRotate(m_xBuilder->weld_metric_spin_button(
"OrientDegree",
FieldUnit::
DEGREE))
37 , m_xCbStacked(m_xBuilder->weld_check_button(
"stackedCB"))
38 , m_xFtABCD(m_xBuilder->weld_label(
"labelABCD"))
39 , m_aLbTextDirection(m_xBuilder->weld_combo_box(
"textdirLB"))
40 , m_xCtrlDial(new
svx::DialControl)
41 , m_xCtrlDialWin(new
weld::CustomWeld(*m_xBuilder,
"dialCtrl", *m_xCtrlDial))
63 bool bActive = m_xCbStacked->get_active();
64 m_xNfRotate->set_sensitive(!bActive);
65 m_xCtrlDialWin->set_sensitive(!bActive);
66 m_xCtrlDial->StyleUpdated();
67 m_xFtRotate->set_sensitive(!bActive);
79 return std::make_unique<SchAlignmentTabPage>(pPage, pController, *rInAttrs);
85 return std::make_unique<SchAlignmentTabPage>(pPage, pController, *rInAttrs,
false);
constexpr TypedWhichId< SfxBoolItem > SCHATTR_TEXT_STACKED(SCHATTR_TEXT_START+1)
constexpr TypedWhichId< SdrAngleItem > SCHATTR_TEXT_DEGREES(SCHATTR_TEXT_START)
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
static const SfxPoolItem * GetItem(const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
std::unique_ptr< weld::MetricSpinButton > m_xNfRotate
std::unique_ptr< weld::CheckButton > m_xCbStacked
static std::unique_ptr< SfxTabPage > CreateWithoutRotation(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rInAttrs)
TextDirectionListBox m_aLbTextDirection
std::unique_ptr< weld::CustomWeld > m_xCtrlDialWin
virtual bool FillItemSet(SfxItemSet *rOutAttrs) override
std::unique_ptr< weld::Label > m_xFtRotate
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rInAttrs)
SchAlignmentTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs, bool bWithRotation=true)
std::unique_ptr< weld::Label > m_xFtABCD
virtual void Reset(const SfxItemSet *rInAttrs) override
virtual ~SchAlignmentTabPage() override
std::unique_ptr< svx::DialControl > m_xCtrlDial
SvxFrameDirection get_active_id() const
void set_active_id(SvxFrameDirection eDir)
constexpr TypedWhichId< SvxFrameDirectionItem > EE_PARA_WRITINGDIR(EE_PARA_START+0)
#define LINK(Instance, Class, Member)
IMPL_LINK_NOARG(SplinePropertiesDialog, SplineTypeListBoxHdl, weld::ComboBox &, void)
css::drawing::Direction3D aDirection