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

#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::MetadatableGetCoreObject () override
 
virtual css::uno::Reference< css::frame::XModel > GetModel () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rIdentifier) 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 css::uno::Reference< css::text::XDocumentIndex > CreateXDocumentIndex (SwDoc &rDoc, SwTOXBaseSection *pSection, TOXTypes eTypes=TOX_INDEX)
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

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 52 of file unoidx.hxx.

Constructor & Destructor Documentation

SwXDocumentIndex::~SwXDocumentIndex ( )
overrideprivatevirtual

Definition at line 419 of file unoidx.cxx.

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

Definition at line 407 of file unoidx.cxx.

Referenced by CreateXDocumentIndex().

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

descriptor

Definition at line 414 of file unoidx.cxx.

Member Function Documentation

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

Definition at line 1418 of file unoidx.cxx.

References m_pImpl.

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

Definition at line 1219 of file unoidx.cxx.

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

Definition at line 1304 of file unoidx.cxx.

References m_pImpl.

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

Definition at line 1235 of file unoidx.cxx.

void SAL_CALL SwXDocumentIndex::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual
uno::Reference< text::XDocumentIndex > SwXDocumentIndex::CreateXDocumentIndex ( SwDoc rDoc,
SwTOXBaseSection pSection,
TOXTypes  eTypes = TOX_INDEX 
)
static
void SAL_CALL SwXDocumentIndex::dispose ( void  )
overridevirtual

Definition at line 1404 of file unoidx.cxx.

References SwDoc::DeleteTOX(), SwFormat::GetDoc(), and m_pImpl.

uno::Reference< text::XTextRange > SAL_CALL SwXDocumentIndex::getAnchor ( )
overridevirtual
sfx2::Metadatable * SwXDocumentIndex::GetCoreObject ( )
override

Definition at line 1484 of file unoidx.cxx.

References m_pImpl.

OUString SAL_CALL SwXDocumentIndex::getImplementationName ( )
overridevirtual

Definition at line 468 of file unoidx.cxx.

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

Definition at line 1490 of file unoidx.cxx.

References SfxObjectShell::GetModel(), and m_pImpl.

OUString SAL_CALL SwXDocumentIndex::getName ( )
overridevirtual

Definition at line 1435 of file unoidx.cxx.

References m_pImpl.

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

Definition at line 545 of file unoidx.cxx.

References m_pImpl.

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

Definition at line 888 of file unoidx.cxx.

References AlphaDelimiter, Calc, CAPTION_COMPLETE, CAPTION_NUMBER, CAPTION_TEXT, CaseSensitive, Chart, ChrFmt, SwXDocumentIndexMark::CreateXDocumentIndexMark(), SwXTextSection::CreateXTextSection(), Dash, DrawImpress, FF, SwStyleNameMapper::FillProgName(), Frame, SwStyleNameMapper::GetSpecialExtraProgName(), SwForm::GetTemplate(), SwDoc::GetTOXBaseAttrSet(), Graphic, i, InitialCaps, SwTOXMark::InsertTOXMarks(), SwForm::IsCommaSeparated(), SwForm::IsRelTabPos(), KeyAsEntry, lcl_BitMaskToAny(), lcl_ConvertTOUNameToProgrammaticName(), m_pImpl, Mark, Math, MID_GRAPHIC_URL, SfxItemPropertySimpleEntry::nMemberId, NONE, Not, SfxItemPropertySimpleEntry::nWID, Ole, Other, OutlineLevel, RES_BACKGROUND, SameEntry, Table, Template, TOX_HEADER_SECTION, TOX_INDEX, 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_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_ENTRY_TYPE, 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.

OUString SAL_CALL SwXDocumentIndex::getServiceName ( )
overridevirtual
sal_Int64 SAL_CALL SwXDocumentIndex::getSomething ( const css::uno::Sequence< sal_Int8 > &  rIdentifier)
overridevirtual

Definition at line 462 of file unoidx.cxx.

uno::Sequence< OUString > SAL_CALL SwXDocumentIndex::getSupportedServiceNames ( )
overridevirtual
const uno::Sequence< sal_Int8 > & SwXDocumentIndex::getUnoTunnelId ( )
static

Definition at line 456 of file unoidx.cxx.

References sw::proofreadingiterator::get().

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

Definition at line 1427 of file unoidx.cxx.

References m_pImpl.

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

Definition at line 1227 of file unoidx.cxx.

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

Definition at line 1312 of file unoidx.cxx.

References m_pImpl.

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

Definition at line 1243 of file unoidx.cxx.

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

Definition at line 1454 of file unoidx.cxx.

References m_pImpl.

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

Definition at line 555 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(), SwStyleNameMapper::GetSpecialExtraUIName(), SwDoc::GetTOXBaseAttrSet(), Graphic, i, IndexEntryType, InitialCaps, KeyAsEntry, lcl_AnyToBitMask(), lcl_AnyToBool(), lcl_AnyToInt16(), lcl_AnyToString(), lcl_ConvertTOUNameToUserName(), lcl_ReAssignTOXType(), m_pImpl, Mark, Math, Newline, SfxItemPropertySimpleEntry::nFlags, NONE, SfxItemPropertySimpleEntry::nWID, Ole, Other, OutlineLevel, ParagraphOutlineLevel, SameEntry, SwVectorModifyBase< Value >::size(), Table, TableInToc, TableLeader, Template, TOX_INDEX, 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_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_INDEX_ENTRY_TYPE, 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.

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

Definition at line 474 of file unoidx.cxx.

References cppu::supportsService().

void SAL_CALL SwXDocumentIndex::update ( )
overridevirtual

Definition at line 539 of file unoidx.cxx.

References refresh().

Member Data Documentation

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

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