LibreOffice Module sw (master) 1
|
#include <docary.hxx>
Public Types | |
typedef std::vector< Value >::iterator | iterator |
typedef std::vector< Value >::const_iterator | const_iterator |
typedef std::vector< Value >::size_type | size_type |
typedef std::vector< Value >::value_type | value_type |
Public Member Functions | |
bool | empty () const |
Value const & | front () const |
size_t | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | clear () |
iterator | erase (iterator aIt) |
iterator | erase (iterator aFirst, iterator aLast) |
iterator | insert (iterator aIt, Value const &rVal) |
template<typename TInputIterator > | |
void | insert (iterator aIt, TInputIterator aFirst, TInputIterator aLast) |
void | push_back (Value const &rVal) |
void | reserve (size_type nSize) |
Value const & | at (size_type nPos) const |
Value const & | operator[] (size_type nPos) const |
Value & | operator[] (size_type nPos) |
virtual | ~SwVectorModifyBase () |
SwVectorModifyBase (SwVectorModifyBase const &)=default | |
SwVectorModifyBase (SwVectorModifyBase &&)=default | |
SwVectorModifyBase & | operator= (SwVectorModifyBase const &)=default |
SwVectorModifyBase & | operator= (SwVectorModifyBase &&)=default |
void | DeleteAndDestroy (int aStartIdx, int aEndIdx) |
size_t | GetPos (Value const &p) const |
bool | IsAlive (typename std::remove_pointer< Value >::type const *const p) const |
check that given format is still alive (i.e. contained here) More... | |
Static Public Member Functions | |
static void | dumpAsXml (xmlTextWriterPtr) |
Protected Types | |
enum class | DestructorPolicy { KeepElements , FreeElements } |
Protected Member Functions | |
SwVectorModifyBase (DestructorPolicy policy=DestructorPolicy::FreeElements) | |
Private Attributes | |
std::vector< Value > | mvVals |
const DestructorPolicy | mPolicy |
Definition at line 62 of file docary.hxx.
typedef std::vector<Value>::const_iterator SwVectorModifyBase< Value >::const_iterator |
Definition at line 66 of file docary.hxx.
typedef std::vector<Value>::iterator SwVectorModifyBase< Value >::iterator |
Definition at line 65 of file docary.hxx.
typedef std::vector<Value>::size_type SwVectorModifyBase< Value >::size_type |
Definition at line 67 of file docary.hxx.
typedef std::vector<Value>::value_type SwVectorModifyBase< Value >::value_type |
Definition at line 68 of file docary.hxx.
|
strongprotected |
Enumerator | |
---|---|
KeepElements | |
FreeElements |
Definition at line 71 of file docary.hxx.
|
inlineprotected |
Definition at line 82 of file docary.hxx.
|
inlinevirtual |
Definition at line 109 of file docary.hxx.
References SwVectorModifyBase< Value >::begin(), SwVectorModifyBase< Value >::end(), SwVectorModifyBase< Value >::FreeElements, and SwVectorModifyBase< Value >::mPolicy.
|
default |
|
default |
|
inline |
Definition at line 104 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals, nPos, and Value.
Referenced by MSWordExportBase::CollectGrfsOfBullets().
|
inline |
Definition at line 89 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by SaveTable::AddFormat(), SwVectorModifyBase< Value >::DeleteAndDestroy(), MSWordExportBase::GetNumberingId(), SwVectorModifyBase< Value >::GetPos(), SwVectorModifyBase< Value >::IsAlive(), and SwVectorModifyBase< Value >::~SwVectorModifyBase().
|
inline |
Definition at line 90 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
|
inline |
Definition at line 93 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by SaveTable::CreateNew(), IMPL_LINK_NOARG(), SwReader::Read(), SaveTable::RestoreAttr(), and SaveTable::SaveTable().
|
inline |
Definition at line 124 of file docary.hxx.
References SwVectorModifyBase< Value >::begin(), and SwVectorModifyBase< Value >::erase().
|
inlinestatic |
Definition at line 144 of file docary.hxx.
|
inline |
Definition at line 86 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by SwXNumberingRulesCollection::hasElements(), and sw::DocumentLinksAdministrationManager::SelectServerObj().
|
inline |
Definition at line 91 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by MSWordExportBase::GetNumberingId(), SwVectorModifyBase< Value >::GetPos(), SwVectorModifyBase< Value >::IsAlive(), SwReader::Read(), and SwVectorModifyBase< Value >::~SwVectorModifyBase().
|
inline |
Definition at line 92 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
|
inline |
Definition at line 95 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
|
inline |
Definition at line 94 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by SwVectorModifyBase< Value >::DeleteAndDestroy().
|
inline |
Definition at line 87 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals, and Value.
|
inline |
Definition at line 134 of file docary.hxx.
References SwVectorModifyBase< Value >::begin(), SwVectorModifyBase< Value >::end(), and p.
Referenced by SwFormatsModifyBase< Value >::GetPos().
|
inline |
Definition at line 98 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
|
inline |
Definition at line 96 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by SaveTable::AddFormat(), and SwReader::Read().
|
inline |
check that given format is still alive (i.e. contained here)
Definition at line 141 of file docary.hxx.
References SwVectorModifyBase< Value >::begin(), SwVectorModifyBase< Value >::end(), and p.
Referenced by SwReader::Read(), SwUndoInserts::RedoImpl(), SwHistoryChangeFormatColl::SetInDoc(), and SwUndoInserts::UndoImpl().
|
default |
|
default |
|
inline |
Definition at line 106 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals, nPos, and Value.
|
inline |
Definition at line 105 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals, nPos, and Value.
Referenced by SwFormatsModifyBase< Value >::GetFormat().
|
inline |
Definition at line 102 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by SaveTable::CreateNew(), sw::DocumentStylePoolManager::GetTextCollFromPool(), lcl_SaveStyles(), and SaveTable::RestoreAttr().
|
inline |
Definition at line 103 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
|
inline |
Definition at line 88 of file docary.hxx.
References SwVectorModifyBase< Value >::mvVals.
Referenced by SwContentTree::BringEntryToAttention(), RtfExport::BuildNumbering(), MSWordStyles::BuildStylesTable(), SwDoc::ChangeDBFields(), MSWordExportBase::CollectGrfsOfBullets(), SwXMLExport::exportDoc(), SwStyleSheetIterator::First(), SwDoc::GetAllUsedDB(), SwXTextSections::getByIndex(), SwXDocumentIndexes::getByIndex(), SwXTextSections::getByName(), SwXDocumentIndexes::getByName(), SwXTextSections::getCount(), SwXNumberingRulesCollection::getCount(), SwXDocumentIndexes::getCount(), SwXTextDocument::getDocumentLanguages(), SwXTextSections::getElementNames(), SwXDocumentIndexes::getElementNames(), SwFormatsModifyBase< Value >::GetFormatCount(), SwEditShell::GetGlobalDocContent(), SwXNumberingRules::GetNumberingRuleByIndex(), sw::util::GetParaStyles(), SwEditShell::GetSectionFormatCount(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwCSS1Parser::GetTextCollFromPool(), SwEditShell::GetTextFormatCollCount(), SwEditShell::GetTOXCount(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoPrevTOXBase(), SwCursor::GotoRegion(), SwXTextSections::hasByName(), SwXDocumentIndexes::hasByName(), SwXTextSections::hasElements(), SwPaM::HasHiddenSections(), SwPaM::HasReadonlySel(), IMPL_LINK(), lcl_AdjustOutlineStylesForOOo(), lcl_dbg_out(), lcl_DeleteInfoStyles(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_UpdateSection(), SwDocUpdateField::MakeFieldList_(), SwHTMLWriter::OutStyleSheet(), Writer::PutNumFormatFontsInAttrPool(), SwDoc::RemoveInvisibleContent(), SwDoc::ReplaceStyles(), sw::DocumentSettingManager::set(), SwXTextSection::setName(), SwXNumberingRules::SetNumberingRuleByIndex(), SwXDocumentIndex::setPropertyValue(), SwDoc::SplitDoc(), AttributeOutputBase::StartTOX(), SwDoc::Summary(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwNumFormat::UpdateNumNodes(), SwDoc::UpdateNumRule(), and SwXMLImport::UpdateTextCollConditions().
|
private |
Definition at line 78 of file docary.hxx.
Referenced by SwVectorModifyBase< Value >::~SwVectorModifyBase().
|
private |
Definition at line 77 of file docary.hxx.
Referenced by SwVectorModifyBase< Value >::at(), SwVectorModifyBase< Value >::begin(), SwVectorModifyBase< Value >::clear(), SwVectorModifyBase< Value >::empty(), SwVectorModifyBase< Value >::end(), SwVectorModifyBase< Value >::erase(), SwVectorModifyBase< Value >::front(), SwVectorModifyBase< Value >::insert(), SwVectorModifyBase< Value >::operator[](), SwVectorModifyBase< Value >::push_back(), SwVectorModifyBase< Value >::reserve(), and SwVectorModifyBase< Value >::size().