Home | History | Annotate | Download | only in fpdfdoc

Lines Matching refs:pAnnotDict

11 FX_BOOL FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict)

13 if (pAnnotDict->GetConstString("Subtype") != FX_BSTRC("Widget")) {
16 CFX_ByteString field_type = FPDF_GetFieldAttr(pAnnotDict, "FT")->GetString();
17 FX_DWORD flags = FPDF_GetFieldAttr(pAnnotDict, "Ff")->GetInteger();
19 return CPVT_GenerateAP::GenerateTextFieldAP(pDoc, pAnnotDict);
22 return CPVT_GenerateAP::GenerateComboBoxAP(pDoc, pAnnotDict);
24 return CPVT_GenerateAP::GenerateListBoxAP(pDoc, pAnnotDict);
28 if (!pAnnotDict->KeyExist("AS")) {
29 if (CPDF_Dictionary* pParentDict = pAnnotDict->GetDict("Parent")) {
31 pAnnotDict->SetAtString("AS", pParentDict->GetString("AS"));
247 static FX_BOOL GenerateWidgetAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict, const FX_INT32 & nWidgetType)
256 CFX_ByteString DA = FPDF_GetFieldAttr(pAnnotDict, "DA")->GetString();
274 CPDF_Dictionary* pDRDict = pAnnotDict->GetDict(FX_BSTRC("DR"));
310 CPDF_Rect rcAnnot = pAnnotDict->GetRect("Rect");
312 if (CPDF_Dictionary * pMKDict = pAnnotDict->GetDict("MK")) {
338 if (CPDF_Dictionary * pBSDict = pAnnotDict->GetDict("BS")) {
370 if (CPDF_Dictionary * pMKDict = pAnnotDict->GetDict("MK")) {
392 CPDF_Dictionary* pAPDict = pAnnotDict->GetDict("AP");
398 pAnnotDict->SetAt("AP", pAPDict);
407 pAnnotDict->GetDict("AP")->SetAtReference("N", pDoc, objnum);
433 CFX_WideString swValue = FPDF_GetFieldAttr(pAnnotDict, "V")->GetUnicodeText();
434 pAnnotDict, "Q")->GetInteger();
435 FX_DWORD dwFlags = FPDF_GetFieldAttr(pAnnotDict, "Ff")->GetInteger();
436 FX_DWORD dwMaxLen = FPDF_GetFieldAttr(pAnnotDict, "MaxLen")->GetInteger();
485 CFX_WideString swValue = FPDF_GetFieldAttr(pAnnotDict, "V")->GetUnicodeText();
539 CPDF_Array * pOpts = FPDF_GetFieldAttr(pAnnotDict, "Opt")->GetArray();
540 CPDF_Array * pSels = FPDF_GetFieldAttr(pAnnotDict, "I")->GetArray();
541 FX_INT32 nTop = FPDF_GetFieldAttr(pAnnotDict, "TI")->GetInteger();
625 FX_BOOL CPVT_GenerateAP::GenerateTextFieldAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict)
627 return GenerateWidgetAP(pDoc, pAnnotDict, 0);
629 FX_BOOL CPVT_GenerateAP::GenerateComboBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict)
631 return GenerateWidgetAP(pDoc, pAnnotDict, 1);
633 FX_BOOL CPVT_GenerateAP::GenerateListBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict)
635 return GenerateWidgetAP(pDoc, pAnnotDict, 2);