LibreOffice Module sw (master) 1
|
#include <docary.hxx>
Public Member Functions | |
virtual size_t | GetFormatCount () const override |
virtual Value | GetFormat (size_t idx) const override |
size_t | GetPos (const SwFormat *p) const |
virtual Value | FindFormatByName (const OUString &rName) const override |
Public Member Functions inherited from SwVectorModifyBase< Value > | |
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... | |
Public Member Functions inherited from SwFormatsBase | |
virtual size_t | GetFormatCount () const =0 |
virtual SwFormat * | GetFormat (size_t idx) const =0 |
virtual | ~SwFormatsBase () |
virtual SwFormat * | FindFormatByName (const OUString &rName) const |
virtual void | Rename (const SwFrameFormat &, const OUString &) |
SwFormatsBase ()=default | |
SwFormatsBase (SwFormatsBase const &)=default | |
SwFormatsBase (SwFormatsBase &&)=default | |
SwFormatsBase & | operator= (SwFormatsBase const &)=default |
SwFormatsBase & | operator= (SwFormatsBase &&)=default |
Protected Member Functions | |
SwFormatsModifyBase (typename SwVectorModifyBase< Value >::DestructorPolicy policy=SwVectorModifyBase< Value >::DestructorPolicy::FreeElements) | |
Protected Member Functions inherited from SwVectorModifyBase< Value > | |
SwVectorModifyBase (DestructorPolicy policy=DestructorPolicy::FreeElements) | |
Additional Inherited Members | |
Public Types inherited from SwVectorModifyBase< Value > | |
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 |
Static Public Member Functions inherited from SwVectorModifyBase< Value > | |
static void | dumpAsXml (xmlTextWriterPtr) |
Protected Types inherited from SwVectorModifyBase< Value > | |
enum class | DestructorPolicy { KeepElements , FreeElements } |
Definition at line 148 of file docary.hxx.
|
inlineprotected |
Definition at line 151 of file docary.hxx.
References Value.
|
inlineoverridevirtual |
Reimplemented from SwFormatsBase.
Definition at line 166 of file docary.hxx.
References SwFormatsBase::FindFormatByName(), and Value.
Referenced by SwContentTree::BringEntryToAttention(), and SwUndoFormatAttr::GetFormat().
|
inlineoverridevirtual |
Implements SwFormatsBase.
Definition at line 159 of file docary.hxx.
References idx, SwVectorModifyBase< Value >::operator[](), and Value.
|
inlineoverridevirtual |
Implements SwFormatsBase.
Definition at line 156 of file docary.hxx.
References SwVectorModifyBase< Value >::size().
|
inline |
Definition at line 162 of file docary.hxx.
References SwVectorModifyBase< Value >::GetPos(), p, and Value.
Referenced by SaveTable::AddFormat(), SwEditShell::GetSectionFormatPos(), and IMPL_LINK_NOARG().