LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwInputFieldList Class Reference

#include <expfld.hxx>

Collaboration diagram for SwInputFieldList:

Public Member Functions

 SwInputFieldList (SwEditShell *pShell, bool bBuildTmpLst=false)
 ~SwInputFieldList ()
size_t Count () const
SwFieldGetField (size_t nId)
void GotoFieldPos (size_t nId)
 go to position of a field More...
void PushCursor ()
 save cursor More...
void PopCursor ()
 get cursor More...
bool BuildSortLst ()
 Put all that are new into SortList for updating. More...

Private Attributes

std::unique_ptr< SetGetExpFieldsmpSrtLst
o3tl::sorted_vector< const SwTextField * > maTmpLst

Detailed Description

Definition at line 348 of file expfld.hxx.

Constructor & Destructor Documentation

◆ SwInputFieldList()

SwInputFieldList::SwInputFieldList ( SwEditShell pShell,
bool  bBuildTmpLst = false 

◆ ~SwInputFieldList()

SwInputFieldList::~SwInputFieldList ( )

Definition at line 68 of file fldlst.cxx.

Member Function Documentation

◆ BuildSortLst()

bool SwInputFieldList::BuildSortLst ( )

◆ Count()

size_t SwInputFieldList::Count ( ) const

Definition at line 72 of file fldlst.cxx.

References mpSrtLst.

Referenced by SwWrtShell::UpdateInputFields().

◆ GetField()

SwField * SwInputFieldList::GetField ( size_t  nId)

Definition at line 78 of file fldlst.cxx.

References SwFormatField::GetField(), SwTextAttr::GetFormatField(), and nId.

Referenced by SwWrtShell::UpdateInputFields().

◆ GotoFieldPos()

void SwInputFieldList::GotoFieldPos ( size_t  nId)

go to position of a field

Definition at line 99 of file fldlst.cxx.

References SwEditShell::EndAllAction(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), mpSh, nId, and SwEditShell::StartAllAction().

Referenced by SwWrtShell::UpdateInputFields().

◆ PopCursor()

void SwInputFieldList::PopCursor ( )

get cursor

Definition at line 93 of file fldlst.cxx.

References SwCursorShell::DeleteCurrent, mpSh, and SwCursorShell::Pop().

Referenced by SwWrtShell::UpdateInputFields().

◆ PushCursor()

void SwInputFieldList::PushCursor ( )

save cursor

Definition at line 86 of file fldlst.cxx.

References SwCursorShell::ClearMark(), mpSh, and SwCursorShell::Push().

Referenced by SwWrtShell::UpdateInputFields().

Member Data Documentation

◆ maTmpLst

o3tl::sorted_vector<const SwTextField*> SwInputFieldList::maTmpLst

Definition at line 369 of file expfld.hxx.

Referenced by BuildSortLst(), and SwInputFieldList().

◆ mpSh

SwEditShell* SwInputFieldList::mpSh

Definition at line 367 of file expfld.hxx.

Referenced by BuildSortLst(), GotoFieldPos(), PopCursor(), PushCursor(), and SwInputFieldList().

◆ mpSrtLst

std::unique_ptr<SetGetExpFields> SwInputFieldList::mpSrtLst

Definition at line 368 of file expfld.hxx.

Referenced by BuildSortLst(), Count(), and SwInputFieldList().

The documentation for this class was generated from the following files: