![]() |
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_pageobjectholder.h>
Public Types | |
enum class | ParseState : uint8_t { kNotParsed , kParsing , kParsed } |
using | CTMMap = std::map<int32_t, CFX_Matrix> |
using | iterator = std::deque<std::unique_ptr<CPDF_PageObject>>::iterator |
using | const_iterator |
Protected Member Functions | |
void | LoadTransparencyInfo () |
Protected Attributes | |
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 51 of file cpdf_pageobjectholder.h.
Definition at line 60 of file cpdf_pageobjectholder.h.
using CPDF_PageObjectHolder::CTMMap = std::map<int32_t, CFX_Matrix> |
Definition at line 57 of file cpdf_pageobjectholder.h.
using CPDF_PageObjectHolder::iterator = std::deque<std::unique_ptr<CPDF_PageObject>>::iterator |
Definition at line 59 of file cpdf_pageobjectholder.h.
|
strong |
Enumerator | |
---|---|
kNotParsed | |
kParsing | |
kParsed |
Definition at line 53 of file cpdf_pageobjectholder.h.
CPDF_PageObjectHolder::CPDF_PageObjectHolder | ( | CPDF_Document * | pDoc, |
RetainPtr< CPDF_Dictionary > | pDict, | ||
RetainPtr< CPDF_Dictionary > | pPageResources, | ||
RetainPtr< CPDF_Dictionary > | pResources ) |
Definition at line 37 of file cpdf_pageobjectholder.cpp.
References CPDF_PageObjectHolder().
Referenced by CPDF_PageObjectHolder().
|
virtualdefault |
void CPDF_PageObjectHolder::AddImageMaskBoundingBox | ( | const CFX_FloatRect & | box | ) |
Definition at line 77 of file cpdf_pageobjectholder.cpp.
void CPDF_PageObjectHolder::AppendPageObject | ( | std::unique_ptr< CPDF_PageObject > | pPageObj | ) |
Definition at line 166 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 106 of file cpdf_pageobjectholder.h.
Referenced by FPDFPage_HasTransparency().
|
inline |
Definition at line 97 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 98 of file cpdf_pageobjectholder.h.
void CPDF_PageObjectHolder::ContinueParse | ( | PauseIndicatorIface * | pPause | ) |
Definition at line 62 of file cpdf_pageobjectholder.cpp.
References kParsed, and kParsing.
Referenced by CPDF_Page::ParseContent().
|
inline |
Definition at line 100 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 101 of file cpdf_pageobjectholder.h.
bool CPDF_PageObjectHolder::ErasePageObjectAtIndex | ( | size_t | index | ) |
Definition at line 189 of file cpdf_pageobjectholder.cpp.
void CPDF_PageObjectHolder::FontsMapInsert | ( | const FontData & | fd, |
const ByteString & | str ) |
Definition at line 110 of file cpdf_pageobjectholder.cpp.
std::optional< ByteString > CPDF_PageObjectHolder::FontsMapSearch | ( | const FontData & | fd | ) |
Definition at line 101 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 103 of file cpdf_pageobjectholder.h.
References m_BBox.
Referenced by FPDF_GetPageBoundingBox(), and CFFL_FormField::GetFocusBox().
CFX_Matrix CPDF_PageObjectHolder::GetCTMAtBeginningOfStream | ( | int32_t | stream | ) |
Definition at line 115 of file cpdf_pageobjectholder.cpp.
References CFX_Matrix::CFX_Matrix(), GetCTMAtEndOfStream(), and CPDF_PageObject::kNoContentStream.
CFX_Matrix CPDF_PageObjectHolder::GetCTMAtEndOfStream | ( | int32_t | stream | ) |
Definition at line 131 of file cpdf_pageobjectholder.cpp.
References CFX_Matrix::CFX_Matrix().
Referenced by GetCTMAtBeginningOfStream().
|
inline |
Definition at line 76 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 75 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 112 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 77 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 86 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 79 of file cpdf_pageobjectholder.h.
CPDF_PageObject * CPDF_PageObjectHolder::GetPageObjectByIndex | ( | size_t | index | ) | const |
Definition at line 159 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 89 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 83 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 73 of file cpdf_pageobjectholder.h.
Referenced by CPDF_Page::ParseContent().
|
inline |
Definition at line 78 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 105 of file cpdf_pageobjectholder.h.
References m_Transparency.
Referenced by CPDF_RenderTiling::Draw(), and FPDFPageObj_HasTransparency().
void CPDF_PageObjectHolder::GraphicsMapInsert | ( | const GraphicsData & | gd, |
const ByteString & | str ) |
Definition at line 96 of file cpdf_pageobjectholder.cpp.
std::optional< ByteString > CPDF_PageObjectHolder::GraphicsMapSearch | ( | const GraphicsData & | gd | ) |
Definition at line 87 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 116 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 111 of file cpdf_pageobjectholder.h.
|
virtual |
Reimplemented in CPDF_Page.
Definition at line 51 of file cpdf_pageobjectholder.cpp.
|
protected |
Definition at line 145 of file cpdf_pageobjectholder.cpp.
References pdfium::transparency::kGroupSubType, pdfium::transparency::kI, pdfium::transparency::kTransparency, m_Transparency, CPDF_Transparency::SetGroup(), and CPDF_Transparency::SetIsolated().
Referenced by CPDF_Form::CPDF_Form().
std::unique_ptr< CPDF_PageObject > CPDF_PageObjectHolder::RemovePageObject | ( | CPDF_PageObject * | pPageObj | ) |
Definition at line 172 of file cpdf_pageobjectholder.cpp.
References CPDF_PageObject::GetContentStream().
|
inline |
Definition at line 107 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 80 of file cpdf_pageobjectholder.h.
void CPDF_PageObjectHolder::StartParse | ( | std::unique_ptr< CPDF_ContentParser > | pParser | ) |
Definition at line 55 of file cpdf_pageobjectholder.cpp.
References kNotParsed, and kParsing.
std::set< int32_t > CPDF_PageObjectHolder::TakeDirtyStreams | ( | ) |
Definition at line 81 of file cpdf_pageobjectholder.cpp.
|
protected |
Definition at line 138 of file cpdf_pageobjectholder.h.
Referenced by GetBBox(), and CPDF_Page::UpdateDimensions().
|
protected |
Definition at line 137 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 136 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 134 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 135 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 139 of file cpdf_pageobjectholder.h.
Referenced by GetTransparency(), and LoadTransparencyInfo().