LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SdOptionsMisc Class Reference

#include <optsitem.hxx>

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

Public Member Functions

 SdOptionsMisc (bool bImpress, bool bUseConfig)
 
bool operator== (const SdOptionsMisc &rOpt) const
 
bool IsStartWithTemplate () const
 
bool IsMarkedHitMovesAlways () const
 
bool IsMoveOnlyDragging () const
 
bool IsCrookNoContortion () const
 
bool IsQuickEdit () const
 
bool IsMasterPagePaintCaching () const
 
bool IsDragWithCopy () const
 
bool IsPickThrough () const
 
bool IsDoubleClickTextEdit () const
 
bool IsClickChangeRotation () const
 
bool IsEnableSdremote () const
 
bool IsEnablePresenterScreen () const
 
bool IsPresenterScreenFullScreen () const
 
bool IsSolidDragging () const
 
bool IsSummationOfParagraphs () const
 
bool IsTabBarVisible () const
 
sal_uInt16 GetPrinterIndependentLayout () const
 Return the currently selected printer independent layout mode. More...
 
bool IsShowUndoDeleteWarning () const
 
bool IsSlideshowRespectZOrder () const
 
sal_Int32 GetDefaultObjectSizeWidth () const
 
sal_Int32 GetDefaultObjectSizeHeight () const
 
bool IsPreviewNewEffects () const
 
bool IsPreviewChangedEffects () const
 
bool IsPreviewTransitions () const
 
sal_Int32 GetDisplay () const
 
void SetDisplay (sal_Int32 nDisplay)
 
sal_Int32 GetPresentationPenColor () const
 
void SetPresentationPenColor (sal_Int32 nPenColor)
 
double GetPresentationPenWidth () const
 
void SetPresentationPenWidth (double nPenWidth)
 
sal_Int32 GetDragThresholdPixels () const
 
void SetDragThreshold (sal_Int32 nDragThresholdPixels)
 
void SetStartWithTemplate (bool bOn)
 
void SetMarkedHitMovesAlways (bool bOn)
 
void SetMoveOnlyDragging (bool bOn)
 
void SetCrookNoContortion (bool bOn)
 
void SetQuickEdit (bool bOn)
 
void SetMasterPagePaintCaching (bool bOn)
 
void SetDragWithCopy (bool bOn)
 
void SetPickThrough (bool bOn)
 
void SetDoubleClickTextEdit (bool bOn)
 
void SetClickChangeRotation (bool bOn)
 
void SetEnableSdremote (bool bOn)
 
void SetEnablePresenterScreen (bool bOn)
 
void SetPresenterScreenFullScreen (bool bOn)
 
void SetSummationOfParagraphs (bool bOn)
 
void SetTabBarVisible (bool bOn)
 
void SetPrinterIndependentLayout (sal_uInt16 nOn)
 Set the printer independent layout mode. More...
 
void SetSolidDragging (bool bOn)
 
void SetShowUndoDeleteWarning (bool bOn)
 
void SetSlideshowRespectZOrder (bool bOn)
 
void SetDefaultObjectSizeWidth (sal_Int32 nWidth)
 
void SetDefaultObjectSizeHeight (sal_Int32 nHeight)
 
void SetPreviewNewEffects (bool bOn)
 
void SetPreviewChangedEffects (bool bOn)
 
void SetPreviewTransitions (bool bOn)
 
bool IsShowComments () const
 
void SetShowComments (bool bShow)
 
- Public Member Functions inherited from SdOptionsGeneric
 SdOptionsGeneric (bool bImpress, const OUString &rSubTree)
 
 SdOptionsGeneric (SdOptionsGeneric const &)
 
virtual ~SdOptionsGeneric ()
 
SdOptionsGenericoperator= (SdOptionsGeneric const &)
 
bool IsImpress () const
 
void EnableModify (bool bModify)
 
void Store ()
 

Protected Member Functions

virtual void GetPropNameArray (const char **&ppNames, sal_uLong &rCount) const override
 
virtual bool ReadData (const css::uno::Any *pValues) override
 
