Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdfsdk_pageview.h>
Additional Inherited Members | |
Protected Member Functions inherited from fxcrt::Observable | |
size_t | ActiveObserversForTesting () const |
Definition at line 31 of file cpdfsdk_pageview.h.
CPDFSDK_PageView::CPDFSDK_PageView | ( | CPDFSDK_FormFillEnvironment * | pFormFillEnv, |
IPDF_Page * | page ) |
Definition at line 35 of file cpdfsdk_pageview.cpp.
References CPDFSDK_PageView(), IPDF_Page::AsXFAPage(), CPDF_InteractiveForm::FixPageFields(), CPDFSDK_FormFillEnvironment::GetInteractiveForm(), CPDFSDK_InteractiveForm::GetInteractiveForm(), CPDF_Page::SetView(), and ToPDFPage().
Referenced by CPDFSDK_PageView().
CPDFSDK_PageView::~CPDFSDK_PageView | ( | ) |
Definition at line 49 of file cpdfsdk_pageview.cpp.
bool CPDFSDK_PageView::CanRedo | ( | ) |
Definition at line 311 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::CanRedo(), and GetFocusAnnot().
Referenced by FORM_CanRedo().
bool CPDFSDK_PageView::CanUndo | ( | ) |
Definition at line 306 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::CanUndo(), and GetFocusAnnot().
Referenced by FORM_CanUndo().
Implements CPDF_Page::View.
Definition at line 66 of file cpdfsdk_pageview.cpp.
References GetFormFillEnv(), IsBeingDestroyed(), and CPDFSDK_FormFillEnvironment::RemovePageView().
CPDFSDK_Annot * CPDFSDK_PageView::GetAnnotByDict | ( | const CPDF_Dictionary * | pDict | ) |
Definition at line 210 of file cpdfsdk_pageview.cpp.
Referenced by CPDFSDK_InteractiveForm::GetWidget().
std::vector< CPDFSDK_Annot * > CPDFSDK_PageView::GetAnnotList | ( | ) | const |
Definition at line 202 of file cpdfsdk_pageview.cpp.
|
inline |
Definition at line 94 of file cpdfsdk_pageview.h.
Referenced by CPDFSDK_Widget::DrawShadow(), and CFFL_FormField::GetWindowMatrix().
CPDFSDK_Annot * CPDFSDK_PageView::GetFirstFocusableAnnot | ( | ) |
Definition at line 262 of file cpdfsdk_pageview.cpp.
References CPDFSDK_AnnotIterator::GetFirstAnnot(), and GetFormFillEnv().
CPDFSDK_Annot * CPDFSDK_PageView::GetFocusAnnot | ( | ) |
Definition at line 608 of file cpdfsdk_pageview.cpp.
References IsValidSDKAnnot().
Referenced by CanRedo(), CanUndo(), GetFocusedFormText(), GetSelectedText(), IsIndexSelected(), OnKeyDown(), Redo(), ReplaceAndKeepSelection(), ReplaceSelection(), SelectAllText(), SetIndexSelected(), and Undo().
WideString CPDFSDK_PageView::GetFocusedFormText | ( | ) |
Definition at line 237 of file cpdfsdk_pageview.cpp.
References fxcrt::WideString::WideString(), GetFocusAnnot(), and CPDFSDK_Annot::GetText().
Referenced by FORM_GetFocusedText().
|
inline |
Definition at line 65 of file cpdfsdk_pageview.h.
Referenced by ClearPage(), GetFirstFocusableAnnot(), GetLastFocusableAnnot(), GetNextAnnot(), GetPrevAnnot(), CPDFSDK_Widget::OnAAction(), and OnKeyDown().
CPDFSDK_Annot * CPDFSDK_PageView::GetLastFocusableAnnot | ( | ) |
Definition at line 272 of file cpdfsdk_pageview.cpp.
References GetFormFillEnv(), and CPDFSDK_AnnotIterator::GetLastAnnot().
CPDFSDK_Annot * CPDFSDK_PageView::GetNextAnnot | ( | CPDFSDK_Annot * | pAnnot | ) |
Definition at line 242 of file cpdfsdk_pageview.cpp.
References GetFormFillEnv(), and CPDFSDK_AnnotIterator::GetNextAnnot().
int CPDFSDK_PageView::GetPageIndex | ( | ) | const |
Definition at line 589 of file cpdfsdk_pageview.cpp.
Referenced by FORM_GetFocusedAnnot().
CPDF_Document * CPDFSDK_PageView::GetPDFDocument | ( | ) |
Definition at line 190 of file cpdfsdk_pageview.cpp.
CPDF_Page * CPDFSDK_PageView::GetPDFPage | ( | ) | const |
Definition at line 194 of file cpdfsdk_pageview.cpp.
Referenced by CFFL_FormField::GetFocusBox(), and LoadFXAnnots().
CPDFSDK_Annot * CPDFSDK_PageView::GetPrevAnnot | ( | CPDFSDK_Annot * | pAnnot | ) |
Definition at line 252 of file cpdfsdk_pageview.cpp.
References GetFormFillEnv(), and CPDFSDK_AnnotIterator::GetPrevAnnot().
WideString CPDFSDK_PageView::GetSelectedText | ( | ) |
Definition at line 282 of file cpdfsdk_pageview.cpp.
References fxcrt::WideString::WideString(), GetFocusAnnot(), and CPDFSDK_Annot::GetSelectedText().
Referenced by FORM_GetSelectedText().
|
inline |
Definition at line 104 of file cpdfsdk_pageview.h.
Referenced by ClearPage(), and CPDFSDK_FormFillEnvironment::RemovePageView().
bool CPDFSDK_PageView::IsIndexSelected | ( | int | index | ) |
Definition at line 486 of file cpdfsdk_pageview.cpp.
References GetFocusAnnot(), and CPDFSDK_Annot::IsIndexSelected().
Referenced by FORM_IsIndexSelected().
|
inline |
Definition at line 102 of file cpdfsdk_pageview.h.
Referenced by CPDFSDK_FormFillEnvironment::RemovePageView().
|
inline |
Definition at line 101 of file cpdfsdk_pageview.h.
Referenced by FORM_GetFocusedAnnot(), and FORM_SetFocusedAnnot().
bool CPDFSDK_PageView::IsValidAnnot | ( | const CPDF_Annot * | p | ) | const |
Definition at line 600 of file cpdfsdk_pageview.cpp.
Referenced by CFFL_InteractiveFormFiller::IsValidAnnot().
bool CPDFSDK_PageView::IsValidSDKAnnot | ( | const CPDFSDK_Annot * | p | ) | const |
Definition at line 604 of file cpdfsdk_pageview.cpp.
Referenced by GetFocusAnnot(), and CPDFSDK_FormFillEnvironment::RemovePageView().
void CPDFSDK_PageView::LoadFXAnnots | ( | ) |
Definition at line 537 of file cpdfsdk_pageview.cpp.
References CheckForUnsupportedAnnot(), GetPDFPage(), CPDF_InteractiveForm::IsUpdateAPEnabled(), and CPDF_InteractiveForm::SetUpdateAP().
Referenced by CPDFSDK_FormFillEnvironment::GetOrCreatePageView().
bool CPDFSDK_PageView::OnChar | ( | uint32_t | nChar, |
Mask< FWL_EVENTFLAG > | nFlags ) |
Definition at line 491 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnChar().
bool CPDFSDK_PageView::OnFocus | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point ) |
Definition at line 326 of file cpdfsdk_pageview.cpp.
bool CPDFSDK_PageView::OnKeyDown | ( | FWL_VKEYCODE | nKeyCode, |
Mask< FWL_EVENTFLAG > | nFlags ) |
Definition at line 496 of file cpdfsdk_pageview.cpp.
References FWL_VKEY_Tab, GetFocusAnnot(), GetFormFillEnv(), CPWL_Wnd::IsALTKeyDown(), CPWL_Wnd::IsCTRLKeyDown(), CPDFSDK_Annot::OnKeyDown(), and CPDFSDK_FormFillEnvironment::SetFocusAnnot().
bool CPDFSDK_PageView::OnLButtonDblClk | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point ) |
Definition at line 368 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnLButtonDblClk().
bool CPDFSDK_PageView::OnLButtonDown | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point ) |
Definition at line 338 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnLButtonDown().
bool CPDFSDK_PageView::OnLButtonUp | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point ) |
Definition at line 356 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnLButtonUp().
bool CPDFSDK_PageView::OnMouseMove | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point ) |
Definition at line 418 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnMouseMove().
bool CPDFSDK_PageView::OnMouseWheel | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point, | ||
const CFX_Vector & | delta ) |
Definition at line 471 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnMouseWheel().
bool CPDFSDK_PageView::OnRButtonDown | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point ) |
Definition at line 386 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnRButtonDown().
bool CPDFSDK_PageView::OnRButtonUp | ( | Mask< FWL_EVENTFLAG > | nFlags, |
const CFX_PointF & | point ) |
Definition at line 402 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::OnRButtonUp().
void CPDFSDK_PageView::PageView_OnDraw | ( | CFX_RenderDevice * | pDevice, |
const CFX_Matrix & | mtUser2Device, | ||
CPDF_RenderOptions * | pOptions, | ||
const FX_RECT & | pClip ) |
Definition at line 71 of file cpdfsdk_pageview.cpp.
References CPDFSDK_AnnotIteration::CreateForDrawing(), and CFX_Matrix::operator=().
bool CPDFSDK_PageView::Redo | ( | ) |
Definition at line 321 of file cpdfsdk_pageview.cpp.
References GetFocusAnnot(), and CPDFSDK_Annot::Redo().
Referenced by FORM_Redo().
void CPDFSDK_PageView::ReplaceAndKeepSelection | ( | const WideString & | text | ) |
Definition at line 289 of file cpdfsdk_pageview.cpp.
References GetFocusAnnot(), and CPDFSDK_Annot::ReplaceAndKeepSelection().
Referenced by FORM_ReplaceAndKeepSelection().
void CPDFSDK_PageView::ReplaceSelection | ( | const WideString & | text | ) |
Definition at line 295 of file cpdfsdk_pageview.cpp.
References GetFocusAnnot(), and CPDFSDK_Annot::ReplaceSelection().
Referenced by FORM_ReplaceSelection().
bool CPDFSDK_PageView::SelectAllText | ( | ) |
Definition at line 301 of file cpdfsdk_pageview.cpp.
References GetFocusAnnot(), and CPDFSDK_Annot::SelectAllText().
Referenced by FORM_SelectAllText().
|
inline |
Definition at line 103 of file cpdfsdk_pageview.h.
Referenced by CPDFSDK_FormFillEnvironment::RemovePageView().
bool CPDFSDK_PageView::SetIndexSelected | ( | int | index, |
bool | selected ) |
Definition at line 481 of file cpdfsdk_pageview.cpp.
References GetFocusAnnot(), and CPDFSDK_Annot::SetIndexSelected().
Referenced by FORM_SetIndexSelected().
|
inline |
Definition at line 100 of file cpdfsdk_pageview.h.
Referenced by FORM_OnAfterLoadPage(), and FORM_OnBeforeClosePage().
bool CPDFSDK_PageView::Undo | ( | ) |
Definition at line 316 of file cpdfsdk_pageview.cpp.
References GetFocusAnnot(), and CPDFSDK_Annot::Undo().
Referenced by FORM_Undo().
void CPDFSDK_PageView::UpdateRects | ( | const std::vector< CFX_FloatRect > & | rects | ) |
Definition at line 579 of file cpdfsdk_pageview.cpp.
void CPDFSDK_PageView::UpdateView | ( | CPDFSDK_Annot * | pAnnot | ) |
Definition at line 584 of file cpdfsdk_pageview.cpp.
References CPDFSDK_Annot::GetRect().