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

#include <docstyle.hxx>

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

Classes

class  SwPoolFormatList
 

Public Member Functions

 SwStyleSheetIterator (SwDocStyleSheetPool &rBase, SfxStyleFamily eFam, SfxStyleSearchBits n)
 
virtual ~SwStyleSheetIterator () override
 
virtual sal_uInt16 Count () override
 
virtual SfxStyleSheetBaseoperator[] (sal_uInt16 nIdx) override
 
virtual SfxStyleSheetBaseFirst () override
 
virtual SfxStyleSheetBaseNext () override
 
virtual SfxStyleSheetBaseFind (const OUString &rStr) override
 
virtual void Notify (SfxBroadcaster &, const SfxHint &) override
 
void InvalidateIterator ()
 
- Public Member Functions inherited from SfxStyleSheetIterator
 SfxStyleSheetIterator (SfxStyleSheetBasePool *pBase, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All)
 
SfxStyleSearchBits GetSearchMask () const
 
SfxStyleFamily GetSearchFamily () const
 
virtual ~SfxStyleSheetIterator ()
 
bool SearchUsed () const
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

void AppendStyleList (const std::vector< OUString > &rLst, bool bUsed, bool bTestHidden, bool bOnlyHidden, SwGetPoolIdFromName nSection, char cType)
 

Private Attributes

rtl::Reference< SwDocStyleSheetmxIterSheet
 
rtl::Reference< SwDocStyleSheetmxStyleSheet
 
SwPoolFormatList aLst
 
sal_uInt32 nLastPos
 
bool bFirstCalled
 

Additional Inherited Members

- Protected Attributes inherited from SfxStyleSheetIterator
SfxStyleSheetBasePoolpBasePool
 
SfxStyleFamily nSearchFamily
 
SfxStyleSearchBits nMask
 

Detailed Description

Definition at line 143 of file docstyle.hxx.

Constructor & Destructor Documentation

SwStyleSheetIterator::SwStyleSheetIterator ( SwDocStyleSheetPool rBase,
SfxStyleFamily  eFam,
SfxStyleSearchBits  n 
)

Definition at line 2643 of file docstyle.cxx.

References bFirstCalled, nLastPos, and SfxListener::StartListening().

SwStyleSheetIterator::~SwStyleSheetIterator ( )
overridevirtual

Definition at line 2654 of file docstyle.cxx.

References SfxListener::EndListening(), and mxIterSheet.

Member Function Documentation

void SwStyleSheetIterator::AppendStyleList ( const std::vector< OUString > &  rLst,
bool  bUsed,
bool  bTestHidden,
bool  bOnlyHidden,
SwGetPoolIdFromName  nSection,
char  cType 
)
private
sal_uInt16 SwStyleSheetIterator::Count ( )
overridevirtual

Reimplemented from SfxStyleSheetIterator.

Definition at line 2659 of file docstyle.cxx.

References aLst, bFirstCalled, First(), and SwStyleSheetIterator::SwPoolFormatList::size().

SfxStyleSheetBase * SwStyleSheetIterator::Find ( const OUString &  rStr)
overridevirtual
SfxStyleSheetBase * SwStyleSheetIterator::First ( )
overridevirtual

Reimplemented from SfxStyleSheetIterator.

Definition at line 2679 of file docstyle.cxx.

