LibreOffice Module sw (master) 1
|
#include <unoatxt.hxx>
Public Member Functions | |
SwXAutoTextGroup (const OUString &rName, SwGlossaries *pGloss) | |
virtual css::uno::Sequence< OUString > SAL_CALL | getTitles () override |
virtual void SAL_CALL | renameByName (const OUString &aElementName, const OUString &aNewElementName, const OUString &aNewElementTitle) override |
virtual css::uno::Reference< css::text::XAutoTextEntry > SAL_CALL | insertNewByName (const OUString &aName, const OUString &aTitle, const css::uno::Reference< css::text::XTextRange > &xTextRange) override |
virtual void SAL_CALL | removeByName (const OUString &aEntryName) override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &Name_) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 nIndex) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &Name) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &Name) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
void | Invalidate () |
Private Member Functions | |
virtual | ~SwXAutoTextGroup () override |
Private Attributes | |
const SfxItemPropertySet * | m_pPropSet |
SwGlossaries * | m_pGlossaries |
OUString | m_sName |
OUString | m_sGroupName |
Definition at line 86 of file unoatxt.hxx.
|
overrideprivatevirtual |
Definition at line 219 of file unoatxt.cxx.
SwXAutoTextGroup::SwXAutoTextGroup | ( | const OUString & | rName, |
SwGlossaries * | pGloss | ||
) |
Definition at line 208 of file unoatxt.cxx.
References GLOS_DELIM, and m_sName.
|
overridevirtual |
Definition at line 604 of file unoatxt.cxx.
|
overridevirtual |
Definition at line 614 of file unoatxt.cxx.
|
overridevirtual |
Definition at line 469 of file unoatxt.cxx.
References getByName(), SwGlossaries::GetGroupDoc(), m_pGlossaries, m_sGroupName, o3tl::make_unsigned(), nCount, and nIndex.
|
overridevirtual |
Definition at line 499 of file unoatxt.cxx.
References SwGlossaries::GetAutoTextEntry(), m_pGlossaries, m_sGroupName, and m_sName.
Referenced by getByIndex().
|
overridevirtual |
Definition at line 460 of file unoatxt.cxx.
References SwGlossaries::GetGroupDoc(), m_pGlossaries, and m_sGroupName.
|
overridevirtual |
Definition at line 508 of file unoatxt.cxx.
References SwGlossaries::GetGroupDoc(), i, m_pGlossaries, m_sGroupName, and nCount.
|
overridevirtual |
Definition at line 483 of file unoatxt.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 631 of file unoatxt.cxx.
|
overridevirtual |
Definition at line 412 of file unoatxt.cxx.
References m_sName.
|
overridevirtual |
Definition at line 545 of file unoatxt.cxx.
References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.
|
overridevirtual |
Definition at line 580 of file unoatxt.cxx.
References SfxItemPropertyMap::getByName(), SwGlossaries::GetGroupDoc(), SfxItemPropertySet::getPropertyMap(), m_pGlossaries, m_pPropSet, m_sGroupName, SfxItemPropertyMapEntry::nWID, WID_GROUP_PATH, and WID_GROUP_TITLE.
|
overridevirtual |
Definition at line 641 of file unoatxt.cxx.
|
overridevirtual |
Definition at line 223 of file unoatxt.cxx.
References SwGlossaries::GetGroupDoc(), i, m_pGlossaries, m_sGroupName, and nCount.
|
overridevirtual |
Definition at line 524 of file unoatxt.cxx.
References SwGlossaries::GetGroupDoc(), i, m_pGlossaries, m_sGroupName, and nCount.
Referenced by insertNewByName(), and renameByName().
|
overridevirtual |
Definition at line 489 of file unoatxt.cxx.
References SwGlossaries::GetGroupDoc(), m_pGlossaries, and m_sGroupName.
|
overridevirtual |
Definition at line 305 of file unoatxt.cxx.
References aName, DeleteRedlines, SvxAutoCorrCfg::Get(), SwGlossaries::GetAutoTextEntry(), cppu::getCaughtException(), SwGlossaries::GetGroupDoc(), SwDoc::getIDocumentRedlineAccess(), INetURLObject::GetMainURL(), SwXTextRange::getString(), hasByName(), SvxAutoCorrCfg::IsSaveRelFile(), lcl_CopySelToDoc(), m_pGlossaries, m_sGroupName, m_sName, INetURLObject::NONE, NONE, and IDocumentRedlineAccess::SetRedlineFlags_intern().
void SwXAutoTextGroup::Invalidate | ( | ) |
Definition at line 624 of file unoatxt.cxx.
References m_pGlossaries, m_sGroupName, and m_sName.
|
overridevirtual |
Definition at line 398 of file unoatxt.cxx.
References aEntryName, SwGlossaries::GetGroupDoc(), m_pGlossaries, and m_sGroupName.
|
overridevirtual |
Definition at line 609 of file unoatxt.cxx.
|
overridevirtual |
Definition at line 619 of file unoatxt.cxx.
|
overridevirtual |
Definition at line 239 of file unoatxt.cxx.
References ERRCODE_NONE, SwGlossaries::GetGroupDoc(), hasByName(), m_pGlossaries, and m_sGroupName.
|
overridevirtual |
Definition at line 418 of file unoatxt.cxx.
References SwGlossaries::GetGroupTitle(), GLOS_DELIM, m_pGlossaries, m_sGroupName, m_sName, and SwGlossaries::RenameGroupDoc().
|
overridevirtual |
Definition at line 551 of file unoatxt.cxx.
References SwGlossaryList::ClearGroups(), SfxItemPropertyMap::getByName(), GetGlossaryList(), SwGlossaries::GetGroupDoc(), SfxItemPropertySet::getPropertyMap(), HasGlossaryList(), m_pGlossaries, m_pPropSet, m_sGroupName, SfxItemPropertyMapEntry::nWID, and WID_GROUP_TITLE.
|
overridevirtual |
Definition at line 636 of file unoatxt.cxx.
References cppu::supportsService().
|
private |
Definition at line 96 of file unoatxt.hxx.
Referenced by getByIndex(), getByName(), getCount(), getElementNames(), getPropertyValue(), getTitles(), hasByName(), hasElements(), insertNewByName(), Invalidate(), removeByName(), renameByName(), setName(), and setPropertyValue().
|
private |
Definition at line 95 of file unoatxt.hxx.
Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 98 of file unoatxt.hxx.
Referenced by getByIndex(), getByName(), getCount(), getElementNames(), getPropertyValue(), getTitles(), hasByName(), hasElements(), insertNewByName(), Invalidate(), removeByName(), renameByName(), setName(), and setPropertyValue().
|
private |
Definition at line 97 of file unoatxt.hxx.
Referenced by getByName(), getName(), insertNewByName(), Invalidate(), and setName().