Home
last modified time | relevance | path

Searched refs:m_pParser (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.cpp126 m_pParser(pDoc->GetParser()), in CPDF_Creator()
127 m_pEncryptDict(m_pParser ? m_pParser->GetEncryptDict() : nullptr), in CPDF_Creator()
128 m_pSecurityHandler(m_pParser ? m_pParser->GetSecurityHandler() : nullptr), in CPDF_Creator()
149 if (m_pParser->IsObjectFreeOrNull(objnum)) in WriteOldIndirectObject()
168 const uint32_t nLastObjNum = m_pParser->GetLastObjNum(); in WriteOldObjs()
169 if (!m_pParser->IsValidObjectNumber(nLastObjNum)) { in WriteOldObjs()
217 if (m_pParser && m_pParser->IsValidObjectNumber(objnum) && in InitNewObjNumOffsets()
218 !m_pParser->IsObjectFree(objnum)) { in InitNewObjNumOffsets()
230 if (!m_pParser || (m_bSecurityChanged && m_IsOriginal)) in WriteDoc_Stage1()
243 else if (m_pParser) in WriteDoc_Stage1()
[all …]
Dcpdf_creator.h76 UnownedPtr<CPDF_Parser> const m_pParser; variable
/external/pdfium/core/fpdfapi/page/
Dcpdf_contentparser.cpp93 m_pParser = std::make_unique<CPDF_StreamContentParser>( in CPDF_ContentParser()
99 m_pParser->GetCurStates()->m_CTM = form_matrix; in CPDF_ContentParser()
100 m_pParser->GetCurStates()->m_ParentMatrix = form_matrix; in CPDF_ContentParser()
102 m_pParser->GetCurStates()->m_ClipPath.AppendPathWithAutoMerge( in CPDF_ContentParser()
106 CPDF_GeneralState* pState = &m_pParser->GetCurStates()->m_GeneralState; in CPDF_ContentParser()
199 if (!m_pParser) { in Parse()
201 m_pParser = std::make_unique<CPDF_StreamContentParser>( in Parse()
206 m_pParser->GetCurStates()->m_ColorState.SetDefault(); in Parse()
215 m_CurrentOffset += m_pParser->Parse(GetData(), m_CurrentOffset, in Parse()
222 m_pType3Char->InitializeFromStreamData(m_pParser->IsColored(), in CheckClip()
[all …]
Dcpdf_pageobjectholder.cpp58 m_pParser = std::move(pParser); in StartParse()
67 if (m_pParser->Continue(pPause)) in ContinueParse()
72 if (m_pParser->GetCurStates()) in ContinueParse()
73 m_LastCTM = m_pParser->GetCurStates()->m_CTM; in ContinueParse()
75 m_pParser.reset(); in ContinueParse()
Dcpdf_contentparser.h43 return m_pParser ? m_pParser->GetCurStates() : nullptr; in GetCurStates()
86 std::unique_ptr<CPDF_StreamContentParser> m_pParser; variable
Dcpdf_pageobjectholder.h138 std::unique_ptr<CPDF_ContentParser> m_pParser; variable
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp150 return m_pParser ? m_pParser->ParseIndirectObject(objnum) : nullptr; in ParseIndirectObject()
154 SetLastObjNum(m_pParser->GetLastObjNum()); in TryInit()
157 GetOrParseIndirectObject(m_pParser->GetRootObjNum()); in TryInit()
168 if (!m_pParser) in LoadDoc()
172 m_pParser->StartParse(std::move(pFileAccess), password)); in LoadDoc()
178 if (!m_pParser) in LoadLinearizedDoc()
182 m_pParser->StartLinearizedParse(std::move(validator), password)); in LoadLinearizedDoc()
187 m_pParser->GetLinearizedHeader(); in LoadPages()
279 DCHECK(!m_pParser); in SetParser()
280 m_pParser = std::move(pParser); in SetParser()
[all …]
Dcpdf_document.h96 CPDF_Parser* GetParser() const { return m_pParser.get(); } in GetParser()
192 std::unique_ptr<CPDF_Parser> m_pParser; variable