References aLst, SwStyleSheetIterator::SwPoolFormatList::Append(), AppendStyleList(), bFirstCalled, cCELLSTYLE, cCHAR, CellStyle, cFRAME, ChrFmt, SwStyleSheetIterator::SwPoolFormatList::clear(), cNUMRULE, COLL_DOC_BITS, COLL_EXTRA_BITS, COLL_GET_RANGE_BITS, COLL_HTML_BITS, COLL_LISTS_BITS, COLL_REGISTER_BITS, COLL_TEXT_BITS, cPAGE, cPARA, cTABSTYLE, SwStyleSheetIterator::SwPoolFormatList::empty(), SwStyleNameMapper::FillProgName(), FrmFmt, IDocumentSettingAccess::get(), SwTableAutoFormat::GetBoxFormat(), SwDoc::GetCellStyles(), SwDoc::GetCharFormats(), SwStyleNameMapper::GetChrFormatUINameArray(), SwDoc::GetDfltCharFormat(), SwStyleNameMapper::GetDocUINameArray(), SwStyleNameMapper::GetExtraUINameArray(), SwDoc::GetFrameFormats(), SwStyleNameMapper::GetFrameFormatUINameArray(), SwStyleNameMapper::GetHTMLChrFormatUINameArray(), SwStyleNameMapper::GetHTMLUINameArray(), SwDoc::getIDocumentSettingAccess(), SwDoc::getIDocumentStylePoolAccess(), SwStyleNameMapper::GetListsUINameArray(), SwFormat::GetName(), SwPageDesc::GetName(), SwTableAutoFormat::GetName(), SwNumRule::GetName(), SwDoc::GetNumRuleTable(), SwStyleNameMapper::GetNumRuleUINameArray(), SwDoc::GetPageDesc(), SwDoc::GetPageDescCnt(), SwStyleNameMapper::GetPageDescUINameArray(), SwFormat::GetPoolFormatId(), SwNumRule::GetPoolFormatId(), SwPageDesc::GetPoolFormatId(), SwStyleNameMapper::GetRegisterUINameArray(), SwDoc::GetTableStyles(), SwTableAutoFormat::GetTableTemplateCellSubName(), SwTableAutoFormat::GetTableTemplateMap(), SwDoc::GetTextFormatColls(), SwStyleNameMapper::GetTextUINameArray(), SwStyleNameMapper::GetUIName(), SwDoc::HasTableStyles(), HTML_MODE, i, SwFormat::IsAuto(), SwNumRule::IsAutoRule(), SwFormat::IsDefault(), SwNumRule::IsHidden(), SwFormat::IsHidden(), SwPageDesc::IsHidden(), SwTableAutoFormat::IsHidden(), IDocumentStylePoolAccess::IsPoolTextCollUsed(), IsPoolUserFormat(), SwDoc::IsUsed(), SwTableAutoFormat::IsUserDefined(), mxIterSheet, Next(), nId, nLastPos, SfxStyleSheetIterator::nMask, SfxStyleSheetIterator::nSearchFamily, NumRule, PageDesc, SfxStyleSheetIterator::pBasePool, RES_CONDTXTFMTCOLL, RES_POOLCHR_BEGIN, RES_POOLCHR_ENDNOTE, RES_POOLCHR_FOOTNOTE, RES_POOLCHR_HTML_BEGIN, RES_POOLCHR_HTML_END, RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCOLL_ENDNOTE, RES_POOLCOLL_FOOTNOTE, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE2, RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_SENDADRESS, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, RES_POOLCOLL_TEXT_BEGIN, SAL_MAX_UINT32, SfxStyleSheetIterator::SearchUsed(), SwVectorModifyBase< Value >::size(), SwFrameFormats::size(), SwTableAutoFormatTable::size(), SwCellStyleTable::size(), TxtColl, USER_FMT, and SwFormat::Which().

Referenced by Count(), Find(), and operator[]().

void SwStyleSheetIterator::InvalidateIterator ( )
SfxStyleSheetBase * SwStyleSheetIterator::Next ( void  )
overridevirtual
void SwStyleSheetIterator::Notify ( SfxBroadcaster ,
const SfxHint rHint 
)
overridevirtual
SfxStyleSheetBase * SwStyleSheetIterator::operator[] ( sal_uInt16  nIdx)
overridevirtual

Reimplemented from SfxStyleSheetIterator.

Definition at line 2667 of file docstyle.cxx.

References aLst, bFirstCalled, SwDocStyleSheet::FillOnlyName, First(), and mxStyleSheet.

Member Data Documentation

SwPoolFormatList SwStyleSheetIterator::aLst
private
bool SwStyleSheetIterator::bFirstCalled
private
rtl::Reference< SwDocStyleSheet > SwStyleSheetIterator::mxIterSheet
private

Definition at line 163 of file docstyle.hxx.

Referenced by First(), Next(), and ~SwStyleSheetIterator().

rtl::Reference< SwDocStyleSheet > SwStyleSheetIterator::mxStyleSheet
private

Definition at line 164 of file docstyle.hxx.

Referenced by Find(), and operator[]().

sal_uInt32 SwStyleSheetIterator::nLastPos
private

Definition at line 166 of file docstyle.hxx.

Referenced by Find(), First(), InvalidateIterator(), Next(), and SwStyleSheetIterator().


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