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_ffdocview.h>
Classes | |
class | UpdateScope |
Public Types | |
enum class | LayoutStatus : uint8_t { kNone , kStart , kDoing , kEnd } |
Public Attributes | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Definition at line 31 of file cxfa_ffdocview.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kStart | |
kDoing | |
kEnd |
Definition at line 33 of file cxfa_ffdocview.h.
|
default |
|
inline |
Definition at line 101 of file cxfa_ffdocview.h.
Referenced by CXFA_FFNotify::OnNodeReady().
Definition at line 550 of file cxfa_ffdocview.cpp.
Referenced by CXFA_FFNotify::AddCalcValidate(), CXFA_FFNotify::OnValueChanged(), and ProcessValueChanged().
Definition at line 557 of file cxfa_ffdocview.cpp.
Referenced by CXFA_FFNotify::OnValueChanged().
void CXFA_FFDocView::AddIndexChangedSubform | ( | CXFA_Subform * | pNode | ) |
Definition at line 536 of file cxfa_ffdocview.cpp.
Referenced by CXFA_FFNotify::RunSubformIndexChange().
Definition at line 531 of file cxfa_ffdocview.cpp.
Referenced by CXFA_FFNotify::RunNodeInitialize().
void CXFA_FFDocView::AddNullTestMsg | ( | const WideString & | msg | ) |
Definition at line 183 of file cxfa_ffdocview.cpp.
Definition at line 601 of file cxfa_ffdocview.cpp.
Referenced by CXFA_FFNotify::AddCalcValidate(), CXFA_Node::ExecuteBoolScript(), CXFA_FFNotify::OnValueChanged(), and ProcessValueChanged().
int32_t CXFA_FFDocView::CountPageViews | ( | ) | const |
Definition at line 253 of file cxfa_ffdocview.cpp.
References CXFA_LayoutProcessor::CountPages(), and GetLayoutProcessor().
void CXFA_FFDocView::DeleteLayoutItem | ( | CXFA_FFWidget * | pWidget | ) |
Definition at line 377 of file cxfa_ffdocview.cpp.
Referenced by CXFA_FFNotify::OnLayoutItemRemoving().
int32_t CXFA_FFDocView::DoLayout | ( | ) |
Definition at line 134 of file cxfa_ffdocview.cpp.
References CXFA_LayoutProcessor::DoLayout(), GetLayoutProcessor(), and kDoing.
XFA_EventError CXFA_FFDocView::ExecEventActivityByDeepFirst | ( | CXFA_Node * | pFormNode, |
XFA_EVENTTYPE | eEventType, | ||
bool | bIsFormReady, | ||
bool | bRecursive ) |
Definition at line 414 of file cxfa_ffdocview.cpp.
References CXFA_EventParam::CXFA_EventParam(), ExecEventActivityByDeepFirst(), CXFA_Object::GetElementType(), CXFA_Node::GetFirstContainerChild(), CXFA_Node::GetNextContainerSibling(), CXFA_Node::IsWidgetReady(), kNotExist, CXFA_EventParam::m_bIsFormReady, XFA_EVENT_IndexChange, XFA_EventErrorAccumulate(), and XFA_ProcessEvent().
Referenced by ExecEventActivityByDeepFirst(), CXFA_FFNotify::ExecEventByDeepFirst(), RunDocClose(), StartLayout(), StopLayout(), and UpdateDocView().
|
inline |
Definition at line 51 of file cxfa_ffdocview.h.
Referenced by CXFA_Node::ExecuteBoolScript(), CXFA_Node::FindSplitPos(), CXFA_FFWidget::GetFWLApp(), CXFA_Node::ProcessValidate(), and XFA_ProcessEvent().
|
inline |
Definition at line 93 of file cxfa_ffdocview.h.
Referenced by CXFA_FFNotify::GetFocusWidgetNode().
|
inline |
Definition at line 69 of file cxfa_ffdocview.h.
Referenced by CPDFXFA_Widget::OnChangedFocus().
CXFA_LayoutProcessor * CXFA_FFDocView::GetLayoutProcessor | ( | ) | const |
Definition at line 267 of file cxfa_ffdocview.cpp.
Referenced by CountPageViews(), DoLayout(), GetPageView(), CXFA_FFWidget::GetParent(), GetWidgetForNode(), RunLayout(), and StartLayout().
|
inline |
Definition at line 58 of file cxfa_ffdocview.h.
Referenced by CXFA_FFNotify::GetLayoutStatus(), CXFA_FFNotify::OnChildAdded(), CXFA_FFNotify::OnChildRemoved(), CXFA_FFNotify::OnLayoutItemAdded(), CXFA_FFNotify::OnValueChanging(), and CXFA_Node::ProcessValidate().
CXFA_FFPageView * CXFA_FFDocView::GetPageView | ( | int32_t | nIndex | ) | const |
Definition at line 258 of file cxfa_ffdocview.cpp.
References GetLayoutProcessor(), CXFA_LayoutProcessor::GetPage(), and CXFA_ViewLayoutItem::GetPageView().
Referenced by CPDFXFA_Page::GetXFAPageView(), and CXFA_FFNotify::OnLayoutItemAdded().
CXFA_Node * CXFA_FFDocView::GetRootSubform | ( | ) |
Definition at line 724 of file cxfa_ffdocview.cpp.
Referenced by ResetNode(), CPDFXFA_Context::SendPostSaveToXFADoc(), and CPDFXFA_Context::SendPreSaveToXFADoc().
CXFA_FFWidget * CXFA_FFDocView::GetWidgetByName | ( | const WideString & | wsName, |
CXFA_FFWidget * | pRefWidget ) |
Definition at line 458 of file cxfa_ffdocview.cpp.
References CFXJSE_Engine::EventParamScope, CXFA_FFWidget::GetNode(), GetWidgetForNode(), CXFA_Node::IsWidgetReady(), and fxcrt::operator+().
CXFA_FFWidget * CXFA_FFDocView::GetWidgetForNode | ( | CXFA_Node * | node | ) |
Definition at line 313 of file cxfa_ffdocview.cpp.
References GetFFWidget(), CXFA_LayoutProcessor::GetLayoutItem(), GetLayoutProcessor(), and ToContentLayoutItem().
Referenced by GetWidgetByName(), SetFocusNode(), and UpdateUIDisplay().
CXFA_FFWidgetHandler * CXFA_FFDocView::GetWidgetHandler | ( | ) |
Definition at line 318 of file cxfa_ffdocview.cpp.
Referenced by CPDFXFA_Page::DrawFocusAnnot(), CXFA_FFNotify::HandleWidgetEvent(), CPDFXFA_Page::HasFormFieldAtPoint(), CPDFXFA_Context::SendPostSaveToXFADoc(), and CPDFXFA_Context::SendPreSaveToXFADoc().
|
inline |
Definition at line 57 of file cxfa_ffdocview.h.
Referenced by CXFA_FFNotify::OnChildAdded(), and CXFA_FFNotify::OnChildRemoved().
void CXFA_FFDocView::InvalidateRect | ( | CXFA_FFPageView * | pPageView, |
const CFX_RectF & | rtInvalidate ) |
Definition at line 493 of file cxfa_ffdocview.cpp.
|
inline |
Definition at line 77 of file cxfa_ffdocview.h.
Referenced by RunLayout(), and UpdateDocView().
void CXFA_FFDocView::OnPageViewEvent | ( | CXFA_ViewLayoutItem * | pSender, |
CXFA_FFDoc::PageViewEvent | eEvent ) |
Definition at line 487 of file cxfa_ffdocview.cpp.
References CXFA_ViewLayoutItem::GetPageView().
Referenced by CXFA_FFNotify::OnPageViewEvent().
Definition at line 610 of file cxfa_ffdocview.cpp.
References AddCalculateNode(), and AddValidateNode().
Definition at line 287 of file cxfa_ffdocview.cpp.
References CXFA_ReadyNodeIterator::CXFA_ReadyNodeIterator(), CXFA_Object::GetElementType(), GetRootSubform(), CXFA_ReadyNodeIterator::MoveToNext(), and CXFA_ReadyNodeIterator::SkipTree().
Referenced by CXFA_FFNotify::ResetData().
void CXFA_FFDocView::RunDocClose | ( | ) |
Definition at line 541 of file cxfa_ffdocview.cpp.
References ExecEventActivityByDeepFirst(), and XFA_EVENT_DocClose.
bool CXFA_FFDocView::RunLayout | ( | ) |
Definition at line 498 of file cxfa_ffdocview.cpp.
References CXFA_LayoutProcessor::DoLayout(), GetLayoutProcessor(), CXFA_LayoutProcessor::IncrementLayout(), LockUpdate(), CXFA_LayoutProcessor::StartLayout(), and UnlockUpdate().
Referenced by StopLayout(), and UpdateDocView().
void CXFA_FFDocView::SetChangeMark | ( | ) |
Definition at line 717 of file cxfa_ffdocview.cpp.
References kEnd.
Referenced by CXFA_FFNotify::OnValueChanged().
bool CXFA_FFDocView::SetFocus | ( | CXFA_FFWidget * | pNewFocus | ) |
Definition at line 326 of file cxfa_ffdocview.cpp.
References CXFA_FFWidget::GetLayoutItem(), CXFA_FFWidget::GetNode(), CXFA_FFWidget::IsLoaded(), kFocused, kVisible, CXFA_FFWidget::LoadWidget(), and CXFA_ContentLayoutItem::TestStatusBits().
Referenced by CPDFXFA_Widget::OnChangedFocus(), CPDFXFA_Widget::OnKillFocus(), and SetFocusNode().
Definition at line 365 of file cxfa_ffdocview.cpp.
References GetWidgetForNode(), kEnd, and SetFocus().
Referenced by CXFA_FFNotify::SetFocusWidgetNode().
|
inline |
Definition at line 56 of file cxfa_ffdocview.h.
int32_t CXFA_FFDocView::StartLayout | ( | ) |
Definition at line 111 of file cxfa_ffdocview.cpp.
References ExecEventActivityByDeepFirst(), GetLayoutProcessor(), kStart, CXFA_LayoutProcessor::StartLayout(), and XFA_EVENT_Ready.
void CXFA_FFDocView::StopLayout | ( | ) |
Definition at line 143 of file cxfa_ffdocview.cpp.
References ExecEventActivityByDeepFirst(), kEnd, RunLayout(), XFA_EVENT_DocReady, and XFA_EVENT_Ready.
void CXFA_FFDocView::Trace | ( | cppgc::Visitor * | visitor | ) | const |
Definition at line 93 of file cxfa_ffdocview.cpp.
|
inline |
Definition at line 78 of file cxfa_ffdocview.h.
Referenced by RunLayout(), and UpdateDocView().
void CXFA_FFDocView::UpdateDocView | ( | ) |
Definition at line 211 of file cxfa_ffdocview.cpp.
References ExecEventActivityByDeepFirst(), LockUpdate(), RunLayout(), UnlockUpdate(), and XFA_EVENT_Ready.
Referenced by CPDFXFA_Context::SendPostSaveToXFADoc(), and CPDFXFA_Context::SendPreSaveToXFADoc().
void CXFA_FFDocView::UpdateUIDisplay | ( | CXFA_Node * | pNode, |
CXFA_FFWidget * | pExcept ) |
Definition at line 238 of file cxfa_ffdocview.cpp.
References CXFA_Node::GetFFWidgetType(), CXFA_FFWidget::GetNextFFWidget(), GetWidgetForNode(), CXFA_FFWidget::InvalidateRect(), CXFA_FFWidget::IsFocused(), CXFA_FFWidget::IsLoaded(), kCheckButton, and CXFA_FFWidget::UpdateFWLData().
Referenced by CXFA_Node::ProcessCalculate().
CXFA_FFDocView::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 46 of file cxfa_ffdocview.h.