virtual bool WriteData (css::uno::Any *pValues) const override
 
- Protected Member Functions inherited from SdOptionsGeneric
void Init () const
 
void OptionsChanged ()
 
virtual void GetPropNameArray (const char **&ppNames, sal_uLong &rCount) const =0
 
virtual bool ReadData (const css::uno::Any *pValues)=0
 
virtual bool WriteData (css::uno::Any *pValues) const =0
 

Private Attributes

sal_Int32 nDefaultObjectSizeWidth
 
sal_Int32 nDefaultObjectSizeHeight
 
bool bStartWithTemplate: 1
 
bool bMarkedHitMovesAlways: 1
 
bool bMoveOnlyDragging: 1
 
bool bCrookNoContortion: 1
 
bool bQuickEdit: 1
 
bool bMasterPageCache: 1
 
bool bDragWithCopy: 1
 
bool bPickThrough: 1
 
bool bDoubleClickTextEdit: 1
 
bool bClickChangeRotation: 1
 
bool bEnableSdremote: 1
 
bool bEnablePresenterScreen: 1
 
bool bPresenterScreenFullScreen: 1
 
bool bSolidDragging: 1
 
bool bSummationOfParagraphs: 1
 
bool bTabBarVisible: 1
 
bool bShowUndoDeleteWarning: 1
 
bool bSlideshowRespectZOrder: 1
 
bool bShowComments: 1
 
bool bPreviewNewEffects
 
bool bPreviewChangedEffects
 
bool bPreviewTransitions
 
sal_Int32 mnDisplay
 
sal_Int32 mnPenColor
 
double mnPenWidth
 
sal_uInt16 mnPrinterIndependentLayout
 This value controls the device to use for formatting documents. More...
 
sal_Int32 mnDragThresholdPixels
 Minimum mouse move distance for it to register as a drag action. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SdOptionsGeneric
static bool isMetricSystem ()
 

Detailed Description

Definition at line 181 of file optsitem.hxx.

Constructor & Destructor Documentation

◆ SdOptionsMisc()

SdOptionsMisc::SdOptionsMisc ( bool  bImpress,
bool  bUseConfig 
)

Definition at line 393 of file optsitem.cxx.

References SdOptionsGeneric::EnableModify().

Member Function Documentation

◆ GetDefaultObjectSizeHeight()

sal_Int32 SdOptionsMisc::GetDefaultObjectSizeHeight ( ) const
inline

◆ GetDefaultObjectSizeWidth()

sal_Int32 SdOptionsMisc::GetDefaultObjectSizeWidth ( ) const
inline

◆ GetDisplay()

sal_Int32 SdOptionsMisc::GetDisplay ( ) const

◆ GetDragThresholdPixels()

sal_Int32 SdOptionsMisc::GetDragThresholdPixels ( ) const

◆ GetPresentationPenColor()

sal_Int32 SdOptionsMisc::GetPresentationPenColor ( ) const
inline

◆ GetPresentationPenWidth()

double SdOptionsMisc::GetPresentationPenWidth ( ) const
inline

◆ GetPrinterIndependentLayout()

sal_uInt16 SdOptionsMisc::GetPrinterIndependentLayout ( ) const
inline

Return the currently selected printer independent layout mode.

Returns
Returns 1 for printer independent layout enabled and 0 when it is disabled. Other values are reserved for future use.

Definition at line 264 of file optsitem.hxx.

References Init().

Referenced by SdModule::ApplyItemSet(), operator==(), SdDrawDocument::SdDrawDocument(), SdOptionsMiscItem::SdOptionsMiscItem(), SdOptionsMiscItem::SetOptions(), and WriteData().

◆ GetPropNameArray()

void SdOptionsMisc::GetPropNameArray ( const char **&  ppNames,
sal_uLong rCount 
) const
overrideprotectedvirtual

Implements SdOptionsGeneric.

Definition at line 470 of file optsitem.cxx.

References aPropNames, SdOptionsGeneric::IsImpress(), and SAL_N_ELEMENTS.

