/external/pdfium/core/src/fpdfdoc/ |
D | doc_ocg.cpp | 28 …PDFDOC_OCG_HasIntent(const CPDF_Dictionary *pDict, FX_BSTR csElement, FX_BSTR csDef = FX_BSTRC("")) in FPDFDOC_OCG_HasIntent() 31 CPDF_Object *pIntent = pDict->GetElementValue(FX_BSTRC("Intent")); in FPDFDOC_OCG_HasIntent() 40 if (bsIntent == FX_BSTRC("All") || bsIntent == csElement) { in FPDFDOC_OCG_HasIntent() 47 return bsIntent == FX_BSTRC("All") || bsIntent == csElement; in FPDFDOC_OCG_HasIntent() 52 CPDF_Dictionary *pOCProperties = pDoc->GetRoot()->GetDict(FX_BSTRC("OCProperties")); in FPDFDOC_OCG_GetConfig() 56 CPDF_Array *pOCGs = pOCProperties->GetArray(FX_BSTRC("OCGs")); in FPDFDOC_OCG_GetConfig() 63 CPDF_Dictionary *pConfig = pOCProperties->GetDict(FX_BSTRC("D")); in FPDFDOC_OCG_GetConfig() 64 CPDF_Array *pConfigs = pOCProperties->GetArray(FX_BSTRC("Configs")); in FPDFDOC_OCG_GetConfig() 73 if (!FPDFDOC_OCG_HasIntent(pFind, FX_BSTRC("View"), FX_BSTRC("View"))) { in FPDFDOC_OCG_GetConfig() 84 CFX_ByteString csState = FX_BSTRC("View"); in FPDFDOC_OCG_GetUsageTypeString() [all …]
|
D | doc_viewerPreferences.cpp | 17 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in IsDirectionR2L() 21 return FX_BSTRC("R2L") == pDict->GetString(FX_BSTRC("Direction")); in IsDirectionR2L() 26 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in PrintScaling() 30 return FX_BSTRC("None") != pDict->GetString(FX_BSTRC("PrintScaling")); in PrintScaling() 35 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in NumCopies() 39 return pDict->GetInteger(FX_BSTRC("NumCopies")); in NumCopies() 45 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in PrintPageRange() 49 pRange = pDict->GetArray(FX_BSTRC("PrintPageRange")); in PrintPageRange() 55 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in Duplex() 57 return FX_BSTRC("None"); in Duplex() [all …]
|
D | doc_basic.cpp | 77 if (pDoc->GetRoot() && pDoc->GetRoot()->GetDict(FX_BSTRC("Names"))) in CPDF_NameTree() 78 m_pRoot = pDoc->GetRoot()->GetDict(FX_BSTRC("Names"))->GetDict(category); in CPDF_NameTree() 88 CPDF_Array* pLimits = pNode->GetArray(FX_BSTRC("Limits")); in SearchNameNode() 101 CPDF_Array* pNames = pNode->GetArray(FX_BSTRC("Names")); in SearchNameNode() 123 CPDF_Array* pKids = pNode->GetArray(FX_BSTRC("Kids")); in SearchNameNode() 145 CPDF_Array* pNames = pNode->GetArray(FX_BSTRC("Names")); in SearchNameNode() 159 CPDF_Array* pKids = pNode->GetArray(FX_BSTRC("Kids")); in SearchNameNode() 180 CPDF_Array* pNames = pNode->GetArray(FX_BSTRC("Names")); in CountNames() 184 CPDF_Array* pKids = pNode->GetArray(FX_BSTRC("Kids")); in CountNames() 236 CPDF_Dictionary* pDests = pDoc->GetRoot()->GetDict(FX_BSTRC("Dests")); in LookupNamedDest() [all …]
|
D | doc_metadata.cpp | 56 CPDF_Stream *pStream = pRoot->GetStream(FX_BSTRC("Metadata")); in LoadDoc() 70 if (pXmlElmnt->GetTagName() == FX_BSTRC("RDF")) { in LoadDoc() 73 pElmntRdf = pXmlElmnt->GetElement(NULL, FX_BSTRC("RDF")); in LoadDoc() 96 CXML_Element *pTag = pElmntRdf->GetElement(NULL, FX_BSTRC("Description"), i); in GetString() 100 if (bsItem == FX_BSTRC("Title") || bsItem == FX_BSTRC("Subject")) { in GetString() 105 pElmnt = pElmnt->GetElement(NULL, FX_BSTRC("Alt")); in GetString() 109 pElmnt = pElmnt->GetElement(NULL, FX_BSTRC("li")); in GetString() 115 } else if (bsItem == FX_BSTRC("Author")) { in GetString() 120 pElmnt = pElmnt->GetElement(NULL, FX_BSTRC("Seq")); in GetString() 124 pElmnt = pElmnt->GetElement(NULL, FX_BSTRC("li")); in GetString()
|
D | doc_tagged.cpp | 15 CPDF_Dictionary* pMarkInfo = pCatalog->GetDict(FX_BSTRC("MarkInfo")); in IsTagged() 16 return pMarkInfo != NULL && pMarkInfo->GetInteger(FX_BSTRC("Marked")); in IsTagged() 39 m_pTreeRoot = pCatalog->GetDict(FX_BSTRC("StructTreeRoot")); in CPDF_StructTreeImpl() 43 m_pRoleMap = m_pTreeRoot->GetDict(FX_BSTRC("RoleMap")); in CPDF_StructTreeImpl() 58 CPDF_Object* pKids = m_pTreeRoot->GetElementValue(FX_BSTRC("K")); in LoadDocTree() 83 CPDF_Object* pKids = m_pTreeRoot->GetElementValue(FX_BSTRC("K")); in LoadPageTree() 101 CPDF_Dictionary* pParentTree = m_pTreeRoot->GetDict(FX_BSTRC("ParentTree")); in LoadPageTree() 106 int parents_id = pPageDict->GetInteger(FX_BSTRC("StructParents"), -1); in LoadPageTree() 133 CPDF_Dictionary* pParent = pDict->GetDict(FX_BSTRC("P")); in AddPageNode() 134 if (pParent == NULL || pParent->GetString(FX_BSTRC("Type")) == FX_BSTRC("StructTreeRoot")) { in AddPageNode() [all …]
|
D | doc_action.cpp | 22 CPDF_NameTree name_tree(pDoc, FX_BSTRC("Dests")); in GetDest() 63 CPDF_Dictionary* pWinDict = m_pDict->GetDict(FX_BSTRC("Win")); in GetFilePath() 65 return CFX_WideString::FromLocal(pWinDict->GetString(FX_BSTRC("F"))); in GetFilePath() 87 if (csURI.Find(FX_BSTRC(":"), 0) < 1) { in GetURI() 214 if (csType == FX_BSTRC("Rendition")) { in GetAnnot() 216 } else if (csType == FX_BSTRC("Movie")) { in GetAnnot() 227 if (csType == FX_BSTRC("Rendition")) { in GetOperationType() 229 } else if (csType == FX_BSTRC("Movie")) { in GetOperationType() 231 if (csOP == FX_BSTRC("Play")) { in GetOperationType() 233 } else if (csOP == FX_BSTRC("Stop")) { in GetOperationType() [all …]
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_ps.cpp | 102 buf << x << FX_BSTRC(" ") << y; in OutputPath() 105 buf << FX_BSTRC(" m "); in OutputPath() 109 buf << FX_BSTRC(" l h "); in OutputPath() 111 buf << FX_BSTRC(" l "); in OutputPath() 123 … buf << FX_BSTRC(" ") << x1 << FX_BSTRC(" ") << y1 << FX_BSTRC(" ") << x2 << FX_BSTRC(" ") << y2; in OutputPath() 125 buf << FX_BSTRC(" c h\n"); in OutputPath() 127 buf << FX_BSTRC(" c\n"); in OutputPath() 163 …buf << FX_BSTRC("mx Cm [") << pObject2Device->a << FX_BSTRC(" ") << pObject2Device->b << FX_BSTRC(… in SetClip_PathStroke() 164 … pObject2Device->c << FX_BSTRC(" ") << pObject2Device->d << FX_BSTRC(" ") << pObject2Device->e << in SetClip_PathStroke() 165 FX_BSTRC(" ") << pObject2Device->f << FX_BSTRC("]cm "); in SetClip_PathStroke() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_fdf.cpp | 26 pDoc->m_pRootDict->SetAt(FX_BSTRC("FDF"), pFDFDict); in CreateNewDoc() 62 if (word != FX_BSTRC("obj")) { in ParseStream() 71 if (word != FX_BSTRC("endobj")) { in ParseStream() 75 if (word != FX_BSTRC("trailer")) { in ParseStream() 82 m_pRootDict = pMainDict->GetDict(FX_BSTRC("Root")); in ParseStream() 93 buf << FX_BSTRC("%FDF-1.2\r\n"); in WriteBuf() 99 buf << (FX_DWORD)objnum << FX_BSTRC(" 0 obj\r\n") << pObj << FX_BSTRC("\r\nendobj\r\n\r\n"); in WriteBuf() 101 …buf << FX_BSTRC("trailer\r\n<</Root ") << m_pRootDict->GetObjNum() << FX_BSTRC(" 0 R>>\r\n%%EOF\r\… in WriteBuf() 106 CPDF_Dictionary* pDict = m_pRootDict ? m_pRootDict->GetDict(FX_BSTRC("FDF")) : NULL; in GetWin32Path() 107 CPDF_Object* pFileSpec = pDict ? pDict->GetElementValue(FX_BSTRC("F")) : NULL; in GetWin32Path() [all …]
|
D | fpdf_parser_decode.cpp | 195 K = pParams->GetInteger(FX_BSTRC("K")); in FPDFAPI_CreateFaxDecoder() 196 EndOfLine = pParams->GetInteger(FX_BSTRC("EndOfLine")); in FPDFAPI_CreateFaxDecoder() 197 ByteAlign = pParams->GetInteger(FX_BSTRC("EncodedByteAlign")); in FPDFAPI_CreateFaxDecoder() 198 BlackIs1 = pParams->GetInteger(FX_BSTRC("BlackIs1")); in FPDFAPI_CreateFaxDecoder() 199 Columns = pParams->GetInteger(FX_BSTRC("Columns"), 1728); in FPDFAPI_CreateFaxDecoder() 200 Rows = pParams->GetInteger(FX_BSTRC("Rows")); in FPDFAPI_CreateFaxDecoder() 237 predictor = ((CPDF_Dictionary*)pParams)->GetInteger(FX_BSTRC("Predictor")); in FPDFAPI_CreateFlateDecoder() 238 Colors = pParams->GetInteger(FX_BSTRC("Colors"), 1); in FPDFAPI_CreateFlateDecoder() 239 BitsPerComponent = pParams->GetInteger(FX_BSTRC("BitsPerComponent"), 8); in FPDFAPI_CreateFlateDecoder() 240 Columns = pParams->GetInteger(FX_BSTRC("Columns"), 1); in FPDFAPI_CreateFlateDecoder() [all …]
|
D | fpdf_parser_document.cpp | 76 CPDF_Object *pCount = pLinearized->GetElement(FX_BSTRC("N")); in LoadAsynDoc() 81 CPDF_Object *pNo = pLinearized->GetElement(FX_BSTRC("P")); in LoadAsynDoc() 85 CPDF_Object *pObjNum = pLinearized->GetElement(FX_BSTRC("O")); in LoadAsynDoc() 108 CPDF_Array* pKidList = pPages->GetArray(FX_BSTRC("Kids")); in _FindPDFPage() 128 if (!pKid->KeyExist(FX_BSTRC("Kids"))) { in _FindPDFPage() 135 int nPages = pKid->GetInteger(FX_BSTRC("Count")); in _FindPDFPage() 165 CPDF_Dictionary* pPages = pRoot->GetDict(FX_BSTRC("Pages")); in GetPage() 178 if (pNode->KeyExist(FX_BSTRC("Kids"))) { in _FindPageIndex() 179 CPDF_Array* pKidList = pNode->GetArray(FX_BSTRC("Kids")); in _FindPageIndex() 186 FX_DWORD count = pNode->GetInteger(FX_BSTRC("Count")); in _FindPageIndex() [all …]
|
D | fpdf_parser_encrypt.cpp | 19 int revision = pEncrypt->GetInteger(FX_BSTRC("R")); in CalcEncryptKey() 27 CFX_ByteString okey = pEncrypt->GetString(FX_BSTRC("O")); in CalcEncryptKey() 29 FX_DWORD perm = pEncrypt->GetInteger(FX_BSTRC("P")); in CalcEncryptKey() 35 if (!bIgnoreMeta && revision >= 3 && !pEncrypt->GetInteger(FX_BSTRC("EncryptMetadata"), 1)) { in CalcEncryptKey() 108 int Version = pEncryptDict->GetInteger(FX_BSTRC("V")); in _LoadCryptInfo() 112 CPDF_Dictionary* pCryptFilters = pEncryptDict->GetDict(FX_BSTRC("CF")); in _LoadCryptInfo() 116 if (name == FX_BSTRC("Identity")) { in _LoadCryptInfo() 125 nKeyBits = pDefFilter->GetInteger(FX_BSTRC("Length"), 0); in _LoadCryptInfo() 127 nKeyBits = pEncryptDict->GetInteger(FX_BSTRC("Length"), 128); in _LoadCryptInfo() 130 nKeyBits = pEncryptDict->GetInteger(FX_BSTRC("Length"), 256); in _LoadCryptInfo() [all …]
|
D | fpdf_parser_utility.cpp | 357 buf << FX_BSTRC(" null"); in operator <<() 362 buf << FX_BSTRC(" null"); in operator <<() 376 buf << FX_BSTRC("/") << PDF_NameEncode(str); in operator <<() 381 buf << " " << p->GetRefObjNum() << FX_BSTRC(" 0 R "); in operator <<() 386 buf << FX_BSTRC("["); in operator <<() 390 buf << " " << pElement->GetObjNum() << FX_BSTRC(" 0 R"); in operator <<() 395 buf << FX_BSTRC("]"); in operator <<() 400 buf << FX_BSTRC("<<"); in operator <<() 405 buf << FX_BSTRC("/") << PDF_NameEncode(key); in operator <<() 407 buf << " " << pValue->GetObjNum() << FX_BSTRC(" 0 R "); in operator <<() [all …]
|
D | fpdf_parser_parser.cpp | 17 CPDF_Object* pType = pDict->GetElementValue(FX_BSTRC("Type")); in IsSignatureDict() 19 pType = pDict->GetElementValue(FX_BSTRC("FT")); in IsSignatureDict() 24 if (pType->GetString() == FX_BSTRC("Sig")) { in IsSignatureDict() 179 if (m_Syntax.SearchWord(FX_BSTRC("startxref"), TRUE, FALSE, 4096)) { in StartParse() 242 …CPDF_Reference* pMetadata = (CPDF_Reference*)m_pDocument->GetRoot()->GetElement(FX_BSTRC("Metadata… in StartParse() 256 CPDF_Object* pEncryptObj = m_pTrailer->GetElement(FX_BSTRC("Encrypt")); in SetEncryptHandler() 283 CFX_ByteString filter = m_pEncryptDict->GetString(FX_BSTRC("Filter")); in SetEncryptHandler() 286 if (filter == FX_BSTRC("Standard")) { in SetEncryptHandler() 361 FX_INT32 xrefsize = GetDirectInteger(m_pTrailer, FX_BSTRC("Size")); in LoadAllCrossRefV4() 369 XRefStreamList.Add(GetDirectInteger(m_pTrailer, FX_BSTRC("XRefStm"))); in LoadAllCrossRefV4() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_create.cpp | 19 if (pFile->AppendString(FX_BSTRC(" null")) < 0) { in PDF_CreatorAppendObject() 27 if (pFile->AppendString(FX_BSTRC(" null")) < 0) { in PDF_CreatorAppendObject() 34 if (pFile->AppendString(FX_BSTRC(" ")) < 0) { in PDF_CreatorAppendObject() 52 if (pFile->AppendString(FX_BSTRC("/")) < 0) { in PDF_CreatorAppendObject() 63 if (pFile->AppendString(FX_BSTRC(" ")) < 0) { in PDF_CreatorAppendObject() 70 if (pFile->AppendString(FX_BSTRC(" 0 R ")) < 0) { in PDF_CreatorAppendObject() 77 if (pFile->AppendString(FX_BSTRC("[")) < 0) { in PDF_CreatorAppendObject() 85 if (pFile->AppendString(FX_BSTRC(" ")) < 0) { in PDF_CreatorAppendObject() 91 if (pFile->AppendString(FX_BSTRC(" 0 R")) < 0) { in PDF_CreatorAppendObject() 101 if (pFile->AppendString(FX_BSTRC("]")) < 0) { in PDF_CreatorAppendObject() [all …]
|
D | fpdf_edit_image.cpp | 37 pDict->SetAt(FX_BSTRC("Decode"), pDecode); in InitJPEG() 106 pDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("XObject")); in SetImage() 107 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Image")); in SetImage() 108 pDict->SetAtInteger(FX_BSTRC("Width"), BitmapWidth); in SetImage() 109 pDict->SetAtInteger(FX_BSTRC("Height"), BitmapHeight); in SetImage() 120 pDict->SetAt(FX_BSTRC("ImageMask"), new CPDF_Boolean(TRUE)); in SetImage() 125 pDict->SetAt(FX_BSTRC("Decode"), pArray); in SetImage() 129 pCS->AddName(FX_BSTRC("Indexed")); in SetImage() 130 pCS->AddName(FX_BSTRC("DeviceRGB")); in SetImage() 142 pDict->SetAt(FX_BSTRC("ColorSpace"), pCS); in SetImage() [all …]
|
D | fpdf_edit_doc.cpp | 302 pBaseDict->SetAtName(FX_BSTRC("Encoding"), "WinAnsiEncoding"); in AddWindowsFont() 312 pEncoding->SetAtName(FX_BSTRC("BaseEncoding"), "WinAnsiEncoding"); in AddWindowsFont() 319 pArray->AddName(FX_BSTRC(".notdef")); in AddWindowsFont() 324 pEncoding->SetAt(FX_BSTRC("Differences"), pArray); in AddWindowsFont() 326 pBaseDict->SetAtReference(FX_BSTRC("Encoding"), this, pEncoding); in AddWindowsFont() 684 pBaseDict->SetAtName(FX_BSTRC("Encoding"), "WinAnsiEncoding"); in AddMacFont() 697 pEncoding->SetAtName(FX_BSTRC("BaseEncoding"), "WinAnsiEncoding"); in AddMacFont() 704 pArray->AddName(FX_BSTRC(".notdef")); in AddMacFont() 709 pEncoding->SetAt(FX_BSTRC("Differences"), pArray); in AddMacFont() 711 pBaseDict->SetAtReference(FX_BSTRC("Encoding"), this, pEncoding); in AddMacFont() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
D | fpdf_font.cpp | 153 return FX_BSTRC("Type1"); in GetFontTypeName() 155 return FX_BSTRC("TrueType"); in GetFontTypeName() 157 return FX_BSTRC("Type3"); in GetFontTypeName() 159 return FX_BSTRC("Type0"); in GetFontTypeName() 237 m_Flags = pFontDesc->GetInteger(FX_BSTRC("Flags"), PDFFONT_NONSYMBOLIC); in LoadFontDescriptor() 240 if (pFontDesc->KeyExist(FX_BSTRC("ItalicAngle"))) { in LoadFontDescriptor() 241 ItalicAngle = pFontDesc->GetInteger(FX_BSTRC("ItalicAngle")); in LoadFontDescriptor() 249 if (pFontDesc->KeyExist(FX_BSTRC("StemV"))) { in LoadFontDescriptor() 250 m_StemV = pFontDesc->GetInteger(FX_BSTRC("StemV")); in LoadFontDescriptor() 254 if (pFontDesc->KeyExist(FX_BSTRC("Ascent"))) { in LoadFontDescriptor() [all …]
|
D | fpdf_font_cid.cpp | 189 if (word == FX_BSTRC("begincidchar")) { in ParseWord() 192 } else if (word == FX_BSTRC("begincidrange")) { in ParseWord() 195 } else if (word == FX_BSTRC("endcidrange") || word == FX_BSTRC("endcidchar")) { in ParseWord() 197 } else if (word == FX_BSTRC("/WMode")) { in ParseWord() 199 } else if (word == FX_BSTRC("/Registry")) { in ParseWord() 201 } else if (word == FX_BSTRC("/Ordering")) { in ParseWord() 203 } else if (word == FX_BSTRC("/Supplement")) { in ParseWord() 205 } else if (word == FX_BSTRC("begincodespacerange")) { in ParseWord() 208 } else if (word == FX_BSTRC("usecmap")) { in ParseWord() 252 if (word == FX_BSTRC("endcodespacerange")) { in ParseWord() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_parser_old.cpp | 91 if (bsKeyword != FX_BSTRC("ID")) { in Handle_BeginImage() 110 if (pDict->KeyExist(FX_BSTRC("ColorSpace"))) { in Handle_BeginImage() 111 pCSObj = pDict->GetElementValue(FX_BSTRC("ColorSpace")); in Handle_BeginImage() 114 …if (name != FX_BSTRC("DeviceRGB") && name != FX_BSTRC("DeviceGray") && name != FX_BSTRC("DeviceCMY… in Handle_BeginImage() 115 pCSObj = FindResourceObj(FX_BSTRC("ColorSpace"), name); in Handle_BeginImage() 118 pDict->SetAt(FX_BSTRC("ColorSpace"), pCSObj, m_pDocument); in Handle_BeginImage() 145 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Image")); in Handle_BeginImage() 288 if (decoder == FX_BSTRC("CCITTFaxDecode") || decoder == FX_BSTRC("CCF")) { in PDF_DecodeInlineStream() 291 } else if (decoder == FX_BSTRC("ASCII85Decode") || decoder == FX_BSTRC("A85")) { in PDF_DecodeInlineStream() 293 } else if (decoder == FX_BSTRC("ASCIIHexDecode") || decoder == FX_BSTRC("AHx")) { in PDF_DecodeInlineStream() [all …]
|
D | fpdf_page_pattern.cpp | 28 m_Pattern2Form = pDict->GetMatrix(FX_BSTRC("Matrix")); in CPDF_TilingPattern() 29 m_bColored = pDict->GetInteger(FX_BSTRC("PaintType")) == 1; in CPDF_TilingPattern() 51 m_bColored = pDict->GetInteger(FX_BSTRC("PaintType")) == 1; in Load() 52 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("XStep"))); in Load() 53 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("YStep"))); in Load() 60 m_BBox = pDict->GetRect(FX_BSTRC("BBox")); in Load() 72 m_Pattern2Form = pDict->GetMatrix(FX_BSTRC("Matrix")); in CPDF_ShadingPattern() 73 m_pShadingObj = pDict->GetElementValue(FX_BSTRC("Shading")); in CPDF_ShadingPattern() 125 CPDF_Object* pFunc = pShadingDict->GetElementValue(FX_BSTRC("Function")); in Load() 140 CPDF_Object* pCSObj = pShadingDict->GetElementValue(FX_BSTRC("ColorSpace")); in Load() [all …]
|
D | fpdf_page_image.cpp | 99 m_pOC = pDict->GetDict(FX_BSTRC("OC")); in LoadImageF() 100 … m_bIsMask = !pDict->KeyExist(FX_BSTRC("ColorSpace")) || pDict->GetInteger(FX_BSTRC("ImageMask")); in LoadImageF() 101 m_bInterpolate = pDict->GetInteger(FX_BSTRC("Interpolate")); in LoadImageF() 102 m_Height = pDict->GetInteger(FX_BSTRC("Height")); in LoadImageF() 103 m_Width = pDict->GetInteger(FX_BSTRC("Width")); in LoadImageF()
|
D | fpdf_page_doc.cpp | 336 if (pFont->GetFontDict()->KeyExist(FX_BSTRC("Widths"))) { in GetStandardFont() 347 pDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("Font")); in GetStandardFont() 348 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Type1")); in GetStandardFont() 349 pDict->SetAtName(FX_BSTRC("BaseFont"), fontName); in GetStandardFont() 351 pDict->SetAt(FX_BSTRC("Encoding"), pEncoding->Realize()); in GetStandardFont() 388 CPDF_Dictionary* pList = pResources->GetDict(FX_BSTRC("ColorSpace")); in GetColorSpace() 397 CPDF_Dictionary* pColorSpaces = pResources->GetDict(FX_BSTRC("ColorSpace")); in GetColorSpace() 404 pDefaultCS = pColorSpaces->GetElementValue(FX_BSTRC("DefaultRGB")); in GetColorSpace() 407 pDefaultCS = pColorSpaces->GetElementValue(FX_BSTRC("DefaultGray")); in GetColorSpace() 410 pDefaultCS = pColorSpaces->GetElementValue(FX_BSTRC("DefaultCMYK")); in GetColorSpace() [all …]
|
D | fpdf_page_func.cpp | 152 if (word != FX_BSTRC("{")) { in Parse() 164 if (word == FX_BSTRC("}")) { in Parse() 167 if (word == FX_BSTRC("{")) { in Parse() 480 CPDF_Array* pSize = pDict->GetArray(FX_BSTRC("Size")); in v_Init() 481 CPDF_Array* pEncode = pDict->GetArray(FX_BSTRC("Encode")); in v_Init() 482 CPDF_Array* pDecode = pDict->GetArray(FX_BSTRC("Decode")); in v_Init() 483 m_nBitsPerSample = pDict->GetInteger(FX_BSTRC("BitsPerSample")); in v_Init() 493 m_pEncodeInfo[i].sizes = pDict->GetInteger(FX_BSTRC("Size")); in v_Init() 663 CPDF_Array* pArray0 = pDict->GetArray(FX_BSTRC("C0")); in v_Init() 670 CPDF_Array* pArray1 = pDict->GetArray(FX_BSTRC("C1")); in v_Init() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_loadimage.cpp | 191 m_Width = m_pDict->GetInteger(FX_BSTRC("Width")); in Load() 192 m_Height = m_pDict->GetInteger(FX_BSTRC("Height")); in Load() 306 m_Width = m_pDict->GetInteger(FX_BSTRC("Width")); in StartLoadDIBSource() 307 m_Height = m_pDict->GetInteger(FX_BSTRC("Height")); in StartLoadDIBSource() 361 if (decoder == FX_BSTRC("JPXDecode")) { in ContinueLoadDIBSource() 368 … CPDF_Stream* pGlobals = m_pStreamAcc->GetImageParam()->GetStream(FX_BSTRC("JBIG2Globals")); in ContinueLoadDIBSource() 434 m_bpc_orig = m_pDict->GetInteger(FX_BSTRC("BitsPerComponent")); in LoadColorInfo() 438 if (m_bImageMask || !m_pDict->KeyExist(FX_BSTRC("ColorSpace"))) { in LoadColorInfo() 440 CPDF_Object* pFilter = m_pDict->GetElementValue(FX_BSTRC("Filter")); in LoadColorInfo() 445 if (filter == FX_BSTRC("JPXDecode")) { in LoadColorInfo() [all …]
|
/external/pdfium/core/src/fxcrt/ |
D | fx_xml_parser.cpp | 210 if (ref == FX_BSTRC("gt")) { in GetCharRef() 212 } else if (ref == FX_BSTRC("lt")) { in GetCharRef() 214 } else if (ref == FX_BSTRC("amp")) { in GetCharRef() 216 } else if (ref == FX_BSTRC("apos")) { in GetCharRef() 218 } else if (ref == FX_BSTRC("quot")) { in GetCharRef() 336 SkipLiterals(FX_BSTRC("?>")); in GetTagName() 341 SkipLiterals(FX_BSTRC("-->")); in GetTagName() 450 SkipLiterals(FX_BSTRC("?>")); in ParseElement() 483 SkipLiterals(FX_BSTRC("]]>")); in ParseElement() 486 SkipLiterals(FX_BSTRC("-->")); in ParseElement() [all …]
|