Lines Matching refs:GetAnnotDict
37 CPDF_Dictionary* CPDFSDK_BAAnnot::GetAnnotDict() const { in GetAnnotDict() function in CPDFSDK_BAAnnot
38 return m_pAnnot->GetAnnotDict(); in GetAnnotDict()
42 CPDF_Dictionary* pAPDict = m_pAnnot->GetAnnotDict()->GetDictFor("AP"); in GetAPDict()
44 pAPDict = m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Dictionary>("AP"); in GetAPDict()
52 m_pAnnot->GetAnnotDict()->SetRectFor("Rect", rect); in SetRect()
72 return !!m_pAnnot->GetAnnotDict()->GetDictFor("AP"); in IsAppearanceValid()
76 CPDF_Dictionary* pAP = m_pAnnot->GetAnnotDict()->GetDictFor("AP"); in IsAppearanceValid()
106 m_pAnnot->GetAnnotDict()->RemoveFor("Contents"); in SetContents()
108 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_String>( in SetContents()
114 return m_pAnnot->GetAnnotDict()->GetUnicodeTextFor("Contents"); in GetContents()
119 m_pAnnot->GetAnnotDict()->RemoveFor("NM"); in SetAnnotName()
121 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_String>( in SetAnnotName()
127 return m_pAnnot->GetAnnotDict()->GetUnicodeTextFor("NM"); in GetAnnotName()
134 m_pAnnot->GetAnnotDict()->RemoveFor("M"); in SetModifiedDate()
136 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_String>("M", str, false); in SetModifiedDate()
141 ByteString str = m_pAnnot->GetAnnotDict()->GetStringFor("M"); in GetModifiedDate()
148 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Number>("F", in SetFlags()
153 return m_pAnnot->GetAnnotDict()->GetIntegerFor("F"); in GetFlags()
158 m_pAnnot->GetAnnotDict()->RemoveFor("AS"); in SetAppState()
160 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_String>("AS", str, false); in SetAppState()
164 return m_pAnnot->GetAnnotDict()->GetStringFor("AS"); in GetAppState()
168 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Number>("StructParent", key); in SetStructParent()
172 return m_pAnnot->GetAnnotDict()->GetIntegerFor("StructParent"); in GetStructParent()
177 CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border"); in SetBorderWidth()
181 CPDF_Dictionary* pBSDict = m_pAnnot->GetAnnotDict()->GetDictFor("BS"); in SetBorderWidth()
183 pBSDict = m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Dictionary>("BS"); in SetBorderWidth()
190 if (CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border")) in GetBorderWidth()
193 if (CPDF_Dictionary* pBSDict = m_pAnnot->GetAnnotDict()->GetDictFor("BS")) in GetBorderWidth()
200 CPDF_Dictionary* pBSDict = m_pAnnot->GetAnnotDict()->GetDictFor("BS"); in SetBorderStyle()
202 pBSDict = m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Dictionary>("BS"); in SetBorderStyle()
226 CPDF_Dictionary* pBSDict = m_pAnnot->GetAnnotDict()->GetDictFor("BS"); in GetBorderStyle()
241 CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border"); in GetBorderStyle()
254 CPDF_Array* pArray = m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Array>("C"); in SetColor()
264 m_pAnnot->GetAnnotDict()->RemoveFor("C"); in RemoveColor()
268 if (CPDF_Array* pEntry = m_pAnnot->GetAnnotDict()->GetArrayFor("C")) { in GetColor()
310 return CPDF_Action(m_pAnnot->GetAnnotDict()->GetDictFor("A")); in GetAction()
315 if (pDict != m_pAnnot->GetAnnotDict()->GetDictFor("A")) { in SetAction()
319 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Reference>("A", pDoc, in SetAction()
325 m_pAnnot->GetAnnotDict()->RemoveFor("A"); in RemoveAction()
329 return CPDF_AAction(m_pAnnot->GetAnnotDict()->GetDictFor("AA")); in GetAAction()
333 if (aa.GetDict() != m_pAnnot->GetAnnotDict()->GetDictFor("AA")) in SetAAction()
334 m_pAnnot->GetAnnotDict()->SetFor("AA", pdfium::WrapUnique(aa.GetDict())); in SetAAction()
338 m_pAnnot->GetAnnotDict()->RemoveFor("AA"); in RemoveAAction()