22 : GenericDialogController(pParent,
"modules/swriter/ui/dateformfielddialog.ui",
23 "DateFormFieldDialog")
24 , m_pDateField(pDateField)
25 , m_pNumberFormatter(rDoc.GetNumberFormatter())
49 sw::mark::IFieldmark::parameter_map_t* pParameters =
m_pDateField->GetParameters();
76 sw::mark::IFieldmark::parameter_map_t* pParameters =
m_pDateField->GetParameters();
78 OUString sFormatString;
80 if (pResult != pParameters->end())
82 pResult->second >>= sFormatString;
87 if (pResult != pParameters->end())
89 pResult->second >>= sLang;
92 if (sFormatString.isEmpty() || sLang.isEmpty())
99 sal_Int32 nCheckPos = 0;
LanguageType getLanguageType(bool bResolveSystem=true) const
const OUString & getBcp47(bool bResolveSystem=true) const
constexpr tools::Long Width() const
virtual std::pair< bool, double > GetCurrentDate() const =0
virtual void SetCurrentDate(double fDate)=0
virtual int get_height_rows(int nRows) const=0
#define LANGUAGE_DONTKNOW
Dialog to specify the properties of date form field.
constexpr OUStringLiteral ODF_FORMDATE_CURRENTDATE
constexpr OUStringLiteral ODF_FORMDATE_DATEFORMAT
constexpr OUStringLiteral ODF_FORMDATE_DATEFORMAT_LANGUAGE
constexpr sal_uInt32 NUMBERFORMAT_ENTRY_NOT_FOUND