LibreOffice Module cui (master)
1
|
#include <swpossizetabpage.hxx>
Public Member Functions | |
SvxSwPosSizeTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxSwPosSizeTabPage () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | EnableAnchorTypes (SvxAnchorIds nAnchorEnable) |
void | SetValidateFramePosLink (const Link< SvxSwFrameValidation &, void > &rLink) |
void | SetView (const SdrView *pSdrView) |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
static const sal_uInt16 * | GetRanges () |
![]() | |
static const SfxPoolItem * | GetItem (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 | |
DECL_LINK (RangeModifyHdl, weld::Widget &, void) | |
DECL_LINK (RangeModifyClickHdl, weld::ToggleButton &, void) | |
DECL_LINK (AnchorTypeHdl, weld::ToggleButton &, void) | |
DECL_LINK (PosHdl, weld::ComboBox &, void) | |
DECL_LINK (RelHdl, weld::ComboBox &, void) | |
DECL_LINK (MirrorHdl, weld::ToggleButton &, void) | |
DECL_LINK (ModifyHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ProtectHdl, weld::ToggleButton &, void) | |
void | InitPos (RndStdIds nAnchorType, sal_uInt16 nH, sal_uInt16 nHRel, sal_uInt16 nV, sal_uInt16 nVRel, tools::Long nX, tools::Long nY) |
RndStdIds | GetAnchorType (bool *pbHasChanged=nullptr) |
void | FillRelLB (FrmMap const *pMap, sal_uInt16 nLBSelPos, sal_uInt16 nAlign, sal_uInt16 nRel, weld::ComboBox &rLB, weld::Label &rFT) |
sal_uInt16 | FillPosLB (FrmMap const *pMap, sal_uInt16 nAlign, const sal_uInt16 _nRel, weld::ComboBox &rLB) |
void | UpdateExample () |
void | setOptimalFrmWidth () |
void | setOptimalRelWidth () |
Static Private Member Functions | |
static sal_uInt16 | GetMapPos (FrmMap const *pMap, const weld::ComboBox &rAlignLB) |
static short | GetAlignment (FrmMap const *pMap, sal_uInt16 nMapPos, const weld::ComboBox &rRelationLB) |
static short | GetRelation (const weld::ComboBox &rRelationLB) |
Additional Inherited Members | |
![]() | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 31 of file swpossizetabpage.hxx.
SvxSwPosSizeTabPage::SvxSwPosSizeTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 525 of file swpossizetabpage.cxx.
References CENTER, CM, FRAME, GetModuleFieldUnit(), LINK, m_xAsCharRB, m_xFollowCB, m_xHeightMF, m_xHoriByMF, m_xHoriLB, m_xHoriMirrorCB, m_xHoriToLB, m_xPositionCB, m_xToCharRB, m_xToFrameRB, m_xToPageRB, m_xToParaRB, m_xVertByMF, m_xVertLB, m_xVertToLB, m_xWidthMF, SfxTabPage::SetExchangeSupport(), SetFieldUnit(), setOptimalFrmWidth(), setOptimalRelWidth(), TOP, and TRISTATE_FALSE.
|
overridevirtual |
Definition at line 609 of file swpossizetabpage.cxx.
References m_xHeightMF, m_xHoriByMF, m_xVertByMF, and m_xWidthMF.
|
static |
Definition at line 716 of file swpossizetabpage.cxx.
Referenced by SvxCaptionTabDialog::SvxCaptionTabDialog(), and SvxTransformTabDialog::SvxTransformTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1063 of file swpossizetabpage.cxx.
References FillItemSet(), SfxTabPage::GetWhich(), m_xPositionCB, m_xSizeCB, and SfxItemSet::Put().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void SvxSwPosSizeTabPage::EnableAnchorTypes | ( | SvxAnchorIds | nAnchorEnable | ) |
Definition at line 1076 of file swpossizetabpage.cxx.
References m_xToFrameRB, and m_xToPageRB.
Referenced by SvxTransformTabDialog::PageCreated(), and SvxCaptionTabDialog::PageCreated().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 750 of file swpossizetabpage.cxx.
References SfxPoolItem::Clone(), SfxItemSet::Get(), GetAlignment(), SdrMarkView::GetAllMarkedRect(), GetAnchorType(), SfxTabPage::GetItem(), SfxTabPage::GetItemSet(), GetMapPos(), GetRelation(), SdrPaintView::GetSdrPageView(), SfxInt16Item::GetValue(), CntInt32Item::GetValue(), SfxTabPage::GetWhich(), SfxItemSet::InvalidateItem(), SdrPageView::LogicToPagePos(), m_aAnchorPos, m_aRect, m_bIsMultiSelection, m_bPositioningDisabled, m_pHMap, m_pSdrView, m_pVMap, m_xFollowCB, m_xHeightMF, m_xHoriByMF, m_xHoriLB, m_xHoriMirrorCB, m_xHoriToLB, m_xPositionCB, m_xSizeCB, m_xVertByMF, m_xVertLB, m_xVertToLB, m_xWidthMF, SfxItemSet::Put(), and TRISTATE_TRUE.
Referenced by DeactivatePage().
|
private |
Definition at line 1779 of file swpossizetabpage.cxx.
References weld::ComboBox::append_text(), aVCharMap, weld::ComboBox::clear(), FrmMap::eMirrorStrId, FrmMap::eStrId, weld::ComboBox::find_text(), weld::ComboBox::get_active(), weld::ComboBox::get_active_text(), GetMapPos(), SvxSwFramePosString::GetString(), i, lcl_ChangeResIdToVerticalOrRTL(), lcl_GetFrmMapCount(), lcl_GetLBRelationsForRelations(), m_bIsInRightToLeft, m_bIsVerticalFrame, m_xHoriMirrorCB, nCount, weld::ComboBox::set_active(), and weld::ComboBox::set_active_text().
Referenced by InitPos().
|
private |
Definition at line 1641 of file swpossizetabpage.cxx.
References weld::ComboBox::append(), weld::ComboBox::clear(), FrmMap::eMirrorStrId, FrmMap::eStrId, weld::ComboBox::get_active(), weld::ComboBox::get_active_text(), weld::ComboBox::get_count(), weld::ComboBox::get_id(), SvxSwFramePosString::GetString(), i, lcl_ChangeResIdToVerticalOrRTL(), lcl_GetFrmMapCount(), lcl_GetLBRelationsForStrID(), m_bIsInRightToLeft, m_bIsVerticalFrame, m_xHoriMirrorCB, nBit, FrmMap::nLBRelations, SAL_N_ELEMENTS, weld::ComboBox::set_active(), weld::ComboBox::set_active_text(), and weld::Widget::set_sensitive().
Referenced by InitPos().
|
staticprivate |
Definition at line 1396 of file swpossizetabpage.cxx.
References FrmMap::eStrId, weld::ComboBox::get_active(), weld::ComboBox::get_active_id(), i, lcl_GetFrmMapCount(), FrmMap::nAlign, and FrmMap::nLBRelations.
Referenced by FillItemSet(), and UpdateExample().
|
private |
Definition at line 1084 of file swpossizetabpage.cxx.
References weld::ToggleButton::get_state_changed_from_saved(), m_xAsCharRB, m_xToCharRB, m_xToFrameRB, m_xToPageRB, and m_xToParaRB.
Referenced by FillItemSet(), and UpdateExample().
|
staticprivate |
Definition at line 1431 of file swpossizetabpage.cxx.
References FrmMap::eStrId, weld::ComboBox::get_active(), weld::ComboBox::get_active_text(), SvxSwFramePosString::GetString(), i, and lcl_GetFrmMapCount().
Referenced by FillItemSet(), FillPosLB(), and UpdateExample().
|
static |
Definition at line 721 of file swpossizetabpage.cxx.
Referenced by SvxCaptionTabDialog::SvxCaptionTabDialog(), and SvxTransformTabDialog::SvxTransformTabDialog().
|
staticprivate |
Definition at line 1383 of file swpossizetabpage.cxx.
References weld::ComboBox::get_active(), weld::ComboBox::get_id(), and nPos.
Referenced by FillItemSet(), and UpdateExample().
|
private |
Definition at line 1463 of file swpossizetabpage.cxx.
References aHCharHtmlAbsMap, aHCharMap, aHFrameMap, aHMultiSelectionMap, aHPageMap, aHParaHtmlAbsMap, aHParaMap, aVAsCharMap, aVCharHtmlAbsMap, aVCharMap, aVFrameMap, aVMultiSelectionMap, aVPageMap, aVParaHtmlMap, aVParaMap, FillPosLB(), FillRelLB(), tools::Rectangle::Left(), LONG_MAX, m_aRect, m_bHtmlMode, m_bIsMultiSelection, m_nOldH, m_nOldHRel, m_nOldV, m_nOldVRel, m_pHMap, m_pVMap, m_xHoriByFT, m_xHoriByMF, m_xHoriFT, m_xHoriLB, m_xHoriToFT, m_xHoriToLB, m_xVertByFT, m_xVertByMF, m_xVertLB, m_xVertToFT, m_xVertToLB, FrmMap::nAlign, nPos, tools::Rectangle::Top(), UpdateExample(), and USHRT_MAX.
Referenced by Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 899 of file swpossizetabpage.cxx.
References SfxTabPage::GetItem(), GetValue, HTMLMODE_ON, InitPos(), m_bHtmlMode, m_bIsInRightToLeft, m_bIsMultiSelection, m_bIsVerticalFrame, m_bPositioningDisabled, m_fWidthHeightRatio, m_nOldH, m_nOldHRel, m_nOldV, m_nOldVRel, m_xAsCharRB, m_xFollowCB, m_xHeightMF, m_xHoriByMF, m_xHoriFT, m_xHoriMirrorCB, m_xKeepRatioCB, m_xPositionCB, m_xSizeCB, m_xToCharRB, m_xToFrameRB, m_xToPageRB, m_xToParaRB, m_xVertByMF, m_xVertFT, and m_xWidthMF.
|
private |
Definition at line 626 of file swpossizetabpage.cxx.
References aHCharHtmlAbsMap, aHCharHtmlMap, aHCharMap, aHFlyHtmlMap, aHFrameMap, aHPageHtmlMap, aHPageMap, aHParaHtmlAbsMap, aHParaHtmlMap, aHParaMap, aMap, aVAsCharHtmlMap, aVAsCharMap, aVCharHtmlAbsMap, aVCharHtmlMap, aVCharMap, aVFlyHtmlMap, aVFrameMap, aVPageHtmlMap, aVPageMap, aVParaHtmlMap, aVParaMap, SvxSwFramePosString::GetString(), m_xHoriLB, m_xVertLB, and SAL_N_ELEMENTS.
Referenced by SvxSwPosSizeTabPage().
|
private |
Definition at line 685 of file swpossizetabpage.cxx.
References aAsCharRelationMap, aMap, aRelationMap, SvxSwFramePosString::GetString(), m_xHoriLB, m_xVertLB, and SAL_N_ELEMENTS.
Referenced by SvxSwPosSizeTabPage().
|
inline |
Definition at line 124 of file swpossizetabpage.hxx.
Referenced by SvxTransformTabDialog::PageCreated(), and SvxCaptionTabDialog::PageCreated().
Definition at line 1828 of file swpossizetabpage.cxx.
References SdrMarkView::GetAllMarkedRect(), SdrObject::GetAnchorPos(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrPaintView::GetSdrPageView(), SdrDragView::GetWorkArea(), SdrObject::HasText(), i, SdrPageView::LogicToPagePos(), m_aAnchorPos, m_aRect, m_aWorkArea, m_bIsMultiSelection, m_bPositioningDisabled, m_pSdrView, m_xPosFrame, OBJ_OUTLINETEXT, OBJ_TEXT, OBJ_TITLETEXT, Point, tools::Rectangle::SetPos(), and tools::Rectangle::TopLeft().
Referenced by SvxTransformTabDialog::PageCreated().
|
private |
Definition at line 1608 of file swpossizetabpage.cxx.
References GetAlignment(), GetAnchorType(), GetMapPos(), GetRelation(), m_aExampleWN, m_pHMap, m_pVMap, m_xHoriByMF, m_xHoriLB, m_xHoriToLB, m_xVertByMF, m_xVertLB, m_xVertToLB, nPos, Point, SwFrameExample::SetAnchor(), SwFrameExample::SetHAlign(), SwFrameExample::SetHoriRel(), SwFrameExample::SetRelPos(), SwFrameExample::SetVAlign(), and SwFrameExample::SetVertRel().
Referenced by InitPos().
|
private |
Definition at line 37 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), and SetView().
|
private |
Definition at line 57 of file swpossizetabpage.hxx.
Referenced by UpdateExample().
|
private |
Definition at line 35 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), and SetView().
|
private |
Definition at line 33 of file swpossizetabpage.hxx.
|
private |
Definition at line 36 of file swpossizetabpage.hxx.
Referenced by SetView().
|
private |
Definition at line 50 of file swpossizetabpage.hxx.
|
private |
Definition at line 54 of file swpossizetabpage.hxx.
Referenced by FillPosLB(), FillRelLB(), and Reset().
|
private |
Definition at line 53 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), Reset(), and SetView().
|
private |
Definition at line 51 of file swpossizetabpage.hxx.
Referenced by FillPosLB(), FillRelLB(), and Reset().
|
private |
Definition at line 52 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), Reset(), and SetView().
|
private |
Definition at line 49 of file swpossizetabpage.hxx.
Referenced by Reset().
|
private |
Definition at line 44 of file swpossizetabpage.hxx.
|
private |
Definition at line 45 of file swpossizetabpage.hxx.
|
private |
Definition at line 46 of file swpossizetabpage.hxx.
|
private |
Definition at line 47 of file swpossizetabpage.hxx.
|
private |
Definition at line 55 of file swpossizetabpage.hxx.
|
private |
Definition at line 40 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), and UpdateExample().
|
private |
Definition at line 41 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), and SetView().
|
private |
Definition at line 39 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), and UpdateExample().
|
private |
Definition at line 65 of file swpossizetabpage.hxx.
Referenced by GetAnchorType(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 84 of file swpossizetabpage.hxx.
|
private |
Definition at line 83 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 60 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), Reset(), SvxSwPosSizeTabPage(), and ~SvxSwPosSizeTabPage().
|
private |
Definition at line 72 of file swpossizetabpage.hxx.
Referenced by InitPos().
|
private |
Definition at line 73 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), Reset(), SvxSwPosSizeTabPage(), UpdateExample(), and ~SvxSwPosSizeTabPage().
|
private |
Definition at line 70 of file swpossizetabpage.hxx.
|
private |
Definition at line 71 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), setOptimalFrmWidth(), setOptimalRelWidth(), SvxSwPosSizeTabPage(), and UpdateExample().
|
private |
Definition at line 76 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), FillPosLB(), FillRelLB(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 74 of file swpossizetabpage.hxx.
Referenced by InitPos().
|
private |
Definition at line 75 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), SvxSwPosSizeTabPage(), and UpdateExample().
|
private |
Definition at line 61 of file swpossizetabpage.hxx.
Referenced by Reset().
|
private |
Definition at line 69 of file swpossizetabpage.hxx.
Referenced by SetView().
|
private |
Definition at line 67 of file swpossizetabpage.hxx.
Referenced by DeactivatePage(), FillItemSet(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 68 of file swpossizetabpage.hxx.
Referenced by DeactivatePage(), FillItemSet(), and Reset().
|
private |
Definition at line 64 of file swpossizetabpage.hxx.
Referenced by GetAnchorType(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 66 of file swpossizetabpage.hxx.
Referenced by EnableAnchorTypes(), GetAnchorType(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 62 of file swpossizetabpage.hxx.
Referenced by EnableAnchorTypes(), GetAnchorType(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 63 of file swpossizetabpage.hxx.
Referenced by GetAnchorType(), Reset(), and SvxSwPosSizeTabPage().
|
private |
Definition at line 79 of file swpossizetabpage.hxx.
Referenced by InitPos().
|
private |
Definition at line 80 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), Reset(), SvxSwPosSizeTabPage(), UpdateExample(), and ~SvxSwPosSizeTabPage().
|
private |
Definition at line 77 of file swpossizetabpage.hxx.
Referenced by Reset().
|
private |
Definition at line 78 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), setOptimalFrmWidth(), setOptimalRelWidth(), SvxSwPosSizeTabPage(), and UpdateExample().
|
private |
Definition at line 81 of file swpossizetabpage.hxx.
Referenced by InitPos().
|
private |
Definition at line 82 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), InitPos(), SvxSwPosSizeTabPage(), and UpdateExample().
|
private |
Definition at line 59 of file swpossizetabpage.hxx.
Referenced by FillItemSet(), Reset(), SvxSwPosSizeTabPage(), and ~SvxSwPosSizeTabPage().