Searched defs:pDict (Results 1 - 25 of 44) sorted by relevance

12

/external/pdfium/core/src/fpdfdoc/
H A Ddoc_viewerPreferences.cpp16 CPDF_Dictionary *pDict = m_pDoc->GetRoot(); local
17 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences"));
18 if (!pDict) {
21 return FX_BSTRC("R2L") == pDict->GetString(FX_BSTRC("Direction"));
25 CPDF_Dictionary *pDict = m_pDoc->GetRoot(); local
26 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences"));
27 if (!pDict) {
30 return FX_BSTRC("None") != pDict
34 CPDF_Dictionary *pDict = m_pDoc->GetRoot(); local
43 CPDF_Dictionary *pDict = m_pDoc->GetRoot(); local
54 CPDF_Dictionary *pDict = m_pDoc->GetRoot(); local
[all...]
H A Ddoc_action.cpp98 CPDF_Dictionary* pDict = m_pAction->GetDict(); local
99 if (pDict == NULL) {
102 CFX_ByteString csType = pDict->GetString("S");
105 pFields = pDict->GetElementValue("T");
107 pFields = pDict->GetArray("Fields");
128 CPDF_Dictionary* pDict = m_pAction->GetDict(); local
129 if (pDict == NULL) {
132 CFX_ByteString csType = pDict->GetString("S");
135 pFields = pDict->GetElementValue("T");
137 pFields = pDict
161 CPDF_Dictionary* pDict = m_pAction->GetDict(); local
269 CPDF_Dictionary *pDict = static_cast<CPDF_Dictionary*>(pNext); local
[all...]
H A Ddoc_ocg.cpp28 static FX_BOOL FPDFDOC_OCG_HasIntent(const CPDF_Dictionary *pDict, FX_BSTR csElement, FX_BSTR csDef = FX_BSTRC("")) argument
30 FXSYS_assert(pDict != NULL);
31 CPDF_Object *pIntent = pDict->GetElementValue(FX_BSTRC("Intent"));
H A Ddoc_tagged.cpp122 CPDF_StructElementImpl* CPDF_StructTreeImpl::AddPageNode(CPDF_Dictionary* pDict, CFX_MapPtrToPtr& map, int nLevel) argument
128 if (map.Lookup(pDict, (FX_LPVOID&)pElement)) {
131 pElement = new CPDF_StructElementImpl(this, NULL, pDict);
132 map.SetAt(pDict, pElement);
133 CPDF_Dictionary* pParent = pDict->GetDict(FX_BSTRC("P"));
135 if (!AddTopLevelNode(pDict, pElement)) {
137 map.RemoveKey(pDict);
146 if (pParentElement->m_Kids[i].m_Element.m_pDict != pDict) {
154 map.RemoveKey(pDict);
159 FX_BOOL CPDF_StructTreeImpl::AddTopLevelNode(CPDF_Dictionary* pDict, CPDF_StructElementImp argument
199 CPDF_StructElementImpl(CPDF_StructTreeImpl* pTree, CPDF_StructElementImpl* pParent, CPDF_Dictionary* pDict) argument
233 LoadKids(CPDF_Dictionary* pDict) argument
323 CPDF_Dictionary* pDict = NULL; local
[all...]
H A Ddoc_annot.cpp27 CPDF_Dictionary* pDict = (CPDF_Dictionary*)pAnnots->GetElementValue(i); local
28 if (pDict == NULL || pDict->GetType() != PDFOBJ_DICTIONARY) {
31 FX_DWORD dwObjNum = pDict->GetObjNum();
33 dwObjNum = m_pDocument->AddIndirectObject(pDict);
40 pDict = pAnnots->GetDict(i);
42 CPDF_Annot* pAnnot = new CPDF_Annot(pDict);
45 if (bRegenerateAP && pDict->GetConstString(FX_BSTRC("Subtype")) == FX_BSTRC("Widget"))
47 FPDF_GenerateAP(m_pDocument, pDict);
138 CPDF_Annot::CPDF_Annot(CPDF_Dictionary* pDict) argument
204 CPDF_Dictionary* pDict = pAnnotDict->GetDict(FX_BSTRC("Parent")); local
[all...]
H A Ddoc_basic.cpp323 CPDF_Dictionary* pDict = (CPDF_Dictionary*)m_pObj; local
324 csFileName = pDict->GetUnicodeText(FX_BSTRC("UF"));
326 csFileName = CFX_WideString::FromLocal(pDict->GetString(FX_BSTRC("F")));
328 if (pDict->GetString(FX_BSTRC("FS")) == FX_BSTRC("URL")) {
332 if (pDict->KeyExist(FX_BSTRC("DOS"))) {
333 csFileName = CFX_WideString::FromLocal(pDict->GetString(FX_BSTRC("DOS")));
334 } else if (pDict->KeyExist(FX_BSTRC("Mac"))) {
335 csFileName = CFX_WideString::FromLocal(pDict->GetString(FX_BSTRC("Mac")));
336 } else if (pDict->KeyExist(FX_BSTRC("Unix"))) {
337 csFileName = CFX_WideString::FromLocal(pDict
433 CPDF_Dictionary* pDict = (CPDF_Dictionary*)pObj; local
[all...]
H A Ddoc_formfield.cpp21 CPDF_FormField::CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict) argument
23 m_pDict = pDict;
/external/pdfium/fpdfsdk/src/formfiller/
H A DFFL_Utils.cpp64 CPDF_Dictionary* pDict = (CPDF_Dictionary*)pObj; local
66 FX_POSITION fPos = pDict->GetStartPos();
70 CPDF_Object* pElement = pDict->GetNextElement(fPos, csKey);
81 CPDF_Dictionary* pDict = pStream->GetDict(); local
82 TraceObject(pDict);
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_image.cpp95 CPDF_Dictionary* pDict = pStream->GetDict(); local
97 m_pInlineDict = (CPDF_Dictionary*)pDict->Clone();
99 m_pOC = pDict->GetDict(FX_BSTRC("OC"));
100 m_bIsMask = !pDict->KeyExist(FX_BSTRC("ColorSpace")) || pDict->GetInteger(FX_BSTRC("ImageMask"));
101 m_bInterpolate = pDict->GetInteger(FX_BSTRC("Interpolate"));
102 m_Height = pDict->GetInteger(FX_BSTRC("Height"));
103 m_Width = pDict->GetInteger(FX_BSTRC("Width"));
H A Dfpdf_page_pattern.cpp26 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); local
27 ASSERT(pDict != NULL);
28 m_Pattern2Form = pDict->GetMatrix(FX_BSTRC("Matrix"));
29 m_bColored = pDict->GetInteger(FX_BSTRC("PaintType")) == 1;
47 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); local
48 if (pDict == NULL) {
51 m_bColored = pDict->GetInteger(FX_BSTRC("PaintType")) == 1;
52 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("XStep")));
53 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("YStep")));
60 m_BBox = pDict
70 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); local
164 CPDF_Dictionary* pDict = pShadingStream->GetDict(); local
[all...]
H A Dfpdf_page_colors.cpp283 CPDF_Dictionary* pDict = pArray->GetDict(1); local
284 CPDF_Array* pParam = pDict->GetArray(FX_BSTRC("WhitePoint"));
289 pParam = pDict->GetArray(FX_BSTRC("BlackPoint"));
293 m_Gamma = pDict->GetNumber(FX_BSTRC("Gamma"));
342 CPDF_Dictionary* pDict = pArray->GetDict(1); local
343 CPDF_Array* pParam = pDict->GetArray(FX_BSTRC("WhitePoint"));
348 pParam = pDict->GetArray(FX_BSTRC("BlackPoint"));
352 pParam = pDict->GetArray(FX_BSTRC("Gamma"));
361 pParam = pDict->GetArray(FX_BSTRC("Matrix"));
440 CPDF_Dictionary* pDict local
[all...]
H A Dfpdf_page_doc.cpp346 CPDF_Dictionary* pDict = new CPDF_Dictionary; local
347 pDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("Font"));
348 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Type1"));
349 pDict->SetAtName(FX_BSTRC("BaseFont"), fontName);
351 pDict->SetAt(FX_BSTRC("Encoding"), pEncoding->Realize());
353 m_pPDFDoc->AddIndirectObject(pDict);
355 CPDF_Font* pFont = CPDF_Font::CreateFontF(m_pPDFDoc, pDict);
362 m_FontMap.SetAt(pDict, fontData);
502 CPDF_Dictionary* pDict = pPatternObj ? pPatternObj->GetDict() : NULL; local
503 if (pDict) {
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
H A Dfpdf_edit_content.cpp121 CPDF_Dictionary* pDict = m_pPage->m_pFormDict; local
122 CPDF_Object* pContent = pDict ? pDict->GetElementValue("Contents") : NULL;
H A Dfpdf_edit_image.cpp20 CPDF_Dictionary* pDict = new CPDF_Dictionary; local
21 pDict->SetAtName("Type", "XObject");
22 pDict->SetAtName("Subtype", "Image");
23 pDict->SetAtInteger("Width", width);
24 pDict->SetAtInteger("Height", height);
37 pDict->SetAt(FX_BSTRC("Decode"), pDecode);
39 pDict->SetAtName("ColorSpace", csname);
40 pDict->SetAtInteger("BitsPerComponent", bits);
41 pDict->SetAtName("Filter", "DCTDecode");
44 pDict
57 CPDF_Dictionary *pDict = InitJPEG(pData, size); local
75 CPDF_Dictionary *pDict = InitJPEG(pData, dwEstimateSize); local
105 CPDF_Dictionary* pDict = new CPDF_Dictionary; local
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_fdf.cpp106 CPDF_Dictionary* pDict = m_pRootDict ? m_pRootDict->GetDict(FX_BSTRC("FDF")) : NULL; local
107 CPDF_Object* pFileSpec = pDict ? pDict->GetElementValue(FX_BSTRC("F")) : NULL;
158 CPDF_Dictionary* pDict = (CPDF_Dictionary*)pFileSpec; local
159 wsFileName = pDict->GetUnicodeText(FX_BSTRC("UF"));
161 wsFileName = CFX_WideString::FromLocal(pDict->GetString(FX_BSTRC("F")));
163 if (pDict->GetString(FX_BSTRC("FS")) == FX_BSTRC("URL")) {
166 if (wsFileName.IsEmpty() && pDict->KeyExist(FX_BSTRC("DOS"))) {
167 wsFileName = CFX_WideString::FromLocal(pDict->GetString(FX_BSTRC("DOS")));
H A Dfpdf_parser_filters.cpp133 CFX_DataFilter* _FPDF_CreateFilterFromDict(CPDF_Dictionary* pDict) argument
135 CPDF_Object* pDecoder = pDict->GetElementValue("Filter");
140 int width = pDict->GetInteger(FX_BSTRC("Width")), height = pDict->GetInteger(FX_BSTRC("Height"));
141 CPDF_Object* pParams = pDict->GetElementValue("DecodeParms");
H A Dfpdf_parser_decode.cpp268 FX_BOOL PDF_DataDecode(FX_LPCBYTE src_buf, FX_DWORD src_size, const CPDF_Dictionary* pDict, argument
273 CPDF_Object* pDecoder = pDict ? pDict->GetElementValue(FX_BSTRC("Filter")) : NULL;
277 CPDF_Object* pParams = pDict ? pDict->GetElementValue(FX_BSTRC("DecodeParms")) : NULL;
/external/pdfium/fpdfsdk/src/
H A Dfpdf_transformpage.cpp160 CPDF_Dictionary* pDict = NULL; local
167 pDict = (CPDF_Dictionary*)pObj;
171 pDict = ((CPDF_Stream*)pObj)->GetDict();
176 CFX_AffineMatrix m = pDict->GetMatrix(FX_BSTRC("Matrix"));
179 pDict->SetAtMatrix(FX_BSTRC("Matrix"), m);
H A Dfpdfdoc.cpp30 DLLEXPORT FPDF_BOOKMARK STDCALL FPDFBookmark_GetFirstChild(FPDF_DOCUMENT document, FPDF_BOOKMARK pDict) argument
36 CPDF_Bookmark bookmark = CPDF_Bookmark((CPDF_Dictionary*)pDict);
40 DLLEXPORT FPDF_BOOKMARK STDCALL FPDFBookmark_GetNextSibling(FPDF_DOCUMENT document, FPDF_BOOKMARK pDict) argument
42 if (!document || !pDict)
46 CPDF_Bookmark bookmark = CPDF_Bookmark((CPDF_Dictionary*)pDict);
50 DLLEXPORT unsigned long STDCALL FPDFBookmark_GetTitle(FPDF_BOOKMARK pDict, void* buffer, unsigned long buflen) argument
52 if (!pDict)
54 CPDF_Bookmark bookmark((CPDF_Dictionary*)pDict);
77 DLLEXPORT FPDF_DEST STDCALL FPDFBookmark_GetDest(FPDF_DOCUMENT document, FPDF_BOOKMARK pDict) argument
81 if (!pDict)
95 FPDFBookmark_GetAction(FPDF_BOOKMARK pDict) argument
103 FPDFAction_GetType(FPDF_ACTION pDict) argument
124 FPDFAction_GetDest(FPDF_DOCUMENT document, FPDF_ACTION pDict) argument
135 FPDFAction_GetURIPath(FPDF_DOCUMENT document, FPDF_ACTION pDict, void* buffer, unsigned long buflen) argument
151 FPDFDest_GetPageIndex(FPDF_DOCUMENT document, FPDF_DEST pDict) argument
182 FPDFLink_GetDest(FPDF_DOCUMENT document, FPDF_LINK pDict) argument
200 FPDFLink_GetAction(FPDF_LINK pDict) argument
219 CPDF_Dictionary* pDict = (CPDF_Dictionary*)pAnnots->GetElementValue(i); local
[all...]
H A Dfpdfeditpage.cpp103 CPDF_Dictionary* pDict = pPage->m_pFormDict; local
106 if(pDict != NULL)
108 if (pDict->KeyExist("Rotate"))
109 rotate = pDict->GetElement("Rotate")->GetDirect()? pDict->GetElement("Rotate")->GetDirect()->GetInteger() / 90 : 0;
112 if(pDict->KeyExist("Parent"))
114 CPDF_Dictionary* pPages = (CPDF_Dictionary*)pDict->GetElement("Parent")->GetDirect();
317 CPDF_Dictionary* pDict = pPage->m_pFormDict; local
320 pDict->SetAt("Rotate", new CPDF_Number(rotate * 90));
H A Dfpdfppo.cpp19 CPDF_Object* PageDictGetInheritableTag(CPDF_Dictionary *pDict, CFX_ByteString nSrctag);
191 CPDF_Object* CPDF_PageOrganizer::PageDictGetInheritableTag(CPDF_Dictionary *pDict, CFX_ByteString nSrctag) argument
193 if(!pDict || !pDict->KeyExist("Type") || nSrctag.IsEmpty())
196 CPDF_Object* pType = pDict->GetElement("Type")->GetDirect();
201 if(!pDict->KeyExist("Parent")) return NULL;
202 CPDF_Object* pParent = pDict->GetElement("Parent")->GetDirect();
207 if(pDict->KeyExist((const char*)nSrctag))
208 return pDict->GetElement((const char*)nSrctag);
239 CPDF_Dictionary* pDict local
278 CPDF_Dictionary* pDict = pStream->GetDict(); local
[all...]
H A Dfsdk_actionhandler.cpp137 CPDF_Dictionary* pDict = action.GetDict(); local
138 if (list.Find(pDict))
141 list.AddTail(pDict);
175 CPDF_Dictionary* pDict = action.GetDict(); local
176 if (list.Find(pDict))
179 list.AddTail(pDict);
230 CPDF_Dictionary* pDict = action.GetDict(); local
231 if (list.Find(pDict))
234 list.AddTail(pDict);
286 CPDF_Dictionary* pDict local
326 CPDF_Dictionary* pDict = action.GetDict(); local
416 CPDF_Dictionary* pDict = action.GetDict(); local
[all...]
H A Dfpdf_flatten.cpp41 FX_BOOL GetContentsRect( CPDF_Document * pDoc, CPDF_Dictionary* pDict, CPDF_RectArray * pRectArray ) argument
44 pPDFPage->Load( pDoc, pDict, FALSE );
60 if (IsValiableRect(rc, pDict->GetRect("MediaBox")))
/external/pdfium/core/include/fpdfapi/
H A Dfpdf_objects.h489 FX_BOOL Identical(CPDF_Dictionary* pDict) const;
509 static CPDF_Stream* Create(FX_LPBYTE pData, FX_DWORD size, CPDF_Dictionary* pDict) argument
511 return new CPDF_Stream(pData, size, pDict);
514 CPDF_Stream(FX_LPBYTE pData, FX_DWORD size, CPDF_Dictionary* pDict);
523 void InitStream(FX_BYTE* pData, FX_DWORD size, CPDF_Dictionary* pDict);
525 void InitStream(IFX_FileRead *pFile, CPDF_Dictionary* pDict);
568 void InitStream(CPDF_Dictionary* pDict);
H A Dfpdf_resource.h855 void SetInlineDict(CPDF_Dictionary* pDict) argument
857 m_pInlineDict = pDict;

Completed in 1781 milliseconds

12