◆ IsClickChangeRotation()

bool SdOptionsMisc::IsClickChangeRotation ( ) const
inline

◆ IsCrookNoContortion()

bool SdOptionsMisc::IsCrookNoContortion ( ) const
inline

◆ IsDoubleClickTextEdit()

bool SdOptionsMisc::IsDoubleClickTextEdit ( ) const
inline

◆ IsDragWithCopy()

bool SdOptionsMisc::IsDragWithCopy ( ) const
inline

◆ IsEnablePresenterScreen()

bool SdOptionsMisc::IsEnablePresenterScreen ( ) const
inline

◆ IsEnableSdremote()

bool SdOptionsMisc::IsEnableSdremote ( ) const
inline

◆ IsMarkedHitMovesAlways()

bool SdOptionsMisc::IsMarkedHitMovesAlways ( ) const
inline

◆ IsMasterPagePaintCaching()

bool SdOptionsMisc::IsMasterPagePaintCaching ( ) const
inline

◆ IsMoveOnlyDragging()

bool SdOptionsMisc::IsMoveOnlyDragging ( ) const
inline

◆ IsPickThrough()

bool SdOptionsMisc::IsPickThrough ( ) const
inline

◆ IsPresenterScreenFullScreen()

bool SdOptionsMisc::IsPresenterScreenFullScreen ( ) const
inline

◆ IsPreviewChangedEffects()

bool SdOptionsMisc::IsPreviewChangedEffects ( ) const
inline

◆ IsPreviewNewEffects()

bool SdOptionsMisc::IsPreviewNewEffects ( ) const
inline

◆ IsPreviewTransitions()

bool SdOptionsMisc::IsPreviewTransitions ( ) const
inline

◆ IsQuickEdit()

bool SdOptionsMisc::IsQuickEdit ( ) const
inline

◆ IsShowComments()

bool SdOptionsMisc::IsShowComments ( ) const
inline

◆ IsShowUndoDeleteWarning()

bool SdOptionsMisc::IsShowUndoDeleteWarning ( ) const
inline

◆ IsSlideshowRespectZOrder()

bool SdOptionsMisc::IsSlideshowRespectZOrder ( ) const
inline

Definition at line 266 of file optsitem.hxx.

References Init().

Referenced by operator==(), and WriteData().

◆ IsSolidDragging()

bool SdOptionsMisc::IsSolidDragging ( ) const
inline

◆ IsStartWithTemplate()

bool SdOptionsMisc::IsStartWithTemplate ( ) const
inline

◆ IsSummationOfParagraphs()

bool SdOptionsMisc::IsSummationOfParagraphs ( ) const
inline

◆ IsTabBarVisible()

bool SdOptionsMisc::IsTabBarVisible ( ) const
inline

◆ operator==()

bool SdOptionsMisc::operator== ( const SdOptionsMisc rOpt) const

◆ ReadData()

bool SdOptionsMisc::ReadData ( const css::uno::Any *  pValues)
overrideprotectedvirtual

◆ SetClickChangeRotation()

void SdOptionsMisc::SetClickChangeRotation ( bool  bOn)
inline

◆ SetCrookNoContortion()

void SdOptionsMisc::SetCrookNoContortion ( bool  bOn)
inline

◆ SetDefaultObjectSizeHeight()

void SdOptionsMisc::SetDefaultObjectSizeHeight ( sal_Int32  nHeight)
inline

◆ SetDefaultObjectSizeWidth()

void SdOptionsMisc::SetDefaultObjectSizeWidth ( sal_Int32  nWidth)
inline

◆ SetDisplay()

void SdOptionsMisc::SetDisplay ( sal_Int32  nDisplay)

◆ SetDoubleClickTextEdit()

void SdOptionsMisc::SetDoubleClickTextEdit ( bool  bOn)
inline

◆ SetDragThreshold()

void SdOptionsMisc::SetDragThreshold ( sal_Int32  nDragThresholdPixels)

◆ SetDragWithCopy()

void SdOptionsMisc::SetDragWithCopy ( bool  bOn)
inline

