LibreOffice Module sw (master) 1
|
#include <docsort.hxx>
Public Member Functions | |
SwSortBoxElement (sal_uInt16 nRC) | |
SortingElement for Tables. More... | |
virtual OUString | GetKey (sal_uInt16 nKey) const override |
Get Key for a cell. More... | |
virtual double | GetValue (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 | |
sal_uInt16 | nRow |
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 102 of file docsort.hxx.
SwSortBoxElement::SwSortBoxElement | ( | sal_uInt16 | nRC | ) |
SortingElement for Tables.
Definition at line 219 of file docsort.cxx.
|
overridevirtual |
Get Key for a cell.
Implements SwSortElement.
Definition at line 225 of file docsort.cxx.
References SwSortOptions::aKeys, SwSortOptions::eDirection, SwNode::EndOfSectionNode(), FndBox_::GetBox(), FlatFndBox::GetBox(), SwDoc::GetNodes(), SwTableBox::GetSttIdx(), SwTableBox::GetSttNd(), SwTextNode::GetText(), SwNode::GetTextNode(), SwNode::IsTextNode(), nRow, SwSortElement::pBox, SwSortElement::pDoc, SwSortElement::pOptions, and Rows.
|
overridevirtual |
Reimplemented from SwSortElement.
Definition at line 257 of file docsort.cxx.
References SwSortOptions::aKeys, SwSortOptions::eDirection, FndBox_::GetBox(), FlatFndBox::GetBox(), SwTableBox::GetFrameFormat(), SwDoc::GetNumberFormatter(), SwFormat::GetTableBoxNumFormat(), SwFormat::GetTableBoxValue(), CntUInt32Item::GetValue(), SwTableBoxValue::GetValue(), SwSortElement::GetValue(), SvNumberFormatter::IsTextFormat(), nRow, SwSortElement::pBox, SwSortElement::pDoc, SwSortElement::pOptions, and Rows.
sal_uInt16 SwSortBoxElement::nRow |
Definition at line 104 of file docsort.hxx.
Referenced by GetKey(), and GetValue().