/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_create.cpp | 330 void AppendIndex2(CFX_ByteTextBuf& buffer, FX_DWORD objnum, int32_t index) { in AppendIndex2() argument 332 buffer.AppendByte(FX_GETBYTEOFFSET24(objnum)); in AppendIndex2() 333 buffer.AppendByte(FX_GETBYTEOFFSET16(objnum)); in AppendIndex2() 334 buffer.AppendByte(FX_GETBYTEOFFSET8(objnum)); in AppendIndex2() 335 buffer.AppendByte(FX_GETBYTEOFFSET0(objnum)); in AppendIndex2() 471 int objnum, 484 int objnum, in Initialize() argument 496 m_dwSize = pHandler->EncryptGetSize(objnum, 0, src_data, src_size); in Initialize() 498 pHandler->EncryptContent(objnum, 0, src_data, src_size, m_pData, m_dwSize); in Initialize() 732 FX_DWORD objnum = ++pCreator->m_dwLastObjNum; in GenerateXRefStream() local [all …]
|
D | fpdf_edit_content.cpp | 61 int objnum = m_pDocument->AddIndirectObject(m_pPage->m_pResources); in RealizeResource() local 62 m_pPage->m_pFormDict->SetAtReference("Resources", m_pDocument, objnum); in RealizeResource()
|
D | editint.h | 55 FX_BOOL AddObjectNumberToIndexArray(FX_DWORD objnum);
|
D | fpdf_edit_doc.cpp | 26 int objnum = AddIndirectObject(m_pRootDict); in CreateNewDoc() local 31 objnum = AddIndirectObject(pPages); in CreateNewDoc() 32 m_pRootDict->SetAtReference("Pages", this, objnum); in CreateNewDoc()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_document.cpp | 153 int objnum = m_PageList.GetAt(iPage); in GetPage() local 154 if (objnum) { in GetPage() 156 ToDictionary(GetIndirectObject(objnum, nullptr))) { in GetPage() 179 FX_DWORD objnum, in _FindPageIndex() argument 199 if (pKid->GetRefObjNum() == objnum) { in _FindPageIndex() 200 m_PageList.SetAt(index + i, objnum); in _FindPageIndex() 215 _FindPageIndex(pKid, skip_count, objnum, index, level + 1); in _FindPageIndex() 221 if (objnum == pNode->GetObjNum()) { in _FindPageIndex() 231 int CPDF_Document::GetPageIndex(FX_DWORD objnum) { in GetPageIndex() argument 237 if (objnum1 == objnum) { in GetPageIndex() [all …]
|
D | fpdf_parser_parser.cpp | 133 bool CPDF_Parser::IsValidObjectNumber(FX_DWORD objnum) const { in IsValidObjectNumber() 134 return !m_ObjectInfo.empty() && objnum <= m_ObjectInfo.rbegin()->first; in IsValidObjectNumber() 141 FX_FILESIZE CPDF_Parser::GetObjectPositionOrZero(FX_DWORD objnum) const { in GetObjectPositionOrZero() 142 auto it = m_ObjectInfo.find(objnum); in GetObjectPositionOrZero() 146 void CPDF_Parser::ShrinkObjectMap(FX_DWORD objnum) { in ShrinkObjectMap() argument 147 if (objnum == 0) { in ShrinkObjectMap() 152 auto it = m_ObjectInfo.lower_bound(objnum); in ShrinkObjectMap() 158 if (!pdfium::ContainsKey(m_ObjectInfo, objnum - 1)) in ShrinkObjectMap() 159 m_ObjectInfo[objnum - 1].pos = 0; in ShrinkObjectMap() 180 void* objnum; in CloseParser() local [all …]
|
D | fpdf_parser_objects.cpp | 566 FX_DWORD objnum) { in AddReference() argument 568 Add(new CPDF_Reference(pDoc, objnum)); in AddReference() 775 FX_DWORD objnum) { in SetAtReference() argument 776 SetAt(key, new CPDF_Reference(pDoc, objnum)); in SetAtReference() 780 FX_DWORD objnum) { in AddReference() argument 781 SetAt(key, new CPDF_Reference(pDoc, objnum)); in AddReference() 1058 void CPDF_Reference::SetRef(CPDF_IndirectObjectHolder* pDoc, FX_DWORD objnum) { in SetRef() argument 1060 m_RefObjNum = objnum; in SetRef() 1073 FX_DWORD objnum, in GetIndirectObject() argument 1075 if (objnum == 0) in GetIndirectObject() [all …]
|
D | fpdf_parser_encrypt.cpp | 720 FX_DWORD objnum, in CryptBlock() argument 735 key1[m_KeyLen + 0] = (uint8_t)objnum; in CryptBlock() 736 key1[m_KeyLen + 1] = (uint8_t)(objnum >> 8); in CryptBlock() 737 key1[m_KeyLen + 2] = (uint8_t)(objnum >> 16); in CryptBlock() 740 FXSYS_memcpy(key1 + m_KeyLen, &objnum, 3); in CryptBlock() 791 void* CPDF_StandardCryptoHandler::CryptStart(FX_DWORD objnum, in CryptStart() argument 812 FXSYS_memcpy(key1 + m_KeyLen, &objnum, 3); in CryptStart() 936 void* CPDF_StandardCryptoHandler::DecryptStart(FX_DWORD objnum, in DecryptStart() argument 938 return CryptStart(objnum, gennum, FALSE); in DecryptStart() 1004 FX_DWORD CPDF_StandardCryptoHandler::EncryptGetSize(FX_DWORD objnum, in EncryptGetSize() argument [all …]
|
D | fpdf_parser_fdf.cpp | 54 FX_DWORD objnum = FXSYS_atoi(word); in ParseStream() local 63 CPDF_Object* pObj = parser.GetObject(this, objnum, 0, nullptr, true); in ParseStream() 67 InsertIndirectObject(objnum, pObj); in ParseStream()
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_parser.h | 89 int GetPageIndex(FX_DWORD objnum); 107 FX_BOOL IsFormStream(FX_DWORD objnum, FX_BOOL& bForm) const; 178 FX_DWORD objnum, 181 FX_BOOL IsContentUsedElsewhere(FX_DWORD objnum, CPDF_Dictionary* pPageDict); 247 FX_DWORD objnum, 253 FX_DWORD objnum, 259 CFX_ByteString GetString(FX_DWORD objnum, FX_DWORD gennum); 321 FX_DWORD objnum, 407 FX_DWORD objnum, 410 bool IsValidObjectNumber(FX_DWORD objnum) const; [all …]
|
D | fpdf_serial.h | 72 int32_t WriteOldIndirectObject(FX_DWORD objnum); 76 int32_t WriteDirectObj(FX_DWORD objnum, 80 int32_t WriteIndirectObj(FX_DWORD objnum, const CPDF_Object* pObj); 81 int32_t WriteIndirectObjectToStream(FX_DWORD objnum, 84 int32_t AppendObjectNumberToXRef(FX_DWORD objnum); 87 FX_DWORD objnum,
|
D | fpdf_objects.h | 316 void AddReference(CPDF_IndirectObjectHolder* pDoc, FX_DWORD objnum); 401 FX_DWORD objnum); 411 FX_DWORD objnum); 554 CPDF_Reference(CPDF_IndirectObjectHolder* pDoc, int objnum) in CPDF_Reference() argument 555 : CPDF_Object(PDFOBJ_REFERENCE), m_pObjList(pDoc), m_RefObjNum(objnum) {} in CPDF_Reference() 561 void SetRef(CPDF_IndirectObjectHolder* pDoc, FX_DWORD objnum); 588 int GetIndirectType(FX_DWORD objnum); 589 CPDF_Object* GetIndirectObject(FX_DWORD objnum, PARSE_CONTEXT* pContext); 591 void ReleaseIndirectObject(FX_DWORD objnum); 594 FX_BOOL InsertIndirectObject(FX_DWORD objnum, CPDF_Object* pObj);
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_link.cpp | 17 FX_DWORD objnum = pPage->m_pFormDict->GetObjNum(); in GetPageLinks() local 18 if (objnum == 0) in GetPageLinks() 21 auto it = m_PageMap.find(objnum); in GetPageLinks() 26 std::vector<CPDF_Dictionary*>& page_link_list = m_PageMap[objnum]; in GetPageLinks()
|
D | doc_ap.cpp | 425 int32_t objnum = pDoc->AddIndirectObject(pNormalStream); in GenerateWidgetAP() local 426 pAnnotDict->GetDict("AP")->SetAtReference("N", pDoc, objnum); in GenerateWidgetAP()
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_CBA_Fontmap.cpp | 175 int32_t objnum = m_pDocument->AddIndirectObject(pStream); in AddFontToAnnotDict() local 176 pAPDict->SetAtReference(m_sAPType, m_pDocument, objnum); in AddFontToAnnotDict() 197 int32_t objnum = m_pDocument->AddIndirectObject(pStreamResFontList); in AddFontToAnnotDict() local 198 pStreamResList->SetAtReference("Font", m_pDocument, objnum); in AddFontToAnnotDict()
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_baseannot.cpp | 870 int32_t objnum = pDoc->AddIndirectObject(pStream); in WriteAppearance() local 871 pParentDict->SetAtReference(sAPType, pDoc, objnum); in WriteAppearance()
|