◆ SetEnablePresenterScreen()

void SdOptionsMisc::SetEnablePresenterScreen ( bool  bOn)
inline

◆ SetEnableSdremote()

void SdOptionsMisc::SetEnableSdremote ( bool  bOn)
inline

◆ SetMarkedHitMovesAlways()

void SdOptionsMisc::SetMarkedHitMovesAlways ( bool  bOn)
inline

◆ SetMasterPagePaintCaching()

void SdOptionsMisc::SetMasterPagePaintCaching ( bool  bOn)
inline

◆ SetMoveOnlyDragging()

void SdOptionsMisc::SetMoveOnlyDragging ( bool  bOn)
inline

◆ SetPickThrough()

void SdOptionsMisc::SetPickThrough ( bool  bOn)
inline

◆ SetPresentationPenColor()

void SdOptionsMisc::SetPresentationPenColor ( sal_Int32  nPenColor)
inline

◆ SetPresentationPenWidth()

void SdOptionsMisc::SetPresentationPenWidth ( double  nPenWidth)
inline

◆ SetPresenterScreenFullScreen()

void SdOptionsMisc::SetPresenterScreenFullScreen ( bool  bOn)
inline

◆ SetPreviewChangedEffects()

void SdOptionsMisc::SetPreviewChangedEffects ( bool  bOn)
inline

◆ SetPreviewNewEffects()

void SdOptionsMisc::SetPreviewNewEffects ( bool  bOn)
inline

◆ SetPreviewTransitions()

void SdOptionsMisc::SetPreviewTransitions ( bool  bOn)
inline

◆ SetPrinterIndependentLayout()

void SdOptionsMisc::SetPrinterIndependentLayout ( sal_uInt16  nOn)
inline

Set the printer independent layout mode.

Parameters
nOnThe default value is to switch printer independent layout on, hence the parameters name. Use 0 for turning it off. Other values are reserved for future use.

Definition at line 307 of file optsitem.hxx.

Referenced by SdModule::CreateItemSet(), ReadData(), SdOptionsMiscItem::SdOptionsMiscItem(), and SdOptionsMiscItem::SetOptions().

◆ SetQuickEdit()

void SdOptionsMisc::SetQuickEdit ( bool  bOn)
inline

◆ SetShowComments()

void SdOptionsMisc::SetShowComments ( bool  bShow)
inline

◆ SetShowUndoDeleteWarning()

void SdOptionsMisc::SetShowUndoDeleteWarning ( bool  bOn)
inline

◆ SetSlideshowRespectZOrder()

void SdOptionsMisc::SetSlideshowRespectZOrder ( bool  bOn)
inline

Definition at line 310 of file optsitem.hxx.

Referenced by ReadData().

◆ SetSolidDragging()

void SdOptionsMisc::SetSolidDragging ( bool  bOn)
inline

◆ SetStartWithTemplate()

void SdOptionsMisc::SetStartWithTemplate ( bool  bOn)
inline

◆ SetSummationOfParagraphs()

void SdOptionsMisc::SetSummationOfParagraphs ( bool  bOn)
inline

◆ SetTabBarVisible()

void SdOptionsMisc::SetTabBarVisible ( bool  bOn)
inline

◆ WriteData()

bool SdOptionsMisc::WriteData ( css::uno::Any *  pValues) const
overrideprotectedvirtual

Member Data Documentation

◆ bClickChangeRotation

bool SdOptionsMisc::bClickChangeRotation
private

Definition at line 197 of file optsitem.hxx.

◆ bCrookNoContortion

bool SdOptionsMisc::bCrookNoContortion
private

Definition at line 191 of file optsitem.hxx.

◆ bDoubleClickTextEdit

bool SdOptionsMisc::bDoubleClickTextEdit
private

Definition at line 196 of file optsitem.hxx.

◆ bDragWithCopy

bool SdOptionsMisc::bDragWithCopy
private

Definition at line 194 of file optsitem.hxx.

◆ bEnablePresenterScreen

