LibreOffice Module sw (master) 1
|
#include <docsort.hxx>
Public Member Functions | |
SwSortTextElement (const SwNodeIndex &rPos) | |
SortingElement for Text. More... | |
virtual OUString | GetKey (sal_uInt16 nKey) const override |
Public Member Functions inherited from SwSortElement | |
SwSortElement ()=default | |
SwSortElement (SwSortElement const &)=default | |
SwSortElement (SwSortElement &&)=default | |
SwSortElement & | operator= (SwSortElement const &)=default |
SwSortElement & | operator= (SwSortElement &&)=default |
virtual | ~SwSortElement () |
virtual OUString | GetKey (sal_uInt16 nKey) const =0 |
virtual double | GetValue (sal_uInt16 nKey) const |
bool | operator< (const SwSortElement &) const |
Public Attributes | |
SwNodeOffset | nOrg |
SwNodeIndex | aPos |
Additional Inherited Members | |
Static Public Member Functions inherited from SwSortElement | |
static void | Init (SwDoc *, const SwSortOptions &rOpt, FlatFndBox const *=nullptr) |
Construct a SortElement for the Sort. More... | |
static void | Finit () |
static double | StrToDouble (std::u16string_view rStr) |
Static Public Attributes inherited from SwSortElement | |
static SwSortOptions * | pOptions = nullptr |
static SwDoc * | pDoc = nullptr |
static const FlatFndBox * | pBox = nullptr |
static CollatorWrapper * | pSortCollator = nullptr |
static css::lang::Locale * | pLocale = nullptr |
static std::optional< OUString > | xLastAlgorithm |
static LocaleDataWrapper * | pLclData = nullptr |
Definition at line 91 of file docsort.hxx.
SwSortTextElement::SwSortTextElement | ( | const SwNodeIndex & | rPos | ) |
SortingElement for Text.
Definition at line 181 of file docsort.cxx.
|
overridevirtual |
Implements SwSortElement.
Definition at line 186 of file docsort.cxx.
References SwSortOptions::aKeys, aPos, SwSortOptions::cDeli, SwNodeIndex::GetNode(), SwTextNode::GetText(), SwNode::GetTextNode(), i, nId, and SwSortElement::pOptions.
SwNodeIndex SwSortTextElement::aPos |
Definition at line 94 of file docsort.hxx.
Referenced by GetKey().
SwNodeOffset SwSortTextElement::nOrg |
Definition at line 93 of file docsort.hxx.