Lines Matching refs:CPDF_Dictionary
92 const CPDF_Dictionary* pRootDict = pDocument->GetRoot(); in FindFontSameCharset()
96 CPDF_Dictionary* pAcroFormDict = pRootDict->GetDictFor("AcroForm"); in FindFontSameCharset()
100 CPDF_Dictionary* pDRDict = pAcroFormDict->GetDictFor("DR"); in FindFontSameCharset()
111 CPDF_Font* CBA_FontMap::FindResFontSameCharset(CPDF_Dictionary* pResDict, in FindResFontSameCharset()
117 CPDF_Dictionary* pFonts = pResDict->GetDictFor("Font"); in FindResFontSameCharset()
128 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in FindResFontSameCharset()
157 CPDF_Dictionary* pAPDict = m_pAnnotDict->GetDictFor("AP"); in AddFontToAnnotDict()
159 pAPDict = m_pAnnotDict->SetNewFor<CPDF_Dictionary>("AP"); in AddFontToAnnotDict()
173 CPDF_Dictionary* pStreamDict = pStream->GetDict(); in AddFontToAnnotDict()
176 pdfium::MakeUnique<CPDF_Dictionary>(m_pDocument->GetByteStringPool()); in AddFontToAnnotDict()
181 CPDF_Dictionary* pStreamResList = pStreamDict->GetDictFor("Resources"); in AddFontToAnnotDict()
183 pStreamResList = pStreamDict->SetNewFor<CPDF_Dictionary>("Resources"); in AddFontToAnnotDict()
184 CPDF_Dictionary* pStreamResFontList = pStreamResList->GetDictFor("Font"); in AddFontToAnnotDict()
186 pStreamResFontList = m_pDocument->NewIndirect<CPDF_Dictionary>(); in AddFontToAnnotDict()
197 CPDF_Dictionary* pAcroFormDict = nullptr; in GetAnnotDefaultFont()
200 const CPDF_Dictionary* pRootDict = m_pDocument->GetRoot(); in GetAnnotDefaultFont()
226 CPDF_Dictionary* pFontDict = nullptr; in GetAnnotDefaultFont()
227 if (CPDF_Dictionary* pAPDict = m_pAnnotDict->GetDictFor("AP")) { in GetAnnotDefaultFont()
228 if (CPDF_Dictionary* pNormalDict = pAPDict->GetDictFor("N")) { in GetAnnotDefaultFont()
229 if (CPDF_Dictionary* pNormalResDict = in GetAnnotDefaultFont()
231 if (CPDF_Dictionary* pResFontDict = pNormalResDict->GetDictFor("Font")) in GetAnnotDefaultFont()
237 if (CPDF_Dictionary* pDRDict = pAcroFormDict->GetDictFor("DR")) { in GetAnnotDefaultFont()
238 if (CPDF_Dictionary* pDRFontDict = pDRDict->GetDictFor("Font")) in GetAnnotDefaultFont()