LibreOffice Module sw (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXDocumentIndex Class Referencefinal

#include <unoidx.hxx>

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

Classes

class  Impl
 
class  StyleAccess_Impl
 
class  TokenAccess_Impl
 

Public Member Functions

virtual ::sfx2::Metadatable * GetCoreObject () override
 
virtual css::uno::Reference< css::frame::XModel > GetModel () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &rPropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &rName) override
 
virtual void SAL_CALL refresh () override
 
virtual void SAL_CALL addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &xListener) override
 
virtual void SAL_CALL removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &xListener) override
 
virtual void SAL_CALL attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor () override
 
virtual OUString SAL_CALL getServiceName () override
 
virtual void SAL_CALL update () override
 

Static Public Member Functions

static rtl::Reference< SwXDocumentIndexCreateXDocumentIndex (SwDoc &rDoc, SwTOXBaseSection *pSection, TOXTypes eTypes=TOX_INDEX)
 

Private Member Functions

virtual ~SwXDocumentIndex () override
 
 SwXDocumentIndex (SwTOXBaseSection &, SwDoc &)
 
 SwXDocumentIndex (const TOXTypes eToxType, SwDoc &rDoc)
 descriptor More...
 

Private Attributes

::sw::UnoImplPtr< Implm_pImpl
 

Detailed Description

Definition at line 50 of file unoidx.hxx.

Constructor & Destructor Documentation

◆ ~SwXDocumentIndex()

SwXDocumentIndex::~SwXDocumentIndex ( )
overrideprivatevirtual

Definition at line 396 of file unoidx.cxx.

◆ SwXDocumentIndex() [1/2]

SwXDocumentIndex::SwXDocumentIndex ( SwTOXBaseSection rBaseSection,
SwDoc rDoc 
)
private

Definition at line 384 of file unoidx.cxx.

Referenced by CreateXDocumentIndex().

◆ SwXDocumentIndex() [2/2]

SwXDocumentIndex::SwXDocumentIndex ( const TOXTypes  eToxType,
SwDoc rDoc 
)
private

descriptor

Definition at line 391 of file unoidx.cxx.

References eType, and m_pImpl.

Member Function Documentation

◆ addEventListener()

void SAL_CALL SwXDocumentIndex::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 1404 of file unoidx.cxx.

References m_pImpl.

◆ addPropertyChangeListener()

void SAL_CALL SwXDocumentIndex::addPropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 1210 of file unoidx.cxx.

◆ addRefreshListener()

void SAL_CALL SwXDocumentIndex::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  xListener)
overridevirtual

Definition at line 1293 of file unoidx.cxx.

References m_pImpl.

◆ addVetoableChangeListener()

void SAL_CALL SwXDocumentIndex::addVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
overridevirtual

Definition at line 1226 of file unoidx.cxx.

◆ attach()

void SAL_CALL SwXDocumentIndex::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual

◆ CreateXDocumentIndex()

rtl::Reference< SwXDocumentIndex > SwXDocumentIndex::CreateXDocumentIndex ( SwDoc rDoc,
SwTOXBaseSection pSection,
TOXTypes  eTypes = TOX_INDEX 
)
static

◆ dispose()

void SAL_CALL SwXDocumentIndex::dispose ( void  )
overridevirtual

◆ getAnchor()

uno::Reference< text::XTextRange > SAL_CALL SwXDocumentIndex::getAnchor ( )
overridevirtual

◆ GetCoreObject()

sfx2::Metadatable * SwXDocumentIndex::GetCoreObject ( )
override

Definition at line 1470 of file unoidx.cxx.

References m_pImpl.

◆ getImplementationName()

OUString SAL_CALL SwXDocumentIndex::getImplementationName ( )
overridevirtual

Definition at line 428 of file unoidx.cxx.

◆ GetModel()

uno::Reference< frame::XModel > SwXDocumentIndex::GetModel ( )
overridevirtual

◆ getName()

OUString SAL_CALL SwXDocumentIndex::getName ( )
overridevirtual

Definition at line 1421 of file unoidx.cxx.

References SwSectionFormat::GetSection(), SwSection::GetSectionName(), and m_pImpl.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXDocumentIndex::getPropertySetInfo ( )
overridevirtual

Definition at line 505 of file unoidx.cxx.

References m_pImpl.

◆ getPropertyValue()

uno::Any SAL_CALL SwXDocumentIndex::getPropertyValue ( const OUString &  rPropertyName)
overridevirtual

Definition at line 865 of file unoidx.cxx.