bool SdOptionsMisc::bEnablePresenterScreen
private

Definition at line 199 of file optsitem.hxx.

◆ bEnableSdremote

bool SdOptionsMisc::bEnableSdremote
private

Definition at line 198 of file optsitem.hxx.

◆ bMarkedHitMovesAlways

bool SdOptionsMisc::bMarkedHitMovesAlways
private

Definition at line 189 of file optsitem.hxx.

◆ bMasterPageCache

bool SdOptionsMisc::bMasterPageCache
private

Definition at line 193 of file optsitem.hxx.

◆ bMoveOnlyDragging

bool SdOptionsMisc::bMoveOnlyDragging
private

Definition at line 190 of file optsitem.hxx.

◆ bPickThrough

bool SdOptionsMisc::bPickThrough
private

Definition at line 195 of file optsitem.hxx.

◆ bPresenterScreenFullScreen

bool SdOptionsMisc::bPresenterScreenFullScreen
private

Definition at line 200 of file optsitem.hxx.

◆ bPreviewChangedEffects

bool SdOptionsMisc::bPreviewChangedEffects
private

Definition at line 210 of file optsitem.hxx.

◆ bPreviewNewEffects

bool SdOptionsMisc::bPreviewNewEffects
private

Definition at line 209 of file optsitem.hxx.

◆ bPreviewTransitions

bool SdOptionsMisc::bPreviewTransitions
private

Definition at line 211 of file optsitem.hxx.

◆ bQuickEdit

bool SdOptionsMisc::bQuickEdit
private

Definition at line 192 of file optsitem.hxx.

◆ bShowComments

bool SdOptionsMisc::bShowComments
private

Definition at line 207 of file optsitem.hxx.

◆ bShowUndoDeleteWarning

bool SdOptionsMisc::bShowUndoDeleteWarning
private

Definition at line 204 of file optsitem.hxx.

◆ bSlideshowRespectZOrder

bool SdOptionsMisc::bSlideshowRespectZOrder
private

Definition at line 206 of file optsitem.hxx.

◆ bSolidDragging

bool SdOptionsMisc::bSolidDragging
private

Definition at line 201 of file optsitem.hxx.

◆ bStartWithTemplate

bool SdOptionsMisc::bStartWithTemplate
private

Definition at line 188 of file optsitem.hxx.

◆ bSummationOfParagraphs

bool SdOptionsMisc::bSummationOfParagraphs
private

Definition at line 202 of file optsitem.hxx.

◆ bTabBarVisible

bool SdOptionsMisc::bTabBarVisible
private

Definition at line 203 of file optsitem.hxx.

◆ mnDisplay

sal_Int32 SdOptionsMisc::mnDisplay
private

Definition at line 214 of file optsitem.hxx.

Referenced by GetDisplay(), and SetDisplay().

◆ mnDragThresholdPixels

sal_Int32 SdOptionsMisc::mnDragThresholdPixels
private

Minimum mouse move distance for it to register as a drag action.

Definition at line 227 of file optsitem.hxx.

Referenced by GetDragThresholdPixels(), and SetDragThreshold().

◆ mnPenColor

sal_Int32 SdOptionsMisc::mnPenColor
private

Definition at line 216 of file optsitem.hxx.

◆ mnPenWidth

double SdOptionsMisc::mnPenWidth
private

Definition at line 217 of file optsitem.hxx.

◆ mnPrinterIndependentLayout

sal_uInt16 SdOptionsMisc::mnPrinterIndependentLayout
private

This value controls the device to use for formatting documents.

The currently supported values are 0 for the current printer or 1 for the printer independent virtual device the can be retrieved from the modules.

Definition at line 224 of file optsitem.hxx.

◆ nDefaultObjectSizeHeight

sal_Int32 SdOptionsMisc::nDefaultObjectSizeHeight
private

Definition at line 186 of file optsitem.hxx.

◆ nDefaultObjectSizeWidth

sal_Int32 SdOptionsMisc::nDefaultObjectSizeWidth
private

Definition at line 185 of file optsitem.hxx.


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