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 | 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 56 of file cpdf_pageobjectholder.h.
using CPDF_PageObjectHolder::iterator = std::deque<std::unique_ptr<CPDF_PageObject>>::iterator |
Definition at line 55 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 79 of file cpdf_pageobjectholder.cpp.
void CPDF_PageObjectHolder::AppendPageObject | ( | std::unique_ptr< CPDF_PageObject > | pPageObj | ) |
Definition at line 138 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 103 of file cpdf_pageobjectholder.h.
Referenced by FPDFPage_HasTransparency().
|
inline |
Definition at line 93 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 94 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 96 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 97 of file cpdf_pageobjectholder.h.
bool CPDF_PageObjectHolder::ErasePageObjectAtIndex | ( | size_t | index | ) |
Definition at line 160 of file cpdf_pageobjectholder.cpp.
void CPDF_PageObjectHolder::FontsMapInsert | ( | const FontData & | fd, |
const ByteString & | str ) |
Definition at line 112 of file cpdf_pageobjectholder.cpp.
absl::optional< ByteString > CPDF_PageObjectHolder::FontsMapSearch | ( | const FontData & | fd | ) |
Definition at line 103 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 100 of file cpdf_pageobjectholder.h.
References m_BBox.
Referenced by FPDF_GetPageBoundingBox(), and CFFL_FormField::GetFocusBox().
|
inline |
Definition at line 72 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 71 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 99 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 109 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 73 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 82 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 75 of file cpdf_pageobjectholder.h.
CPDF_PageObject * CPDF_PageObjectHolder::GetPageObjectByIndex | ( | size_t | index | ) | const |
Definition at line 131 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 85 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 79 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 69 of file cpdf_pageobjectholder.h.
Referenced by CPDF_Page::ParseContent().
|
inline |
Definition at line 74 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 102 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 98 of file cpdf_pageobjectholder.cpp.
absl::optional< ByteString > CPDF_PageObjectHolder::GraphicsMapSearch | ( | const GraphicsData & | gd | ) |
Definition at line 89 of file cpdf_pageobjectholder.cpp.
|
inline |
Definition at line 113 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 108 of file cpdf_pageobjectholder.h.
|
virtual |
Reimplemented in CPDF_Page.
Definition at line 51 of file cpdf_pageobjectholder.cpp.
|
protected |
Definition at line 117 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 143 of file cpdf_pageobjectholder.cpp.
References CPDF_PageObject::GetContentStream().
|
inline |
Definition at line 104 of file cpdf_pageobjectholder.h.
|
inline |
Definition at line 76 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 83 of file cpdf_pageobjectholder.cpp.
|
protected |
Definition at line 129 of file cpdf_pageobjectholder.h.
Referenced by GetBBox(), and CPDF_Page::UpdateDimensions().
|
protected |
Definition at line 128 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 127 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 125 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 126 of file cpdf_pageobjectholder.h.
|
protected |
Definition at line 130 of file cpdf_pageobjectholder.h.
Referenced by GetTransparency(), and LoadTransparencyInfo().