References AlphaDelimiter, Calc, CAPTION_COMPLETE, CAPTION_NUMBER, CAPTION_TEXT, CaseSensitive, Chart, ChrFmt, SwTOXType::CollectTextMarks(), SwXDocumentIndexMark::CreateXDocumentIndexMark(), SwXTextSection::CreateXTextSection(), Dash, DrawImpress, FF, SwStyleNameMapper::FillProgName(), Frame, SwTOXBase::GetBookmarkName(), SwTOXBase::GetCaptionDisplay(), SwSectionFormat::GetChildSections(), SwTOXBase::GetCreateType(), SwTOXBase::GetLanguage(), SwTOXBase::GetLevel(), LanguageTag::getLocale(), SwTOXBase::GetMainEntryCharStyle(), SwTOXBase::GetOLEOptions(), SwTOXBase::GetOptions(), SwSectionFormat::GetSection(), SwTOXBase::GetSequenceName(), SwTOXBase::GetSortAlgorithm(), SwStyleNameMapper::GetSpecialExtraProgName(), SwTOXBase::GetStyleNames(), SwForm::GetTemplate(), SwTOXBase::GetTitle(), SwDoc::GetTOXBaseAttrSet(), SwTOXBase::GetTOXForm(), SwTOXBase::GetTOXName(), SwTOXBase::GetTOXType(), SwTOXType::GetType(), SwTOXBase::GetType(), SwTOXType::GetTypeName(), Graphic, i, InitialCaps, SwForm::IsCommaSeparated(), SwTOXBase::IsFromChapter(), SwTOXBase::IsFromObjectNames(), SwTOXBase::IsLevelFromChapter(), SwTOXBase::IsProtected(), SwForm::IsRelTabPos(), KeyAsEntry, lcl_BitMaskToAny(), lcl_ConvertTOUNameToProgrammaticName(), m_pImpl, Mark, Math, MID_GRAPHIC_URL, SfxItemPropertyMapEntry::nMemberId, NONE, Not, SfxItemPropertyMapEntry::nWID, Ole, Other, OutlineLevel, RES_BACKGROUND(), rSet, SameEntry, Table, Template, TOX_INDEX, TOX_STYLE_DELIMITER, ToxHeader, TxtColl, WID_CREATE_FROM_CHAPTER, WID_CREATE_FROM_EMBEDDED_OBJECTS, WID_CREATE_FROM_GRAPHIC_OBJECTS, WID_CREATE_FROM_LABELS, WID_CREATE_FROM_MARKS, WID_CREATE_FROM_OTHER_EMBEDDED_OBJECTS, WID_CREATE_FROM_OUTLINE, WID_CREATE_FROM_PARAGRAPH_STYLE, WID_CREATE_FROM_PARAGRAPH_STYLES, WID_CREATE_FROM_STAR_CALC, WID_CREATE_FROM_STAR_CHART, WID_CREATE_FROM_STAR_DRAW, WID_CREATE_FROM_STAR_MATH, WID_CREATE_FROM_TABLES, WID_CREATE_FROM_TEXT_FRAMES, WID_IDX_CONTENT_SECTION, WID_IDX_HEADER_SECTION, WID_IDX_LOCALE, WID_IDX_NAME, WID_IDX_SORT_ALGORITHM, WID_IDX_TITLE, WID_INDEX_MARKS, WID_IS_CASE_SENSITIVE, WID_IS_COMMA_SEPARATED, WID_IS_RELATIVE_TABSTOPS, WID_LABEL_CATEGORY, WID_LABEL_DISPLAY_TYPE, WID_LEVEL, WID_LEVEL_FORMAT, WID_LEVEL_PARAGRAPH_STYLES, WID_MAIN_ENTRY_CHARACTER_STYLE_NAME, WID_PARA_HEAD, WID_PARA_LEV1, WID_PARA_LEV10, WID_PARA_LEV2, WID_PARA_LEV3, WID_PARA_LEV4, WID_PARA_LEV5, WID_PARA_LEV6, WID_PARA_LEV7, WID_PARA_LEV8, WID_PARA_LEV9, WID_PARA_SEP, WID_PRIMARY_KEY, WID_PROTECTED, WID_TOC_BOOKMARK, WID_USE_ALPHABETICAL_SEPARATORS, WID_USE_COMBINED_ENTRIES, WID_USE_DASH, WID_USE_KEY_AS_ENTRY, WID_USE_LEVEL_FROM_SOURCE, WID_USE_P_P, WID_USE_UPPER_CASE, and WID_USER_IDX_NAME.

◆ getServiceName()

OUString SAL_CALL SwXDocumentIndex::getServiceName ( )
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SwXDocumentIndex::getSupportedServiceNames ( )
overridevirtual

◆ refresh()

void SAL_CALL SwXDocumentIndex::refresh ( )
overridevirtual

◆ removeEventListener()

void SAL_CALL SwXDocumentIndex::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 1413 of file unoidx.cxx.

References m_pImpl.

◆ removePropertyChangeListener()

void SAL_CALL SwXDocumentIndex::removePropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 1218 of file unoidx.cxx.

◆ removeRefreshListener()

void SAL_CALL SwXDocumentIndex::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  xListener)
overridevirtual

Definition at line 1301 of file unoidx.cxx.

References m_pImpl.

◆ removeVetoableChangeListener()

void SAL_CALL SwXDocumentIndex::removeVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
overridevirtual

Definition at line 1234 of file unoidx.cxx.

◆ setName()

void SAL_CALL SwXDocumentIndex::setName ( const OUString &  rName)
overridevirtual

◆ setPropertyValue()

void SAL_CALL SwXDocumentIndex::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 
)
overridevirtual

