Lines Matching refs:pFieldDict
43 WideString GetFieldValue(const CPDF_Dictionary& pFieldDict,
45 const ByteString csBValue = pFieldDict.GetStringFor("V");
804 CPDF_Dictionary* pFieldDict) const {
805 if (!pFieldDict)
808 WideString csWName = FPDF_GetFullName(pFieldDict);
938 void CPDF_InterForm::LoadField(CPDF_Dictionary* pFieldDict, int nLevel) {
941 if (!pFieldDict)
944 uint32_t dwParentObjNum = pFieldDict->GetObjNum();
945 CPDF_Array* pKids = pFieldDict->GetArrayFor("Kids");
947 AddTerminalField(pFieldDict);
964 AddTerminalField(pFieldDict);
988 void CPDF_InterForm::AddTerminalField(CPDF_Dictionary* pFieldDict) {
989 if (!pFieldDict->KeyExist("FT")) {
991 CPDF_Dictionary* pParentDict = pFieldDict->GetDictFor("Parent");
996 CPDF_Dictionary* pDict = pFieldDict;
997 WideString csWName = FPDF_GetFullName(pFieldDict);
1004 CPDF_Dictionary* pParent = pFieldDict;
1005 if (!pFieldDict->KeyExist("T") &&
1006 pFieldDict->GetStringFor("Subtype") == "Widget") {
1007 pParent = pFieldDict->GetDictFor("Parent");
1009 pParent = pFieldDict;
1012 if (pParent && pParent != pFieldDict && !pParent->KeyExist("FT")) {
1013 if (pFieldDict->KeyExist("FT")) {
1014 CPDF_Object* pFTValue = pFieldDict->GetDirectObjectFor("FT");
1019 if (pFieldDict->KeyExist("Ff")) {
1020 CPDF_Object* pFfValue = pFieldDict->GetDirectObjectFor("Ff");
1040 CPDF_Array* pKids = pFieldDict->GetArrayFor("Kids");
1052 if (pFieldDict->GetStringFor("Subtype") == "Widget")
1053 AddControl(pField, pFieldDict);
1093 const CPDF_Dictionary* pFieldDict = pField->GetDict();
1095 pFieldDict->GetStringFor("V").IsEmpty()) {
1158 auto pFieldDict =
1160 pFieldDict->SetNewFor<CPDF_String>("T", fullname);
1167 pFieldDict->SetNewFor<CPDF_String>("V", csBExport, false);
1169 pFieldDict->SetNewFor<CPDF_Name>("V", csBExport);
1173 pFieldDict->SetFor("V", pV->CloneDirectObject());
1175 pFields->Add(std::move(pFieldDict));
1181 void CPDF_InterForm::FDF_ImportField(CPDF_Dictionary* pFieldDict,
1189 name += pFieldDict->GetUnicodeTextFor("T");
1190 CPDF_Array* pKids = pFieldDict->GetArrayFor("Kids");
1201 if (!pFieldDict->KeyExist("V"))
1208 WideString csWValue = GetFieldValue(*pFieldDict, m_bsEncoding);
1223 pFieldDict->KeyExist("Opt")) {
1224 pField->SetOpt(pFieldDict->GetDirectObjectFor("Opt")->CloneDirectObject());