Home
last modified time | relevance | path

Searched refs:GetDict (Results 1 – 25 of 79) sorted by relevance

1234

/external/pdfium/fpdfsdk/
Dfpdfdoc.cpp30 if (pdfium::ContainsKey(*visited, bookmark.GetDict())) in FindBookmark()
32 visited->insert(bookmark.GetDict()); in FindBookmark()
34 if (bookmark.GetDict() && in FindBookmark()
42 while (child.GetDict() && !pdfium::ContainsKey(*visited, child.GetDict())) { in FindBookmark()
45 if (found.GetDict()) in FindBookmark()
73 return tree.GetFirstChild(bookmark).GetDict(); in FPDFBookmark_GetFirstChild()
86 return tree.GetNextSibling(bookmark).GetDict(); in FPDFBookmark_GetNextSibling()
109 return FindBookmark(tree, CPDF_Bookmark(), encodedTitle, &visited).GetDict(); in FPDFBookmark_Find()
126 if (!action.GetDict()) in FPDFBookmark_GetDest()
136 return bookmark.GetAction().GetDict(); in FPDFBookmark_GetAction()
[all …]
Dfpdf_structtree.cpp80 return (elem && elem->GetDict()) in FPDF_StructElement_GetAltText()
81 ? WideStringToBuffer(elem->GetDict()->GetUnicodeTextFor("Alt"), in FPDF_StructElement_GetAltText()
90 (elem && elem->GetDict()) ? elem->GetDict()->GetObjectFor("K") : nullptr; in FPDF_StructElement_GetMarkedContentID()
Dcpdfsdk_interform.cpp276 if (!aAction.GetDict() || !aAction.ActionExist(CPDF_AAction::Calculate)) in OnCalculate()
280 if (!action.GetDict()) in OnCalculate()
321 if (aAction.GetDict() && aAction.ActionExist(CPDF_AAction::Format)) { in OnFormat()
323 if (action.GetDict()) { in OnFormat()
374 if (!aAction.GetDict() || !aAction.ActionExist(CPDF_AAction::KeyStroke)) in OnKeyStrokeCommit()
378 if (!action.GetDict()) in OnKeyStrokeCommit()
394 if (!aAction.GetDict() || !aAction.ActionExist(CPDF_AAction::Validate)) in OnValidate()
398 if (!action.GetDict()) in OnValidate()
412 ASSERT(action.GetDict()); in DoAction_Hide()
449 CPDF_Dictionary* pActionDict = action.GetDict(); in DoAction_SubmitForm()
[all …]
Dfsdk_actionhandler.cpp119 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteDocumentOpenAction()
150 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteLinkAction()
191 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteDocumentPageAction()
238 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteFieldAction()
274 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteScreenAction()
313 CPDF_Dictionary* pDict = action.GetDict(); in ExecuteBookMark()
416 ASSERT(action.GetDict()); in DoAction_GoTo()
445 ASSERT(action.GetDict()); in DoAction_URI()
454 ASSERT(action.GetDict()); in DoAction_Named()
Dcpdfsdk_baannot.cpp314 CPDF_Dictionary* pDict = action.GetDict(); in SetAction()
333 if (aa.GetDict() != m_pAnnot->GetAnnotDict()->GetDictFor("AA")) in SetAAction()
334 m_pAnnot->GetAnnotDict()->SetFor("AA", pdfium::WrapUnique(aa.GetDict())); in SetAAction()
/external/pdfium/core/fpdfdoc/
Dcpdf_formcontrol.cpp104 if (ToArray(FPDF_GetFieldAttr(m_pField->GetDict(), "Opt"))) in GetCheckedAPState()
119 ToArray(FPDF_GetFieldAttr(m_pField->GetDict(), "Opt"))) { in GetExportValue()
140 CPDF_Object* pDV = FPDF_GetFieldAttr(m_pField->GetDict(), "DV"); in IsDefaultChecked()
174 CFX_Matrix form_matrix = pStream->GetDict()->GetMatrixFor("Matrix"); in DrawControl()
176 form_matrix.TransformRect(pStream->GetDict()->GetRectFor("BBox")); in DrawControl()
251 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->GetDict(), "A"); in GetAction()
252 return CPDF_Action(pObj ? pObj->GetDict() : nullptr); in GetAction()
271 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->GetDict(), "DA"); in GetDefaultAppearance()
323 CPDF_Object* pObj = FPDF_GetFieldAttr(m_pField->GetDict(), "Q"); in GetControlAlignment()
Dcpdf_actionfields.cpp22 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetFieldsCount()
49 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetAllFields()
79 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetField()
Dcpdf_bookmarktree.cpp17 CPDF_Dictionary* pParentDict = parent.GetDict(); in GetFirstChild()
32 CPDF_Dictionary* pDict = bookmark.GetDict(); in GetNextSibling()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_icon.cpp24 CPDF_Dictionary* pDict = m_pPDFStream->GetDict(); in GetImageSize()
35 if (CPDF_Dictionary* pDict = m_pPDFStream->GetDict()) in GetImageMatrix()
43 if (CPDF_Dictionary* pDict = m_pPDFStream->GetDict()) in GetImageAlias()
53 m_pIconFit->GetDict() ? m_pIconFit->GetDict()->GetArrayFor("A") : nullptr; in GetIconPosition()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_avail_unittest.cpp125 object->GetDict()->GetStringFor("Type") == "Exclude me"; in ExcludeObject()
192 holder.GetTestObject(2)->GetDict()->SetNewFor<CPDF_Reference>("Parent", in TEST()
211 holder.GetTestObject(i)->GetDict()->SetNewFor<CPDF_Reference>( in TEST()
250 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("ArrayRef", in TEST()
269 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("DictRef", in TEST()
274 holder.GetTestObject(2)->GetDict()->SetNewFor<CPDF_Reference>("Type", &holder, in TEST()
281 holder.GetTestObject(2)->GetDict()->SetNewFor<CPDF_Reference>("OtherData", in TEST()
307 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>( in TEST()
332 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("Data", &holder, in TEST()
335 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Dictionary>("Dict"); in TEST()
Dcpdf_object_unittest.cpp150 if (!stream1->GetDict() && !stream2->GetDict()) in Equal()
153 if (!Equal(stream1->GetDict(), stream2->GetDict())) in Equal()
243 TEST_F(PDFObjectsTest, GetDict) { in TEST_F() argument
250 EXPECT_EQ(direct_obj_results[i], m_DirectObjs[i]->GetDict()); in TEST_F()
261 EXPECT_TRUE(Equal(indirect_obj_results[i], m_RefObjs[i]->GetDict())); in TEST_F()
793 stream->GetDict()->GetIntegerFor("Length")); in TEST()
795 stream->GetDict()->SetNewFor<CPDF_String>("Filter", L"SomeFilter"); in TEST()
796 stream->GetDict()->SetNewFor<CPDF_String>("DecodeParms", L"SomeParams"); in TEST()
803 stream->GetDict()->GetIntegerFor("Length")); in TEST()
806 EXPECT_EQ(stream->GetDict()->GetUnicodeTextFor("Filter"), L"SomeFilter"); in TEST()
[all …]
Dcpdf_stream_acc.cpp47 } else if (!PDF_DataDecode(pSrcData, dwSrcSize, m_pStream->GetDict(), in LoadAllData()
67 CPDF_Dictionary* CPDF_StreamAcc::GetDict() const { in GetDict() function in CPDF_StreamAcc
68 return m_pStream ? m_pStream->GetDict() : nullptr; in GetDict()
Dcpdf_page_object_avail_unittest.cpp104 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("Kids", &holder, in TEST()
112 holder.GetTestObject(3)->GetDict()->SetFor( in TEST()
114 holder.GetTestObject(3)->GetDict()->SetNewFor<CPDF_Reference>("OtherPageData", in TEST()
Dcpdf_object_walker.cpp27 return object()->GetDict(); in IncrementImpl()
43 return IsStarted() && dict_iterator_ == object()->GetDict()->end(); in IsFinished()
57 dict_iterator_ = object()->GetDict()->begin(); in Start()
Dcpdf_stream.cpp39 CPDF_Dictionary* CPDF_Stream::GetDict() const { in GetDict() function in CPDF_Stream
86 CPDF_Dictionary* pDict = GetDict(); in CloneNonCyclic()
155 if (!GetDict()->WriteTo(archive) || !archive->WriteString("stream\r\n")) in WriteTo()
Dcpdf_reference.cpp38 CPDF_Dictionary* CPDF_Reference::GetDict() const { in GetDict() function in CPDF_Reference
40 return obj ? obj->GetDict() : nullptr; in GetDict()
Dcpdf_page_object_avail.cpp16 object->GetDict()->GetStringFor("Type") == "Page"; in ExcludeObject()
Dcpdf_data_avail.cpp47 dictionary_to_check = parent ? parent->GetDict() : nullptr; in GetResourceObject()
260 CPDF_Dictionary* pDict = m_pRoot->GetDict(); in CheckRoot()
321 ByteString type = pObj->GetDict()->GetStringFor("Type"); in CheckPage()
354 CPDF_Dictionary* pDict = pPages->GetDict(); in GetPageKids()
601 CPDF_Dictionary* pDict = pPage->GetDict(); in CheckUnknownPageNode()
723 CPDF_Dictionary* pPagesDict = pPages->GetDict(); in CheckPageCount()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_flateencoder.cpp26 m_pDict = ToDictionary(pStream->GetDict()->Clone()); in CPDF_FlateEncoder()
33 m_pDict = pStream->GetDict(); in CPDF_FlateEncoder()
42 m_pDict = ToDictionary(pStream->GetDict()->Clone()); in CPDF_FlateEncoder()
Dcpdf_creator.cpp169 if (static_cast<uint32_t>(encoder.GetDict()->GetIntegerFor("Length")) != in WriteStream()
172 encoder.GetDict()->SetNewFor<CPDF_Number>( in WriteStream()
176 if (!WriteDirectObj(objnum, encoder.GetDict(), true) || in WriteStream()
240 if (static_cast<uint32_t>(encoder.GetDict()->GetIntegerFor("Length")) != in WriteDirectObj()
243 encoder.GetDict()->SetNewFor<CPDF_Number>( in WriteDirectObj()
246 if (!WriteDirectObj(objnum, encoder.GetDict(), true) || in WriteDirectObj()
/external/pdfium/core/fpdfapi/page/
Dcpdf_tilingpattern.cpp20 m_bColored = pattern_obj()->GetDict()->GetIntegerFor("PaintType") == 1; in CPDF_TilingPattern()
38 CPDF_Dictionary* pDict = pattern_obj()->GetDict(); in Load()
Dcpdf_shadingpattern.cpp42 m_pShadingObj = pattern_obj()->GetDict()->GetDirectObjectFor("Shading"); in CPDF_ShadingPattern()
71 m_pShadingObj ? m_pShadingObj->GetDict() : nullptr; in Load()
Dcpdf_function.cpp26 iType = pStream->GetDict()->GetIntegerFor("FunctionType"); in Load()
69 CPDF_Dictionary* pDict = pStream ? pStream->GetDict() : pObj->AsDictionary(); in Init()
Dcpdf_image.cpp41 m_pDict(ToDictionary(m_pStream->GetDict()->Clone())) { in CPDF_Image()
50 m_pDict(m_pStream->GetDict()) { in CPDF_Image()
75 CPDF_Dictionary* CPDF_Image::GetDict() const { in GetDict() function in CPDF_Image
76 return m_pStream ? m_pStream->GetDict() : nullptr; in GetDict()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_interactiveformfiller.cpp122 if (pWidget->GetAAction(CPDF_AAction::CursorEnter).GetDict()) { in OnMouseEnter()
155 if (pWidget->GetAAction(CPDF_AAction::CursorExit).GetDict()) { in OnMouseExit()
191 pWidget->GetAAction(CPDF_AAction::ButtonDown).GetDict()) { in OnLButtonDown()
267 if (!pWidget->GetAAction(CPDF_AAction::ButtonUp).GetDict()) in OnButtonUp()
375 if (pWidget->GetAAction(CPDF_AAction::GetFocus).GetDict()) { in OnSetFocus()
430 if (!pWidget->GetAAction(CPDF_AAction::LoseFocus).GetDict()) in OnKillFocus()
607 if (!pWidget->GetAAction(CPDF_AAction::KeyStroke).GetDict()) in OnKeyStrokeCommit()
639 if (!pWidget->GetAAction(CPDF_AAction::Validate).GetDict()) in OnValidate()
875 !privateData.pWidget->GetAAction(CPDF_AAction::KeyStroke).GetDict()) { in OnBeforeKeyStroke()

1234