Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_page.h>
Classes | |
class | RenderContextClearer |
class | RenderContextIface |
class | View |
Public Attributes | |
CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
~CPDF_Page () override | |
Additional Inherited Members | |
Public Types inherited from CPDF_PageObjectHolder | |
enum class | ParseState : uint8_t { kNotParsed , kParsing , kParsed } |
using | iterator = std::deque<std::unique_ptr<CPDF_PageObject>>::iterator |
using | const_iterator |
Protected Member Functions inherited from fxcrt::Retainable | |
virtual | ~Retainable ()=default |
Protected Member Functions inherited from CPDF_PageObjectHolder | |
void | LoadTransparencyInfo () |
Protected Attributes inherited from CPDF_PageObjectHolder | |
RetainPtr< CPDF_Dictionary > | m_pPageResources |
RetainPtr< CPDF_Dictionary > | m_pResources |
std::map< GraphicsData, ByteString > | m_GraphicsMap |
std::map< FontData, ByteString > | m_FontsMap |
CFX_FloatRect | m_BBox |
CPDF_Transparency | m_Transparency |
Definition at line 28 of file cpdf_page.h.
|
overrideprivatedefault |
void CPDF_Page::AddPageImageCache | ( | ) |
Definition at line 199 of file cpdf_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 43 of file cpdf_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 47 of file cpdf_page.cpp.
void CPDF_Page::ClearRenderContext | ( | ) |
Definition at line 209 of file cpdf_page.cpp.
Referenced by FPDF_RenderPage_Close().
void CPDF_Page::ClearView | ( | ) |
Definition at line 213 of file cpdf_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 107 of file cpdf_page.cpp.
References GetDisplayMatrix(), CFX_Matrix::GetInverse(), and CFX_Matrix::Transform().
RetainPtr< const CPDF_Array > CPDF_Page::GetAnnotsArray | ( | ) | const |
Definition at line 195 of file cpdf_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 123 of file cpdf_page.cpp.
References CFX_Matrix::CFX_Matrix(), FX_RECT::bottom, FX_RECT::left, CFX_Matrix::operator*(), FX_RECT::right, and FX_RECT::top.
Referenced by CPDFSDK_RenderPageWithContext(), DeviceToPage(), FPDF_RenderPageBitmapWithMatrix(), and PageToDevice().
|
overridevirtual |
Implements IPDF_Page.
Definition at line 51 of file cpdf_page.cpp.
Referenced by CPDF_ContentParser::CPDF_ContentParser(), CPDF_Annot::DrawAppearance(), FPDF_StructTree_GetForPage(), FPDFImageObj_GetImageMetadata(), FPDFImageObj_GetRenderedBitmap(), FPDFPage_CreateAnnot(), FPDFPage_Flatten(), FPDFPage_GetThumbnailAsBitmap(), FPDFPage_InsertClipPath(), FPDFPage_TransFormWithClip(), FPDFText_LoadPage(), and FPDFTextObj_GetRenderedBitmap().
RetainPtr< CPDF_Array > CPDF_Page::GetMutableAnnotsArray | ( | ) |
Definition at line 191 of file cpdf_page.cpp.
RetainPtr< CPDF_Array > CPDF_Page::GetOrCreateAnnotsArray | ( | ) |
Definition at line 187 of file cpdf_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 59 of file cpdf_page.cpp.
Referenced by FPDF_RenderPageBitmapWithMatrix(), and CFFL_InteractiveFormFiller::QueryWherePopup().
|
inline |
Definition at line 83 of file cpdf_page.h.
Referenced by CPDF_Annot::DrawAppearance(), and CPDF_Image::ResetCache().
|
inline |
Definition at line 75 of file cpdf_page.h.
int CPDF_Page::GetPageRotation | ( | ) | const |
Definition at line 180 of file cpdf_page.cpp.
Referenced by FPDFPage_GetRotation(), and UpdateDimensions().
|
inline |
Definition at line 74 of file cpdf_page.h.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 55 of file cpdf_page.cpp.
Referenced by FPDF_RenderPageBitmapWithMatrix(), and CFFL_InteractiveFormFiller::QueryWherePopup().
|
inline |
Definition at line 84 of file cpdf_page.h.
Referenced by FPDF_RenderPage_Continue().
|
overridevirtual |
Reimplemented from CPDF_PageObjectHolder.
Definition at line 63 of file cpdf_page.cpp.
|
overridevirtual |
Implements IPDF_Page.
Definition at line 115 of file cpdf_page.cpp.
References GetDisplayMatrix(), and CFX_Matrix::Transform().
void CPDF_Page::ParseContent | ( | ) |
Definition at line 67 of file cpdf_page.cpp.
References CPDF_PageObjectHolder::ContinueParse(), CPDF_PageObjectHolder::GetParseState(), CPDF_PageObjectHolder::kParsed, and CPDF_PageObjectHolder::kParsing.
void CPDF_Page::SetRenderContext | ( | std::unique_ptr< RenderContextIface > | pContext | ) |
Definition at line 203 of file cpdf_page.cpp.
Definition at line 92 of file cpdf_page.h.
Referenced by CPDFSDK_PageView::CPDFSDK_PageView().
void CPDF_Page::UpdateDimensions | ( | ) |
Definition at line 218 of file cpdf_page.cpp.
References CFX_FloatRect::CFX_FloatRect(), CFX_Matrix::CFX_Matrix(), CFX_FloatRect::bottom, GetPageRotation(), CFX_FloatRect::Intersect(), CFX_FloatRect::IsEmpty(), pdfium::page_object::kCropBox, pdfium::page_object::kMediaBox, CFX_FloatRect::left, CPDF_PageObjectHolder::m_BBox, CFX_FloatRect::operator=(), CFX_Matrix::operator=(), CFX_FloatRect::right, and CFX_FloatRect::top.
Referenced by FPDFPage_SetRotation().
CPDF_Page::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 52 of file cpdf_page.h.