LibreOffice Module sw (master) 1
|
#include <docstyle.hxx>
Classes | |
class | SwPoolFormatList |
Public Member Functions | |
SwStyleSheetIterator (SwDocStyleSheetPool &rBase, SfxStyleFamily eFam, SfxStyleSearchBits n) | |
virtual | ~SwStyleSheetIterator () override |
virtual sal_Int32 | Count () override |
virtual SfxStyleSheetBase * | operator[] (sal_Int32 nIdx) override |
virtual SfxStyleSheetBase * | First () override |
virtual SfxStyleSheetBase * | Next () override |
virtual SfxStyleSheetBase * | Find (const OUString &rStr) override |
virtual void | Notify (SfxBroadcaster &, const SfxHint &) override |
void | InvalidateIterator () |
Public Member Functions inherited from SfxStyleSheetIterator | |
SfxStyleSheetIterator (const SfxStyleSheetBasePool *pBase, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All) | |
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 |
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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
bool | IsUsedInComments (const OUString &rName) const |
void | AppendStyleList (const std::vector< OUString > &rLst, bool bUsed, bool bTestHidden, bool bOnlyHidden, SwGetPoolIdFromName nSection, SfxStyleFamily eFamily) |
Private Attributes | |
rtl::Reference< SwDocStyleSheet > | mxIterSheet |
rtl::Reference< SwDocStyleSheet > | mxStyleSheet |
SwPoolFormatList | m_aLst |
sal_uInt32 | m_nLastPos |
bool | m_bFirstCalled |
Additional Inherited Members | |
Protected Attributes inherited from SfxStyleSheetIterator | |
const SfxStyleSheetBasePool * | pBasePool |
SfxStyleFamily | nSearchFamily |
SfxStyleSearchBits | nMask |
Definition at line 158 of file docstyle.hxx.
SwStyleSheetIterator::SwStyleSheetIterator | ( | SwDocStyleSheetPool & | rBase, |
SfxStyleFamily | eFam, | ||
SfxStyleSearchBits | n | ||
) |
Definition at line 2795 of file docstyle.cxx.
References m_bFirstCalled, m_nLastPos, n, and SfxListener::StartListening().
|
overridevirtual |
Definition at line 2806 of file docstyle.cxx.
References SfxListener::EndListening(), and mxIterSheet.
|
private |
Definition at line 3286 of file docstyle.cxx.
References SwStyleSheetIterator::SwPoolFormatList::Append(), ChrFmt, SwDoc::FindCharFormatByName(), SwDoc::FindFrameFormatByName(), SwDoc::FindNumRulePtr(), SwDoc::FindPageDesc(), SwDoc::FindTextFormatCollByName(), FrmFmt, SwDoc::getIDocumentStylePoolAccess(), SwStyleNameMapper::GetPoolIdFromUIName(), i, SwFormat::IsHidden(), SwNumRule::IsHidden(), SwPageDesc::IsHidden(), IDocumentStylePoolAccess::IsPoolFormatUsed(), IDocumentStylePoolAccess::IsPoolPageDescUsed(), IDocumentStylePoolAccess::IsPoolTextCollUsed(), SwDoc::IsUsed(), m_aLst, nId, NumRule, PageDesc, SfxStyleSheetIterator::pBasePool, and TxtColl.
Referenced by First().
|
overridevirtual |
Reimplemented from SfxStyleSheetIterator.
Definition at line 2811 of file docstyle.cxx.
References First(), m_aLst, m_bFirstCalled, and SwStyleSheetIterator::SwPoolFormatList::size().
|
overridevirtual |
Reimplemented from SfxStyleSheetIterator.
Definition at line 3264 of file docstyle.cxx.
References SwDocStyleSheet::FillOnlyName, SwStyleSheetIterator::SwPoolFormatList::FindName(), First(), m_aLst, m_bFirstCalled, m_nLastPos, mxStyleSheet, SfxStyleSheetIterator::nSearchFamily, and SAL_MAX_UINT32.
|
overridevirtual |
Reimplemented from SfxStyleSheetIterator.
Definition at line 2832 of file docstyle.cxx.
References SwStyleSheetIterator::SwPoolFormatList::Append(), AppendStyleList(), ChrFmt, SwStyleSheetIterator::SwPoolFormatList::clear(), COLL_DOC_BITS, COLL_EXTRA_BITS, COLL_GET_RANGE_BITS, COLL_HTML_BITS, COLL_LISTS_BITS, COLL_REGISTER_BITS, COLL_TEXT_BITS, 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(), SwNumRule::GetName(), SwPageDesc::GetName(), SwTableAutoFormat::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(), SwFormat::IsHidden(), SwNumRule::IsHidden(), SwPageDesc::IsHidden(), SwTableAutoFormat::IsHidden(), IDocumentStylePoolAccess::IsPoolTextCollUsed(), IsPoolUserFormat(), SwDoc::IsUsed(), IsUsedInComments(), SwTableAutoFormat::IsUserDefined(), m_aLst, m_bFirstCalled, m_nLastPos, mxIterSheet, nCount, Next(), nId, 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_SEND_ADDRESS, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, RES_POOLCOLL_TEXT_BEGIN, SAL_MAX_UINT32, SfxStyleSheetIterator::SearchUsed(), SwCharFormats::size(), SwVectorModifyBase< Value >::size(), SwTableAutoFormatTable::size(), SwCellStyleTable::size(), SwResId(), TabStyle, TxtColl, USER_FMT, and SwFormat::Which().
Referenced by Count(), Find(), and operator[]().
void SwStyleSheetIterator::InvalidateIterator | ( | ) |
Definition at line 3356 of file docstyle.cxx.
References SwStyleSheetIterator::SwPoolFormatList::clear(), m_aLst, m_bFirstCalled, and m_nLastPos.
Referenced by SwDocStyleSheetPool::InvalidateIterator().
|
private |
Definition at line 3343 of file docstyle.cxx.
References SfxStyleSheetIterator::Find(), SfxStyleSheetIterator::GetSearchFamily(), and SfxStyleSheetIterator::pBasePool.
Referenced by First().
|
overridevirtual |
Reimplemented from SfxStyleSheetIterator.
Definition at line 3244 of file docstyle.cxx.
References m_aLst, m_bFirstCalled, m_nLastPos, mxIterSheet, SfxStyleSheetIterator::nMask, and SwStyleSheetIterator::SwPoolFormatList::size().
Referenced by First().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 3366 of file docstyle.cxx.
References SfxStyleSheetBase::GetFamily(), SfxHint::GetId(), SfxStyleSheetBase::GetName(), SfxStyleSheetHint::GetStyleSheet(), m_aLst, and SwStyleSheetIterator::SwPoolFormatList::RemoveName().
|
overridevirtual |
Reimplemented from SfxStyleSheetIterator.
Definition at line 2819 of file docstyle.cxx.
References SwDocStyleSheet::FillOnlyName, First(), m_aLst, m_bFirstCalled, and mxStyleSheet.
|
private |
Definition at line 180 of file docstyle.hxx.
Referenced by AppendStyleList(), Count(), Find(), First(), InvalidateIterator(), Next(), Notify(), and operator[]().
|
private |
Definition at line 182 of file docstyle.hxx.
Referenced by Count(), Find(), First(), InvalidateIterator(), Next(), operator[](), and SwStyleSheetIterator().
|
private |
Definition at line 181 of file docstyle.hxx.
Referenced by Find(), First(), InvalidateIterator(), Next(), and SwStyleSheetIterator().
|
private |
Definition at line 178 of file docstyle.hxx.
Referenced by First(), Next(), and ~SwStyleSheetIterator().
|
private |
Definition at line 179 of file docstyle.hxx.
Referenced by Find(), and operator[]().