Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdfxfa_page.h>
Public Member Functions | |
CPDF_Page * | AsPDFPage () override |
CPDFXFA_Page * | AsXFAPage () override |
CPDF_Document * | GetDocument () const override |
float | GetPageWidth () const override |
float | GetPageHeight () const override |
CFX_Matrix | GetDisplayMatrix (const FX_RECT &rect, int iRotate) const override |
absl::optional< CFX_PointF > | DeviceToPage (const FX_RECT &rect, int rotate, const CFX_PointF &device_point) const override |
absl::optional< CFX_PointF > | PageToDevice (const FX_RECT &rect, int rotate, const CFX_PointF &page_point) const override |
bool | LoadPage () |
void | LoadPDFPageFromDict (RetainPtr< CPDF_Dictionary > pPageDict) |
int | GetPageIndex () const |
void | SetXFAPageViewIndex (int index) |
CXFA_FFPageView * | GetXFAPageView () const |
CPDFSDK_Annot * | GetNextXFAAnnot (CPDFSDK_Annot *pSDKAnnot) const |
CPDFSDK_Annot * | GetPrevXFAAnnot (CPDFSDK_Annot *pSDKAnnot) const |
CPDFSDK_Annot * | GetFirstXFAAnnot (CPDFSDK_PageView *page_view) const |
CPDFSDK_Annot * | GetLastXFAAnnot (CPDFSDK_PageView *page_view) const |
int | HasFormFieldAtPoint (const CFX_PointF &point) const |
void | DrawFocusAnnot (CFX_RenderDevice *pDevice, CPDFSDK_Annot *pAnnot, const CFX_Matrix &mtUser2Device, const FX_RECT &rtClip) |
Public Member Functions inherited from IPDF_Page | |
Public Member Functions inherited from fxcrt::Retainable | |
Retainable ()=default | |
bool | HasOneRef () const |
Public Attributes | |
CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
~CPDFXFA_Page () override | |
Additional Inherited Members | |
Protected Member Functions inherited from fxcrt::Retainable | |
virtual | ~Retainable ()=default |
Definition at line 24 of file cpdfxfa_page.h.
|
overrideprivatedefault |
|
overridevirtual |
Implements IPDF_Page.
Definition at line 81 of file cpdfxfa_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 85 of file cpdfxfa_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 175 of file cpdfxfa_page.cpp.
References GetDisplayMatrix(), CFX_Matrix::GetInverse(), GetXFAPageView(), and CFX_Matrix::Transform().
void CPDFXFA_Page::DrawFocusAnnot | ( | CFX_RenderDevice * | pDevice, |
CPDFSDK_Annot * | pAnnot, | ||
const CFX_Matrix & | mtUser2Device, | ||
const FX_RECT & | rtClip ) |
Definition at line 291 of file cpdfxfa_page.cpp.
References CFGAS_GEGraphics::CFGAS_GEGraphics(), CFX_RectF::CFX_RectF(), CXFA_FFWidget::GetBBox(), CXFA_FFPageView::GetDocView(), CXFA_FFDocView::GetWidgetHandler(), CPDFXFA_Widget::GetXFAFFWidget(), GetXFAPageView(), CFX_RectF::height, CFX_RectF::IntersectWith(), CXFA_FFWidget::kDoNotDrawFocus, CXFA_FFWidget::kHighlight, kViewable, kVisible, CXFA_FFPageWidgetIterator::MoveToNext(), CXFA_FFWidget::RenderWidget(), CXFA_FFWidgetHandler::RenderWidget(), CFGAS_GEGraphics::SetClipRect(), ToXFAWidget(), and CFX_RectF::width.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 199 of file cpdfxfa_page.cpp.
References CFX_Matrix::CFX_Matrix(), CXFA_FFPageView::GetDisplayMatrix(), GetXFAPageView(), and kXFAFull.
Referenced by DeviceToPage(), and PageToDevice().
|
overridevirtual |
Implements IPDF_Page.
Definition at line 89 of file cpdfxfa_page.cpp.
CPDFSDK_Annot * CPDFXFA_Page::GetFirstXFAAnnot | ( | CPDFSDK_PageView * | page_view | ) | const |
Definition at line 242 of file cpdfxfa_page.cpp.
References GetXFAPageView(), and CXFA_FFWidget::IteratorIface::MoveToFirst().
CPDFSDK_Annot * CPDFXFA_Page::GetLastXFAAnnot | ( | CPDFSDK_PageView * | page_view | ) | const |
Definition at line 252 of file cpdfxfa_page.cpp.
References GetXFAPageView(), and CXFA_FFWidget::IteratorIface::MoveToLast().
CPDFSDK_Annot * CPDFXFA_Page::GetNextXFAAnnot | ( | CPDFSDK_Annot * | pSDKAnnot | ) | const |
Definition at line 222 of file cpdfxfa_page.cpp.
References CPDFSDK_Annot::GetPageView(), GetXFAPageView(), and CXFA_FFWidget::IteratorIface::MoveToNext().
|
overridevirtual |
Implements IPDF_Page.
Definition at line 153 of file cpdfxfa_page.cpp.
References CXFA_FFPageView::GetPageViewRect(), GetXFAPageView(), CFX_RectF::height, and kXFAFull.
|
inline |
Definition at line 46 of file cpdfxfa_page.h.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 131 of file cpdfxfa_page.cpp.
References CXFA_FFPageView::GetPageViewRect(), GetXFAPageView(), kXFAFull, and CFX_RectF::width.
CPDFSDK_Annot * CPDFXFA_Page::GetPrevXFAAnnot | ( | CPDFSDK_Annot * | pSDKAnnot | ) | const |
Definition at line 232 of file cpdfxfa_page.cpp.
References CPDFSDK_Annot::GetPageView(), GetXFAPageView(), and CXFA_FFWidget::IteratorIface::MoveToPrevious().
CXFA_FFPageView * CPDFXFA_Page::GetXFAPageView | ( | ) | const |
Definition at line 105 of file cpdfxfa_page.cpp.
References CXFA_FFDocView::GetPageView().
Referenced by DeviceToPage(), DrawFocusAnnot(), GetDisplayMatrix(), GetFirstXFAAnnot(), GetLastXFAAnnot(), GetNextXFAAnnot(), GetPageHeight(), GetPageWidth(), GetPrevXFAAnnot(), HasFormFieldAtPoint(), LoadPage(), and PageToDevice().
int CPDFXFA_Page::HasFormFieldAtPoint | ( | const CFX_PointF & | point | ) | const |
Definition at line 262 of file cpdfxfa_page.cpp.
References CFX_FloatRect::Contains(), CXFA_FFPageView::GetDocView(), CXFA_FFWidget::GetFormFieldType(), CXFA_FFDocView::GetWidgetHandler(), CXFA_FFWidget::GetWidgetRect(), GetXFAPageView(), CFX_FloatRect::Inflate(), kViewable, CXFA_FFPageWidgetIterator::MoveToNext(), and CFX_RectF::ToFloatRect().
bool CPDFXFA_Page::LoadPage | ( | ) |
Definition at line 111 of file cpdfxfa_page.cpp.
References GetXFAPageView(), kAcroForm, kNone, kXFAForeground, and kXFAFull.
void CPDFXFA_Page::LoadPDFPageFromDict | ( | RetainPtr< CPDF_Dictionary > | pPageDict | ) |
Definition at line 123 of file cpdfxfa_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 187 of file cpdfxfa_page.cpp.
References GetDisplayMatrix(), GetXFAPageView(), and CFX_Matrix::Transform().
|
inline |
Definition at line 47 of file cpdfxfa_page.h.
CPDFXFA_Page::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 26 of file cpdfxfa_page.h.