Lines Matching refs:FX_BSTRC
16 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("XRefStm")));
359 if (!CheckDirectType(m_pTrailer, FX_BSTRC("Prev"), PDFOBJ_NUMBER)) {
362 FX_FILESIZE newxrefpos = GetDirectInteger(m_pTrailer, FX_BSTRC("Prev"));
374 if (!CheckDirectType(pDict, FX_BSTRC("Prev"), PDFOBJ_NUMBER)) {
378 newxrefpos = GetDirectInteger(pDict, FX_BSTRC("Prev"));
384 XRefStreamList.InsertAt(0, pDict->GetInteger(FX_BSTRC("XRefStm")));
402 FX_INT32 xrefsize = GetDirectInteger(m_pTrailer, FX_BSTRC("Size"));
408 XRefStreamList.Add(GetDirectInteger(m_pTrailer, FX_BSTRC("XRefStm")));
409 xrefpos = GetDirectInteger(m_pTrailer, FX_BSTRC("Prev"));
417 xrefpos = GetDirectInteger(pDict, FX_BSTRC("Prev"));
418 XRefStreamList.InsertAt(0, pDict->GetInteger(FX_BSTRC("XRefStm")));
492 if (m_Syntax.GetKeyword() != FX_BSTRC("xref")) {
781 if (pDict->KeyExist(FX_BSTRC("Type"))) {
782 CFX_ByteString bsValue = pDict->GetString(FX_BSTRC("Type"));
783 if (bsValue == FX_BSTRC("XRef") && pDict->KeyExist(FX_BSTRC("Size"))) {
784 CPDF_Object* pRoot = pDict->GetElement(FX_BSTRC("Root"));
785 if (pRoot && pRoot->GetDict() && pRoot->GetDict()->GetElement(FX_BSTRC("Pages"))) {
798 offset = m_Syntax.FindTag(FX_BSTRC("obj"), 0);
852 CPDF_Object* pRoot = pTrailer->GetElement(FX_BSTRC("Root"));
875 if (!strWord.Compare(FX_BSTRC("startxref"))) {
1000 prev = pStream->GetDict()->GetInteger(FX_BSTRC("Prev"));
1001 FX_INT32 size = pStream->GetDict()->GetInteger(FX_BSTRC("Size"));
1017 CPDF_Array* pArray = pStream->GetDict()->GetArray(FX_BSTRC("Index"));
1028 pArray = pStream->GetDict()->GetArray(FX_BSTRC("W"));
1113 CPDF_Object* pID = m_pTrailer->GetElement(FX_BSTRC("ID"));
1119 m_pTrailer->SetAt(FX_BSTRC("ID"), pID);
1128 CPDF_Reference* pRef = (CPDF_Reference*)m_pTrailer->GetElement(FX_BSTRC("Root"));
1136 CPDF_Reference* pRef = (CPDF_Reference*)m_pTrailer->GetElement(FX_BSTRC("Info"));
1165 bForm = m_Syntax.SearchMultiWord(FX_BSTRC("/Form\0stream"), TRUE, size) == 0;
1186 FX_INT32 n = pObjStream->GetDict()->GetInteger(FX_BSTRC("N"));
1187 FX_INT32 offset = pObjStream->GetDict()->GetInteger(FX_BSTRC("First"));
1257 FX_INT32 n = pObjStream->GetDict()->GetInteger(FX_BSTRC("N"));
1258 FX_INT32 offset = pObjStream->GetDict()->GetInteger(FX_BSTRC("First"));
1306 if (m_Syntax.GetKeyword() != FX_BSTRC("obj")) {
1320 if (word == FX_BSTRC("xref")) {
1324 if (bIsNumber && m_Syntax.GetKeyword() == FX_BSTRC("obj")) {
1332 if (m_Syntax.GetKeyword() == FX_BSTRC("endobj")) {
1372 if (m_Syntax.GetKeyword() != FX_BSTRC("obj")) {
1379 if (bsWord == FX_BSTRC("endobj")) {
1411 if (m_Syntax.GetKeyword() != FX_BSTRC("obj")) {
1424 if (m_Syntax.GetKeyword() != FX_BSTRC("trailer")) {
1442 if (m_pEncryptDict && m_pEncryptDict->GetString(FX_BSTRC("Filter")) == FX_BSTRC("Standard")) {
1445 if(bCheckRevision && m_pEncryptDict->GetInteger(FX_BSTRC("R")) == 2) {
1486 if (m_Syntax.GetKeyword() != FX_BSTRC("obj")) {
1494 if (m_pLinearized->GetDict()->GetElement(FX_BSTRC("Linearized"))) {
1496 CPDF_Object *pLen = m_pLinearized->GetDict()->GetElement(FX_BSTRC("L"));
1504 CPDF_Object *pNo = m_pLinearized->GetDict()->GetElement(FX_BSTRC("P"));
1508 CPDF_Object *pTable = m_pLinearized->GetDict()->GetElement(FX_BSTRC("T"));
1550 FX_INT32 xrefsize = GetDirectInteger(m_pTrailer, FX_BSTRC("Size"));
1594 CPDF_Reference* pMetadata = (CPDF_Reference*)m_pDocument->GetRoot()->GetElement(FX_BSTRC("Metadata"));
2053 if (nextword2 == FX_BSTRC("R")) {
2077 if (word == FX_BSTRC("true") || word == FX_BSTRC("false")) {
2081 pRet = CPDF_Boolean::Create(word == FX_BSTRC("true"));
2084 if (word == FX_BSTRC("null")) {
2091 if (word == FX_BSTRC("(")) {
2103 if (word == FX_BSTRC("<")) {
2115 if (word == FX_BSTRC("[")) {
2137 if (word == FX_BSTRC("<<")) {
2157 if (key == FX_BSTRC(">>")) {
2161 if (key == FX_BSTRC("endobj")) {
2171 if (key == FX_BSTRC("/Contents")) {
2192 pDict->SetAt(FX_BSTRC("Contents"), pObj);
2204 if (nextword == FX_BSTRC("stream")) {
2216 if (word == FX_BSTRC(">>")) {
2246 if (nextword2 == FX_BSTRC("R")) {
2267 if (word == FX_BSTRC("true") || word == FX_BSTRC("false")) {
2271 return CPDF_Boolean::Create(word == FX_BSTRC("true"));
2273 if (word == FX_BSTRC("null")) {
2279 if (word == FX_BSTRC("(")) {
2289 if (word == FX_BSTRC("<")) {
2299 if (word == FX_BSTRC("[")) {
2322 if (word == FX_BSTRC("<<")) {
2338 if (key == FX_BSTRC(">>")) {
2341 if (key == FX_BSTRC("endobj")) {
2378 if (nextword == FX_BSTRC("stream")) {
2390 if (word == FX_BSTRC(">>")) {
2402 CPDF_Object* pLenObj = pDict->GetElement(FX_BSTRC("Length"));
2428 FX_FILESIZE offset = FindTag(FX_BSTRC("endstream"), 0);
2432 FX_FILESIZE endobjOffset = FindTag(FX_BSTRC("endobj"), 0);
2447 pDict->SetAtInteger(FX_BSTRC("Length"), len);
2450 if (FindTag(FX_BSTRC("endobj"), 0) < 0) {
3135 CPDF_Reference* pRef = (CPDF_Reference*)m_pRoot->GetDict()->GetElement(FX_BSTRC("Pages"));
3141 CPDF_Reference* pAcroFormRef = (CPDF_Reference*)m_pRoot->GetDict()->GetElement(FX_BSTRC("AcroForm"));
3160 CPDF_Reference* pRef = (CPDF_Reference*)pRoot->GetElement(FX_BSTRC("Pages"));
3229 CFX_ByteString type = pObj->GetDict()->GetString(FX_BSTRC("Type"));
3230 if (type == FX_BSTRC("Pages")) {
3273 CPDF_Object *pKids = pPages->GetDict()->GetElement(FX_BSTRC("Kids"));
3347 CPDF_Object *pEndOffSet = m_pLinearized->GetDict()->GetElement(FX_BSTRC("E"));
3352 CPDF_Object *pXRefOffset = m_pLinearized->GetDict()->GetElement(FX_BSTRC("T"));
3357 CPDF_Object *pFileLen = m_pLinearized->GetDict()->GetElement(FX_BSTRC("L"));
3422 if (m_syntaxParser.GetKeyword() != FX_BSTRC("obj")) {
3476 if (m_pLinearized->GetDict()->GetElement(FX_BSTRC("Linearized"))) {
3477 CPDF_Object *pLen = m_pLinearized->GetDict()->GetElement(FX_BSTRC("L"));
3485 CPDF_Object *pNo = m_pLinearized->GetDict()->GetElement(FX_BSTRC("P"));
3503 if (m_syntaxParser.SearchWord(FX_BSTRC("startxref"), TRUE, FALSE, dwSize)) {
3551 CPDF_Object *pName = pObj->GetDict()->GetElement(FX_BSTRC("Type"));
3553 if (pName->GetString() == FX_BSTRC("XRef")) {
3555 xref_offset = pObj->GetDict()->GetInteger(FX_BSTRC("Prev"));
3799 FX_DWORD xrefpos = GetDirectInteger(pTrailer->GetDict(), FX_BSTRC("Prev"));
3801 m_dwPrevXRefOffset = GetDirectInteger(pTrailer->GetDict(), FX_BSTRC("XRefStm"));
3911 CFX_ByteString type = pPage->GetDict()->GetString(FX_BSTRC("Type"));
3912 if (type == FX_BSTRC("Pages")) {
3914 CPDF_Object *pKids = pPage->GetDict()->GetElement(FX_BSTRC("Kids"));
3943 } else if (type == FX_BSTRC("Page")) {
4031 if (!pPagesDict->KeyExist(FX_BSTRC("Kids"))) {
4035 int count = pPagesDict->GetInteger(FX_BSTRC("Count"));
4101 CPDF_Object *pAnnots = pPageDict->GetElement(FX_BSTRC("Annots"));
4313 CPDF_Object *pAcroForm = pRoot->GetElement(FX_BSTRC("AcroForm"));