40 return std::make_unique<SwTableFieldType>(
GetDoc());
68 pTmp->SwValueField::SetValue(
GetValue());
69 pTmp->SwTableFormula::operator=( *this );
71 return std::unique_ptr<SwField>(pTmp.release());
165 rAny <<= static_cast<sal_Int32>(
GetFormat());
186 if(*o3tl::doAccess<bool>(rAny))
SwSbxValue Calculate(const OUString &rStr)
virtual OUString GetName() const
Only in derived classes.
SwFormatField * FindFormatForField(const SwField *) const
bool IsAutomaticLanguage() const
void SetFormat(sal_uInt32 const nSet)
sal_uInt32 GetFormat() const
Query parameters for dialog and for BASIC.
SwFieldType * GetTyp() const
LanguageType GetLanguage() const
Language at field position.
Base class of the Writer document model elements.
SwTableNode * FindTableNode()
Search table node, in which it is.
The root element of a Writer document layout.
SwCalc & m_rCalc
current Calculator
const SwTable * m_pTable
current table
bool IsStackOverflow() const
Implementation in tblcalc.cxx.
virtual std::unique_ptr< SwFieldType > Copy() const override
SwTableFieldType(SwDoc *pDocPtr)
void CalcField(SwTableCalcPara &rCalcPara)
virtual std::unique_ptr< SwField > Copy() const override
void ChgExpStr(const OUString &rStr)
virtual void SetSubType(sal_uInt16 nType) override
virtual const SwNode * GetNodeOfFormula() const override
Search TextNode containing the field.
virtual OUString GetFieldName() const override
get name or content
SwTableField(SwTableFieldType *, const OUString &rFormel, sal_uInt16 nSubType, sal_uLong nFormat)
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt16 nWhich) override
virtual void SetPar2(const OUString &rStr) override
virtual void SetValue(const double &rVal) override
virtual OUString ExpandImpl(SwRootFrame const *pLayout) const override
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt16 nWhich) const override
virtual OUString GetPar2() const override
The formula.
virtual sal_uInt16 GetSubType() const override
const SwTable & GetTable() const
SwTextNode & GetTextNode() const
Fields containing values that have to be formatted via number formatter.
OUString ExpandValue(const double &rVal, sal_uInt32 nFormat, LanguageType nLng) const
virtual double GetValue() const
virtual void SetValue(const double &rVal)
const SwExtendedSubType SUB_CMD
Show command.
const SwGetSetExpType GSE_FORMULA
Formula.
const SwGetSetExpType GSE_STRING
String.
#define FIELD_PROP_FORMAT