LibreOffice Module unotools (master) 1
|
#include <fltrcfg.hxx>
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 | |
ConfigItem & | operator= (ConfigItem const &)=delete |
ConfigItem & | operator= (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 () |
ConfigurationBroadcaster & | operator= (ConfigurationBroadcaster const &other) |
virtual void | BlockBroadcasts (bool bBlock) |
Static Public Member Functions | |
static SvtFilterOptions & | Get () |
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_Bool > | GetReadOnlyStates (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) |
Definition at line 28 of file fltrcfg.hxx.
SvtFilterOptions::SvtFilterOptions | ( | ) |
Definition at line 334 of file fltrcfg.cxx.
References utl::ConfigItem::EnableNotification(), and Load().
|
overridevirtual |
Definition at line 342 of file fltrcfg.cxx.
void SvtFilterOptions::EnableMSOLockFileCreation | ( | bool | bEnable | ) |
Definition at line 664 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
|
static |
Definition at line 616 of file fltrcfg.cxx.
|
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.
bool SvtFilterOptions::IsCalc2Excel | ( | ) | const |
Definition at line 564 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsCharBackground2Highlighting | ( | ) | const |
Definition at line 637 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsCharBackground2Shading | ( | ) | const |
Definition at line 642 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsEnableCalcPreview | ( | ) | const |
Definition at line 627 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsEnablePPTPreview | ( | ) | const |
Definition at line 622 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsEnableWordPreview | ( | ) | const |
Definition at line 632 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsExcel2Calc | ( | ) | const |
Definition at line 553 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsImpress2PowerPoint | ( | ) | const |
Definition at line 586 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadExcelBasicCode | ( | ) | const |
Definition at line 455 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadExcelBasicExecutable | ( | ) | const |
Definition at line 466 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadExcelBasicStorage | ( | ) | const |
Definition at line 477 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadPPointBasicCode | ( | ) | const |
Definition at line 488 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadPPointBasicStorage | ( | ) | const |
Definition at line 499 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadWordBasicCode | ( | ) | const |
Definition at line 422 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadWordBasicExecutable | ( | ) | const |
Definition at line 433 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsLoadWordBasicStorage | ( | ) | const |
Definition at line 444 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsMath2MathType | ( | ) | const |
Definition at line 515 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsMathType2Math | ( | ) | const |
Definition at line 504 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsMSOLockFileCreationIsEnabled | ( | ) | const |
Definition at line 659 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsPowerPoint2Impress | ( | ) | const |
Definition at line 575 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsSmartArt2Shape | ( | ) | const |
Definition at line 597 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsUseEnhancedFields | ( | ) | const |
Definition at line 548 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsVisio2Draw | ( | ) | const |
Definition at line 608 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsWinWord2Writer | ( | ) | const |
Definition at line 526 of file fltrcfg.cxx.
References pImpl.
bool SvtFilterOptions::IsWriter2WinWord | ( | ) | const |
Definition at line 537 of file fltrcfg.cxx.
References pImpl.
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().
|
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().
void SvtFilterOptions::SetCalc2Excel | ( | bool | bFlag | ) |
Definition at line 569 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetCharBackground2Highlighting | ( | ) |
Definition at line 647 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetCharBackground2Shading | ( | ) |
Definition at line 653 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetExcel2Calc | ( | bool | bFlag | ) |
Definition at line 558 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetImpress2PowerPoint | ( | bool | bFlag | ) |
Definition at line 591 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadExcelBasicCode | ( | bool | bFlag | ) |
Definition at line 449 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadExcelBasicExecutable | ( | bool | bFlag | ) |
Definition at line 460 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadExcelBasicStorage | ( | bool | bFlag | ) |
Definition at line 471 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadPPointBasicCode | ( | bool | bFlag | ) |
Definition at line 482 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadPPointBasicStorage | ( | bool | bFlag | ) |
Definition at line 493 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadWordBasicCode | ( | bool | bFlag | ) |
Definition at line 416 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadWordBasicExecutable | ( | bool | bFlag | ) |
Definition at line 427 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetLoadWordBasicStorage | ( | bool | bFlag | ) |
Definition at line 438 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetMath2MathType | ( | bool | bFlag | ) |
Definition at line 520 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetMathType2Math | ( | bool | bFlag | ) |
Definition at line 509 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetPowerPoint2Impress | ( | bool | bFlag | ) |
Definition at line 580 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetSmartArt2Shape | ( | bool | bFlag | ) |
Definition at line 602 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetVisio2Draw | ( | bool | bFlag | ) |
Definition at line 610 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetWinWord2Writer | ( | bool | bFlag | ) |
Definition at line 531 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
void SvtFilterOptions::SetWriter2WinWord | ( | bool | bFlag | ) |
Definition at line 542 of file fltrcfg.cxx.
References pImpl, and utl::ConfigItem::SetModified().
|
private |
Definition at line 31 of file fltrcfg.hxx.
Referenced by EnableMSOLockFileCreation(), ImplCommit(), IsCalc2Excel(), IsCharBackground2Highlighting(), IsCharBackground2Shading(), IsEnableCalcPreview(), IsEnablePPTPreview(), IsEnableWordPreview(), IsExcel2Calc(), IsImpress2PowerPoint(), IsLoadExcelBasicCode(), IsLoadExcelBasicExecutable(), IsLoadExcelBasicStorage(), IsLoadPPointBasicCode(), IsLoadPPointBasicStorage(), IsLoadWordBasicCode(), IsLoadWordBasicExecutable(), IsLoadWordBasicStorage(), IsMath2MathType(), IsMathType2Math(), IsMSOLockFileCreationIsEnabled(), IsPowerPoint2Impress(), IsSmartArt2Shape(), IsUseEnhancedFields(), IsVisio2Draw(), IsWinWord2Writer(), IsWriter2WinWord(), Load(), SetCalc2Excel(), SetCharBackground2Highlighting(), SetCharBackground2Shading(), SetExcel2Calc(), SetImpress2PowerPoint(), SetLoadExcelBasicCode(), SetLoadExcelBasicExecutable(), SetLoadExcelBasicStorage(), SetLoadPPointBasicCode(), SetLoadPPointBasicStorage(), SetLoadWordBasicCode(), SetLoadWordBasicExecutable(), SetLoadWordBasicStorage(), SetMath2MathType(), SetMathType2Math(), SetPowerPoint2Impress(), SetSmartArt2Shape(), SetVisio2Draw(), SetWinWord2Writer(), and SetWriter2WinWord().