/external/pdfium/fpdfsdk/ |
D | fpdfannot.cpp | 146 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 …]
|
D | fpdf_ext.cpp | 54 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()
|
D | fpdfdoc.cpp | 348 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()
|
D | fpdfeditpage.cpp | 310 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()
|
D | cpdfsdk_widget.h | 125 const CPDF_Dictionary* pAnnotDict);
|
D | cpdfsdk_interform.cpp | 173 CPDF_Dictionary* pAnnotDict) const { in GetPageIndexByAnnotDict() 174 ASSERT(pAnnotDict); in GetPageIndexByAnnotDict() 181 if (pAnnotDict == pDict) in GetPageIndexByAnnotDict()
|
D | cpdfsdk_interform.h | 120 CPDF_Dictionary* pAnnotDict) const;
|
D | cpdfsdk_widget.cpp | 547 const CPDF_Dictionary* pAnnotDict) { in GetFormControl() argument 548 ASSERT(pAnnotDict); in GetFormControl() 549 return pInterForm->GetControlByDict(pAnnotDict); in GetFormControl()
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_generateap.cpp | 312 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 …]
|
D | cpdf_annotlist.cpp | 43 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 …]
|
D | cpdf_annot.cpp | 36 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 …]
|
D | cpvt_generateap.h | 29 CPDF_Dictionary* pAnnotDict); 30 static void GenerateEmptyAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); 34 CPDF_Dictionary* pAnnotDict);
|
D | cpdf_annot.h | 66 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,
|