LibreOffice Module sd (master) 1
|
Option-Tab-Page: View. More...
#include <tpoption.hxx>
Public Member Functions | |
SdTpOptionsMisc (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SdTpOptionsMisc () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
void | SetDrawMode () |
Hide Impress specific controls, make Draw specific controls visible and arrange the visible controls. More... | |
void | SetImpressMode () |
Hide Draw specific controls, make Impress specific controls visible and arrange the visible controls. More... | |
virtual void | PageCreated (const SfxAllItemSet &aSet) override |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
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 |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
![]() | |
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 (SelectMetricHdl_Impl, weld::ComboBox &, void) | |
void | UpdateCompatibilityControls () |
Enable or disable the controls in the compatibility section of the 'general' tab page depending on whether there is at least one document. More... | |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
Static Private Member Functions | |
static OUString | GetScale (sal_Int32 nX, sal_Int32 nY) |
static bool | SetScale (std::u16string_view aScale, sal_Int32 &rX, sal_Int32 &rY) |
Friends | |
class | SdModule |
Additional Inherited Members | |
![]() | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > 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 |
Option-Tab-Page: View.
Definition at line 63 of file tpoption.hxx.
SdTpOptionsMisc::SdTpOptionsMisc | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 173 of file tpoption.cxx.
References SvxFieldUnitTable::Count(), DBG_ASSERT, ePoolUnit, SfxItemSet::Get(), SfxModule::GetCurrentFieldUnit(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), GetScale(), SvxFieldUnitTable::GetString(), CntUInt16Item::GetValue(), SvxFieldUnitTable::GetValue(), SfxTabPage::GetWhich(), i, LINK, m_xCbScale, m_xCbxDistort, m_xLbMetric, m_xMtrFldInfo1, m_xMtrFldInfo2, m_xMtrFldOriginalHeight, m_xMtrFldOriginalWidth, m_xMtrFldTabstop, m_xScaleFrame, MM, SfxTabPage::SetExchangeSupport(), SetFieldUnit(), and TABLE_COUNT.
|
overridevirtual |
Definition at line 262 of file tpoption.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 266 of file tpoption.cxx.
References aInfo1, aInfo2, ePoolUnit, SfxItemSet::GetItemIfSet(), CntUInt16Item::GetValue(), m_xFiInfo1, m_xFiInfo2, m_xLbMetric, m_xMtrFldInfo1, m_xMtrFldInfo2, m_xMtrFldOriginalHeight, m_xMtrFldOriginalWidth, nHeight, nWidth, rSet, SetFieldUnit(), and SetMetricValue().
|
static |
Definition at line 468 of file tpoption.cxx.
Referenced by SdAbstractDialogFactory_Impl::GetSdOptionsMiscTabPageCreatorFunc().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 306 of file tpoption.cxx.
References Application::CreateMessageDialog(), FillItemSet(), SfxTabPage::GetFrameWeld(), m_xCbScale, RET_YES, SdResId(), and SetScale().
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 329 of file tpoption.cxx.
References GetCoreValue(), SfxItemPool::GetMetric(), SdOptionsMiscItem::GetOptionsMisc(), SfxItemSet::GetPool(), SfxTabPage::GetWhich(), m_xCbScale, m_xCbxCompatibility, m_xCbxCopy, m_xCbxDistort, m_xCbxEnablePresenterScreen, m_xCbxEnableSdremote, m_xCbxMarkedHitMovesAlways, m_xCbxMasterPageCache, m_xCbxPickThrough, m_xCbxPresenterScreenFullScreen, m_xCbxQuickEdit, m_xCbxStartWithTemplate, m_xLbMetric, m_xMtrFldTabstop, SfxItemSet::Put(), SdOptionsMisc::SetCrookNoContortion(), SdOptionsMisc::SetDragWithCopy(), SdOptionsMisc::SetEnablePresenterScreen(), SdOptionsMisc::SetEnableSdremote(), SdOptionsMisc::SetMarkedHitMovesAlways(), SdOptionsMisc::SetMasterPagePaintCaching(), SdOptionsMisc::SetPickThrough(), SdOptionsMisc::SetPresenterScreenFullScreen(), SdOptionsMisc::SetQuickEdit(), SetScale(), SdOptionsMisc::SetStartWithTemplate(), and SdOptionsMisc::SetSummationOfParagraphs().
Referenced by DeactivatePage().
|
staticprivate |
Definition at line 519 of file tpoption.cxx.
References TOKEN.
Referenced by Reset(), and SdTpOptionsMisc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 600 of file tpoption.cxx.
References SfxItemSet::GetItem(), CntUInt32Item::GetValue(), SetDrawMode(), and SetImpressMode().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 393 of file tpoption.cxx.
References aInfo1, aInfo2, SfxItemSet::Get(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SdOptionsMiscItem::GetOptionsMisc(), SfxItemSet::GetPool(), GetScale(), CntUInt16Item::GetValue(), SfxTabPage::GetWhich(), i, SdOptionsMisc::IsCrookNoContortion(), SdOptionsMisc::IsDragWithCopy(), SdOptionsMisc::IsEnablePresenterScreen(), SdOptionsMisc::IsEnableSdremote(), SdOptionsMisc::IsMarkedHitMovesAlways(), SdOptionsMisc::IsMasterPagePaintCaching(), SdOptionsMisc::IsPickThrough(), SdOptionsMisc::IsPresenterScreenFullScreen(), SdOptionsMisc::IsQuickEdit(), SdOptionsMisc::IsStartWithTemplate(), SdOptionsMisc::IsSummationOfParagraphs(), m_xCbScale, m_xCbxCompatibility, m_xCbxCopy, m_xCbxDistort, m_xCbxEnablePresenterScreen, m_xCbxEnableSdremote, m_xCbxMarkedHitMovesAlways, m_xCbxMasterPageCache, m_xCbxPickThrough, m_xCbxPresenterScreenFullScreen, m_xCbxQuickEdit, m_xCbxStartWithTemplate, m_xFiInfo1, m_xFiInfo2, m_xLbMetric, m_xMtrFldOriginalHeight, m_xMtrFldOriginalWidth, m_xMtrFldTabstop, nHeight, nWidth, SetMetricValue(), and UpdateCompatibilityControls().
void SdTpOptionsMisc::SetDrawMode | ( | ) |
Hide Impress specific controls, make Draw specific controls visible and arrange the visible controls.
Do not call this method or the <member>SetImpressMode()</member> method more than once.
Definition at line 496 of file tpoption.cxx.
References m_xCbScale, m_xCbxCompatibility, m_xCbxDistort, m_xCbxEnablePresenterScreen, m_xCbxEnableSdremote, m_xCbxPresenterScreenFullScreen, m_xFiInfo1, m_xFiInfo2, m_xHeightLb, m_xMtrFldInfo1, m_xMtrFldInfo2, m_xMtrFldOriginalHeight, m_xMtrFldOriginalWidth, m_xNewDocLb, m_xNewDocumentFrame, m_xPresentationFrame, m_xScaleFrame, and m_xWidthLb.
Referenced by PageCreated().
void SdTpOptionsMisc::SetImpressMode | ( | ) |
Hide Draw specific controls, make Impress specific controls visible and arrange the visible controls.
Do not call this method or the <member>SetDrawMode()</member> method more than once.
Definition at line 487 of file tpoption.cxx.
References m_xCbxEnableSdremote.
Referenced by PageCreated().
|
staticprivate |
Definition at line 524 of file tpoption.cxx.
References o3tl::getToken(), comphelper::string::isdigitAsciiString(), o3tl::toInt32(), and TOKEN.
Referenced by DeactivatePage(), and FillItemSet().
|
private |
Enable or disable the controls in the compatibility section of the 'general' tab page depending on whether there is at least one document.
Definition at line 553 of file tpoption.cxx.
References bIsEnabled, m_xCbxCompatibility, and xModel.
Referenced by Reset().
|
friend |
Definition at line 65 of file tpoption.hxx.
|
private |
Definition at line 70 of file tpoption.hxx.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 71 of file tpoption.hxx.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 73 of file tpoption.hxx.
Referenced by ActivatePage(), and SdTpOptionsMisc().
|
private |
Definition at line 96 of file tpoption.hxx.
Referenced by DeactivatePage(), FillItemSet(), Reset(), SdTpOptionsMisc(), and SetDrawMode().
|
private |
Definition at line 92 of file tpoption.hxx.
Referenced by FillItemSet(), Reset(), SetDrawMode(), and UpdateCompatibilityControls().
|
private |
Definition at line 82 of file tpoption.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 104 of file tpoption.hxx.
Referenced by FillItemSet(), Reset(), SdTpOptionsMisc(), and SetDrawMode().
|
private |
Definition at line 90 of file tpoption.hxx.
Referenced by FillItemSet(), Reset(), and SetDrawMode().
|
private |
Definition at line 89 of file tpoption.hxx.
Referenced by FillItemSet(), Reset(), SetDrawMode(), and SetImpressMode().
|
private |
Definition at line 83 of file tpoption.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 81 of file tpoption.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 76 of file tpoption.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 91 of file tpoption.hxx.
Referenced by FillItemSet(), Reset(), and SetDrawMode().
|
private |
Definition at line 75 of file tpoption.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 79 of file tpoption.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 98 of file tpoption.hxx.
Referenced by ActivatePage(), Reset(), and SetDrawMode().
|
private |
Definition at line 102 of file tpoption.hxx.
Referenced by ActivatePage(), Reset(), and SetDrawMode().
|
private |
Definition at line 101 of file tpoption.hxx.
Referenced by SetDrawMode().
|
private |
Definition at line 86 of file tpoption.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SdTpOptionsMisc().
|
private |
Definition at line 105 of file tpoption.hxx.
Referenced by ActivatePage(), SdTpOptionsMisc(), and SetDrawMode().
|
private |
Definition at line 106 of file tpoption.hxx.
Referenced by ActivatePage(), SdTpOptionsMisc(), and SetDrawMode().
|
private |
Definition at line 103 of file tpoption.hxx.
Referenced by ActivatePage(), Reset(), SdTpOptionsMisc(), and SetDrawMode().
|
private |
Definition at line 99 of file tpoption.hxx.
Referenced by ActivatePage(), Reset(), SdTpOptionsMisc(), and SetDrawMode().
|
private |
Definition at line 87 of file tpoption.hxx.
Referenced by FillItemSet(), Reset(), and SdTpOptionsMisc().
|
private |
Definition at line 97 of file tpoption.hxx.
Referenced by SetDrawMode().
|
private |
Definition at line 78 of file tpoption.hxx.
Referenced by SetDrawMode().
|
private |
Definition at line 84 of file tpoption.hxx.
Referenced by SetDrawMode().
|
private |
Definition at line 95 of file tpoption.hxx.
Referenced by SdTpOptionsMisc(), and SetDrawMode().
|
private |
Definition at line 100 of file tpoption.hxx.
Referenced by SetDrawMode().
|
private |
Definition at line 69 of file tpoption.hxx.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 68 of file tpoption.hxx.
Referenced by ActivatePage(), and Reset().