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.cpp146 m_pParser(pDoc->GetParser()), in CPDF_Creator()
147 m_pEncryptDict(m_pParser ? m_pParser->GetEncryptDict() : nullptr), in CPDF_Creator()
148 m_pSecurityHandler(m_pParser ? m_pParser->GetSecurityHandler() : nullptr), in CPDF_Creator()
169 if (m_pParser->IsObjectFreeOrNull(objnum)) in WriteOldIndirectObject()
188 uint32_t nLastObjNum = m_pParser->GetLastObjNum(); in WriteOldObjs()
189 if (!m_pParser->IsValidObjectNumber(nLastObjNum)) in WriteOldObjs()
220 if (m_pParser && m_pParser->IsValidObjectNumber(objnum) && in InitNewObjNumOffsets()
221 !m_pParser->IsObjectFree(objnum)) { in InitNewObjNumOffsets()
233 if (!m_pParser || (m_bSecurityChanged && m_IsOriginal)) in WriteDoc_Stage1()
248 else if (m_pParser) in WriteDoc_Stage1()
[all …]
Dcpdf_creator.h76 UnownedPtr<const CPDF_Parser> const m_pParser; variable
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp75 return m_pParser ? m_pParser->ParseIndirectObject(objnum) : nullptr; in ParseIndirectObject()
79 SetLastObjNum(m_pParser->GetLastObjNum()); in TryInit()
81 CPDF_Object* pRootObj = GetOrParseIndirectObject(m_pParser->GetRootObjNum()); in TryInit()
92 if (!m_pParser) in LoadDoc()
95 return HandleLoadResult(m_pParser->StartParse(pFileAccess, password)); in LoadDoc()
101 if (!m_pParser) in LoadLinearizedDoc()
104 return HandleLoadResult(m_pParser->StartLinearizedParse(validator, password)); in LoadLinearizedDoc()
109 m_pParser->GetLinearizedHeader(); in LoadPages()
193 ASSERT(!m_pParser); in SetParser()
194 m_pParser = std::move(pParser); in SetParser()
[all …]
Dcpdf_document.h99 CPDF_Parser* GetParser() const { return m_pParser.get(); } in GetParser()
176 std::unique_ptr<CPDF_Parser> m_pParser; variable
/external/pdfium/core/fpdfapi/page/
Dcpdf_contentparser.cpp83 m_pParser = pdfium::MakeUnique<CPDF_StreamContentParser>( in CPDF_ContentParser()
87 m_pParser->GetCurStates()->m_CTM = form_matrix; in CPDF_ContentParser()
88 m_pParser->GetCurStates()->m_ParentMatrix = form_matrix; in CPDF_ContentParser()
90 m_pParser->GetCurStates()->m_ClipPath.AppendPath(ClipPath, FXFILL_WINDING, in CPDF_ContentParser()
94 CPDF_GeneralState* pState = &m_pParser->GetCurStates()->m_GeneralState; in CPDF_ContentParser()
185 if (!m_pParser) { in Parse()
187 m_pParser = pdfium::MakeUnique<CPDF_StreamContentParser>( in Parse()
192 m_pParser->GetCurStates()->m_ColorState.SetDefault(); in Parse()
201 m_CurrentOffset += m_pParser->Parse(m_pData.Get(), m_Size, m_CurrentOffset, in Parse()
208 m_pType3Char->InitializeFromStreamData(m_pParser->IsColored(), in CheckClip()
[all …]
Dcpdf_pageobjectholder.cpp55 m_pParser = std::move(pParser); in StartParse()
64 if (m_pParser->Continue(pPause)) in ContinueParse()
69 if (m_pParser->GetCurStates()) in ContinueParse()
70 m_LastCTM = m_pParser->GetCurStates()->m_CTM; in ContinueParse()
72 m_pParser.reset(); in ContinueParse()
Dcpdf_contentparser.h40 return m_pParser ? m_pParser->GetCurStates() : nullptr; in GetCurStates()
79 std::unique_ptr<CPDF_StreamContentParser> m_pParser; variable
Dcpdf_pageobjectholder.h116 std::unique_ptr<CPDF_ContentParser> m_pParser; variable