Home
last modified time | relevance | path

Searched refs:pDict (Results 1 – 25 of 718) sorted by relevance

12345678910>>...29

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdfdoc/
H A Dcpdf_viewerpreferences.cpp19 const CPDF_Dictionary* pDict = GetViewerPreferences(); in IsDirectionR2L() local
20 return pDict && pDict->GetStringFor("Direction") == "R2L"; in IsDirectionR2L()
24 const CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintScaling() local
25 return !pDict || pDict->GetStringFor("PrintScaling") != "None"; in PrintScaling()
30 return pDict ? pDict->GetIntegerFor("NumCopies") : 1; in NumCopies()
34 CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintPageRange() local
35 return pDict ? pDict->GetArrayFor("PrintPageRange") : nullptr; in PrintPageRange()
40 return pDict ? pDict->GetStringFor("Duplex") : ByteString("None"); in Duplex()
46 if (!pDict) in GenericName()
57 CPDF_Dictionary* pDict = m_pDoc->GetRoot(); in GetViewerPreferences() local
[all …]
H A Dcpdf_icon.cpp17 CPDF_Dictionary* pDict = m_pStream->GetDict(); in GetImageSize() local
18 if (!pDict) in GetImageSize()
21 CFX_FloatRect rect = pDict->GetRectFor("BBox"); in GetImageSize()
26 CPDF_Dictionary* pDict = m_pStream->GetDict(); in GetImageMatrix() local
27 if (!pDict) in GetImageMatrix()
30 return pDict->GetMatrixFor("Matrix"); in GetImageMatrix()
34 CPDF_Dictionary* pDict = m_pStream->GetDict(); in GetImageAlias() local
35 if (!pDict) in GetImageAlias()
38 return pDict->GetStringFor("Name"); in GetImageAlias()
H A Dcpdf_filespec.cpp100 if (const CPDF_Dictionary* pDict = m_pObj->AsDictionary()) { in GetFileName() local
101 const CPDF_String* pUF = ToString(pDict->GetDirectObjectFor("UF")); in GetFileName()
106 ToString(pDict->GetDirectObjectFor(pdfium::stream::kF)); in GetFileName()
110 if (pDict->GetStringFor("FS") == "URL") in GetFileName()
130 const CPDF_Dictionary* pDict = m_pObj->AsDictionary(); in GetFileStream() local
131 if (!pDict) in GetFileStream()
135 const CPDF_Dictionary* pFiles = pDict->GetDictFor("EF"); in GetFileStream()
145 if (!pDict->GetUnicodeTextFor(key).IsEmpty()) { in GetFileStream()
164 const CPDF_Dictionary* pDict = pStream->GetDict(); in GetParamsDict() local
165 return pDict ? pDict->GetDictFor("Params") : nullptr; in GetParamsDict()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdfdoc/
H A Dcpdf_viewerpreferences.cpp19 const CPDF_Dictionary* pDict = GetViewerPreferences(); in IsDirectionR2L() local
20 return pDict && pDict->GetStringFor("Direction") == "R2L"; in IsDirectionR2L()
24 const CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintScaling() local
25 return !pDict || pDict->GetStringFor("PrintScaling") != "None"; in PrintScaling()
30 return pDict ? pDict->GetIntegerFor("NumCopies") : 1; in NumCopies()
34 CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintPageRange() local
35 return pDict ? pDict->GetArrayFor("PrintPageRange") : nullptr; in PrintPageRange()
40 return pDict ? pDict->GetStringFor("Duplex") : ByteString("None"); in Duplex()
46 if (!pDict) in GenericName()
57 CPDF_Dictionary* pDict = m_pDoc->GetRoot(); in GetViewerPreferences() local
[all …]
H A Dcpdf_icon.cpp17 CPDF_Dictionary* pDict = m_pStream->GetDict(); in GetImageSize() local
18 if (!pDict) in GetImageSize()
21 CFX_FloatRect rect = pDict->GetRectFor("BBox"); in GetImageSize()
26 CPDF_Dictionary* pDict = m_pStream->GetDict(); in GetImageMatrix() local
27 if (!pDict) in GetImageMatrix()
30 return pDict->GetMatrixFor("Matrix"); in GetImageMatrix()
34 CPDF_Dictionary* pDict = m_pStream->GetDict(); in GetImageAlias() local
35 if (!pDict) in GetImageAlias()
38 return pDict->GetStringFor("Name"); in GetImageAlias()
H A Dcpdf_filespec.cpp100 if (const CPDF_Dictionary* pDict = m_pObj->AsDictionary()) { in GetFileName() local
101 const CPDF_String* pUF = ToString(pDict->GetDirectObjectFor("UF")); in GetFileName()
106 ToString(pDict->GetDirectObjectFor(pdfium::stream::kF)); in GetFileName()
110 if (pDict->GetStringFor("FS") == "URL") in GetFileName()
130 const CPDF_Dictionary* pDict = m_pObj->AsDictionary(); in GetFileStream() local
131 if (!pDict) in GetFileStream()
135 const CPDF_Dictionary* pFiles = pDict->GetDictFor("EF"); in GetFileStream()
145 if (!pDict->GetUnicodeTextFor(key).IsEmpty()) { in GetFileStream()
164 const CPDF_Dictionary* pDict = pStream->GetDict(); in GetParamsDict() local
165 return pDict ? pDict->GetDictFor("Params") : nullptr; in GetParamsDict()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fpdfdoc/
H A Dcpdf_viewerpreferences.cpp18 CPDF_Dictionary* pDict = GetViewerPreferences(); in IsDirectionR2L() local
19 return pDict ? pDict->GetStringFor("Direction") == "R2L" : false; in IsDirectionR2L()
23 CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintScaling() local
24 return pDict ? pDict->GetStringFor("PrintScaling") != "None" : true; in PrintScaling()
28 CPDF_Dictionary* pDict = GetViewerPreferences(); in NumCopies() local
29 return pDict ? pDict->GetIntegerFor("NumCopies") : 1; in NumCopies()
34 return pDict ? pDict->GetArrayFor("PrintPageRange") : nullptr; in PrintPageRange()
39 return pDict ? pDict->GetStringFor("Duplex") : CFX_ByteString("None"); in Duplex()
46 if (!pDict) in GenericName()
58 CPDF_Dictionary* pDict = m_pDoc->GetRoot(); in GetViewerPreferences() local
[all …]
H A Dcpdf_actionfields.cpp17 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetFieldsCount() local
18 if (!pDict) in GetFieldsCount()
24 pFields = pDict->GetDirectObjectFor("T"); in GetFieldsCount()
26 pFields = pDict->GetArrayFor("Fields"); in GetFieldsCount()
44 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetAllFields() local
45 if (!pDict) in GetAllFields()
51 pFields = pDict->GetDirectObjectFor("T"); in GetAllFields()
53 pFields = pDict->GetArrayFor("Fields"); in GetAllFields()
75 if (!pDict) in GetField()
81 pFields = pDict->GetDirectObjectFor("T"); in GetField()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdfdoc/
H A Ddoc_viewerPreferences.cpp16 CPDF_Dictionary* pDict = GetViewerPreferences(); in IsDirectionR2L() local
17 return pDict ? pDict->GetStringBy("Direction") == "R2L" : FALSE; in IsDirectionR2L()
21 CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintScaling() local
22 return pDict ? pDict->GetStringBy("PrintScaling") != "None" : TRUE; in PrintScaling()
26 CPDF_Dictionary* pDict = GetViewerPreferences(); in NumCopies() local
27 return pDict ? pDict->GetIntegerBy("NumCopies") : 1; in NumCopies()
31 CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintPageRange() local
32 return pDict ? pDict->GetArrayBy("PrintPageRange") : nullptr; in PrintPageRange()
37 return pDict ? pDict->GetStringBy("Duplex") : CFX_ByteString("None"); in Duplex()
41 CPDF_Dictionary* pDict = m_pDoc->GetRoot(); in GetViewerPreferences() local
[all …]
H A Ddoc_tagged.cpp131 CPDF_Dictionary* pDict, in AddPageNode() argument
137 auto it = map.find(pDict); in AddPageNode()
143 map[pDict] = pElement; in AddPageNode()
148 map.erase(pDict); in AddPageNode()
164 map.erase(pDict); in AddPageNode()
201 m_pDict(pDict), in CPDF_StructElementImpl()
208 LoadKids(pDict); in CPDF_StructElementImpl()
349 if (pDict) in FindAttrDict()
350 return pDict; in FindAttrDict()
353 if (pDict && pDict->GetStringBy("O") == owner) in FindAttrDict()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fpdfapi/parser/
H A Dcpdf_linearized_header.cpp20 bool IsValidNumericDictionaryValue(const CPDF_Dictionary* pDict, in IsValidNumericDictionaryValue() argument
24 if (!pDict->KeyExist(key)) in IsValidNumericDictionaryValue()
26 const CPDF_Number* pNum = ToNumber(pDict->GetObjectFor(key)); in IsValidNumericDictionaryValue()
40 auto pDict = ToDictionary(std::move(pObj)); in CreateForObject() local
41 if (!pDict || !pDict->KeyExist("Linearized") || in CreateForObject()
53 m_szFileSize = pDict->GetIntegerFor("L"); in CPDF_LinearizedHeader()
54 m_dwFirstPageNo = pDict->GetIntegerFor("P"); in CPDF_LinearizedHeader()
55 m_szLastXRefOffset = pDict->GetIntegerFor("T"); in CPDF_LinearizedHeader()
56 m_PageCount = pDict->GetIntegerFor("N"); in CPDF_LinearizedHeader()
57 m_szFirstPageEndOffset = pDict->GetIntegerFor("E"); in CPDF_LinearizedHeader()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdfapi/parser/
H A Dcpdf_linearized_header.cpp26 bool IsValidNumericDictionaryValue(const CPDF_Dictionary* pDict, in IsValidNumericDictionaryValue() argument
30 if (!pDict->KeyExist(key)) in IsValidNumericDictionaryValue()
32 const CPDF_Number* pNum = ToNumber(pDict->GetObjectFor(key)); in IsValidNumericDictionaryValue()
60 const auto pDict = ToDictionary( in Parse() local
63 if (!pDict || !pDict->KeyExist("Linearized") || in Parse()
88 : m_szFileSize(pDict->GetIntegerFor("L")), in CPDF_LinearizedHeader()
89 m_dwFirstPageNo(pDict->GetIntegerFor("P")), in CPDF_LinearizedHeader()
91 m_PageCount(pDict->GetIntegerFor("N")), in CPDF_LinearizedHeader()
92 m_szFirstPageEndOffset(pDict->GetIntegerFor("E")), in CPDF_LinearizedHeader()
93 m_FirstPageObjNum(pDict->GetIntegerFor("O")), in CPDF_LinearizedHeader()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdfapi/parser/
H A Dcpdf_linearized_header.cpp26 bool IsValidNumericDictionaryValue(const CPDF_Dictionary* pDict, in IsValidNumericDictionaryValue() argument
30 if (!pDict->KeyExist(key)) in IsValidNumericDictionaryValue()
32 const CPDF_Number* pNum = ToNumber(pDict->GetObjectFor(key)); in IsValidNumericDictionaryValue()
60 const auto pDict = ToDictionary( in Parse() local
63 if (!pDict || !pDict->KeyExist("Linearized") || in Parse()
88 : m_szFileSize(pDict->GetIntegerFor("L")), in CPDF_LinearizedHeader()
89 m_dwFirstPageNo(pDict->GetIntegerFor("P")), in CPDF_LinearizedHeader()
91 m_PageCount(pDict->GetIntegerFor("N")), in CPDF_LinearizedHeader()
92 m_szFirstPageEndOffset(pDict->GetIntegerFor("E")), in CPDF_LinearizedHeader()
93 m_FirstPageObjNum(pDict->GetIntegerFor("O")), in CPDF_LinearizedHeader()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdfapi/page/
H A Dcpdf_function_unittest.cpp14 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
15 pDict->SetNewFor<CPDF_Number>("FunctionType", -2); in TEST()
16 EXPECT_EQ(nullptr, CPDF_Function::Load(pDict.Get())); in TEST()
18 pDict->SetNewFor<CPDF_Number>("FunctionType", 5); in TEST()
23 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
24 pDict->SetNewFor<CPDF_Number>("FunctionType", 0); in TEST()
29 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
30 pDict->SetNewFor<CPDF_Number>("FunctionType", 0); in TEST()
31 pDict->SetNewFor<CPDF_Array>("Domain"); in TEST()
36 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdfapi/page/
H A Dcpdf_function_unittest.cpp14 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
15 pDict->SetNewFor<CPDF_Number>("FunctionType", -2); in TEST()
16 EXPECT_EQ(nullptr, CPDF_Function::Load(pDict.Get())); in TEST()
18 pDict->SetNewFor<CPDF_Number>("FunctionType", 5); in TEST()
23 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
24 pDict->SetNewFor<CPDF_Number>("FunctionType", 0); in TEST()
29 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
30 pDict->SetNewFor<CPDF_Number>("FunctionType", 0); in TEST()
31 pDict->SetNewFor<CPDF_Array>("Domain"); in TEST()
36 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() local
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdfapi/fpdf_page/
H A Dcpdf_image.cpp68 m_pOC = pDict->GetDictBy("OC"); in LoadImageF()
70 !pDict->KeyExist("ColorSpace") || pDict->GetIntegerBy("ImageMask"); in LoadImageF()
89 pDict->SetAtName("Type", "XObject"); in InitJPEG()
105 pDict->SetAt("Decode", pDecode); in InitJPEG()
120 return pDict; in InitJPEG()
125 if (!pDict) { in SetJpegImage()
147 pDict = InitJPEG(pData, size); in SetJpegImage()
150 if (!pDict) { in SetJpegImage()
302 if (pDict) { in SetImage()
303 pDict->Release(); in SetImage()
[all …]
H A Dcpdf_tilingpattern.cpp18 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); in CPDF_TilingPattern() local
19 m_Pattern2Form = pDict->GetMatrixBy("Matrix"); in CPDF_TilingPattern()
20 m_bColored = pDict->GetIntegerBy("PaintType") == 1; in CPDF_TilingPattern()
39 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); in Load() local
40 if (!pDict) in Load()
43 m_bColored = pDict->GetIntegerBy("PaintType") == 1; in Load()
44 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberBy("XStep")); in Load()
45 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberBy("YStep")); in Load()
53 m_BBox = pDict->GetRectBy("BBox"); in Load()
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/fpdfsdk/
H A Dfpdfdoc.cpp88 if (!pDict) in FPDFBookmark_GetNextSibling()
102 if (!pDict) in FPDFBookmark_GetTitle()
125 if (!pDict) in FPDFBookmark_GetDest()
143 if (!pDict) in FPDFBookmark_GetAction()
150 if (!pDict) in FPDFAction_GetType()
171 if (!pDict) in FPDFAction_GetDest()
199 if (!pDict) in FPDFAction_GetURIPath()
214 if (!pDict) in FPDFDest_GetPageIndex()
230 if (!pDict) in FPDFDest_GetLocationInPage()
287 if (!pDict) in FPDFLink_GetDest()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/fpdfsdk/
H A Dfpdfdoc.cpp74 if (!pDict) in FPDFBookmark_GetNextSibling()
88 if (!pDict) in FPDFBookmark_GetTitle()
116 if (!pDict) in FPDFBookmark_GetDest()
134 if (!pDict) in FPDFBookmark_GetAction()
141 if (!pDict) in FPDFAction_GetType()
162 if (!pDict) in FPDFAction_GetDest()
190 if (!pDict) in FPDFAction_GetURIPath()
205 if (!pDict) in FPDFDest_GetPageIndex()
282 if (!pDict) in FPDFLink_GetDest()
299 if (!pDict) in FPDFLink_GetAction()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxcodec/jbig2/
H A DJBig2_PddProc.cpp21 std::unique_ptr<CJBig2_PatternDict> pDict(new CJBig2_PatternDict()); in decode_Arith() local
22 pDict->NUMPATS = GRAYMAX + 1; in decode_Arith()
23 pDict->HDPATS = FX_Alloc(CJBig2_Image*, pDict->NUMPATS); in decode_Arith()
24 JBIG2_memset(pDict->HDPATS, 0, sizeof(CJBig2_Image*) * pDict->NUMPATS); in decode_Arith()
52 pDict->HDPATS[GRAY] = BHDC->subImage(HDPW * GRAY, 0, HDPW, HDPH); in decode_Arith()
56 return pDict.release(); in decode_Arith()
64 pDict->NUMPATS = GRAYMAX + 1; in decode_MMR()
65 pDict->HDPATS = FX_Alloc(CJBig2_Image*, pDict->NUMPATS); in decode_MMR()
66 JBIG2_memset(pDict->HDPATS, 0, sizeof(CJBig2_Image*) * pDict->NUMPATS); in decode_MMR()
78 pDict->HDPATS[GRAY] = BHDC->subImage(HDPW * GRAY, 0, HDPW, HDPH); in decode_MMR()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxcodec/jbig2/
H A DJBig2_PddProc.cpp21 std::unique_ptr<CJBig2_PatternDict> pDict(new CJBig2_PatternDict()); in decode_Arith() local
22 pDict->NUMPATS = GRAYMAX + 1; in decode_Arith()
23 pDict->HDPATS = FX_Alloc(CJBig2_Image*, pDict->NUMPATS); in decode_Arith()
24 JBIG2_memset(pDict->HDPATS, 0, sizeof(CJBig2_Image*) * pDict->NUMPATS); in decode_Arith()
52 pDict->HDPATS[GRAY] = BHDC->subImage(HDPW * GRAY, 0, HDPW, HDPH); in decode_Arith()
56 return pDict.release(); in decode_Arith()
64 pDict->NUMPATS = GRAYMAX + 1; in decode_MMR()
65 pDict->HDPATS = FX_Alloc(CJBig2_Image*, pDict->NUMPATS); in decode_MMR()
66 JBIG2_memset(pDict->HDPATS, 0, sizeof(CJBig2_Image*) * pDict->NUMPATS); in decode_MMR()
78 pDict->HDPATS[GRAY] = BHDC->subImage(HDPW * GRAY, 0, HDPW, HDPH); in decode_MMR()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fpdfapi/page/
H A Dcpdf_image.cpp85 auto pDict = in InitJPEG() local
87 pDict->SetNewFor<CPDF_Name>("Type", "XObject"); in InitJPEG()
88 pDict->SetNewFor<CPDF_Name>("Subtype", "Image"); in InitJPEG()
89 pDict->SetNewFor<CPDF_Number>("Width", width); in InitJPEG()
116 return pDict; in InitJPEG()
130 std::unique_ptr<CPDF_Dictionary> pDict = in SetJpegImage() local
132 if (!pDict && size > dwEstimateSize) { in SetJpegImage()
135 pDict = InitJPEG(data.data(), size); in SetJpegImage()
137 if (!pDict) in SetJpegImage()
154 if (!pDict) in SetJpegImageInline()
[all …]
H A Dcpdf_tilingpattern.cpp19 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); in CPDF_TilingPattern() local
20 m_Pattern2Form = pDict->GetMatrixFor("Matrix"); in CPDF_TilingPattern()
21 m_bColored = pDict->GetIntegerFor("PaintType") == 1; in CPDF_TilingPattern()
39 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); in Load() local
40 if (!pDict) in Load()
43 m_bColored = pDict->GetIntegerFor("PaintType") == 1; in Load()
44 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberFor("XStep")); in Load()
45 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberFor("YStep")); in Load()
53 m_BBox = pDict->GetRectFor("BBox"); in Load()
H A Dcpdf_contentmark.cpp40 CPDF_Dictionary* pDict, in AddMark() argument
42 m_Ref.GetPrivateCopy()->AddMark(name, pDict, bDirect); in AddMark()
64 CPDF_Dictionary*& pDict) const { in LookupMark()
72 pDict = item.GetParam(); in LookupMark()
101 CPDF_Dictionary* pDict = mark.GetParam(); in GetMCID() local
102 if (pDict && pDict->KeyExist("MCID")) in GetMCID()
103 return pDict->GetIntegerFor("MCID"); in GetMCID()
109 CPDF_Dictionary* pDict, in AddMark() argument
113 if (pDict) { in AddMark()
116 std::unique_ptr<CPDF_Dictionary>(ToDictionary(pDict->Clone()))); in AddMark()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdfapi/fpdf_parser/
H A Dcpdf_stream.cpp14 : m_pDict(pDict), in CPDF_Stream()
47 void CPDF_Stream::InitStreamInternal(CPDF_Dictionary* pDict) { in InitStreamInternal() argument
48 if (pDict) { in InitStreamInternal()
51 m_pDict = pDict; in InitStreamInternal()
62 CPDF_Dictionary* pDict) { in InitStream() argument
63 InitStreamInternal(pDict); in InitStream()
78 CPDF_Dictionary* pDict = GetDict(); in Clone() local
79 if (pDict) in Clone()
80 pDict = ToDictionary(pDict->Clone(bDirect)); in Clone()
82 return new CPDF_Stream(acc.DetachData(), streamSize, pDict); in Clone()
[all …]

12345678910>>...29