LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
SdTpOptionsMisc Class Referencefinal

Option-Tab-Page: View. More...

#include <tpoption.hxx>

Inheritance diagram for SdTpOptionsMisc:
[legend]
Collaboration diagram for SdTpOptionsMisc:
[legend]

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
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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)
 

Private Attributes

sal_uInt32 nWidth
 
sal_uInt32 nHeight
 
OUString aInfo1
 
OUString aInfo2
 
MapUnit ePoolUnit
 
std::unique_ptr< weld::CheckButtonm_xCbxQuickEdit
 
std::unique_ptr< weld::CheckButtonm_xCbxPickThrough
 
std::unique_ptr< weld::Framem_xNewDocumentFrame
 
std::unique_ptr< weld::CheckButtonm_xCbxStartWithTemplate
 
std::unique_ptr< weld::CheckButtonm_xCbxMasterPageCache
 
std::unique_ptr< weld::CheckButtonm_xCbxCopy
 
std::unique_ptr< weld::CheckButtonm_xCbxMarkedHitMovesAlways
 
std::unique_ptr< weld::Framem_xPresentationFrame
 
std::unique_ptr< weld::ComboBoxm_xLbMetric
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldTabstop
 
std::unique_ptr< weld::CheckButtonm_xCbxEnableSdremote
 
std::unique_ptr< weld::CheckButtonm_xCbxEnablePresenterScreen
 
std::unique_ptr< weld::CheckButtonm_xCbxPresenterScreenFullScreen
 
std::unique_ptr< weld::CheckButtonm_xCbxCompatibility
 
std::unique_ptr< weld::Framem_xScaleFrame
 
std::unique_ptr< weld::ComboBoxm_xCbScale
 
std::unique_ptr< weld::Labelm_xNewDocLb
 
std::unique_ptr< weld::Labelm_xFiInfo1
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldOriginalWidth
 
std::unique_ptr< weld::Labelm_xWidthLb
 
std::unique_ptr< weld::Labelm_xHeightLb
 
std::unique_ptr< weld::Labelm_xFiInfo2
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldOriginalHeight
 
std::unique_ptr< weld::CheckButtonm_xCbxDistort
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldInfo1
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldInfo2
 

Friends

class SdModule
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Option-Tab-Page: View.

Definition at line 63 of file tpoption.hxx.

Constructor & Destructor Documentation

◆ SdTpOptionsMisc()

SdTpOptionsMisc::SdTpOptionsMisc ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)

◆ ~SdTpOptionsMisc()

SdTpOptionsMisc::~SdTpOptionsMisc ( )
overridevirtual

Definition at line 262 of file tpoption.cxx.

Member Function Documentation

◆ ActivatePage()

void SdTpOptionsMisc::ActivatePage ( const SfxItemSet rSet)
overrideprivatevirtual

◆ Create()

std::unique_ptr< SfxTabPage > SdTpOptionsMisc::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrs 
)
static

◆ DeactivatePage()

DeactivateRC SdTpOptionsMisc::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

◆ DECL_LINK()

