LibreOffice Module unotools (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvtFilterOptions Class Referencefinal

#include <fltrcfg.hxx>

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

Public Member Functions

 SvtFilterOptions ()
 
virtual ~SvtFilterOptions () override
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 is called from the ConfigManager before application ends of from the PropertyChangeListener if the sub tree broadcasts changes. More...
 
void Load ()
 
void SetLoadWordBasicCode (bool bFlag)
 
bool IsLoadWordBasicCode () const
 
void SetLoadWordBasicExecutable (bool bFlag)
 
bool IsLoadWordBasicExecutable () const
 
void SetLoadWordBasicStorage (bool bFlag)
 
bool IsLoadWordBasicStorage () const
 
void SetLoadExcelBasicCode (bool bFlag)
 
bool IsLoadExcelBasicCode () const
 
void SetLoadExcelBasicExecutable (bool bFlag)
 
bool IsLoadExcelBasicExecutable () const
 
void SetLoadExcelBasicStorage (bool bFlag)
 
bool IsLoadExcelBasicStorage () const
 
void SetLoadPPointBasicCode (bool bFlag)
 
bool IsLoadPPointBasicCode () const
 
void SetLoadPPointBasicStorage (bool bFlag)
 
bool IsLoadPPointBasicStorage () const
 
bool IsMathType2Math () const
 
void SetMathType2Math (bool bFlag)
 
bool IsMath2MathType () const
 
void SetMath2MathType (bool bFlag)
 
bool IsWinWord2Writer () const
 
void SetWinWord2Writer (bool bFlag)
 
bool IsWriter2WinWord () const
 
void SetWriter2WinWord (bool bFlag)
 
bool IsUseEnhancedFields () const
 
bool IsExcel2Calc () const
 
void SetExcel2Calc (bool bFlag)
 
bool IsCalc2Excel () const
 
void SetCalc2Excel (bool bFlag)
 
bool IsPowerPoint2Impress () const
 
void SetPowerPoint2Impress (bool bFlag)
 
bool IsImpress2PowerPoint () const
 
void SetImpress2PowerPoint (bool bFlag)
 
bool IsSmartArt2Shape () const
 
void SetSmartArt2Shape (bool bFlag)
 
bool IsEnablePPTPreview () const
 
bool IsEnableCalcPreview () const
 
bool IsEnableWordPreview () const
 
bool IsCharBackground2Highlighting () const
 
bool IsCharBackground2Shading () const
 
void SetCharBackground2Highlighting ()
 
void SetCharBackground2Shading ()
 
bool IsMSOLockFileCreationIsEnabled () const
 
void EnableMSOLockFileCreation (bool bEnable)
 
bool IsVisio2Draw () const
 
void SetVisio2Draw (bool bFlag)
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0
 is called from the ConfigManager before application ends of from the PropertyChangeListener if the sub tree broadcasts changes. More...
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
- Public Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Static Public Member Functions

static SvtFilterOptionsGet ()
 
- Static Public Member Functions inherited from utl::ConfigItem
static css::uno::Sequence< OUString > GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat)
 
static css::uno::Sequence< css::uno::Any > GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales)
 
static bool PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales)
 
static bool ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode)
 
static bool ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales)
 
static bool SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 

Private Member Functions

virtual void ImplCommit () override
 writes the changed values into the sub tree. More...
 

Private Attributes

std::unique_ptr< SvtFilterOptions_Impl, o3tl::default_delete< SvtFilterOptions_Impl > > pImpl
 

Additional Inherited Members

- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (OUString aSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 enables notifications about changes on selected sub nodes/values More...
 
void DisableNotification ()
 disables notifications about changes on sub nodes/values, which previously had been enabled with EnableNotification More...
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 

Detailed Description

Definition at line 28 of file fltrcfg.hxx.

Constructor & Destructor Documentation

◆ SvtFilterOptions()

SvtFilterOptions::SvtFilterOptions ( )

Definition at line 334 of file fltrcfg.cxx.

References utl::ConfigItem::EnableNotification(), and Load().

◆ ~SvtFilterOptions()

SvtFilterOptions::~SvtFilterOptions ( )
overridevirtual

Definition at line 342 of file fltrcfg.cxx.

Member Function Documentation

◆ EnableMSOLockFileCreation()

void SvtFilterOptions::EnableMSOLockFileCreation ( bool  bEnable)

Definition at line 664 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ Get()

SvtFilterOptions & SvtFilterOptions::Get ( )
static

Definition at line 616 of file fltrcfg.cxx.

◆ ImplCommit()

void SvtFilterOptions::ImplCommit ( )
overrideprivatevirtual

writes the changed values into the sub tree.

Private and only called from non-virtual public Commit().

Implements utl::ConfigItem.

Definition at line 380 of file fltrcfg.cxx.

References Any, lcl_GetFlag(), pImpl, utl::ConfigItem::PutProperties(), and pValues.

◆ IsCalc2Excel()

bool SvtFilterOptions::IsCalc2Excel ( ) const

Definition at line 564 of file fltrcfg.cxx.

References pImpl.

◆ IsCharBackground2Highlighting()

bool SvtFilterOptions::IsCharBackground2Highlighting ( ) const

Definition at line 637 of file fltrcfg.cxx.

References pImpl.

◆ IsCharBackground2Shading()

bool SvtFilterOptions::IsCharBackground2Shading ( ) const

Definition at line 642 of file fltrcfg.cxx.

References pImpl.

◆ IsEnableCalcPreview()

bool SvtFilterOptions::IsEnableCalcPreview ( ) const

Definition at line 627 of file fltrcfg.cxx.

References pImpl.

◆ IsEnablePPTPreview()

bool SvtFilterOptions::IsEnablePPTPreview ( ) const

Definition at line 622 of file fltrcfg.cxx.

References pImpl.

◆ IsEnableWordPreview()

bool SvtFilterOptions::IsEnableWordPreview ( ) const

Definition at line 632 of file fltrcfg.cxx.

References pImpl.

◆ IsExcel2Calc()

bool SvtFilterOptions::IsExcel2Calc ( ) const

Definition at line 553 of file fltrcfg.cxx.

References pImpl.

◆ IsImpress2PowerPoint()

bool SvtFilterOptions::IsImpress2PowerPoint ( ) const

Definition at line 586 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadExcelBasicCode()

bool SvtFilterOptions::IsLoadExcelBasicCode ( ) const

Definition at line 455 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadExcelBasicExecutable()

bool SvtFilterOptions::IsLoadExcelBasicExecutable ( ) const

Definition at line 466 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadExcelBasicStorage()

bool SvtFilterOptions::IsLoadExcelBasicStorage ( ) const

Definition at line 477 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadPPointBasicCode()

bool SvtFilterOptions::IsLoadPPointBasicCode ( ) const

Definition at line 488 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadPPointBasicStorage()

bool SvtFilterOptions::IsLoadPPointBasicStorage ( ) const

Definition at line 499 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadWordBasicCode()

bool SvtFilterOptions::IsLoadWordBasicCode ( ) const

Definition at line 422 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadWordBasicExecutable()

bool SvtFilterOptions::IsLoadWordBasicExecutable ( ) const

Definition at line 433 of file fltrcfg.cxx.

References pImpl.

◆ IsLoadWordBasicStorage()

bool SvtFilterOptions::IsLoadWordBasicStorage ( ) const

Definition at line 444 of file fltrcfg.cxx.

References pImpl.

◆ IsMath2MathType()

bool SvtFilterOptions::IsMath2MathType ( ) const

Definition at line 515 of file fltrcfg.cxx.

References pImpl.

◆ IsMathType2Math()

bool SvtFilterOptions::IsMathType2Math ( ) const

Definition at line 504 of file fltrcfg.cxx.

References pImpl.

◆ IsMSOLockFileCreationIsEnabled()

bool SvtFilterOptions::IsMSOLockFileCreationIsEnabled ( ) const

Definition at line 659 of file fltrcfg.cxx.

References pImpl.

◆ IsPowerPoint2Impress()

bool SvtFilterOptions::IsPowerPoint2Impress ( ) const

Definition at line 575 of file fltrcfg.cxx.

References pImpl.

◆ IsSmartArt2Shape()

bool SvtFilterOptions::IsSmartArt2Shape ( ) const

Definition at line 597 of file fltrcfg.cxx.

References pImpl.

◆ IsUseEnhancedFields()

bool SvtFilterOptions::IsUseEnhancedFields ( ) const

Definition at line 548 of file fltrcfg.cxx.

References pImpl.

◆ IsVisio2Draw()

bool SvtFilterOptions::IsVisio2Draw ( ) const

Definition at line 608 of file fltrcfg.cxx.

References pImpl.

◆ IsWinWord2Writer()

bool SvtFilterOptions::IsWinWord2Writer ( ) const

Definition at line 526 of file fltrcfg.cxx.

References pImpl.

◆ IsWriter2WinWord()

bool SvtFilterOptions::IsWriter2WinWord ( ) const

Definition at line 537 of file fltrcfg.cxx.

References pImpl.

◆ Load()

void SvtFilterOptions::Load ( )

Definition at line 395 of file fltrcfg.cxx.

References Any, DBG_ASSERT, utl::ConfigItem::GetProperties(), lcl_GetFlag(), pImpl, and pValues.

Referenced by Notify(), and SvtFilterOptions().

◆ Notify()

void SvtFilterOptions::Notify ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

is called from the ConfigManager before application ends of from the PropertyChangeListener if the sub tree broadcasts changes.

Implements utl::ConfigItem.

Definition at line 375 of file fltrcfg.cxx.

References Load().

◆ SetCalc2Excel()

void SvtFilterOptions::SetCalc2Excel ( bool  bFlag)

Definition at line 569 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetCharBackground2Highlighting()

void SvtFilterOptions::SetCharBackground2Highlighting ( )

Definition at line 647 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetCharBackground2Shading()

void SvtFilterOptions::SetCharBackground2Shading ( )

Definition at line 653 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetExcel2Calc()

void SvtFilterOptions::SetExcel2Calc ( bool  bFlag)

Definition at line 558 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetImpress2PowerPoint()

void SvtFilterOptions::SetImpress2PowerPoint ( bool  bFlag)

Definition at line 591 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadExcelBasicCode()

void SvtFilterOptions::SetLoadExcelBasicCode ( bool  bFlag)

Definition at line 449 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadExcelBasicExecutable()

void SvtFilterOptions::SetLoadExcelBasicExecutable ( bool  bFlag)

Definition at line 460 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadExcelBasicStorage()

void SvtFilterOptions::SetLoadExcelBasicStorage ( bool  bFlag)

Definition at line 471 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadPPointBasicCode()

void SvtFilterOptions::SetLoadPPointBasicCode ( bool  bFlag)

Definition at line 482 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadPPointBasicStorage()

void SvtFilterOptions::SetLoadPPointBasicStorage ( bool  bFlag)

Definition at line 493 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadWordBasicCode()

void SvtFilterOptions::SetLoadWordBasicCode ( bool  bFlag)

Definition at line 416 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadWordBasicExecutable()

void SvtFilterOptions::SetLoadWordBasicExecutable ( bool  bFlag)

Definition at line 427 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetLoadWordBasicStorage()

void SvtFilterOptions::SetLoadWordBasicStorage ( bool  bFlag)

Definition at line 438 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetMath2MathType()

void SvtFilterOptions::SetMath2MathType ( bool  bFlag)

Definition at line 520 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetMathType2Math()

void SvtFilterOptions::SetMathType2Math ( bool  bFlag)

Definition at line 509 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetPowerPoint2Impress()

void SvtFilterOptions::SetPowerPoint2Impress ( bool  bFlag)

Definition at line 580 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetSmartArt2Shape()

void SvtFilterOptions::SetSmartArt2Shape ( bool  bFlag)

Definition at line 602 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetVisio2Draw()

void SvtFilterOptions::SetVisio2Draw ( bool  bFlag)

Definition at line 610 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetWinWord2Writer()

void SvtFilterOptions::SetWinWord2Writer ( bool  bFlag)

Definition at line 531 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

◆ SetWriter2WinWord()

void SvtFilterOptions::SetWriter2WinWord ( bool  bFlag)

Definition at line 542 of file fltrcfg.cxx.

References pImpl, and utl::ConfigItem::SetModified().

Member Data Documentation

◆ pImpl

std::unique_ptr<SvtFilterOptions_Impl, o3tl::default_delete<SvtFilterOptions_Impl> > SvtFilterOptions::pImpl
private

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