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

#include <bibconfig.hxx>

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

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 MappingGetMapping (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
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (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 ()
 
ConfigurationBroadcasteroperator= (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_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)
 
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)
 

Detailed Description

Definition at line 90 of file bibconfig.hxx.

Constructor & Destructor Documentation

◆ BibConfig()

BibConfig::BibConfig ( )

◆ ~BibConfig()

BibConfig::~BibConfig ( )
overridevirtual

Definition at line 177 of file bibconfig.cxx.

References utl::ConfigItem::IsModified().

Member Function Documentation

◆ getBeamerSize()

tools::Long BibConfig::getBeamerSize ( ) const
inline

Definition at line 126 of file bibconfig.hxx.

References nBeamerSize.

Referenced by BibBookContainer::createTopFrame().

◆ GetBibliographyURL()

BibDBDescriptor BibConfig::GetBibliographyURL ( )

◆ GetDefColumnName()

const OUString & BibConfig::GetDefColumnName ( sal_uInt16  nIndex) const
inline

◆ GetMapping()

const Mapping * BibConfig::GetMapping ( const BibDBDescriptor rDesc) const

◆ GetPropertyNames()

Sequence< OUString > const & BibConfig::GetPropertyNames ( )
staticprivate

Definition at line 39 of file bibconfig.cxx.

Referenced by BibConfig(), and ImplCommit().

◆ getQueryField()

const OUString & BibConfig::getQueryField ( ) const
inline

Definition at line 130 of file bibconfig.hxx.

References sQueryField.

Referenced by BibDataManager::getQueryField().

◆ getQueryText()

const OUString & BibConfig::getQueryText ( ) const
inline

◆ getViewSize()

tools::Long BibConfig::getViewSize ( ) const
inline

Definition at line 128 of file bibconfig.hxx.

References nViewSize.

Referenced by BibBookContainer::createBottomFrame().

◆ ImplCommit()

void BibConfig::ImplCommit ( )
overrideprivatevirtual

◆ IsShowColumnAssignmentWarning()

bool BibConfig::IsShowColumnAssignmentWarning ( ) const
inline

Definition at line 136 of file bibconfig.hxx.

References bShowColumnAssignmentWarning.

Referenced by bib::BibView::UpdatePages().

◆ Notify()

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

Implements utl::ConfigItem.

Definition at line 199 of file bibconfig.cxx.

◆ setBeamerSize()

void BibConfig::setBeamerSize ( tools::Long  nSize)
inline

Definition at line 125 of file bibconfig.hxx.

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

Referenced by IMPL_LINK_NOARG().

◆ SetBibliographyURL()

void BibConfig::SetBibliographyURL ( const BibDBDescriptor rDesc)

◆ SetMapping()

void BibConfig::SetMapping ( const BibDBDescriptor rDesc,
const Mapping pMapping 
)

◆ setQueryField()

void BibConfig::setQueryField ( const OUString &  rSet)
inline

◆ setQueryText()

void BibConfig::setQueryText ( const OUString &  rSet)
inline

Definition at line 134 of file bibconfig.hxx.

References rSet, utl::ConfigItem::SetModified(), and sQueryText.

Referenced by BibDataManager::startQueryWith().

◆ SetShowColumnAssignmentWarning()

void BibConfig::SetShowColumnAssignmentWarning ( bool  bSet)
inline

Definition at line 138 of file bibconfig.hxx.

References bShowColumnAssignmentWarning.

Referenced by bib::BibView::UpdatePages().

◆ setViewSize()

void BibConfig::setViewSize ( tools::Long  nSize)
inline

Definition at line 127 of file bibconfig.hxx.

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

Referenced by IMPL_LINK_NOARG().

Member Data Documentation

◆ aColumnDefaults

OUString BibConfig::aColumnDefaults[COLUMN_COUNT]
private

Definition at line 103 of file bibconfig.hxx.

Referenced by BibConfig(), and GetDefColumnName().

◆ bShowColumnAssignmentWarning

bool BibConfig::bShowColumnAssignmentWarning
private

◆ mvMappings

MappingArray BibConfig::mvMappings
private

Definition at line 98 of file bibconfig.hxx.

Referenced by BibConfig(), GetMapping(), ImplCommit(), and SetMapping().

◆ nBeamerSize

tools::Long BibConfig::nBeamerSize
private

Definition at line 99 of file bibconfig.hxx.

Referenced by BibConfig(), getBeamerSize(), ImplCommit(), and setBeamerSize().

◆ nTblOrQuery

sal_Int32 BibConfig::nTblOrQuery
private

Definition at line 94 of file bibconfig.hxx.

Referenced by BibConfig(), GetBibliographyURL(), ImplCommit(), and SetBibliographyURL().

◆ nViewSize

tools::Long BibConfig::nViewSize
private

Definition at line 100 of file bibconfig.hxx.

Referenced by BibConfig(), getViewSize(), ImplCommit(), and setViewSize().

◆ sDataSource

OUString BibConfig::sDataSource
private

Definition at line 92 of file bibconfig.hxx.

Referenced by BibConfig(), GetBibliographyURL(), ImplCommit(), and SetBibliographyURL().

◆ sQueryField

OUString BibConfig::sQueryField
private

Definition at line 96 of file bibconfig.hxx.

Referenced by BibConfig(), getQueryField(), ImplCommit(), and setQueryField().

◆ sQueryText

OUString BibConfig::sQueryText
private

Definition at line 97 of file bibconfig.hxx.

Referenced by BibConfig(), getQueryText(), ImplCommit(), and setQueryText().

◆ sTableOrQuery

OUString BibConfig::sTableOrQuery
private

Definition at line 93 of file bibconfig.hxx.

Referenced by BibConfig(), GetBibliographyURL(), ImplCommit(), and SetBibliographyURL().


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