Searched refs:FX_BSTRC (Results 1 - 25 of 57) sorted by relevance

123

/external/pdfium/core/src/fpdfdoc/
H A Ddoc_viewerPreferences.cpp17 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences"));
21 return FX_BSTRC("R2L") == pDict->GetString(FX_BSTRC("Direction"));
26 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences"));
30 return FX_BSTRC("None") != pDict->GetString(FX_BSTRC("PrintScaling"));
H A Ddoc_ocg.cpp28 static FX_BOOL FPDFDOC_OCG_HasIntent(const CPDF_Dictionary *pDict, FX_BSTR csElement, FX_BSTR csDef = FX_BSTRC("")) argument
31 CPDF_Object *pIntent = pDict->GetElementValue(FX_BSTRC("Intent"));
40 if (bsIntent == FX_BSTRC("All") || bsIntent == csElement) {
47 return bsIntent == FX_BSTRC("All") || bsIntent == csElement;
52 CPDF_Dictionary *pOCProperties = pDoc->GetRoot()->GetDict(FX_BSTRC("OCProperties"));
56 CPDF_Array *pOCGs = pOCProperties->GetArray(FX_BSTRC("OCGs"));
63 CPDF_Dictionary *pConfig = pOCProperties->GetDict(FX_BSTRC("D"));
64 CPDF_Array *pConfigs = pOCProperties->GetArray(FX_BSTRC("Configs"));
73 if (!FPDFDOC_OCG_HasIntent(pFind, FX_BSTRC("View"), FX_BSTRC("Vie
[all...]
H A Ddoc_metadata.cpp60 CPDF_Stream *pStream = pRoot->GetStream(FX_BSTRC("Metadata"));
74 if (pXmlElmnt->GetTagName() == FX_BSTRC("RDF")) {
77 pElmntRdf = pXmlElmnt->GetElement(NULL, FX_BSTRC("RDF"));
100 CXML_Element *pTag = pElmntRdf->GetElement(NULL, FX_BSTRC("Description"), i);
104 if (bsItem == FX_BSTRC("Title") || bsItem == FX_BSTRC("Subject")) {
109 pElmnt = pElmnt->GetElement(NULL, FX_BSTRC("Alt"));
113 pElmnt = pElmnt->GetElement(NULL, FX_BSTRC("li"));
119 } else if (bsItem == FX_BSTRC("Author")) {
124 pElmnt = pElmnt->GetElement(NULL, FX_BSTRC("Se
[all...]
H A Ddoc_basic.cpp75 m_pRoot = pDoc->GetRoot()->GetDict(FX_BSTRC("Names"))->GetDict(category);
83 CPDF_Array* pLimits = pNode->GetArray(FX_BSTRC("Limits"));
96 CPDF_Array* pNames = pNode->GetArray(FX_BSTRC("Names"));
118 CPDF_Array* pKids = pNode->GetArray(FX_BSTRC("Kids"));
140 CPDF_Array* pNames = pNode->GetArray(FX_BSTRC("Names"));
154 CPDF_Array* pKids = pNode->GetArray(FX_BSTRC("Kids"));
175 CPDF_Array* pNames = pNode->GetArray(FX_BSTRC("Names"));
179 CPDF_Array* pKids = pNode->GetArray(FX_BSTRC("Kids"));
231 CPDF_Dictionary* pDests = pDoc->GetRoot()->GetDict(FX_BSTRC("Dests"));
244 return ((CPDF_Dictionary*)pValue)->GetArray(FX_BSTRC("
[all...]
H A Ddoc_action.cpp22 CPDF_NameTree name_tree(pDoc, FX_BSTRC("Dests"));
62 CPDF_Dictionary* pWinDict = m_pDict->GetDict(FX_BSTRC("Win"));
64 return CFX_WideString::FromLocal(pWinDict->GetString(FX_BSTRC("F")));
86 if (csURI.Find(FX_BSTRC(":"), 0) < 1) {
213 if (csType == FX_BSTRC("Rendition")) {
215 } else if (csType == FX_BSTRC("Movie")) {
226 if (csType == FX_BSTRC("Rendition")) {
228 } else if (csType == FX_BSTRC("Movie")) {
230 if (csOP == FX_BSTRC("Play")) {
232 } else if (csOP == FX_BSTRC("Sto
[all...]
H A Ddoc_tagged.cpp15 CPDF_Dictionary* pMarkInfo = pCatalog->GetDict(FX_BSTRC("MarkInfo"));
16 return pMarkInfo != NULL && pMarkInfo->GetInteger(FX_BSTRC("Marked"));
45 m_pTreeRoot = pCatalog->GetDict(FX_BSTRC("StructTreeRoot"));
49 m_pRoleMap = m_pTreeRoot->GetDict(FX_BSTRC("RoleMap"));
64 CPDF_Object* pKids = m_pTreeRoot->GetElementValue(FX_BSTRC("K"));
95 CPDF_Object* pKids = m_pTreeRoot->GetElementValue(FX_BSTRC("K"));
113 CPDF_Dictionary* pParentTree = m_pTreeRoot->GetDict(FX_BSTRC("ParentTree"));
118 int parents_id = pPageDict->GetInteger(FX_BSTRC("StructParents"), -1);
148 CPDF_Dictionary* pParent = pDict->GetDict(FX_BSTRC("P"));
149 if (pParent == NULL || pParent->GetString(FX_BSTRC("Typ
[all...]
H A Ddoc_annot.cpp46 if (bRegenerateAP && pDict->GetConstString(FX_BSTRC("Subtype")) == FX_BSTRC("Widget"))
86 !pOCContext->CheckOCGVisible(pAnnotDict->GetDict(FX_BSTRC("OC")))) {
168 return m_pAnnotDict->GetConstString(FX_BSTRC("Subtype"));
203 CFX_ByteString value = pAnnotDict->GetString(FX_BSTRC("V"));
205 value = pAnnotDict->GetDict(FX_BSTRC("Parent"))->GetString(FX_BSTRC("V"));
208 as = FX_BSTRC("Off");
241 CFX_FloatRect form_bbox = pForm->m_pFormDict->GetRect(FX_BSTRC("BBox"));
242 CFX_Matrix form_matrix = pForm->m_pFormDict->GetMatrix(FX_BSTRC("Matri
[all...]
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_ps.cpp102 buf << x << FX_BSTRC(" ") << y;
105 buf << FX_BSTRC(" m ");
109 buf << FX_BSTRC(" l h ");
111 buf << FX_BSTRC(" l ");
123 buf << FX_BSTRC(" ") << x1 << FX_BSTRC(" ") << y1 << FX_BSTRC(" ") << x2 << FX_BSTRC(" ") << y2;
125 buf << FX_BSTRC(" c h\n");
127 buf << FX_BSTRC("
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_fdf.cpp26 pDoc->m_pRootDict->SetAt(FX_BSTRC("FDF"), pFDFDict);
70 if (word != FX_BSTRC("obj")) {
79 if (word != FX_BSTRC("endobj")) {
83 if (word != FX_BSTRC("trailer")) {
90 m_pRootDict = pMainDict->GetDict(FX_BSTRC("Root"));
101 buf << FX_BSTRC("%FDF-1.2\r\n");
107 buf << (FX_DWORD)objnum << FX_BSTRC(" 0 obj\r\n") << pObj << FX_BSTRC("\r\nendobj\r\n\r\n");
109 buf << FX_BSTRC("trailer\r\n<</Root ") << m_pRootDict->GetObjNum() << FX_BSTRC("
[all...]
H A Dfpdf_parser_document.cpp75 CPDF_Object *pCount = pLinearized->GetElement(FX_BSTRC("N"));
80 CPDF_Object *pNo = pLinearized->GetElement(FX_BSTRC("P"));
84 CPDF_Object *pObjNum = pLinearized->GetElement(FX_BSTRC("O"));
107 CPDF_Array* pKidList = pPages->GetArray(FX_BSTRC("Kids"));
127 if (!pKid->KeyExist(FX_BSTRC("Kids"))) {
134 int nPages = pKid->GetInteger(FX_BSTRC("Count"));
164 CPDF_Dictionary* pPages = pRoot->GetDict(FX_BSTRC("Pages"));
177 if (pNode->KeyExist(FX_BSTRC("Kids"))) {
178 CPDF_Array* pKidList = pNode->GetArray(FX_BSTRC("Kids"));
185 FX_DWORD count = pNode->GetInteger(FX_BSTRC("Coun
[all...]
H A Dfpdf_parser_decode.cpp203 K = pParams->GetInteger(FX_BSTRC("K"));
204 EndOfLine = pParams->GetInteger(FX_BSTRC("EndOfLine"));
205 ByteAlign = pParams->GetInteger(FX_BSTRC("EncodedByteAlign"));
206 BlackIs1 = pParams->GetInteger(FX_BSTRC("BlackIs1"));
207 Columns = pParams->GetInteger(FX_BSTRC("Columns"), 1728);
208 Rows = pParams->GetInteger(FX_BSTRC("Rows"));
246 predictor = ((CPDF_Dictionary*)pParams)->GetInteger(FX_BSTRC("Predictor"));
247 bEarlyChange = ((CPDF_Dictionary*)pParams)->GetInteger(FX_BSTRC("EarlyChange"), 1);
248 Colors = pParams->GetInteger(FX_BSTRC("Colors"), 1);
249 BitsPerComponent = pParams->GetInteger(FX_BSTRC("BitsPerComponen
[all...]
H A Dfpdf_parser_encrypt.cpp19 int revision = pEncrypt->GetInteger(FX_BSTRC("R"));
27 CFX_ByteString okey = pEncrypt->GetString(FX_BSTRC("O"));
29 FX_DWORD perm = pEncrypt->GetInteger(FX_BSTRC("P"));
35 if (!bIgnoreMeta && revision >= 3 && !pEncrypt->GetInteger(FX_BSTRC("EncryptMetadata"), 1)) {
108 int Version = pEncryptDict->GetInteger(FX_BSTRC("V"));
109 int Revision = pEncryptDict->GetInteger(FX_BSTRC("R"));
113 CPDF_Dictionary* pCryptFilters = pEncryptDict->GetDict(FX_BSTRC("CF"));
117 if (name == FX_BSTRC("Identity")) {
126 nKeyBits = pDefFilter->GetInteger(FX_BSTRC("Length"), 0);
128 nKeyBits = pEncryptDict->GetInteger(FX_BSTRC("Lengt
[all...]
H A Dfpdf_parser_parser.cpp16 CPDF_Object* pType = pDict->GetElementValue(FX_BSTRC("Type"));
18 pType = pDict->GetElementValue(FX_BSTRC("FT"));
23 if (pType->GetString() == FX_BSTRC("Sig")) {
168 if (m_Syntax.SearchWord(FX_BSTRC("startxref"), TRUE, FALSE, 4096)) {
231 CPDF_Reference* pMetadata = (CPDF_Reference*)m_pDocument->GetRoot()->GetElement(FX_BSTRC("Metadata"));
245 CPDF_Object* pEncryptObj = m_pTrailer->GetElement(FX_BSTRC("Encrypt"));
272 CFX_ByteString filter = m_pEncryptDict->GetString(FX_BSTRC("Filter"));
275 if (filter == FX_BSTRC("Standard")) {
350 FX_INT32 xrefsize = GetDirectInteger(m_pTrailer, FX_BSTRC("Size"));
358 XRefStreamList.Add(GetDirectInteger(m_pTrailer, FX_BSTRC("XRefSt
[all...]
H A Dfpdf_parser_utility.cpp331 buf << FX_BSTRC(" null");
336 buf << FX_BSTRC(" null");
350 buf << FX_BSTRC("/") << PDF_NameEncode(str);
355 buf << " " << p->GetRefObjNum() << FX_BSTRC(" 0 R ");
360 buf << FX_BSTRC("[");
364 buf << " " << pElement->GetObjNum() << FX_BSTRC(" 0 R");
369 buf << FX_BSTRC("]");
374 buf << FX_BSTRC("<<");
379 buf << FX_BSTRC("/") << PDF_NameEncode(key);
381 buf << " " << pValue->GetObjNum() << FX_BSTRC("
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_image.cpp83 CPDF_Object* pCSObj = pDict->GetElementValue(FX_BSTRC("ColorSpace"));
108 m_pOC = pDict->GetDict(FX_BSTRC("OC"));
109 m_bIsMask = !pDict->KeyExist(FX_BSTRC("ColorSpace")) || pDict->GetInteger(FX_BSTRC("ImageMask"));
111 m_bInterpolate = pDict->GetInteger(FX_BSTRC("Interpolate"));
113 m_Height = pDict->GetInteger(FX_BSTRC("Height"));
114 m_Width = pDict->GetInteger(FX_BSTRC("Width"));
H A Dfpdf_page_pattern.cpp17 m_Pattern2Form = pDict->GetMatrix(FX_BSTRC("Matrix"));
18 m_bColored = pDict->GetInteger(FX_BSTRC("PaintType")) == 1;
39 m_bColored = pDict->GetInteger(FX_BSTRC("PaintType")) == 1;
40 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("XStep")));
41 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("YStep")));
48 m_BBox = pDict->GetRect(FX_BSTRC("BBox"));
60 m_Pattern2Form = pDict->GetMatrix(FX_BSTRC("Matrix"));
61 m_pShadingObj = pDict->GetElementValue(FX_BSTRC("Shading"));
111 CPDF_Object* pFunc = pShadingDict->GetElementValue(FX_BSTRC("Function"));
126 CPDF_Object* pCSObj = pShadingDict->GetElementValue(FX_BSTRC("ColorSpac
[all...]
H A Dfpdf_page_parser_old.cpp81 if (bsKeyword != FX_BSTRC("ID")) {
100 if (pDict->KeyExist(FX_BSTRC("ColorSpace"))) {
101 pCSObj = pDict->GetElementValue(FX_BSTRC("ColorSpace"));
104 if (name != FX_BSTRC("DeviceRGB") && name != FX_BSTRC("DeviceGray") && name != FX_BSTRC("DeviceCMYK")) {
105 pCSObj = FindResourceObj(FX_BSTRC("ColorSpace"), name);
108 pDict->SetAt(FX_BSTRC("ColorSpace"), pCSObj, m_pDocument);
135 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Imag
[all...]
H A Dfpdf_page_parser_new.cpp482 if (m_pLastImageDict->KeyExist(FX_BSTRC("ColorSpace"))) {
483 CPDF_Object* pCSObj = m_pLastImageDict->GetElementValue(FX_BSTRC("ColorSpace"));
486 if (name != FX_BSTRC("DeviceRGB") && name != FX_BSTRC("DeviceGray") && name != FX_BSTRC("DeviceCMYK")) {
487 pCSObj = FindResourceObj(FX_BSTRC("ColorSpace"), name);
492 m_pLastImageDict->SetAt(FX_BSTRC("ColorSpace"), pCSObj, m_pDocument);
505 if (m_pLastCloneImageDict->KeyExist(FX_BSTRC("Filter"))) {
509 int width = m_pLastCloneImageDict->GetInteger(FX_BSTRC("Width"));
510 int height = m_pLastCloneImageDict->GetInteger(FX_BSTRC("Heigh
[all...]
H A Dfpdf_page_doc.cpp313 if (pFont->GetFontDict()->KeyExist(FX_BSTRC("Widths"))) {
324 pDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("Font"));
325 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Type1"));
326 pDict->SetAtName(FX_BSTRC("BaseFont"), fontName);
328 pDict->SetAt(FX_BSTRC("Encoding"), pEncoding->Realize());
368 CPDF_Dictionary* pList = pResources->GetDict(FX_BSTRC("ColorSpace"));
377 CPDF_Dictionary* pColorSpaces = pResources->GetDict(FX_BSTRC("ColorSpace"));
384 pDefaultCS = pColorSpaces->GetElementValue(FX_BSTRC("DefaultRG
[all...]
H A Dfpdf_page_func.cpp150 if (word != FX_BSTRC("{")) {
162 if (word == FX_BSTRC("}")) {
165 if (word == FX_BSTRC("{")) {
478 CPDF_Array* pSize = pDict->GetArray(FX_BSTRC("Size"));
479 CPDF_Array* pEncode = pDict->GetArray(FX_BSTRC("Encode"));
480 CPDF_Array* pDecode = pDict->GetArray(FX_BSTRC("Decode"));
481 m_nBitsPerSample = pDict->GetInteger(FX_BSTRC("BitsPerSample"));
491 m_pEncodeInfo[i].sizes = pDict->GetInteger(FX_BSTRC("Size"));
643 CPDF_Array* pArray0 = pDict->GetArray(FX_BSTRC("C0"));
650 CPDF_Array* pArray1 = pDict->GetArray(FX_BSTRC("C
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
H A Dfpdf_edit_create.cpp19 if (pFile->AppendString(FX_BSTRC(" null")) < 0) {
27 if (pFile->AppendString(FX_BSTRC(" null")) < 0) {
34 if (pFile->AppendString(FX_BSTRC(" ")) < 0) {
52 if (pFile->AppendString(FX_BSTRC("/")) < 0) {
63 if (pFile->AppendString(FX_BSTRC(" ")) < 0) {
70 if (pFile->AppendString(FX_BSTRC(" 0 R ")) < 0) {
77 if (pFile->AppendString(FX_BSTRC("[")) < 0) {
85 if (pFile->AppendString(FX_BSTRC(" ")) < 0) {
91 if (pFile->AppendString(FX_BSTRC(" 0 R")) < 0) {
101 if (pFile->AppendString(FX_BSTRC("]")) <
[all...]
H A Dfpdf_edit_image.cpp37 pDict->SetAt(FX_BSTRC("Decode"), pDecode);
112 pDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("XObject"));
113 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Image"));
114 pDict->SetAtInteger(FX_BSTRC("Width"), BitmapWidth);
115 pDict->SetAtInteger(FX_BSTRC("Height"), BitmapHeight);
126 pDict->SetAt(FX_BSTRC("ImageMask"), FX_NEW CPDF_Boolean(TRUE));
131 pDict->SetAt(FX_BSTRC("Decode"), pArray);
135 pCS->AddName(FX_BSTRC("Indexe
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_font/
H A Dfpdf_font.cpp154 return FX_BSTRC("Type1");
156 return FX_BSTRC("TrueType");
158 return FX_BSTRC("Type3");
160 return FX_BSTRC("Type0");
238 m_Flags = pFontDesc->GetInteger(FX_BSTRC("Flags"), PDFFONT_NONSYMBOLIC);
241 if (pFontDesc->KeyExist(FX_BSTRC("ItalicAngle"))) {
242 ItalicAngle = pFontDesc->GetInteger(FX_BSTRC("ItalicAngle"));
250 if (pFontDesc->KeyExist(FX_BSTRC("StemV"))) {
251 m_StemV = pFontDesc->GetInteger(FX_BSTRC("StemV"));
255 if (pFontDesc->KeyExist(FX_BSTRC("Ascen
[all...]
H A Dfpdf_font_cid.cpp223 if (word == FX_BSTRC("begincidchar")) {
226 } else if (word == FX_BSTRC("begincidrange")) {
229 } else if (word == FX_BSTRC("endcidrange") || word == FX_BSTRC("endcidchar")) {
231 } else if (word == FX_BSTRC("/WMode")) {
233 } else if (word == FX_BSTRC("/Registry")) {
235 } else if (word == FX_BSTRC("/Ordering")) {
237 } else if (word == FX_BSTRC("/Supplement")) {
239 } else if (word == FX_BSTRC("begincodespacerange")) {
242 } else if (word == FX_BSTRC("usecma
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_loadimage.cpp168 m_Width = m_pDict->GetInteger(FX_BSTRC("Width"));
169 m_Height = m_pDict->GetInteger(FX_BSTRC("Height"));
203 if (!decoder.IsEmpty() && decoder == FX_BSTRC("CCITTFaxDecode")) {
323 m_Width = m_pDict->GetInteger(FX_BSTRC("Width"));
324 m_Height = m_pDict->GetInteger(FX_BSTRC("Height"));
358 if (!decoder.IsEmpty() && decoder == FX_BSTRC("CCITTFaxDecode")) {
393 if (decoder == FX_BSTRC("JPXDecode")) {
400 CPDF_Stream* pGlobals = m_pStreamAcc->GetImageParam()->GetStream(FX_BSTRC("JBIG2Globals"));
473 if (m_bImageMask || !m_pDict->KeyExist(FX_BSTRC("ColorSpace"))) {
475 CPDF_Object* pFilter = m_pDict->GetElementValue(FX_BSTRC("Filte
[all...]

Completed in 1893 milliseconds

123