Home
last modified time | relevance | path

Searched refs:pAnnotDict (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdfannot.cpp146 CPDF_AnnotContext(CPDF_Dictionary* pAnnotDict, in CPDF_AnnotContext() argument
149 : m_pAnnotDict(pAnnotDict), m_pPage(pPage) { in CPDF_AnnotContext()
183 bool HasAPStream(const CPDF_Dictionary* pAnnotDict) { in HasAPStream() argument
184 return !!FPDFDOC_GetAnnotAP(pAnnotDict, CPDF_Annot::AppearanceMode::Normal); in HasAPStream()
303 CPDF_Dictionary* pAnnotDict = in FPDFAnnot_GetSubtype() local
305 if (!pAnnotDict) in FPDFAnnot_GetSubtype()
309 CPDF_Annot::StringToAnnotSubtype(pAnnotDict->GetStringFor("Subtype"))); in FPDFAnnot_GetSubtype()
359 CPDF_Dictionary* pAnnotDict = pAnnot->GetAnnotDict(); in FPDFAnnot_AppendObject() local
361 if (!pAnnotDict || !pPage) in FPDFAnnot_AppendObject()
372 CPVT_GenerateAP::GenerateEmptyAP(pPage->m_pDocument.Get(), pAnnotDict); in FPDFAnnot_AppendObject()
[all …]
Dfpdf_ext.cpp54 const CPDF_Dictionary* pAnnotDict = pPDFAnnot->GetAnnotDict(); in CheckUnSupportAnnot() local
56 if (pAnnotDict->KeyExist("IT")) in CheckUnSupportAnnot()
57 cbString = pAnnotDict->GetStringFor("IT"); in CheckUnSupportAnnot()
69 const CPDF_Dictionary* pAnnotDict = pPDFAnnot->GetAnnotDict(); in CheckUnSupportAnnot() local
71 if (pAnnotDict->KeyExist("FT")) in CheckUnSupportAnnot()
72 cbString = pAnnotDict->GetStringFor("FT"); in CheckUnSupportAnnot()
Dfpdfdoc.cpp348 CPDF_Dictionary* pAnnotDict = in FPDFLink_GetAnnotRect() local
350 FSRECTFFromCFXFloatRect(pAnnotDict->GetRectFor("Rect"), rect); in FPDFLink_GetAnnotRect()
357 CPDF_Dictionary* pAnnotDict = in FPDFLink_CountQuadPoints() local
359 CPDF_Array* pArray = pAnnotDict->GetArrayFor("QuadPoints"); in FPDFLink_CountQuadPoints()
371 CPDF_Dictionary* pAnnotDict = in FPDFLink_GetQuadPoints() local
373 CPDF_Array* pArray = pAnnotDict->GetArrayFor("QuadPoints"); in FPDFLink_GetQuadPoints()
Dfpdfeditpage.cpp310 CPDF_Dictionary* pAnnotDict = pAnnot->GetAnnotDict(); in FPDFPage_TransformAnnots() local
311 CPDF_Array* pRectArray = pAnnotDict->GetArrayFor("Rect"); in FPDFPage_TransformAnnots()
315 pRectArray = pAnnotDict->SetNewFor<CPDF_Array>("Rect"); in FPDFPage_TransformAnnots()
Dcpdfsdk_widget.h125 const CPDF_Dictionary* pAnnotDict);
Dcpdfsdk_interform.cpp173 CPDF_Dictionary* pAnnotDict) const { in GetPageIndexByAnnotDict()
174 ASSERT(pAnnotDict); in GetPageIndexByAnnotDict()
181 if (pAnnotDict == pDict) in GetPageIndexByAnnotDict()
Dcpdfsdk_interform.h120 CPDF_Dictionary* pAnnotDict) const;
Dcpdfsdk_widget.cpp547 const CPDF_Dictionary* pAnnotDict) { in GetFormControl() argument
548 ASSERT(pAnnotDict); in GetFormControl()
549 return pInterForm->GetControlByDict(pAnnotDict); in GetFormControl()
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp312 float GetBorderWidth(const CPDF_Dictionary& pAnnotDict) { in GetBorderWidth() argument
313 if (CPDF_Dictionary* pBorderStyleDict = pAnnotDict.GetDictFor("BS")) { in GetBorderWidth()
318 if (CPDF_Array* pBorderArray = pAnnotDict.GetArrayFor("Border")) { in GetBorderWidth()
326 CPDF_Array* GetDashArray(const CPDF_Dictionary& pAnnotDict) { in GetDashArray() argument
327 if (CPDF_Dictionary* pBorderStyleDict = pAnnotDict.GetDictFor("BS")) { in GetDashArray()
332 if (CPDF_Array* pBorderArray = pAnnotDict.GetArrayFor("Border")) { in GetDashArray()
340 ByteString GetDashPatternString(const CPDF_Dictionary& pAnnotDict) { in GetDashPatternString() argument
341 CPDF_Array* pDashArray = GetDashArray(pAnnotDict); in GetDashPatternString()
358 const CPDF_Dictionary& pAnnotDict, in GetPopupContentsString() argument
361 WideString swValue(pAnnotDict.GetUnicodeTextFor("T")); in GetPopupContentsString()
[all …]
Dcpdf_annotlist.cpp43 auto pAnnotDict = in CreatePopupAnnot() local
45 pAnnotDict->SetNewFor<CPDF_Name>("Type", "Annot"); in CreatePopupAnnot()
46 pAnnotDict->SetNewFor<CPDF_Name>("Subtype", "Popup"); in CreatePopupAnnot()
47 pAnnotDict->SetNewFor<CPDF_String>("T", pParentDict->GetStringFor("T"), in CreatePopupAnnot()
49 pAnnotDict->SetNewFor<CPDF_String>("Contents", sContents.UTF8Encode(), false); in CreatePopupAnnot()
69 pAnnotDict->SetRectFor("Rect", popupRect); in CreatePopupAnnot()
70 pAnnotDict->SetNewFor<CPDF_Number>("F", 0); in CreatePopupAnnot()
73 pdfium::MakeUnique<CPDF_Annot>(std::move(pAnnotDict), pDocument); in CreatePopupAnnot()
78 void GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict) { in GenerateAP() argument
79 if (!pAnnotDict || pAnnotDict->GetStringFor("Subtype") != "Widget") in GenerateAP()
[all …]
Dcpdf_annot.cpp36 bool ShouldGenerateAPForAnnotation(CPDF_Dictionary* pAnnotDict) { in ShouldGenerateAPForAnnotation() argument
39 CPDF_Dictionary* pAP = pAnnotDict->GetDictFor("AP"); in ShouldGenerateAPForAnnotation()
43 return !CPDF_Annot::IsAnnotationHidden(pAnnotDict); in ShouldGenerateAPForAnnotation()
63 CPDF_Stream* FPDFDOC_GetAnnotAPInternal(const CPDF_Dictionary* pAnnotDict, in FPDFDOC_GetAnnotAPInternal() argument
66 CPDF_Dictionary* pAP = pAnnotDict->GetDictFor("AP"); in FPDFDOC_GetAnnotAPInternal()
88 ByteString as = pAnnotDict->GetStringFor("AS"); in FPDFDOC_GetAnnotAPInternal()
90 ByteString value = pAnnotDict->GetStringFor("V"); in FPDFDOC_GetAnnotAPInternal()
92 CPDF_Dictionary* pParentDict = pAnnotDict->GetDictFor("Parent"); in FPDFDOC_GetAnnotAPInternal()
179 CPDF_Stream* FPDFDOC_GetAnnotAP(const CPDF_Dictionary* pAnnotDict, in FPDFDOC_GetAnnotAP() argument
181 return FPDFDOC_GetAnnotAPInternal(pAnnotDict, eMode, true); in FPDFDOC_GetAnnotAP()
[all …]
Dcpvt_generateap.h29 CPDF_Dictionary* pAnnotDict);
30 static void GenerateEmptyAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
34 CPDF_Dictionary* pAnnotDict);
Dcpdf_annot.h66 static bool IsAnnotationHidden(CPDF_Dictionary* pAnnotDict);
69 static CFX_FloatRect RectFromQuadPoints(CPDF_Dictionary* pAnnotDict);
124 CPDF_Stream* FPDFDOC_GetAnnotAP(const CPDF_Dictionary* pAnnotDict,
129 CPDF_Stream* FPDFDOC_GetAnnotAPNoFallback(const CPDF_Dictionary* pAnnotDict,