Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_ffwidget.h>
Classes | |
class | IteratorIface |
Public Types | |
enum | FocusOption { kDoNotDrawFocus = 0 , kDrawFocus } |
enum | HighlightOption { kNoHighlight = 0 , kHighlight } |
Static Public Member Functions | |
static CXFA_FFWidget * | FromLayoutItem (CXFA_LayoutItem *pLayoutItem) |
Public Attributes | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Protected Member Functions | |
CXFA_FFWidget (CXFA_Node *pNode) | |
virtual bool | PtInActiveRect (const CFX_PointF &point) |
void | DrawBorder (CFGAS_GEGraphics *pGS, CXFA_Box *box, const CFX_RectF &rtBorder, const CFX_Matrix &matrix) |
void | DrawBorderWithFlag (CFGAS_GEGraphics *pGS, CXFA_Box *box, const CFX_RectF &rtBorder, const CFX_Matrix &matrix, bool forceRound) |
CFX_RectF | GetRectWithoutRotate () |
bool | HasVisibleStatus () const |
void | EventKillFocus () |
bool | IsButtonDown () |
void | SetButtonDown (bool bSet) |
Protected Attributes | |
cppgc::Member< CXFA_ContentLayoutItem > | m_pLayoutItem |
cppgc::Member< CXFA_FFDocView > | m_pDocView |
cppgc::Member< CXFA_FFPageView > | m_pPageView |
cppgc::Member< CXFA_Node > const | m_pNode |
CFX_RectF | m_WidgetRect |
Definition at line 65 of file cxfa_ffwidget.h.
Enumerator | |
---|---|
kDoNotDrawFocus | |
kDrawFocus |
Definition at line 68 of file cxfa_ffwidget.h.
Enumerator | |
---|---|
kNoHighlight | |
kHighlight |
Definition at line 69 of file cxfa_ffwidget.h.
|
overridedefault |
|
explicitprotected |
Definition at line 217 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFField::CXFA_FFField().
|
virtual |
Reimplemented in CXFA_FFBarcode, CXFA_FFField, CXFA_FFImageEdit, CXFA_FFSignature, CXFA_FFText, and CXFA_FFTextEdit.
Definition at line 371 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnLButtonDown(), and CXFA_FFWidgetHandler::OnRButtonDown().
|
virtual |
Reimplemented in CXFA_FFField.
Definition at line 278 of file cxfa_ffwidget.cpp.
Referenced by ToField().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 467 of file cxfa_ffwidget.cpp.
Referenced by CanDeSelect(), and CXFA_FFWidgetHandler::GetSelectedText().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 471 of file cxfa_ffwidget.cpp.
Referenced by CanDelete().
|
virtual |
Definition at line 483 of file cxfa_ffwidget.cpp.
References CanCut().
|
virtual |
Definition at line 487 of file cxfa_ffwidget.cpp.
References CanCopy().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 475 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::PasteText().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 463 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::CanRedo().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 479 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::SelectAllText().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 459 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::CanUndo().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 499 of file cxfa_ffwidget.cpp.
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 503 of file cxfa_ffwidget.cpp.
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 513 of file cxfa_ffwidget.cpp.
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 515 of file cxfa_ffwidget.cpp.
Implements CFWL_Widget::AdapterIface.
Definition at line 569 of file cxfa_ffwidget.cpp.
References CXFA_FFDoc::DisplayCaret(), and GetDoc().
|
protected |
Definition at line 340 of file cxfa_ffwidget.cpp.
References CXFA_Box::Draw().
Referenced by CXFA_FFArc::RenderWidget(), CXFA_FFRectangle::RenderWidget(), and RenderWidget().
|
protected |
Definition at line 348 of file cxfa_ffwidget.cpp.
References CXFA_Box::Draw().
|
protected |
Definition at line 635 of file cxfa_ffwidget.cpp.
References CXFA_EventParam::CXFA_EventParam(), CXFA_ContentLayoutItem::ClearStatusBits(), GetLayoutItem(), kAccess, CXFA_ContentLayoutItem::TestStatusBits(), and XFA_EVENT_Exit.
Referenced by OnKillFocus().
|
static |
Definition at line 210 of file cxfa_ffwidget.cpp.
References GetFFWidget(), CXFA_LayoutItem::GetFormNode(), CXFA_Object::HasCreatedUIWidget(), and ToContentLayoutItem().
Referenced by CXFA_FFPageWidgetIterator::GetCurrentWidget(), CXFA_FFNotify::OnLayoutItemAdded(), CXFA_FFNotify::OnLayoutItemRemoving(), and CXFA_FFNotify::OpenDropDownList().
CXFA_FFApp * CXFA_FFWidget::GetApp | ( | ) |
Definition at line 623 of file cxfa_ffwidget.cpp.
References CXFA_FFDoc::GetApp(), and GetDoc().
Referenced by GetAppProvider(), CXFA_FFCheckButton::RenderWidget(), CXFA_FFField::RenderWidget(), CXFA_FFPushButton::RenderWidget(), and CXFA_FFField::SendMessageToFWLWidget().
CXFA_FFApp::CallbackIface * CXFA_FFWidget::GetAppProvider | ( | ) |
Definition at line 627 of file cxfa_ffwidget.cpp.
References GetApp(), and CXFA_FFApp::GetAppProvider().
Referenced by CXFA_FFField::CalculateNode().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFField.
Definition at line 282 of file cxfa_ffwidget.cpp.
References CFX_RectF::CFX_RectF().
Referenced by CPDFXFA_Page::DrawFocusAnnot(), CXFA_FFComboBox::GetBBox(), CXFA_FFDateTimeEdit::GetBBox(), CXFA_FFField::GetBBox(), CPDFXFA_Widget::GetViewBBox(), and InvalidateRect().
Implements CFWL_Widget::AdapterIface.
Definition at line 573 of file cxfa_ffwidget.cpp.
References CXFA_Stroke::GetColor(), GetNode(), CXFA_Stroke::GetThickness(), and CXFA_Node::GetUIBorder().
CXFA_FFDoc * CXFA_FFWidget::GetDoc | ( | ) |
Definition at line 619 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFField::CalculateNode(), DisplayCaret(), CXFA_FFField::DrawHighlight(), GetApp(), CXFA_FWLTheme::GetFont(), CXFA_FWLAdapterWidgetMgr::GetPopupPos(), CXFA_FFImage::LoadWidget(), CXFA_FFField::OnChar(), CXFA_FFField::OnKeyDown(), CXFA_FFText::OnLButtonUp(), CXFA_FFComboBox::OnRButtonUp(), CXFA_FFTextEdit::OnRButtonUp(), CXFA_FFDateTimeEdit::OnSelectChanged(), and CXFA_FFField::SetFWLRect().
|
inline |
Definition at line 163 of file cxfa_ffwidget.h.
Referenced by GetParent(), and CXFA_FFCheckButton::OnProcessEvent().
|
virtual |
Reimplemented in CXFA_FFCheckButton, CXFA_FFComboBox, CXFA_FFImageEdit, CXFA_FFListBox, CXFA_FFPushButton, CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 521 of file cxfa_ffwidget.cpp.
Referenced by CPDFXFA_Page::HasFormFieldAtPoint().
CFWL_App * CXFA_FFWidget::GetFWLApp | ( | ) | const |
Definition at line 228 of file cxfa_ffwidget.cpp.
References CXFA_FFDoc::GetApp(), CXFA_FFDocView::GetDoc(), CXFA_FFPageView::GetDocView(), CXFA_FFApp::GetFWLApp(), and GetPageView().
|
inline |
Definition at line 159 of file cxfa_ffwidget.h.
Referenced by CXFA_FFField::CapPlacement(), EventKillFocus(), GetNextFFWidget(), CPDFXFA_Widget::GetRect(), CXFA_FWLTheme::GetUIMargin(), GetWidgetRect(), HasVisibleStatus(), CXFA_FFWidgetHandler::HitTest(), IsButtonDown(), CXFA_FFDateTimeEdit::IsDataChanged(), CXFA_FFTextEdit::IsDataChanged(), IsFocused(), ModifyStatus(), CXFA_FFField::OnKillFocus(), CXFA_FFTextEdit::OnKillFocus(), OnKillFocus(), CXFA_FFTextEdit::OnLButtonDown(), CXFA_FFTextEdit::OnRButtonDown(), CXFA_FFField::OnSetFocus(), CXFA_FFTextEdit::OnSetFocus(), OnSetFocus(), CXFA_FFTextEdit::OnTextWillChange(), CXFA_FFText::PerformLayout(), RecacheWidgetRect(), CXFA_FFText::RenderWidget(), SetButtonDown(), CXFA_FFField::SetEditScrollOffset(), and CXFA_FFDocView::SetFocus().
CXFA_FFWidget * CXFA_FFWidget::GetNextFFWidget | ( | ) | const |
Definition at line 232 of file cxfa_ffwidget.cpp.
References GetFFWidget(), GetLayoutItem(), and CXFA_ContentLayoutItem::GetNext().
Referenced by CXFA_FFNotify::OnValueChanged(), CXFA_FFNotify::OnValueChanging(), CXFA_FFNotify::OnWidgetListItemAdded(), CXFA_FFNotify::OnWidgetListItemRemoved(), and CXFA_FFDocView::UpdateUIDisplay().
|
inline |
Definition at line 158 of file cxfa_ffwidget.h.
Referenced by CXFA_FWLTheme::CalcTextRect(), CXFA_FWLTheme::DrawText(), GetBorderColorAndThickness(), CXFA_FWLTheme::GetFont(), CXFA_FWLTheme::GetFontSize(), CXFA_FWLTheme::GetLineHeight(), CPDFXFA_DocEnvironment::GetPopupPos(), CXFA_FWLTheme::GetSpaceAboveBelow(), CXFA_FWLTheme::GetTextColor(), CXFA_FWLTheme::GetUIMargin(), CPDFXFA_Widget::GetViewBBox(), CXFA_FFDocView::GetWidgetByName(), HasEventUnderHandler(), IsAncestorOf(), CXFA_FFImage::IsLoaded(), CXFA_FFImage::LoadWidget(), CXFA_FFNotify::OpenDropDownList(), CXFA_FFImage::PreFinalize(), ProcessEventUnderHandler(), and CXFA_FFDocView::SetFocus().
|
inline |
Definition at line 161 of file cxfa_ffwidget.h.
Referenced by CPDFXFA_DocEnvironment::DisplayCaret(), GetFWLApp(), CPDFXFA_DocEnvironment::GetPopupPos(), CXFA_FFNotify::OnLayoutItemAdded(), CPDFXFA_DocEnvironment::PopupMenu(), CPDFXFA_DocEnvironment::WidgetPostAdd(), and CPDFXFA_DocEnvironment::WidgetPreRemove().
CXFA_LayoutItem * CXFA_FFWidget::GetParent | ( | ) |
Definition at line 592 of file cxfa_ffwidget.cpp.
References GetDocView(), CXFA_LayoutProcessor::GetLayoutItem(), and CXFA_FFDocView::GetLayoutProcessor().
Referenced by OnKillFocus(), and OnSetFocus().
|
protected |
Definition at line 248 of file cxfa_ffwidget.cpp.
References CFX_RectF::bottom(), GetWidgetRect(), CFX_RectF::height, CFX_RectF::left, CFX_RectF::right(), CFX_RectF::top, and CFX_RectF::width.
Referenced by CXFA_FFText::AcceptsFocusOnButtonDown(), CXFA_FFField::CapPlacement(), GetRotateMatrix(), CXFA_FFField::HitTest(), CXFA_FFSignature::HitTest(), CXFA_FFText::HitTest(), IsLayoutRectEmpty(), CXFA_FFText::OnMouseMove(), CXFA_FFCheckButton::PerformLayout(), CXFA_FFPushButton::PerformLayout(), CXFA_FFField::RenderCaption(), CXFA_FFArc::RenderWidget(), CXFA_FFImage::RenderWidget(), CXFA_FFLine::RenderWidget(), CXFA_FFPushButton::RenderWidget(), CXFA_FFRectangle::RenderWidget(), CXFA_FFText::RenderWidget(), and RenderWidget().
|
overridevirtual |
Implements CFWL_Widget::AdapterIface.
Definition at line 533 of file cxfa_ffwidget.cpp.
References CFX_Matrix::CFX_Matrix(), CFX_Matrix::a, CFX_Matrix::b, CFX_Matrix::c, CFX_Matrix::d, CFX_Matrix::e, CFX_Matrix::f, GetRectWithoutRotate(), CFX_RectF::left, and CFX_RectF::top.
Referenced by CXFA_FFField::GetBBox(), CXFA_FWLAdapterWidgetMgr::GetPopupPos(), CXFA_FFArc::RenderWidget(), CXFA_FFBarcode::RenderWidget(), CXFA_FFCheckButton::RenderWidget(), CXFA_FFExclGroup::RenderWidget(), CXFA_FFField::RenderWidget(), CXFA_FFImage::RenderWidget(), CXFA_FFImageEdit::RenderWidget(), CXFA_FFLine::RenderWidget(), CXFA_FFPushButton::RenderWidget(), CXFA_FFRectangle::RenderWidget(), CXFA_FFSignature::RenderWidget(), CXFA_FFText::RenderWidget(), and Rotate2Normal().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 517 of file cxfa_ffwidget.cpp.
References fxcrt::WideString::WideString().
Referenced by CXFA_FFWidgetHandler::GetText().
const CFX_RectF & CXFA_FFWidget::GetWidgetRect | ( | ) | const |
Definition at line 236 of file cxfa_ffwidget.cpp.
References GetLayoutItem(), kRectCached, m_WidgetRect, RecacheWidgetRect(), and CXFA_ContentLayoutItem::TestStatusBits().
Referenced by GetRectWithoutRotate(), CPDFXFA_Page::HasFormFieldAtPoint(), CXFA_FFNotify::OnLayoutItemAdded(), and PtInActiveRect().
bool CXFA_FFWidget::HasEventUnderHandler | ( | XFA_EVENTTYPE | eEventType, |
CXFA_FFWidgetHandler * | pHandler ) |
Definition at line 325 of file cxfa_ffwidget.cpp.
References GetNode(), CXFA_FFWidgetHandler::HasEvent(), and CXFA_Node::IsWidgetReady().
|
protected |
Definition at line 631 of file cxfa_ffwidget.cpp.
References GetLayoutItem(), kVisible, and CXFA_ContentLayoutItem::TestStatusBits().
Referenced by CXFA_FFArc::RenderWidget(), CXFA_FFBarcode::RenderWidget(), CXFA_FFCheckButton::RenderWidget(), CXFA_FFExclGroup::RenderWidget(), CXFA_FFField::RenderWidget(), CXFA_FFImage::RenderWidget(), CXFA_FFImageEdit::RenderWidget(), CXFA_FFLine::RenderWidget(), CXFA_FFPushButton::RenderWidget(), CXFA_FFRectangle::RenderWidget(), CXFA_FFSignature::RenderWidget(), CXFA_FFText::RenderWidget(), and RenderWidget().
|
virtual |
Reimplemented in CXFA_FFField, CXFA_FFSignature, and CXFA_FFText.
Definition at line 455 of file cxfa_ffwidget.cpp.
References Unknown.
Referenced by CXFA_FFWidgetHandler::HitTest().
void CXFA_FFWidget::InvalidateRect | ( | ) |
Definition at line 357 of file cxfa_ffwidget.cpp.
References GetBBox(), CFX_RectF::Inflate(), and kDoNotDrawFocus.
Referenced by CXFA_FFComboBox::DeleteItem(), CXFA_FFListBox::DeleteItem(), CXFA_FFComboBox::InsertItem(), CXFA_FFListBox::InsertItem(), CXFA_FFField::OnKillFocus(), CXFA_FFTextEdit::OnKillFocus(), CXFA_FFNotify::OnLayoutItemAdded(), CXFA_FFNotify::OnLayoutItemRemoving(), CXFA_FFTextEdit::OnLButtonDown(), CXFA_FFTextEdit::OnRButtonDown(), CXFA_FFField::OnSetFocus(), CXFA_FFTextEdit::OnSetFocus(), CXFA_FFNotify::OnValueChanged(), CXFA_FFNotify::OnValueChanging(), CXFA_FWLAdapterWidgetMgr::RepaintWidget(), CXFA_FFComboBox::SetItemState(), CXFA_FFListBox::SetItemState(), and CXFA_FFDocView::UpdateUIDisplay().
bool CXFA_FFWidget::IsAncestorOf | ( | CXFA_FFWidget * | pWidget | ) |
Definition at line 601 of file cxfa_ffwidget.cpp.
References GetNode().
Referenced by OnKillFocus(), and OnSetFocus().
|
protected |
Definition at line 645 of file cxfa_ffwidget.cpp.
References GetLayoutItem(), kButtonDown, and CXFA_ContentLayoutItem::TestStatusBits().
Referenced by CXFA_FFCheckButton::OnLButtonUp(), CXFA_FFField::OnLButtonUp(), CXFA_FFText::OnLButtonUp(), and CXFA_FFField::OnRButtonUp().
|
inline |
Definition at line 177 of file cxfa_ffwidget.h.
References GetLayoutItem(), kFocused, and CXFA_ContentLayoutItem::TestStatusBits().
Referenced by CXFA_FFTextEdit::OnLButtonDown(), CXFA_FFTextEdit::OnRButtonDown(), CXFA_FFTextEdit::OnSetFocus(), CXFA_FFDateTimeEdit::UpdateFWLData(), CXFA_FFTextEdit::UpdateFWLData(), and CXFA_FFDocView::UpdateUIDisplay().
bool CXFA_FFWidget::IsLayoutRectEmpty | ( | ) |
Definition at line 587 of file cxfa_ffwidget.cpp.
References GetRectWithoutRotate(), CFX_RectF::height, and CFX_RectF::width.
|
virtual |
Reimplemented in CXFA_FFField, CXFA_FFImage, and CXFA_FFText.
Definition at line 305 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFField::IsLoaded(), CXFA_FFNotify::OnLayoutItemAdded(), CXFA_FFNotify::OnValueChanged(), CXFA_FFNotify::OnValueChanging(), CXFA_FFNotify::OnWidgetListItemAdded(), CXFA_FFNotify::OnWidgetListItemRemoved(), CXFA_FFNotify::OpenDropDownList(), CXFA_FFDocView::SetFocus(), and CXFA_FFDocView::UpdateUIDisplay().
|
virtual |
Reimplemented in CXFA_FFBarcode, CXFA_FFCheckButton, CXFA_FFComboBox, CXFA_FFDateTimeEdit, CXFA_FFField, CXFA_FFImage, CXFA_FFImageEdit, CXFA_FFListBox, CXFA_FFNumericEdit, CXFA_FFPasswordEdit, CXFA_FFPushButton, CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 309 of file cxfa_ffwidget.cpp.
References PerformLayout().
Referenced by CXFA_FFImage::LoadWidget(), CXFA_FFNotify::OnLayoutItemAdded(), and CXFA_FFDocView::SetFocus().
void CXFA_FFWidget::ModifyStatus | ( | Mask< XFA_WidgetStatus > | dwAdded, |
Mask< XFA_WidgetStatus > | dwRemoved ) |
Definition at line 272 of file cxfa_ffwidget.cpp.
References CXFA_ContentLayoutItem::ClearStatusBits(), GetLayoutItem(), and CXFA_ContentLayoutItem::SetStatusBits().
Referenced by CXFA_FFNotify::OnLayoutItemAdded().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFSignature.
Definition at line 451 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnChar().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFSignature.
Definition at line 446 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnKeyDown().
|
nodiscardvirtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFField, CXFA_FFListBox, and CXFA_FFTextEdit.
Definition at line 432 of file cxfa_ffwidget.cpp.
References CXFA_ContentLayoutItem::ClearStatusBits(), EventKillFocus(), GetFFWidget(), GetLayoutItem(), GetParent(), IsAncestorOf(), kFocused, OnKillFocus(), and ToContentLayoutItem().
Referenced by CXFA_FFField::OnKillFocus(), CXFA_FFTextEdit::OnKillFocus(), and OnKillFocus().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFSignature.
Definition at line 388 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnLButtonDblClk().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, CXFA_FFImageEdit, CXFA_FFSignature, CXFA_FFText, and CXFA_FFTextEdit.
Definition at line 378 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnLButtonDown().
|
nodiscardvirtual |
Reimplemented in CXFA_FFCheckButton, CXFA_FFField, CXFA_FFSignature, and CXFA_FFText.
Definition at line 383 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnLButtonUp().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFSignature.
Definition at line 363 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnMouseEnter().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFSignature.
Definition at line 367 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnMouseExit().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, CXFA_FFSignature, and CXFA_FFText.
Definition at line 393 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnMouseMove().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFSignature.
Definition at line 398 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnMouseWheel().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFSignature.
Definition at line 414 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnRButtonDblClk().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 404 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnRButtonDown().
|
nodiscardvirtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFField, CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 409 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::OnRButtonUp().
|
nodiscardvirtual |
Reimplemented in CXFA_FFField, and CXFA_FFTextEdit.
Definition at line 419 of file cxfa_ffwidget.cpp.
References CXFA_EventParam::CXFA_EventParam(), GetFFWidget(), GetLayoutItem(), GetParent(), IsAncestorOf(), kFocused, OnSetFocus(), CXFA_ContentLayoutItem::SetStatusBits(), ToContentLayoutItem(), and XFA_EVENT_Enter.
Referenced by CXFA_FFField::OnSetFocus(), CXFA_FFTextEdit::OnSetFocus(), and OnSetFocus().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 507 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::PasteText().
|
virtual |
Reimplemented in CXFA_FFCheckButton, CXFA_FFField, CXFA_FFPushButton, and CXFA_FFText.
Definition at line 314 of file cxfa_ffwidget.cpp.
References RecacheWidgetRect().
Referenced by LoadWidget(), CXFA_FFNotify::OnLayoutItemAdded(), CXFA_FFNotify::OnValueChanged(), CXFA_FFCheckButton::PerformLayout(), CXFA_FFField::PerformLayout(), CXFA_FFPushButton::PerformLayout(), and CXFA_FFText::PerformLayout().
bool CXFA_FFWidget::ProcessEventUnderHandler | ( | CXFA_EventParam * | params, |
CXFA_FFWidgetHandler * | pHandler ) |
Definition at line 331 of file cxfa_ffwidget.cpp.
References GetNode(), CXFA_Node::IsWidgetReady(), kSuccess, and CXFA_FFWidgetHandler::ProcessEvent().
|
protectedvirtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFField.
Definition at line 615 of file cxfa_ffwidget.cpp.
References CFX_RectF::Contains(), and GetWidgetRect().
const CFX_RectF & CXFA_FFWidget::RecacheWidgetRect | ( | ) | const |
Definition at line 242 of file cxfa_ffwidget.cpp.
References CXFA_ContentLayoutItem::GetAbsoluteRect(), GetLayoutItem(), kRectCached, m_WidgetRect, CFX_RectF::operator=(), and CXFA_ContentLayoutItem::SetStatusBits().
Referenced by GetWidgetRect(), CXFA_FFNotify::OnLayoutItemAdded(), and PerformLayout().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 495 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::Redo().
|
virtual |
Reimplemented in CXFA_FFArc, CXFA_FFBarcode, CXFA_FFCheckButton, CXFA_FFExclGroup, CXFA_FFField, CXFA_FFImage, CXFA_FFImageEdit, CXFA_FFLine, CXFA_FFPushButton, CXFA_FFRectangle, CXFA_FFSignature, and CXFA_FFText.
Definition at line 288 of file cxfa_ffwidget.cpp.
References DrawBorder(), CXFA_Node::GetMarginIfExists(), GetRectWithoutRotate(), HasVisibleStatus(), CFX_RectF::Normalize(), and XFA_RectWithoutMargin().
Referenced by CPDFXFA_Page::DrawFocusAnnot(), CXFA_FFBarcode::RenderWidget(), CXFA_FFCheckButton::RenderWidget(), CXFA_FFExclGroup::RenderWidget(), CXFA_FFField::RenderWidget(), CXFA_FFImage::RenderWidget(), CXFA_FFImageEdit::RenderWidget(), CXFA_FFPushButton::RenderWidget(), CXFA_FFSignature::RenderWidget(), CXFA_FFText::RenderWidget(), and CXFA_FFWidgetHandler::RenderWidget().
CFX_PointF CXFA_FFWidget::Rotate2Normal | ( | const CFX_PointF & | point | ) |
Definition at line 525 of file cxfa_ffwidget.cpp.
References CFX_Matrix::GetInverse(), GetRotateMatrix(), CFX_Matrix::IsIdentity(), and CFX_Matrix::Transform().
Referenced by CXFA_FFWidgetHandler::HitTest(), CXFA_FFWidgetHandler::OnLButtonDblClk(), CXFA_FFWidgetHandler::OnLButtonDown(), CXFA_FFWidgetHandler::OnLButtonUp(), CXFA_FFWidgetHandler::OnMouseMove(), CXFA_FFWidgetHandler::OnMouseWheel(), CXFA_FFWidgetHandler::OnRButtonDblClk(), CXFA_FFWidgetHandler::OnRButtonDown(), and CXFA_FFWidgetHandler::OnRButtonUp().
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 511 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::SelectAllText().
|
protected |
Definition at line 649 of file cxfa_ffwidget.cpp.
References CXFA_ContentLayoutItem::ClearStatusBits(), GetLayoutItem(), kButtonDown, and CXFA_ContentLayoutItem::SetStatusBits().
Referenced by CXFA_FFField::OnLButtonDown(), CXFA_FFImageEdit::OnLButtonDown(), CXFA_FFText::OnLButtonDown(), CXFA_FFTextEdit::OnLButtonDown(), CXFA_FFCheckButton::OnLButtonUp(), CXFA_FFField::OnLButtonUp(), CXFA_FFText::OnLButtonUp(), CXFA_FFField::OnRButtonDown(), CXFA_FFTextEdit::OnRButtonDown(), and CXFA_FFField::OnRButtonUp().
|
inline |
Definition at line 164 of file cxfa_ffwidget.h.
|
inline |
Definition at line 160 of file cxfa_ffwidget.h.
|
inline |
Definition at line 162 of file cxfa_ffwidget.h.
Referenced by CXFA_FFNotify::OnLayoutItemAdded().
|
override |
Definition at line 221 of file cxfa_ffwidget.cpp.
|
virtual |
Reimplemented in CXFA_FFComboBox, CXFA_FFDateTimeEdit, and CXFA_FFTextEdit.
Definition at line 491 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFWidgetHandler::Undo().
|
virtual |
Reimplemented in CXFA_FFCheckButton, CXFA_FFComboBox, CXFA_FFDateTimeEdit, CXFA_FFImageEdit, CXFA_FFListBox, and CXFA_FFTextEdit.
Definition at line 319 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFDocView::UpdateUIDisplay().
|
virtual |
Reimplemented in CXFA_FFBarcode, CXFA_FFCheckButton, CXFA_FFComboBox, CXFA_FFDateTimeEdit, CXFA_FFNumericEdit, CXFA_FFPasswordEdit, CXFA_FFPushButton, and CXFA_FFTextEdit.
Definition at line 323 of file cxfa_ffwidget.cpp.
Referenced by CXFA_FFNotify::OnValueChanged().
CXFA_FFWidget::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 85 of file cxfa_ffwidget.h.
|
protected |
Definition at line 210 of file cxfa_ffwidget.h.
|
protected |
Definition at line 209 of file cxfa_ffwidget.h.
|
protected |
Definition at line 212 of file cxfa_ffwidget.h.
|
protected |
Definition at line 211 of file cxfa_ffwidget.h.
|
mutableprotected |
Definition at line 213 of file cxfa_ffwidget.h.
Referenced by GetWidgetRect(), and RecacheWidgetRect().