|
LibreOffice Module extensions (master) 1
|
#include <bibconfig.hxx>
Public Member Functions | |
| BibConfig () | |
| virtual | ~BibConfig () override |
| virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames) override |
| BibDBDescriptor | GetBibliographyURL () |
| void | SetBibliographyURL (const BibDBDescriptor &rDesc) |
| const Mapping * | GetMapping (const BibDBDescriptor &rDesc) const |
| void | SetMapping (const BibDBDescriptor &rDesc, const Mapping *pMapping) |
| const OUString & | GetDefColumnName (sal_uInt16 nIndex) const |
| void | setBeamerSize (tools::Long nSize) |
| tools::Long | getBeamerSize () const |
| void | setViewSize (tools::Long nSize) |
| tools::Long | getViewSize () const |
| const OUString & | getQueryField () const |
| void | setQueryField (const OUString &rSet) |
| const OUString & | getQueryText () const |
| void | setQueryText (const OUString &rSet) |
| bool | IsShowColumnAssignmentWarning () const |
| void | SetShowColumnAssignmentWarning (bool bSet) |
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 |
| 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) |
Private Member Functions | |
| virtual void | ImplCommit () override |
Static Private Member Functions | |
| static css::uno::Sequence< OUString > const & | GetPropertyNames () |
Private Attributes | |
| OUString | sDataSource |
| OUString | sTableOrQuery |
| sal_Int32 | nTblOrQuery |
| OUString | sQueryField |
| OUString | sQueryText |
| MappingArray | mvMappings |
| tools::Long | nBeamerSize |
| tools::Long | nViewSize |
| bool | bShowColumnAssignmentWarning |
| OUString | aColumnDefaults [COLUMN_COUNT] |
Additional Inherited Members | |
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) |
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) |
| void | DisableNotification () |
| 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 90 of file bibconfig.hxx.
| BibConfig::BibConfig | ( | ) |
Definition at line 55 of file bibconfig.cxx.
References aColumnDefaults, Any, aPropertyValues, bShowColumnAssignmentWarning, cDataSourceHistory, utl::ConfigItem::GetNodeNames(), utl::ConfigItem::GetProperties(), GetPropertyNames(), mvMappings, nBeamerSize, NONE, nTblOrQuery, nViewSize, pMapping, pValues, sDataSource, sPrefix, sQueryField, sQueryText, and sTableOrQuery.
|
overridevirtual |
Definition at line 177 of file bibconfig.cxx.
References utl::ConfigItem::IsModified().
|
inline |
Definition at line 126 of file bibconfig.hxx.
References nBeamerSize.
Referenced by BibBookContainer::createTopFrame().
| BibDBDescriptor BibConfig::GetBibliographyURL | ( | ) |
Definition at line 182 of file bibconfig.cxx.
References BibDBDescriptor::nCommandType, nTblOrQuery, BibDBDescriptor::sDataSource, sDataSource, BibDBDescriptor::sTableOrQuery, and sTableOrQuery.
|
inline |
Definition at line 121 of file bibconfig.hxx.
References aColumnDefaults, and nIndex.
Referenced by BibDataManager::GetIdentifierMapping(), IMPL_LINK_NOARG(), lcl_FindLogicalName(), and lcl_GetColumnName().
| const Mapping * BibConfig::GetMapping | ( | const BibDBDescriptor & | rDesc | ) | const |
Definition at line 250 of file bibconfig.cxx.
References i, mvMappings, BibDBDescriptor::sDataSource, Mapping::sTableName, BibDBDescriptor::sTableOrQuery, and Mapping::sURL.
Referenced by BibGeneralPage::BibGeneralPage(), and BibDataManager::GetIdentifierMapping().
|
staticprivate |
Definition at line 39 of file bibconfig.cxx.
Referenced by BibConfig(), and ImplCommit().
|
inline |
Definition at line 130 of file bibconfig.hxx.
References sQueryField.
Referenced by BibDataManager::getQueryField().
|
inline |
Definition at line 133 of file bibconfig.hxx.
References sQueryText.
Referenced by BibFrameController_Impl::addStatusListener(), BibFrameController_Impl::ChangeDataSource(), BibDataManager::createDatabaseForm(), BibDataManager::setActiveDataSource(), and BibDataManager::setActiveDataTable().
|
inline |
Definition at line 128 of file bibconfig.hxx.
References nViewSize.
Referenced by BibBookContainer::createBottomFrame().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 203 of file bibconfig.cxx.
References bShowColumnAssignmentWarning, cDataSourceHistory, utl::ConfigItem::ClearNodeSet(), COLUMN_COUNT, GetPropertyNames(), i, comphelper::makePropertyValue(), mvMappings, nBeamerSize, nIndex, nTblOrQuery, nViewSize, pMapping, utl::ConfigItem::PutProperties(), sDataSource, utl::ConfigItem::SetSetProperties(), sPrefix, sQueryField, sQueryText, and sTableOrQuery.
|
inline |
Definition at line 136 of file bibconfig.hxx.
References bShowColumnAssignmentWarning.
Referenced by bib::BibView::UpdatePages().
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 199 of file bibconfig.cxx.
|
inline |
Definition at line 125 of file bibconfig.hxx.
References nBeamerSize, and utl::ConfigItem::SetModified().
Referenced by IMPL_LINK_NOARG().
| void BibConfig::SetBibliographyURL | ( | const BibDBDescriptor & | rDesc | ) |
Definition at line 191 of file bibconfig.cxx.
References BibDBDescriptor::nCommandType, nTblOrQuery, BibDBDescriptor::sDataSource, sDataSource, utl::ConfigItem::SetModified(), BibDBDescriptor::sTableOrQuery, and sTableOrQuery.
Referenced by BibDataManager::setActiveDataTable().
| void BibConfig::SetMapping | ( | const BibDBDescriptor & | rDesc, |
| const Mapping * | pMapping | ||
| ) |
Definition at line 262 of file bibconfig.cxx.
References i, mvMappings, BibDBDescriptor::sDataSource, utl::ConfigItem::SetModified(), Mapping::sTableName, BibDBDescriptor::sTableOrQuery, and Mapping::sURL.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 131 of file bibconfig.hxx.
References rSet, utl::ConfigItem::SetModified(), and sQueryField.
Referenced by BibDataManager::createDatabaseForm(), BibFrameController_Impl::dispatch(), BibDataManager::setActiveDataSource(), and BibDataManager::setActiveDataTable().
|
inline |
Definition at line 134 of file bibconfig.hxx.
References rSet, utl::ConfigItem::SetModified(), and sQueryText.
Referenced by BibDataManager::startQueryWith().
|
inline |
Definition at line 138 of file bibconfig.hxx.
References bShowColumnAssignmentWarning.
Referenced by bib::BibView::UpdatePages().
|
inline |
Definition at line 127 of file bibconfig.hxx.
References nViewSize, and utl::ConfigItem::SetModified().
Referenced by IMPL_LINK_NOARG().
|
private |
Definition at line 103 of file bibconfig.hxx.
Referenced by BibConfig(), and GetDefColumnName().
|
private |
Definition at line 101 of file bibconfig.hxx.
Referenced by BibConfig(), ImplCommit(), IsShowColumnAssignmentWarning(), and SetShowColumnAssignmentWarning().
|
private |
Definition at line 98 of file bibconfig.hxx.
Referenced by BibConfig(), GetMapping(), ImplCommit(), and SetMapping().
|
private |
Definition at line 99 of file bibconfig.hxx.
Referenced by BibConfig(), getBeamerSize(), ImplCommit(), and setBeamerSize().
|
private |
Definition at line 94 of file bibconfig.hxx.
Referenced by BibConfig(), GetBibliographyURL(), ImplCommit(), and SetBibliographyURL().
|
private |
Definition at line 100 of file bibconfig.hxx.
Referenced by BibConfig(), getViewSize(), ImplCommit(), and setViewSize().
|
private |
Definition at line 92 of file bibconfig.hxx.
Referenced by BibConfig(), GetBibliographyURL(), ImplCommit(), and SetBibliographyURL().
|
private |
Definition at line 96 of file bibconfig.hxx.
Referenced by BibConfig(), getQueryField(), ImplCommit(), and setQueryField().
|
private |
Definition at line 97 of file bibconfig.hxx.
Referenced by BibConfig(), getQueryText(), ImplCommit(), and setQueryText().
|
private |
Definition at line 93 of file bibconfig.hxx.
Referenced by BibConfig(), GetBibliographyURL(), ImplCommit(), and SetBibliographyURL().