SdTpOptionsMisc::DECL_LINK ( SelectMetricHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ FillItemSet()

bool SdTpOptionsMisc::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

◆ GetScale()

OUString SdTpOptionsMisc::GetScale ( sal_Int32  nX,
sal_Int32  nY 
)
staticprivate

Definition at line 519 of file tpoption.cxx.

References TOKEN.

Referenced by Reset(), and SdTpOptionsMisc().

◆ PageCreated()

void SdTpOptionsMisc::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 600 of file tpoption.cxx.

References SfxItemSet::GetItem(), CntUInt32Item::GetValue(), SetDrawMode(), and SetImpressMode().

◆ Reset()

void SdTpOptionsMisc::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SetDrawMode()

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().

◆ SetImpressMode()

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().

◆ SetScale()

bool SdTpOptionsMisc::SetScale ( std::u16string_view  aScale,
sal_Int32 &  rX,
sal_Int32 &  rY 
)
staticprivate

◆ UpdateCompatibilityControls()

void SdTpOptionsMisc::UpdateCompatibilityControls ( )
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().

Friends And Related Function Documentation

◆ SdModule

friend class SdModule
friend

Definition at line 65 of file tpoption.hxx.

Member Data Documentation

◆ aInfo1

OUString SdTpOptionsMisc::aInfo1
private

Definition at line 70 of file tpoption.hxx.

Referenced by ActivatePage(), and Reset().

◆ aInfo2

OUString SdTpOptionsMisc::aInfo2
private

Definition at line 71 of file tpoption.hxx.

Referenced by ActivatePage(), and Reset().

◆ ePoolUnit

MapUnit SdTpOptionsMisc::ePoolUnit
private

Definition at line 73 of file tpoption.hxx.

Referenced by ActivatePage(), and SdTpOptionsMisc().

◆ m_xCbScale

std::unique_ptr<weld::ComboBox> SdTpOptionsMisc::m_xCbScale
private

Definition at line 96 of file tpoption.hxx.

Referenced by DeactivatePage(), FillItemSet(), Reset(), SdTpOptionsMisc(), and SetDrawMode().

◆ m_xCbxCompatibility

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxCompatibility
private

Definition at line 92 of file tpoption.hxx.

Referenced by FillItemSet(), Reset(), SetDrawMode(), and UpdateCompatibilityControls().

◆ m_xCbxCopy

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxCopy
private

Definition at line 82 of file tpoption.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCbxDistort

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxDistort
private

Definition at line 104 of file tpoption.hxx.

Referenced by FillItemSet(), Reset(), SdTpOptionsMisc(), and SetDrawMode().

◆ m_xCbxEnablePresenterScreen

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxEnablePresenterScreen
private

Definition at line 90 of file tpoption.hxx.

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

◆ m_xCbxEnableSdremote

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxEnableSdremote
private

Definition at line 89 of file tpoption.hxx.

Referenced by FillItemSet(), Reset(), SetDrawMode(), and SetImpressMode().

◆ m_xCbxMarkedHitMovesAlways

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxMarkedHitMovesAlways
private

Definition at line 83 of file tpoption.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCbxMasterPageCache

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxMasterPageCache
private

Definition at line 81 of file tpoption.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCbxPickThrough

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxPickThrough
private

Definition at line 76 of file tpoption.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCbxPresenterScreenFullScreen

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxPresenterScreenFullScreen
private

Definition at line 91 of file tpoption.hxx.

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

◆ m_xCbxQuickEdit

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxQuickEdit
private

Definition at line 75 of file tpoption.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCbxStartWithTemplate

std::unique_ptr<weld::CheckButton> SdTpOptionsMisc::m_xCbxStartWithTemplate
private

Definition at line 79 of file tpoption.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xFiInfo1

std::unique_ptr<weld::Label> SdTpOptionsMisc::m_xFiInfo1
private

Definition at line 98 of file tpoption.hxx.

Referenced by ActivatePage(), Reset(), and SetDrawMode().

◆ m_xFiInfo2

std::unique_ptr<weld::Label> SdTpOptionsMisc::m_xFiInfo2
private

Definition at line 102 of file tpoption.hxx.

Referenced by ActivatePage(), Reset(), and SetDrawMode().

◆ m_xHeightLb

std::unique_ptr<weld::Label> SdTpOptionsMisc::m_xHeightLb
private

Definition at line 101 of file tpoption.hxx.

Referenced by SetDrawMode().

◆ m_xLbMetric

std::unique_ptr<weld::ComboBox> SdTpOptionsMisc::m_xLbMetric
private

Definition at line 86 of file tpoption.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SdTpOptionsMisc().

◆ m_xMtrFldInfo1

std::unique_ptr<weld::MetricSpinButton> SdTpOptionsMisc::m_xMtrFldInfo1
private

Definition at line 105 of file tpoption.hxx.

Referenced by ActivatePage(), SdTpOptionsMisc(), and SetDrawMode().

◆ m_xMtrFldInfo2

std::unique_ptr<weld::MetricSpinButton> SdTpOptionsMisc::m_xMtrFldInfo2
private

Definition at line 106 of file tpoption.hxx.

Referenced by ActivatePage(), SdTpOptionsMisc(), and SetDrawMode().

◆ m_xMtrFldOriginalHeight

std::unique_ptr<weld::MetricSpinButton> SdTpOptionsMisc::m_xMtrFldOriginalHeight
private

Definition at line 103 of file tpoption.hxx.

Referenced by ActivatePage(), Reset(), SdTpOptionsMisc(), and SetDrawMode().

◆ m_xMtrFldOriginalWidth

std::unique_ptr<weld::MetricSpinButton> SdTpOptionsMisc::m_xMtrFldOriginalWidth
private

Definition at line 99 of file tpoption.hxx.

Referenced by ActivatePage(), Reset(), SdTpOptionsMisc(), and SetDrawMode().

◆ m_xMtrFldTabstop

std::unique_ptr<weld::MetricSpinButton> SdTpOptionsMisc::m_xMtrFldTabstop
private

Definition at line 87 of file tpoption.hxx.

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

◆ m_xNewDocLb

std::unique_ptr<weld::Label> SdTpOptionsMisc::m_xNewDocLb
private

Definition at line 97 of file tpoption.hxx.

Referenced by SetDrawMode().

◆ m_xNewDocumentFrame

std::unique_ptr<weld::Frame> SdTpOptionsMisc::m_xNewDocumentFrame
private

Definition at line 78 of file tpoption.hxx.

Referenced by SetDrawMode().

◆ m_xPresentationFrame

std::unique_ptr<weld::Frame> SdTpOptionsMisc::m_xPresentationFrame
private

Definition at line 84 of file tpoption.hxx.

Referenced by SetDrawMode().

◆ m_xScaleFrame

std::unique_ptr<weld::Frame> SdTpOptionsMisc::m_xScaleFrame
private

Definition at line 95 of file tpoption.hxx.

Referenced by SdTpOptionsMisc(), and SetDrawMode().

◆ m_xWidthLb

std::unique_ptr<weld::Label> SdTpOptionsMisc::m_xWidthLb
private

Definition at line 100 of file tpoption.hxx.

Referenced by SetDrawMode().

◆ nHeight

sal_uInt32 SdTpOptionsMisc::nHeight
private

Definition at line 69 of file tpoption.hxx.

Referenced by ActivatePage(), and Reset().

◆ nWidth

sal_uInt32 SdTpOptionsMisc::nWidth
private

Definition at line 68 of file tpoption.hxx.

Referenced by ActivatePage(), and Reset().


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