LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScAppCfg Class Reference

#include <appoptio.hxx>

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

Public Member Functions

 ScAppCfg ()
 
void SetOptions (const ScAppOptions &rNew)
 
void OptionsChanged ()
 
- Public Member Functions inherited from ScAppOptions
 ScAppOptions ()
 
 ScAppOptions (const ScAppOptions &rCpy)
 
 ~ScAppOptions ()
 
void SetDefaults ()
 
void SetAppMetric (FieldUnit eUnit)
 
FieldUnit GetAppMetric () const
 
void SetZoom (sal_uInt16 nNew)
 
sal_uInt16 GetZoom () const
 
void SetZoomType (SvxZoomType eNew)
 
SvxZoomType GetZoomType () const
 
void SetSynchronizeZoom (bool bNew)
 
bool GetSynchronizeZoom () const
 
sal_uInt16 GetLRUFuncListCount () const
 
sal_uInt16 * GetLRUFuncList () const
 
void SetLRUFuncList (const sal_uInt16 *pList, const sal_uInt16 nCount)
 
void SetStatusFunc (sal_uInt32 nNew)
 
sal_uInt32 GetStatusFunc () const
 
void SetAutoComplete (bool bNew)
 
bool GetAutoComplete () const
 
void SetDetectiveAuto (bool bNew)
 
bool GetDetectiveAuto () const
 
void SetTrackContentColor (Color nNew)
 
Color GetTrackContentColor () const
 
void SetTrackInsertColor (Color nNew)
 
Color GetTrackInsertColor () const
 
void SetTrackDeleteColor (Color nNew)
 
Color GetTrackDeleteColor () const
 
void SetTrackMoveColor (Color nNew)
 
Color GetTrackMoveColor () const
 
ScLkUpdMode GetLinkMode () const
 
void SetLinkMode (ScLkUpdMode nSet)
 
void SetDefaultObjectSizeWidth (sal_Int32 nNew)
 
sal_Int32 GetDefaultObjectSizeWidth () const
 
void SetDefaultObjectSizeHeight (sal_Int32 nNew)
 
sal_Int32 GetDefaultObjectSizeHeight () const
 
void SetShowSharedDocumentWarning (bool bNew)
 
bool GetShowSharedDocumentWarning () const
 
ScOptionsUtil::KeyBindingType GetKeyBindingType () const
 
void SetKeyBindingType (ScOptionsUtil::KeyBindingType e)
 
ScAppOptionsoperator= (const ScAppOptions &rOpt)
 

