7#ifndef XFA_FXFA_CXFA_FFDATETIMEEDIT_H_
8#define XFA_FXFA_CXFA_FFDATETIMEEDIT_H_
10#include "core/fxcrt/fx_coordinates.h"
11#include "xfa/fxfa/cxfa_fftextedit.h"
13class CFWL_DateTimePicker;
44 bool Paste(
const WideString& wsPaste)
override;
56 CFWL_DateTimePicker* GetPickerWidget();
58 uint32_t GetAlignment();
#define FWL_STYLEEXT_DTP_EditVCenter
#define FWL_STYLEEXT_DTP_EditJustified
#define FWL_STYLEEXT_DTP_ShortDateFormat
#define FWL_STYLEEXT_DTP_EditHCenter
#define FWL_STYLEEXT_DTP_EditVFar
#define FWL_STYLEEXT_DTP_EditHNear
#define FWL_STYLEEXT_DTP_EditHFar
#define FWL_STYLEEXT_DTP_EditVNear
#define FWL_STYLEEXT_EDT_AutoHScroll
#define FWL_STYLEEXT_EDT_ReadOnly
#define FWL_STYLEEXT_EDT_CombText
CFX_RectF GetBBox() const
bool Paste(const WideString &wsPaste)
void SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay)
bool HasSelection() const
WideString GetEditText() const
void SetEditText(const WideString &wsText)
void ModifyEditStyleExts(uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved)
void RegisterEventTarget(CFWL_Widget *pListener, CFWL_Widget *pEventSource)
CFX_DateTime(int32_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint16_t millisecond)
constexpr CFX_RectF()=default
bool Contains(const PointType &p) const
CXFA_EventParam(XFA_EVENTTYPE type)
bool IsDataChanged() override
bool LoadWidget() override
bool CommitData() override
bool Paste(const WideString &wsPaste) override
WideString GetText() override
CFX_RectF GetBBox(FocusOption focus) override
absl::optional< WideString > Copy() override
bool UpdateFWLData() override
bool PtInActiveRect(const CFX_PointF &point) override
void OnProcessEvent(CFWL_Event *pEvent) override
void UpdateWidgetProperty() override
CXFA_FFDateTimeEdit(CXFA_Node *pNode)
~CXFA_FFDateTimeEdit() override
void SelectAll() override
bool CanSelectAll() override
void OnSelectChanged(CFWL_Widget *pWidget, int32_t iYear, int32_t iMonth, int32_t iDay)
absl::optional< WideString > Cut() override
bool LoadWidget() override
void SetNormalWidget(CFWL_Widget *widget)
uint32_t UpdateUIProperty()
void OnProcessEvent(CFWL_Event *pEvent) override
CXFA_FFTextEdit(CXFA_Node *pNode)
bool SetDate(const CFX_DateTime &d)
CFX_DateTime GetDate() const
XFA_AttributeValue GetHorizontalAlign()
XFA_AttributeValue GetVerticalAlign()
XFA_Element GetChildValueClassID() const