19 #ifndef INCLUDED_SW_SOURCE_CORE_INC_SWSELECTIONLIST_HXX
20 #define INCLUDED_SW_SOURCE_CORE_INC_SWSELECTIONLIST_HXX
55 std::list<SwPaM*>::iterator
getStart() {
return m_aList.begin(); }
59 std::list<SwPaM*>::iterator
getEnd() {
return m_aList.end(); }
72 bool isEmpty()
const {
return m_aList.empty(); }
89 #endif // INCLUDED_SW_SOURCE_CORE_INC_SWSELECTIONLIST_HXX
Base class of the Writer layout elements.
std::list< SwPaM * > m_aList
std::list< SwPaM * >::iterator getEnd()
End of the container for the selected text portions.
This class is used as parameter for creation of a block cursor selection.
bool checkContext(const SwFrame *pCheck)
Checks if the context of the list is equal to the context of the frame.
const SwFrame * m_pContext
void insertPaM(SwPaM *pPam)
Adds a text portion to the selection list.
std::list< SwPaM * >::iterator getStart()
Start of the container for the selected text portions.
PaM is Point and Mark: a selection of the document model.
bool isEmpty() const
Reports if the list does not contain any text portion.
SwSelectionList(const SwFrame *pInitCxt)
Ctor to create an empty list for a given context.