LibreOffice Module svl (master) 1
|
#include <style.hxx>
Public Member Functions | |
SfxStyleSheetIterator (const SfxStyleSheetBasePool *pBase, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All) | |
Constructor. More... | |
SfxStyleSearchBits | GetSearchMask () const |
SfxStyleFamily | GetSearchFamily () const |
virtual sal_Int32 | Count () |
virtual SfxStyleSheetBase * | operator[] (sal_Int32 nIdx) |
virtual SfxStyleSheetBase * | First () |
virtual SfxStyleSheetBase * | Next () |
virtual SfxStyleSheetBase * | Find (const OUString &rStr) |
virtual | ~SfxStyleSheetIterator () |
bool | SearchUsed () const |
Protected Attributes | |
const SfxStyleSheetBasePool * | pBasePool |
SfxStyleFamily | nSearchFamily |
SfxStyleSearchBits | nMask |
Private Member Functions | |
SVL_DLLPRIVATE bool | IsTrivialSearch () const |
Private Attributes | |
SfxStyleSheetBase * | pCurrentStyle |
sal_Int32 | mnCurrentPosition |
bool | bSearchUsed |
Friends | |
class | SfxStyleSheetBasePool |
SfxStyleSheetIterator::SfxStyleSheetIterator | ( | const SfxStyleSheetBasePool * | pBase, |
SfxStyleFamily | eFam, | ||
SfxStyleSearchBits | n = SfxStyleSearchBits::All |
||
) |
Constructor.
The iterator will only iterate over style sheets which have the family eFam
Definition at line 388 of file style.cxx.
References AllVisible, bSearchUsed, n, nMask, nSearchFamily, and Used.
|
virtual |
Definition at line 409 of file style.cxx.
References All, IsTrivialSearch(), n, nMask, nSearchFamily, pBasePool, and SfxStyleSheetBasePool::pImpl.
Referenced by First().
|
virtual |
Definition at line 517 of file style.cxx.
References mnCurrentPosition, pBasePool, pCurrentStyle, SfxStyleSheetBasePool::pImpl, pos, and svl::IndexedStyleSheets::ReturnFirst.
Referenced by SfxStyleSheetBasePool::Add(), SfxStyleSheetBasePool::Find(), SfxStyleSheetBasePool::Insert(), and SfxStyleSheetBasePool::Make().
|
virtual |
Definition at line 465 of file style.cxx.
References Count(), and operator[]().
Referenced by SfxStyleSheetBasePool::First().
SfxStyleFamily SfxStyleSheetIterator::GetSearchFamily | ( | ) | const |
Definition at line 346 of file style.cxx.
References nSearchFamily.
Referenced by IsTrivialSearch().
SfxStyleSearchBits SfxStyleSheetIterator::GetSearchMask | ( | ) | const |
Definition at line 535 of file style.cxx.
References bSearchUsed, nMask, and Used.
|
inlineprivate |
Definition at line 351 of file style.cxx.
References All, AllVisible, GetSearchFamily(), and nMask.
Referenced by Count(), Next(), and operator[]().
|
virtual |
Definition at line 475 of file style.cxx.
References All, IsTrivialSearch(), mnCurrentPosition, nMask, nSearchFamily, pBasePool, pCurrentStyle, and SfxStyleSheetBasePool::pImpl.
|
virtual |
Definition at line 428 of file style.cxx.
References All, IsTrivialSearch(), mnCurrentPosition, nMask, nSearchFamily, pBasePool, and SfxStyleSheetBasePool::pImpl.
Referenced by First().
|
friend |
|
private |
Definition at line 218 of file style.hxx.
Referenced by GetSearchMask(), and SfxStyleSheetIterator().
|
private |
Definition at line 217 of file style.hxx.
Referenced by Find(), Next(), and operator[]().
|
protected |
Definition at line 210 of file style.hxx.
Referenced by Count(), GetSearchMask(), IsTrivialSearch(), Next(), operator[](), and SfxStyleSheetIterator().
|
protected |
Definition at line 209 of file style.hxx.
Referenced by Count(), GetSearchFamily(), Next(), operator[](), and SfxStyleSheetIterator().
|
protected |
|
private |