145 auto it = std::find(std::begin(m_PageObjectList), std::end(m_PageObjectList),
146 fxcrt::MakeFakeUniquePtr(pPageObj));
147 if (it == std::end(m_PageObjectList))
150 std::unique_ptr<CPDF_PageObject> result = std::move(*it);
151 m_PageObjectList.erase(it);
154 if (content_stream >= 0)
155 m_DirtyStreams.insert(content_stream);
absl::optional< ByteString > GraphicsMapSearch(const GraphicsData &gd)
void StartParse(std::unique_ptr< CPDF_ContentParser > pParser)
virtual bool IsPage() const
virtual ~CPDF_PageObjectHolder()
void GraphicsMapInsert(const GraphicsData &gd, const ByteString &str)
void AddImageMaskBoundingBox(const CFX_FloatRect &box)
void LoadTransparencyInfo()
void AppendPageObject(std::unique_ptr< CPDF_PageObject > pPageObj)
void FontsMapInsert(const FontData &fd, const ByteString &str)
absl::optional< ByteString > FontsMapSearch(const FontData &fd)
bool ErasePageObjectAtIndex(size_t index)
CPDF_PageObjectHolder(CPDF_Document *pDoc, RetainPtr< CPDF_Dictionary > pDict, RetainPtr< CPDF_Dictionary > pPageResources, RetainPtr< CPDF_Dictionary > pResources)
void ContinueParse(PauseIndicatorIface *pPause)
CPDF_PageObject * GetPageObjectByIndex(size_t index) const
std::unique_ptr< CPDF_PageObject > RemovePageObject(CPDF_PageObject *pPageObj)
CPDF_Transparency m_Transparency
std::set< int32_t > TakeDirtyStreams()
int32_t GetContentStream() const