Definition at line 515 of file unoidx.cxx.

References AlphaDelimiter, Bookmark, Calc, CAPTION_COMPLETE, CAPTION_NUMBER, CAPTION_TEXT, CaseSensitive, Chart, ChrFmt, LanguageTag::convertToLanguageType(), Dash, DrawImpress, FF, SwStyleNameMapper::FillUIName(), Frame, SwTOXBase::GetCreateType(), SwFormat::GetDoc(), SwTOXBase::GetOLEOptions(), SwTOXBase::GetOptions(), SwStyleNameMapper::GetSpecialExtraUIName(), SwDoc::GetTOXBaseAttrSet(), SwTOXBase::GetTOXForm(), SwTOXBase::GetTOXType(), SwTOXType::GetType(), SwTOXBase::GetType(), SwTOXType::GetTypeName(), Graphic, uno::Any::hasValue(), i, InitialCaps, KeyAsEntry, lcl_AnyToBitMask(), lcl_ConvertTOUNameToUserName(), lcl_ReAssignTOXType(), m_pImpl, Mark, Math, Newline, SfxItemPropertyMapEntry::nFlags, NONE, SfxItemPropertyMapEntry::nWID, Ole, Other, OutlineLevel, ParagraphOutlineLevel, rSet, SameEntry, SwTOXBase::SetBookmarkName(), SwTOXBase::SetCaptionDisplay(), SwForm::SetCommaSeparated(), SwTOXBase::SetCreate(), SwTOXBase::SetFromChapter(), SwTOXBase::SetFromObjectNames(), SwTOXBase::SetLanguage(), SwTOXBase::SetLevel(), SwTOXBase::SetLevelFromChapter(), SwTOXBase::SetMainEntryCharStyle(), SwTOXBase::SetOLEOptions(), SwTOXBase::SetOptions(), SwTOXBase::SetProtected(), SwForm::SetRelTabPos(), SwTOXBase::SetSequenceName(), SwTOXBase::SetSortAlgorithm(), SwTOXBase::SetStyleNames(), SwForm::SetTemplate(), SwTOXBase::SetTitle(), SwTOXBase::SetTOXForm(), SwTOXBase::SetTOXName(), SwVectorModifyBase< Value >::size(), Table, TableInToc, TableLeader, Template, TOX_INDEX, TOX_STYLE_DELIMITER, TOX_USER, TxtColl, WID_CREATE_FROM_CHAPTER, WID_CREATE_FROM_EMBEDDED_OBJECTS, WID_CREATE_FROM_GRAPHIC_OBJECTS, WID_CREATE_FROM_LABELS, WID_CREATE_FROM_MARKS, WID_CREATE_FROM_OTHER_EMBEDDED_OBJECTS, WID_CREATE_FROM_OUTLINE, WID_CREATE_FROM_PARAGRAPH_STYLE, WID_CREATE_FROM_PARAGRAPH_STYLES, WID_CREATE_FROM_STAR_CALC, WID_CREATE_FROM_STAR_CHART, WID_CREATE_FROM_STAR_DRAW, WID_CREATE_FROM_STAR_MATH, WID_CREATE_FROM_TABLES, WID_CREATE_FROM_TEXT_FRAMES, WID_HIDE_TABLEADER_PAGENUMBERS, WID_IDX_LOCALE, WID_IDX_NAME, WID_IDX_SORT_ALGORITHM, WID_IDX_TITLE, WID_IS_CASE_SENSITIVE, WID_IS_COMMA_SEPARATED, WID_IS_RELATIVE_TABSTOPS, WID_LABEL_CATEGORY, WID_LABEL_DISPLAY_TYPE, WID_LEVEL, WID_MAIN_ENTRY_CHARACTER_STYLE_NAME, WID_PARA_HEAD, WID_PARA_LEV1, WID_PARA_LEV10, WID_PARA_LEV2, WID_PARA_LEV3, WID_PARA_LEV4, WID_PARA_LEV5, WID_PARA_LEV6, WID_PARA_LEV7, WID_PARA_LEV8, WID_PARA_LEV9, WID_PARA_SEP, WID_PRIMARY_KEY, WID_PROTECTED, WID_TAB_IN_TOC, WID_TOC_BOOKMARK, WID_TOC_NEWLINE, WID_TOC_PARAGRAPH_OUTLINE_LEVEL, WID_USE_ALPHABETICAL_SEPARATORS, WID_USE_COMBINED_ENTRIES, WID_USE_DASH, WID_USE_KEY_AS_ENTRY, WID_USE_LEVEL_FROM_SOURCE, WID_USE_P_P, WID_USE_UPPER_CASE, and WID_USER_IDX_NAME.

◆ supportsService()

sal_Bool SAL_CALL SwXDocumentIndex::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 434 of file unoidx.cxx.

References cppu::supportsService().

◆ update()

void SAL_CALL SwXDocumentIndex::update ( )
overridevirtual

Definition at line 499 of file unoidx.cxx.

References refresh().

Member Data Documentation

◆ m_pImpl

::sw::UnoImplPtr<Impl> SwXDocumentIndex::m_pImpl
private

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