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 |
![]() | |
SwSortElement ()=default | |
SwSortElement (SwSortElement const &)=default | |
SwSortElement (SwSortElement &&)=default | |
SwSortElement & | operator= (SwSortElement const &)=default |
SwSortElement & | operator= (SwSortElement &&)=default |
virtual | ~SwSortElement () |
bool | operator< (const SwSortElement &) const |
Public Attributes | |
sal_uInt16 | nRow |
Additional Inherited Members | |
![]() | |
static void | Init (SwDoc *, const SwSortOptions &rOpt, FlatFndBox const *=nullptr) |
Construct a SortElement for the Sort. More... | |
static void | Finit () |
static double | StrToDouble (const OUString &rStr) |
![]() | |
static SwSortOptions * | pOptions = nullptr |
static SwDoc * | pDoc = nullptr |
static const FlatFndBox * | pBox = nullptr |
static CollatorWrapper * | pSortCollator = nullptr |
static css::lang::Locale * | pLocale = nullptr |
static OUString * | pLastAlgorithm = nullptr |
static LocaleDataWrapper * | pLclData = nullptr |
Definition at line 102 of file docsort.hxx.
SwSortBoxElement::SwSortBoxElement | ( | sal_uInt16 | nRC | ) |
SortingElement for Tables.
Definition at line 222 of file docsort.cxx.
|
overridevirtual |
Get Key for a cell.
Implements SwSortElement.
Definition at line 228 of file docsort.cxx.
References SwSortOptions::aKeys, SwSortOptions::eDirection, SwNode::EndOfSectionNode(), FlatFndBox::GetBox(), FndBox_::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 260 of file docsort.cxx.
References SwSortOptions::aKeys, SwSortOptions::eDirection, FlatFndBox::GetBox(), FndBox_::GetBox(), SwTableBox::GetFrameFormat(), SwDoc::GetNumberFormatter(), SwFormat::GetTableBoxNumFormat(), SwFormat::GetTableBoxValue(), CntUInt32Item::GetValue(), SwSortElement::GetValue(), SwTableBoxValue::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().