Private Member Functions

 DECL_LINK (LayoutCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (InputCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (RevisionCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (ContentCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (SortListCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (MiscCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (CompatCommitHdl, ScLinkConfigItem &, void)
 

Static Private Member Functions

static css::uno::Sequence< OUString > GetLayoutPropertyNames ()
 
static css::uno::Sequence< OUString > GetInputPropertyNames ()
 
static css::uno::Sequence< OUString > GetRevisionPropertyNames ()
 
static css::uno::Sequence< OUString > GetContentPropertyNames ()
 
static css::uno::Sequence< OUString > GetSortListPropertyNames ()
 
static css::uno::Sequence< OUString > GetMiscPropertyNames ()
 
static css::uno::Sequence< OUString > GetCompatPropertyNames ()
 

Private Attributes

ScLinkConfigItem aLayoutItem
 split ScAppOptions into different classes More...
 
ScLinkConfigItem aInputItem
 
ScLinkConfigItem aRevisionItem
 
ScLinkConfigItem aContentItem
 
ScLinkConfigItem aSortListItem
 
ScLinkConfigItem aMiscItem
 
ScLinkConfigItem aCompatItem
 

Detailed Description

Definition at line 107 of file appoptio.hxx.

Constructor & Destructor Documentation

ScAppCfg::ScAppCfg ( )

Definition at line 314 of file appoptio.cxx.

References aCompatItem, aContentItem, aInputItem, aLayoutItem, aMiscItem, Any, aRevisionItem, aSortListItem, utl::ConfigItem::EnableNotification(), ScUnoHelpFunctions::GetBoolFromAny(), GetCompatPropertyNames(), GetContentPropertyNames(), GetInputPropertyNames(), GetLayoutPropertyNames(), GetMiscPropertyNames(), ScLinkConfigItem::GetProperties(), GetRevisionPropertyNames(), GetSortListPropertyNames(), lcl_SetLastFunctions(), lcl_SetSortList(), LINK, pValues, SCCOMPATOPT_KEY_BINDING, SCCONTENTOPT_LINK, SCINPUTOPT_AUTOINPUT, SCINPUTOPT_DET_AUTO, SCINPUTOPT_LASTFUNCS, SCLAYOUTOPT_MEASURE, SCLAYOUTOPT_STATUSBAR, SCLAYOUTOPT_STATUSBAR_DEFAULTVAL, SCLAYOUTOPT_STATUSBAR_DEFAULTVAL_LEGACY, SCLAYOUTOPT_STATUSBARMULTI, SCLAYOUTOPT_STATUSBARMULTI_DEFAULTVAL, SCLAYOUTOPT_SYNCZOOM, SCLAYOUTOPT_ZOOMTYPE, SCLAYOUTOPT_ZOOMVAL, SCMISCOPT_DEFOBJHEIGHT, SCMISCOPT_DEFOBJWIDTH, SCMISCOPT_SHOWSHAREDDOCWARN, SCREVISOPT_CHANGE, SCREVISOPT_DELETION, SCREVISOPT_INSERTION, SCREVISOPT_MOVEDENTRY, SCSORTLISTOPT_LIST, ScAppOptions::SetAppMetric(), ScAppOptions::SetAutoComplete(), ScLinkConfigItem::SetCommitLink(), ScAppOptions::SetDefaultObjectSizeHeight(), ScAppOptions::SetDefaultObjectSizeWidth(), ScAppOptions::SetDetectiveAuto(), ScAppOptions::SetKeyBindingType(), ScAppOptions::SetLinkMode(), ScAppOptions::SetShowSharedDocumentWarning(), ScAppOptions::SetStatusFunc(), ScAppOptions::SetSynchronizeZoom(), ScAppOptions::SetTrackContentColor(), ScAppOptions::SetTrackDeleteColor(), ScAppOptions::SetTrackInsertColor(), ScAppOptions::SetTrackMoveColor(), ScAppOptions::SetZoom(), and ScAppOptions::SetZoomType().

Member Function Documentation

ScAppCfg::DECL_LINK ( LayoutCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScAppCfg::DECL_LINK ( InputCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScAppCfg::DECL_LINK ( RevisionCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScAppCfg::DECL_LINK ( ContentCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScAppCfg::DECL_LINK ( SortListCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScAppCfg::DECL_LINK ( MiscCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScAppCfg::DECL_LINK ( CompatCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
Sequence< OUString > ScAppCfg::GetCompatPropertyNames ( )
staticprivate

Definition at line 309 of file appoptio.cxx.

Referenced by ScAppCfg().

Sequence< OUString > ScAppCfg::GetContentPropertyNames ( )
staticprivate

Definition at line 292 of file appoptio.cxx.

Referenced by ScAppCfg().

Sequence< OUString > ScAppCfg::GetInputPropertyNames ( )
staticprivate

Definition at line 277 of file appoptio.cxx.

Referenced by ScAppCfg().

Sequence< OUString > ScAppCfg::GetLayoutPropertyNames ( )
staticprivate

Definition at line 264 of file appoptio.cxx.

References ScOptionsUtil::IsMetricSystem().

Referenced by ScAppCfg().

Sequence< OUString > ScAppCfg::GetMiscPropertyNames ( )
staticprivate

Definition at line 302 of file appoptio.cxx.

Referenced by ScAppCfg().

Sequence< OUString > ScAppCfg::GetRevisionPropertyNames ( )
staticprivate

Definition at line 284 of file appoptio.cxx.

Referenced by ScAppCfg().

Sequence< OUString > ScAppCfg::GetSortListPropertyNames ( )
staticprivate

Definition at line 297 of file appoptio.cxx.

Referenced by ScAppCfg().

void ScAppCfg::OptionsChanged ( )
void ScAppCfg::SetOptions ( const ScAppOptions rNew)

Definition at line 705 of file appoptio.cxx.

References OptionsChanged().

Member Data Documentation

ScLinkConfigItem ScAppCfg::aCompatItem
private

Definition at line 118 of file appoptio.hxx.

Referenced by OptionsChanged(), and ScAppCfg().

ScLinkConfigItem ScAppCfg::aContentItem
private

Definition at line 115 of file appoptio.hxx.

Referenced by OptionsChanged(), and ScAppCfg().

ScLinkConfigItem ScAppCfg::aInputItem
private

Definition at line 113 of file appoptio.hxx.

Referenced by OptionsChanged(), and ScAppCfg().

ScLinkConfigItem ScAppCfg::aLayoutItem
private

split ScAppOptions into different classes

Definition at line 112 of file appoptio.hxx.

Referenced by OptionsChanged(), and ScAppCfg().

ScLinkConfigItem ScAppCfg::aMiscItem
private

Definition at line 117 of file appoptio.hxx.

Referenced by OptionsChanged(), and ScAppCfg().

ScLinkConfigItem ScAppCfg::aRevisionItem
private

Definition at line 114 of file appoptio.hxx.

Referenced by OptionsChanged(), and ScAppCfg().

ScLinkConfigItem ScAppCfg::aSortListItem
private

Definition at line 116 of file appoptio.hxx.

Referenced by OptionsChanged(), and ScAppCfg().


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